aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-02Remove country name from space bar text when appropriateTadashi G. Takaoka5-62/+94
Remove country name from space bar text when there no other subtype that is a same language and a same keyboard layout. Bug: 8084704 Change-Id: I7c785a925ff7a0a61e5d009f138e1df52b3aeb3a
2014-04-02Change wrongly used "lookahead" to "completion".Keisuke Kuroyanagi3-6/+6
Change-Id: I111cf59d0d24fa869217788c314fffa94ee9f9f9
2014-04-01Parameter tuning for typing.Keisuke Kuroyanagi1-6/+6
accidently -> accidentally (top suggest) convienent -> convenient (top suggest) dissapear -> disappear (top suggest) Execution time: +31% Before: (0) 610.00 (1.66%) (1) 35820.00 (97.66%) (2) 130.00 (0.35%) Total 36680.00 (sum of others 36560.00) After: (0) 820.00 (1.69%) (1) 47200.00 (97.50%) (2) 210.00 (0.43%) Total 48410.00 (sum of others 48230.00) Bug: 13588483 Bug: 13456384 Bug: 9816611 Change-Id: Ia17491e135a63aaca6e980c3a59bd829441dac40
2014-04-01Remove -std=c++11 as it is enabled by default nowKen Wakasa1-3/+0
Change-Id: I53edb2f3d281d78c0301474d65e60f86cc6ff363
2014-04-01Remove useless methods from DicNode.Keisuke Kuroyanagi1-35/+8
Change-Id: I6ea5eb7e848dbce0f0d468160c16e5da76b23b20
2014-04-01Separate DicNodePool from DicNodePriorityQueue.Keisuke Kuroyanagi6-182/+128
Change-Id: Ie500a4185792c2ffa0f5185ea5919626fe31c6fe
2014-04-01Add SpacebarLanguageUtils classTadashi G. Takaoka5-177/+348
The SpacebarLanguageUtils class is separated from SubtypeLocaleUtils and handles the language name on the spacebar. Bug: 8084704 Change-Id: I82f79a061d4f0cc2895263298c3ebf8ee444c61d
2014-03-31Do not create a handler thread for each sessionJean Chalard2-7/+9
Bug: 13710224 Bug: 12821388 Bug: 12667742 Change-Id: I6188e0240193d2bca789110e7660a0f31bbafc62
2014-03-28Fix: spell checker wrongly sorts suggestions.Keisuke Kuroyanagi1-7/+4
Change-Id: I729e1cd5e5e333038b9d9e6197cf50b574990d76
2014-03-28Split SuggestionsOutputUtils::outputSuggestions.Keisuke Kuroyanagi2-74/+86
Bug: 13333066 Change-Id: Ie5e513dacdc5502e7263ddf709824bbd6bc6b74a
2014-03-28Remove mPartiallyCommited.Keisuke Kuroyanagi3-13/+4
Bug: 13333066 Change-Id: I4e3aa31aa501866c23cc4b86093b866306161bfd
2014-03-28Fix a bug where LatinIME would leak pipes.Jean Chalard1-0/+1
Bug: 12667742 Bug: 12821388 Change-Id: Ic0bad56fb96e54ac032759adffc8ea320c06dff2
2014-03-28Make NeedsToDisplayLanguage as a top level classTadashi G. Takaoka3-20/+125
Change-Id: Ia05e0494a9dccebfb5c1316479e52f04cf2ae444
2014-03-28Remove redundant check to detect forceAsciiTadashi G. Takaoka2-10/+7
Change-Id: Ib3272ec19a90b3aa4937573e049ceb86855ea408
2014-03-28Cleanup DicNodePriorityQueue.Keisuke Kuroyanagi1-11/+12
Change-Id: Ia44ca0e14f8aad090ae2b8007771dea6d9b41221
2014-03-28Remove DicNode.managedDelete.Keisuke Kuroyanagi6-36/+8
Change-Id: I8146975d72878ba34d1c5054a7cf5fdcc41a3332
2014-03-28Some cleanupJean Chalard2-5/+8
Change-Id: Ia11d656a70623168b091763ac6524750f9cca8d8
2014-03-28[CB14.5] Stop copying WordComposers.Jean Chalard4-34/+48
This is an overdue refactoring that I have been wanted to do forever, and that we can at last do now that suggestions come only from instances of BinaryDictionary instances. With this, all unit tests and regression tests are passing again. Bug: 13667648 Bug: 13665487 Bug: 8636060 Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6
2014-03-28Fix unit tests by adding @UsedForTesting.Keisuke Kuroyanagi2-0/+3
Change-Id: I8497d6cf446297bc8c15e9d9818078b1026a8c51
2014-03-28Stop displaying locale string on short space barTadashi G. Takaoka3-80/+34
Bug: 12070355 Change-Id: I2d6fa20431bc56d5139caeac33e396b73906d075
2014-03-28Fix: NPE after onDestroy().Keisuke Kuroyanagi2-0/+15
Bug: 13671513 Change-Id: I06aa14870ff5422ad514356ee406600b247858c5
2014-03-27Use SuggestionResults to get suggestion.Keisuke Kuroyanagi13-169/+122
Bug: 8187060 Bug: 13333066 Change-Id: I435096ecf8422453f9b167adb0ca3b9c8a840018
2014-03-27Use Clang for dicttoolKen Wakasa3-11/+10
Fix the wrong shared lib name too. Change-Id: Ib98c55dfd1aee4a762dc96b12df3a463bef2ac80
2014-03-27Revert "[CB15] Remove a redundant variable."Jean Chalard3-17/+37
This reverts commit 0de7a6d1a272d52a9544df1c693ae199ab5abc52. Change-Id: I327679b76a14cf9c3aec4b00b013b921408c32f9
2014-03-27Revert "[CB16] Remove unused stuff"Jean Chalard2-5/+37
This reverts commit 05c46f59fdc6065aad833d905fc9759ba907fc82. Change-Id: Ica0feea10fff1b2a9ef42bc55cb7c1892b3a3f58
2014-03-27Remove DicNodeUtils::appendTwoWords().Keisuke Kuroyanagi3-38/+3
Change-Id: I7402793b3f71ef5d786abea2f97bd4b624e4405f
2014-03-27[IL128] Remove passing some handlers.Jean Chalard3-26/+54
Bug: 8636060 Change-Id: I088be9a7555265ca097667523defd73be4cbe37f
2014-03-27Remove unused method.Keisuke Kuroyanagi4-21/+0
Change-Id: Iefb75136080e73c357511df045816f18cec767a6
2014-03-27Dictionary migration in Java side.Keisuke Kuroyanagi4-1/+150
Bug: 13406708 Change-Id: If83938e4b4810d2e8353c70cdd8ef3ea97a29571
2014-03-27Call setLayerType(LAYER_TYPE_HARDWARE) for EmojiPalettesView too.Ken Wakasa1-1/+3
This CL probably does not addresses the bug, but still this should be the right thing to do here. bug: 12667742 Change-Id: I587652942fd66094779fb7942c734e0ff5f9d0b6
2014-03-27[CB16] Remove unused stuffJean Chalard2-37/+5
Bug: 13406701 Change-Id: Ib863c5181e1f5d74cfa4458060afc49d1ee8109e
2014-03-27[CB15] Remove a redundant variable.Jean Chalard3-37/+17
This is a tiny bit slower, but probably unnoticeable. Still, it gains some performance in other places, saves memory, and more importantly makes for simpler code, so it's certainly better. Change-Id: Id1ab4f73f71acd73f5920bc729817abd22cf0d07
2014-03-27Move code only used for dicttool and tests under tests.Keisuke Kuroyanagi24-100/+58
Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
2014-03-27Fix: NPE in isValidWord after dictionaries are closed.Keisuke Kuroyanagi1-0/+3
Bug: 13650542 Change-Id: I1bdc838fca48d6ef12db5e70d40273d1236128d1
2014-03-27Remove "sRGB IEC61966-2.1" profile to supress libpng warningTadashi G. Takaoka12-0/+0
The above ICC profile causes the following libpng warnings while APK packaging. * libpng warning: iCCP: known incorrect sRGB profile * libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG Bug: 11869853 Change-Id: Ida296d9e3bbd2abaae7c7500d77c8dc54d8b2382
2014-03-27Fix crash while entering emoticonsTadashi G. Takaoka1-1/+1
Bug: 13652919 Change-Id: Idd66240ac882fa890cfb28a477403ee09dc716ce
2014-03-26Import translations. DO NOT MERGEBaligh Uddin57-57/+86
Change-Id: Ia5b2ec8549346f3b4b1c2ffd569abde6cdecae3e Auto-generated-cl: translation import
2014-03-26Import translations. DO NOT MERGEBaligh Uddin57-57/+86
Change-Id: I3edab05b4043bb083b1b5286b3b08d4d23e272ad Auto-generated-cl: translation import
2014-03-26RegisterNatives() returns 0 on success.Ken Wakasa1-1/+1
cf. http://docs.oracle.com/javase/6/docs/technotes/guides/jni/spec/functions.html#wp5833 Change-Id: I2c599f2d8765a7475c7076e6b049f77ad79feb79
2014-03-26Suppress warnings related to string resourceTadashi G. Takaoka19-32/+24
Change-Id: I03073981313ae4f10a12b32ed9f524d0d50c2aa7
2014-03-25Remove DicNode.isFirstWord().Keisuke Kuroyanagi1-5/+3
Change-Id: I825c0f7cf1fcf66c6309e0bab8e0fdd767170107
2014-03-25Merge DicNodeStatePrevWord into DicNoteStateOutput.Keisuke Kuroyanagi7-222/+180
Before: (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) After: (0) 2249.23 (0.93%) (1) 239883.63 (98.83%) (2) 554.82 (0.23%) (66) 0.35 (0.00%) Total 242734.38 (sum of others 242688.04) Change-Id: I9760cae5b98b3d1f4804b6b60317887eaa3ff71c
2014-03-25[CB14] Implement backspace in the combiner chainJean Chalard6-26/+50
Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
2014-03-25Remove logic related to dictionary loading from LatinIME.Keisuke Kuroyanagi8-546/+468
Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99
2014-03-25Rename text resources consistentlyTadashi G. Takaoka116-2146/+2116
- keylabel_<key>, the key label text of the <key> - keyspec_<key>, the key specification of the <key> - keyhintlabel_<key>, the hint label text of the <key> - morekeys_<key>, the more keys specifications of the <key> - additional_morekeys_<key>, the additional more keys specification of the <key> Change-Id: Ib2127f21fa33a2568e8a6eba65cfdb2cf78b480e
2014-03-25Fix talk back of emoji keyTadashi G. Takaoka2-5/+3
Bug: 13629734 Change-Id: Ifff6f81c2ac99a32855cd333b3d9a01ad7155ffc
2014-03-24Import translations. DO NOT MERGEBaligh Uddin2-10/+10
Change-Id: If1481b48b8c94b80932584893c29d9218f3c3ebd Auto-generated-cl: translation import
2014-03-24Import translations. DO NOT MERGEBaligh Uddin2-10/+10
Change-Id: I472d53517a09d9f5610f5d893c096d5915ec2f4e Auto-generated-cl: translation import
2014-03-24Check null before passing to Integer.parseIntYohei Yukawa1-0/+3
Just after user data is cleared, user preference associated with PREF_KEYBOARD_LAYOUT is always empty. In such case, we might want to return the default value immediately, rather than calling Integer.parseInt(null) and catching NumberFormatException unnecessarily. BUG: 13472379 Change-Id: I8dca9a22780d057013c032bd1f56e730dcada3ce
2014-03-24Add a check for ForgettingCurveUtils::decodeProbability.Keisuke Kuroyanagi1-1/+2
Bug: 13607383 Change-Id: I1a56c52173d0e458864e65fb1c1f4603c0c81c6f