aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-24Simplify DictionaryFacilitatorForSuggest to be flexible.Keisuke Kuroyanagi1-95/+65
Bug: 13755213 Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00
2014-04-24Remove clearAndFlushDictionary() and use clear().Keisuke Kuroyanagi5-14/+6
clearAndFlushDictionary() was needed when dictionaries are constructed in java side. All expandable dictionaries now use native code; thus, this method is same to clear() and no longer needed. Bug: 13755213 Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
2014-04-22Fix: Reporting wrong main dictionary availability.Keisuke Kuroyanagi1-4/+4
Bug: 13965806 Change-Id: Ida2234ab8cb7785ec5efd433a58949bf21c44351
2014-04-22Use ArrayList constructor directlyTadashi G. Takaoka1-2/+1
This is a follow up of I85a0b18d2d. Change-Id: Ia7a642bb6e0015242d6e046019b3973226a0add2
2014-04-22Fix typo of local variable nameTadashi G. Takaoka1-5/+6
Change-Id: I09c0aeee979e883af199f5c533d526a089064987
2014-04-22Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi5-3/+94
Bug: 14166482 Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef
2014-04-22Revert "Support creating BinaryDictionary without creating dict file."Keisuke Kuroyanagi5-94/+3
This reverts commit 89939b870876b36791a47470ce852e4fcdfe86f2. Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af
2014-04-22Use sorted keys index as virtual view idTadashi G. Takaoka3-66/+73
Change-Id: Id3f81de1edaacc06362b65aa7b68e9317e6596bd
2014-04-22Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi5-3/+94
Bug: 14166482 Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b
2014-04-22Implement latinime_BinaryDictionary_createOnMemory().Keisuke Kuroyanagi6-25/+73
Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3
2014-04-22Stop using Configuration.setLocaleTadashi G. Takaoka1-7/+7
The call for method Configuration.setLocale that is introduce by If60877b29b should be remove to be compatible with API 14 and later. Bug: 14239862 Change-Id: I3815c2b56bd9c655b8bde6f93143adf3ff08c35d
2014-04-21Separate JniDataUtils::constructAttributeMap().Keisuke Kuroyanagi2-23/+33
Bug: 14166482 Change-Id: Ic2dc407231743ea668fe0ab8869eb8a7f8b9625f
2014-04-21Add jni interface to use on memory dictionary.Keisuke Kuroyanagi2-0/+14
Bug; 14166482 Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb
2014-04-21Remove unnecessarily getKeyFromOutputText method from KeyboardTadashi G. Takaoka2-17/+9
Change-Id: I61986ed65ce6696a8b0d885bdeb9668e6087bc47
2014-04-21Sort keys from top-left to bottom-right orderTadashi G. Takaoka11-57/+66
Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
2014-04-21Import translations. DO NOT MERGEBaligh Uddin57-2444/+2695
Change-Id: I8f219d738760632867c3f5622d12da281bdc66ef Auto-generated-cl: translation import
2014-04-21Add BinaryDictionary.flushWithGCIfHasUpdated().Keisuke Kuroyanagi2-1/+11
Bug: 14166482 Bug: 14161647 Change-Id: I98b0a8b86897b1486491a3aea91729bc9e4cc03c
2014-04-21Use unmodifiable list to return keys from KeyboardTadashi G. Takaoka6-32/+35
Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
2014-04-21Use unmodifiable list to return the nearest keysTadashi G. Takaoka3-17/+26
Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12
2014-04-21Stop using modifiable Key arrayTadashi G. Takaoka1-5/+7
Change-Id: I0f3e96672da4261ae5628d2d5ea39d60e6287ac0
2014-04-20Revert "Revert "Use mclinker""Ken Wakasa1-1/+1
This reverts commit de8f85a29d71e143c6b9fceb3734921039028ee5. Change-Id: Ib6170f3dd898bad2f041b72333b0e390e392215c
2014-04-20Revert "Use mclinker"Ken Wakasa1-1/+1
This reverts commit 47b4321ed5d09cb01017a2652c799b8b8c445fb9. Change-Id: I90f5b6d915837fba036d782e5fc9750b4bba6891
2014-04-19Use mclinkerKen Wakasa1-1/+1
Change-Id: Ib34f66c106f357cd82b1577566e00f490cee2c5a
2014-04-18Pass max trie structure size to on memory Ver4DictBuffers.Keisuke Kuroyanagi4-8/+9
Bug: 14166482 Bug: 14161647 Change-Id: I3b0dd192d7a81c3809f1873bb66ef8fe637f8af0
2014-04-18Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.Ying Wang1-3/+0
Change-Id: Ib45416aec46d9cc574d34de96d18219643334beb
2014-04-18Fix a bug for counting code points in WordComposer.javaXiaojun Bi2-8/+11
This bug threw an ArrayIndexOutOfBoundsException when the word length is 49 (maxSize + 1) when calling StringUtils.copyCodePointsAndReturnCodePointCount(...) in the same function. This bug is discovered by running SKETCH. The intent is to count the code points from index 0 to index i (included). The original code only counted the code points from index 0 to index (i-1). Bug: 13969542 Change-Id: Idbf596aba2379ba552dbe580c83c42044d505aaf
2014-04-17Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.Ying Wang1-3/+0
Change-Id: Ib45416aec46d9cc574d34de96d18219643334beb
2014-04-17Add contentDescription to Emoji paletteTadashi G. Takaoka5-3/+39
This CL adds content descriptions of: - Emoji Category icon/label. - Delete key - Space key Bug: 11452158 Change-Id: Ic00592c560b6265c880cd25f2e18cfd349b4620b
2014-04-17Refactor RunInLocale a bitTadashi G. Takaoka1-12/+10
Change-Id: If60877b29bb1263161ec85c99320ad07b7dd4245
2014-04-17Avoid lower-case version of capitalized words in user histJean Chalard1-1/+13
Bug: 14096825 Change-Id: Ib6cc8fc31e90862e0b05f5a06757a73069726b74
2014-04-17Fix a wrong parameter passed.Jean Chalard1-1/+1
Bug: 14120001 Change-Id: I8258304bc500fe28870fb8a5c11c15d97795423c
2014-04-17Separate TalkBack description resourcesTadashi G. Takaoka126-2835/+4281
Change-Id: Ib57c0e2faa67119b1c3a9bcf311828d71c2965d6
2014-04-16Import translations. DO NOT MERGEBaligh Uddin57-0/+114
Change-Id: Id7b70a9f7798ba067ac95a7be47f7dadcb34924a Auto-generated-cl: translation import
2014-04-17Shuwdown executors after executing all tasks.Keisuke Kuroyanagi1-2/+7
Bug: 14113276 Change-Id: Ie42ef30ffe5767ca434db4669efad2027b474e74
2014-04-16Restart suggestions when restarting inputJean Chalard3-3/+9
Bug: 6851364 Change-Id: I3052924053f37f56c9c3953051aa1b22224a2b2e
2014-04-16Dismiss more suggestions before showing important noticeTadashi G. Takaoka1-0/+3
Bug: 14078601 Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70
2014-04-15Fix some failing testsJean Chalard1-3/+6
Bug: 13968927 Change-Id: I7e5e075535e38bf0fa24af98ed6e2cdfd6de6556
2014-04-14Fix updating the shift state upon backspaceJean Chalard12-45/+99
Bug: 13514349 Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
2014-04-14[IL135] Make getCurrentAutoCapsState privateJean Chalard4-79/+83
Bug: 8636060 Change-Id: I800aefe6fee4c14df6fe5abe21b2387c69abb8f5
2014-04-14[IL134] Add an alternative path to getCurrentAutoCapsStateJean Chalard4-10/+29
Bug: 8636060 Change-Id: I959e13d34910adad028ed6174f92029ff690eeeb
2014-04-14Remove GingerBread keyboard themeTadashi G. Takaoka32-461/+0
This CL must be checked in together with I6a9ac172a5. Bug: 14042743 Change-Id: Ic3f01f5d10097d743325df847bd7cd2959992487
2014-04-14Use KeyboardTheme id insteand of indexTadashi G. Takaoka8-74/+63
This CL must be checked in together with I771216f8bd. Bug: 14042743 Change-Id: I45c3acf9242985fb03721a9a6d377fbccc8e2019
2014-04-14Make addUnigramWord use UnigramProperty.Keisuke Kuroyanagi8-65/+104
Bug: 13406708 Change-Id: I10c108dd7047fe230c60495f13800f32fdc46d0d
2014-04-14Refactor KeyboardTheme as top-level classTadashi G. Takaoka4-30/+50
This CL should be checked in together with I63e33388f9. Bug: 14042743 Change-Id: I13f0a45bac6f19e006bf1280a36173e52d6d7160
2014-04-14Keep ImportantNoticeDialog showing after orientation changedTadashi G. Takaoka2-21/+17
Bug: 13951402 Change-Id: Ia6340d48843abca68ebadd299827cbe43516cc39
2014-04-11s/hash_map_compat/unordered_map/Ken Wakasa13-66/+41
Change-Id: Icce5f9a12b04bdd7540c52750d303a585d71f28a
2014-04-11Revise myanmar keyboard layoutTadashi G. Takaoka11-339/+662
Note that this keyboard layout is still a preliminary. Bug: 7963632 Change-Id: I4c53b3359ea2c0dd8e2ce7db8ec916ab9340eec5
2014-04-11Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITORYohei Yukawa2-1/+42
With this CL, LatinIME starts calling InputMethodService#setCursorAnchorMonitorMode in #onStartInput() when ProductionFlag.USES_CURSOR_ANCHOR_MONITOR flag is explicitly set to true. BUG: 13891796 Change-Id: Ib2fb0c3521b61859d4cc530155ccaaee7ee16cbc
2014-04-10[CB26] Remove useless variables.Jean Chalard2-53/+13
This is nice for code simplicity, but it has a small adverse impact on performance. Bug: 13406701 Change-Id: I9316b3fe8d79b940fbd83cf1187c8c0d10b26c71
2014-04-10Fix some flaky tests.Jean Chalard5-0/+70
In tests, we create many instances of LatinIME, but we never destroy them. That means we never close the dictionaries nor the handlers. This change calls onDestroy, which closes all dictionaries, and adds some code to finish the handlers. Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55