aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-14[CB04] Add an event array to WordComposer.Jean Chalard4-12/+67
Bug: 13406701 Change-Id: I9ecd2709c8f1c678a85b0cfaf7c5ed4f78459821
2014-03-13Refactor keyboard layout test more customizableTadashi G. Takaoka10-327/+608
Bug: 13017434 Change-Id: I804b4cb9f56684d425e83a20cb3f71d947a87f98
2014-03-13[CB03] Pass whole events to the various input logic handlers.Jean Chalard3-134/+137
Bug: 13406701 Change-Id: I0a0e4e0b3357f116e1b915c548dee4575e300c92
2014-03-13[CB02] Pass an Event to onCodeInput.Jean Chalard5-21/+66
Bug: 13406701 Change-Id: Id82e9aab6544ca308e6ac6dee2cfa018b9ce2d8f
2014-03-13[CB01] Reset some old assumptions about dead keysJean Chalard3-38/+66
The combining framework will be more generic than previously thought. We don't need to handle dead keys as a special type of event, as all events can be combined arbitrarily. Bug: 13406701 Change-Id: I8137fdb186c4d70eaa71808c5a1430b1559db1ae
2014-03-12Unit test update for I7ed95a54344d8b.Keisuke Kuroyanagi1-2/+8
Change-Id: Ic8af56b8741ee7c231d73ce6a660fd32c9f5a3b3
2014-03-12Check "." and ".." to delete all files in a dir.Keisuke Kuroyanagi1-0/+3
Bug: 13421999 Change-Id: I9d0f65cfc9a0f18c7affc152a5b54f9970048e9c
2014-03-11Fix: wrong suggestion comparator.Keisuke Kuroyanagi1-2/+2
Change-Id: I8829c7cb3060955e345fbdc003cf77f8469d37c0
2014-03-11Cleanup private method namesTadashi G. Takaoka1-15/+12
This is a follow up of Ib0ded6f98a. Change-Id: I91ad3504d301113680194ad5b10913fc86006150
2014-03-11Add keyboard layout name constantTadashi G. Takaoka2-1/+3
Change-Id: I6cdc3efdb58e7a1efb3e352d80d0aa41e333a150
2014-03-11Another small cleanup for test codeTadashi G. Takaoka2-6/+18
Change-Id: Ib0ded6f98a6ce9197c8af79778af59d894ee54a6
2014-03-11Small cleanup for test codeTadashi G. Takaoka2-7/+4
Change-Id: I5106c8c52bdd11bfd23aa2e09f7ea53504083679
2014-03-11Fix Greek tablet layout aligned with phone layoutTadashi G. Takaoka5-75/+18
Bug: 13406008 Change-Id: Iba5bd757c5874e426d5d4fcb8c404c21d259b833
2014-03-11Refactor currency and quotes keys testsTadashi G. Takaoka9-172/+235
Bug: 13017434 Change-Id: I38dff3c8b9b28eff4397c7cdbad623fb43cbc312
2014-03-11Use emplace_back in getWordProperty().Keisuke Kuroyanagi2-12/+11
Change-Id: If164d2b897bd6ad9c89baf0e9a90356100c5087b
2014-03-11Make getWordProperty return reconstructed bigram probability.Keisuke Kuroyanagi2-2/+3
Bug: 13403530 Change-Id: I7ed95a54344d8b77b88922093cf3ef0e530fcae6
2014-03-10Use isFirstCharUppercase instead of get first code point.Keisuke Kuroyanagi3-4/+2
Change-Id: I0a28305397bfc1e7218e16df00839781a74f5599
2014-03-10Add getter methods for public member variables.Keisuke Kuroyanagi4-10/+14
Change-Id: Ic6656bb3db6db992b37923db53816e0a73a7621f
2014-03-10Move initialization logic for from DicNode to DicNodeState.Keisuke Kuroyanagi2-14/+20
Change-Id: Ic7075349e2e9c7f4ca707efa12ad1d24b49a2c87
2014-03-10Remove unused member of DicNodeStatePrevWord.Keisuke Kuroyanagi2-9/+3
Change-Id: I265855da58e3a2e070e525e116ac0d18d1a10d18
2014-03-10Improve DicNode handling.Keisuke Kuroyanagi8-45/+35
- Stop creating useless DicNode and DicNodeVector. - Remove useless virtual. - Implement copy constructor and assignment operator of DicNodeState. - Remove useless memset. Before: (0) 2266.21 (0.79%) (1) 285422.05 (98.97%) (2) 642.62 (0.22%) (66) 0.19 (0.00%) Total 288384.35 (sum of others 288331.07) After: (0) 2232.70 (0.86%) (1) 255258.50 (98.89%) (2) 585.73 (0.23%) (66) 0.26 (0.00%) Total 258126.46 (sum of others 258077.18) Change-Id: I0bb1e9de8b38a6743a11aaeb2b17bd0da5b7ad34
2014-03-10Fix unused text resources of keyboard layoutsTadashi G. Takaoka6-66/+51
Icelandic keyboard has no nordic layout. Latvian, Lithuanian, and Slovak keyboards have duplicated N WITH ACUTE. No Language keyboard has duplicated letter a variants. Change-Id: Iaeacebc1f7efdb70294e6342e42232b73aed9398
2014-03-10Don't reset the value needed before it's usedJean Chalard1-2/+2
Nice recipe for failure Bug: 13387534 Change-Id: Ida1978449c1997587b2ec0955c5c94fcef336121
2014-03-10Use emplace_back to push DicNode to vector.Keisuke Kuroyanagi2-11/+5
Before: (0) 2234.43 (0.71%) (1) 310083.71 (99.07%) (2) 626.88 (0.20%) (66) 0.26 (0.00%) Total 312995.33 (sum of others 312945.28) After (0) 2266.21 (0.79%) (1) 285422.05 (98.97%) (2) 642.62 (0.22%) (66) 0.19 (0.00%) Total 288384.35 (sum of others 288331.07) Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
2014-03-10Stop new BigramDictionary.Keisuke Kuroyanagi2-5/+4
BigramDictionary is allocated inside of Dictionary. Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
2014-03-10Fix unneeded u with diaeresis more key on Swedish keyboardTadashi G. Takaoka2-5/+3
Change-Id: Ib4a17fa464899907616e76426e5df0d370a40f80
2014-03-10Fix excessive more keys on Estonian keyboardTadashi G. Takaoka2-4/+2
Change-Id: I6c2d5d123d519278a6ff0f12fece69ccbad1aad5
2014-03-08Remove string-arrays that are getting in the wayKen Wakasa59-236/+30
These empty string-arrays should not have been in this resource file. They are in the translated files, and they are getting in the way of the resource finding paths. Fundamental fixes definitely should follow. For now, this CL should be safe and acceptable for Cannellini. bug: 13340486 Change-Id: I14c36babf9eb30cfc1c0adc5977136189a305f33
2014-03-07Fix: dicttool build.Keisuke Kuroyanagi4-3/+4
Change-Id: I5c3bcbe9f3054bdd1a760398fe11344e0e05ac6a
2014-03-07Introduce SuggestionResults and use it for predictions.Keisuke Kuroyanagi10-109/+274
Bug: 8187060 Bug: 13333066 Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
2014-03-07Filter Spacer before keyboard layout testTadashi G. Takaoka1-4/+15
Bug: 13017434 Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
2014-03-07Add en_US keyboard layout testTadashi G. Takaoka2-0/+295
Bug: 13017434 Change-Id: I3fb343721221ecae210bffcb3e83ce4f2df0d0ff
2014-03-07Add QWERTY expected keyboard layoutsTadashi G. Takaoka5-0/+564
Bug: 13017434 Change-Id: Ia8a65b692521f0050f003e20712a5873a0b236b4
2014-03-07Add ActualKeyboardBuilder for testing keyboard layoutsTadashi G. Takaoka2-0/+229
Bug: 13017434 Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf
2014-03-07Address warnings pointed out by clangKen Wakasa2-5/+2
Change-Id: I7943f6c7f9ba08f283a3116adc2af29495f04a21
2014-03-07Recover the dicttool build except for MacKen Wakasa3-3/+17
With a hack: Temporarily disable host tool build on Mac until the build system is ready for C++11. Change-Id: Ib412ba0d7fecc968cc09b4d8fde4e838bdc0618a
2014-03-07Use unique_ptr.Keisuke Kuroyanagi18-209/+125
Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
2014-03-07Fix AZERTY/tablet layoutTadashi G. Takaoka3-68/+13
Bug: 13351429 Change-Id: I599627a78397e5bbae689c1aec3a3f11b72a834f
2014-03-07Revert "Revert "Use std::min() and std::max()""Keisuke Kuroyanagi17-46/+63
This reverts commit f63000abeabfaabde5c1ea2201d63d0c4850f1e2. Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
2014-03-07Fix: point to line segment distance can be NaN.Keisuke Kuroyanagi1-0/+4
Change-Id: I7db6bfea925a0eda82bfb1f7b5e1110b193dabdb
2014-03-07Revert "Use std::min() and std::max()"Ken Wakasa17-63/+46
This somehow breaks TRT. bug: 13350753 This reverts commit cf612a3abfd0cc244f8449db2cf11a0a7c680a2f. Change-Id: I812f067e7cc8106b054527732dc6fe4efd7cc0fe
2014-03-07Use nullptr instead of 0 for pointers.Keisuke Kuroyanagi11-26/+28
Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
2014-03-06Fix Mac SDK buildKen Wakasa1-1/+3
Temporary fix. Change-Id: I79c8c31e7b07776a048a16918008a942261e1115
2014-03-06Use std::min() and std::max()Ken Wakasa17-46/+63
Change-Id: I2992fa16692ace2a6febedc4393812faf763638f
2014-03-06Use C++11 deleted functions to implement DISALLOW_ macrosYohei Yukawa1-3/+3
With C++ deleted functions, compilers can generate more descriptive error messages when we are doing something disallowed. Change-Id: I48d23e5eced545732558e56f5ff9ff70c95a6ff0
2014-03-06Switch to C++11Ken Wakasa4-19/+15
Change-Id: Ib2970327c36422d7b11103d52ba7e9e52db5554f
2014-03-06Add ExpectedKeyboardBuilder for testing keyboard layoutsTadashi G. Takaoka2-0/+406
Bug: 13017434 Change-Id: I77ea2a60b1f3adf061689c68971d136ea5cf595e
2014-03-06Move DictionaryOptions from FusionDictionary to FormatSpec.Keisuke Kuroyanagi8-47/+48
Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2
2014-03-06Separate WeightedString from FusionDictionary.Keisuke Kuroyanagi18-63/+68
Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
2014-03-06Fix: Bug of I39e905b6ddfc8d3.Keisuke Kuroyanagi1-3/+6
primaryKey have to be the first elemnet of the proximities. Bug: 13315755 Change-Id: I6c94408a2ef2750fa85ff12b93bed8b8d874717e