aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-19Save and restore Row attributes using stackTadashi G. Takaoka3-59/+77
Change-Id: I5cb402060946a711384ee53fa1caaeac86aa10cc
2013-08-19Consolidate onDictionaryClosedSatoshi Kataoka2-4/+5
Bug: 9429906 Change-Id: I51eef4c321cc268eac1c8dfd6561ab6e716a1fb0
2013-08-19Remove an unnecessary debug output.Yuichiro Hanada1-1/+0
Change-Id: If92bf1e3908257c4c0cd68d041b122404e301e08
2013-08-19Rename Personalization dictionary register functionsSatoshi Kataoka1-0/+7
Bug: 9429906 Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
2013-08-19Update dictionariesJean Chalard8-0/+0
Bug: 10354668 Bug: 10188528 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1374634549 <=> 1376888819 version : 36 <=> 37 Body : Deleted: color 78 Deleted: men 85 Deleted: o 115 Added: nationaux 120 >>> dictionaries/iw_wordlist.combined.gz Added. New dictionary. >>> dictionaries/pt_BR_wordlist.combined.gz Header : date : 1374634563 <=> 1376884524 version : 36 <=> 37 Body : Deleted: la 152 >>> dictionaries/pt_PT_wordlist.combined.gz Header : date : 1357790930 <=> 1376884536 version : 30 <=> 37 Body : Deleted: la 152 >>> dictionaries/ru_wordlist.combined.gz Header : date : 1372393835 <=> 1376897704 version : 35 <=> 37 Body : Freq changed: говно 68 -> 0 >>> java/res/raw/main_fr.dict Header : date : 1374634549 <=> 1376888819 version : 36 <=> 37 Body : Deleted: color 78 Deleted: men 85 Deleted: o 115 Added: nationaux 120 >>> java/res/raw/main_pt_br.dict Header : date : 1374634563 <=> 1376884524 version : 36 <=> 37 Body : Deleted: la 152 >>> java/res/raw/main_ru.dict Header : date : 1372393835 <=> 1376897704 version : 35 <=> 37 Body : Freq changed: говно 68 -> 0 Change-Id: I87a85571c61068ff46a32d291aa43becbb75598a
2013-08-19Consolidate hex string utilsSatoshi Kataoka1-0/+7
Change-Id: Id4f4a287e3a2790b22bff7ad4a4617bf2ee82884
2013-08-19Keyboard.Row can have keyLabelFlags attributeTadashi G. Takaoka1-2/+1
Change-Id: I5af1f1d88153068d7be6e496e6dd77bd5b09a894
2013-08-19Make all KeyboardRow attributes privateTadashi G. Takaoka3-4/+8
Change-Id: Ifaca6ad5e642964d8c3a77a96a1cd74f363ee996
2013-08-19Rename KeyStyle.getFlag to getFlagsTadashi G. Takaoka3-14/+11
Change-Id: Iff3d850466cb6016a53bf86104cd5d22363f96a8
2013-08-19Add HeaderReaderInterface.Yuichiro Hanada7-93/+165
Change-Id: I298f86b70d18cd08b240509b6f757c72e1a59ffe
2013-08-19Fix unit test.Yuichiro Hanada7-18/+36
Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
2013-08-16Make BinaryDictIOUtils and DynamicBinaryIOUtils use BinaryDictReader.Yuichiro Hanada4-101/+64
Change-Id: I191dfe0e05ff3c2c5af99e8beebbb73b097748a3
2013-08-16Support languages that don't use spaces.Jean Chalard8-21/+226
Thai is an example. Bug: 10138062 Change-Id: Ib9a8264c77ed42b4256432d7c8a60d08575dcdc7
2013-08-16Remove a static buffer for thread safety.Yuichiro Hanada1-12/+4
Change-Id: I335c35eb182ff63abb8a5b04c053a98d44b7c6ce
2013-08-16Prepare ExpandableBinaryDictionary to make it updatableKeisuke Kuroyanagi6-59/+174
Bug: 6669677 Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
2013-08-16Limit the number of waiting UpdateBinaryTask to at most 1.Yuichiro Hanada3-49/+61
Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
2013-08-16Remove unnecessary caching.Yuichiro Hanada1-12/+0
Change-Id: Ic4ccab9d344b30b72fca1503827eec1c628fa4ac
2013-08-16Move methods in BinaryFormat to PatriciaTriePolicy.Keisuke Kuroyanagi2-475/+260
Bug: 6669677 Change-Id: Ic9bc03a9d8ec789281d83d4b9e58042a083c3ba1
2013-08-16Rename Node to PtNodeArrayJean Chalard19-380/+401
Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
2013-08-16Add hex string utilsSatoshi Kataoka4-1/+54
Bug: 9429906 Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
2013-08-16Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi10-174/+168
Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
2013-08-16Fix SubtypeLocaleUtilsTestsTadashi G. Takaoka1-2/+2
Change-Id: Ib1005ee7e99e526aad5099b160051b12e7614e81
2013-08-16Remove unused imports.Yuichiro Hanada3-9/+1
Change-Id: Ib46da6efeaa8f83a9cda24c947fc2e667a1468e8
2013-08-15Fix build.Yuichiro Hanada1-2/+2
Change-Id: I80d177f3c9bff1fb90029edeafa4a62d0b99e09e
2013-08-15Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Ken Wakasa10-168/+174
This reverts commit d14ffcfcbc2e4f5829f05531613b30750adebb32. This broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=a8a62bd0-3aab-4520-ae64-53f9652ef64b&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: I1eae460e09808513eacefd523609330819d73d16
2013-08-15[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and ↵Yuichiro Hanada25-909/+957
BinaryDictDecoder. Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
2013-08-15Fix cosmetic source code formattingTadashi G. Takaoka4-159/+150
Change-Id: I33c14a20bc55b826082e468c0aecfa026ba5d9f3
2013-08-15Add getters and copy constructor to Key classTadashi G. Takaoka16-122/+198
Change-Id: I78eb96dcc26378926dc63acbfeb4828cbd44435d
2013-08-15Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi10-174/+168
Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
2013-08-15Add an initial JNI interface to dicttool.Jean Chalard10-15/+192
Bug: 10100269 Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
2013-08-15Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils ↵Ken Wakasa18-940/+892
and BinaryDictOutputUtils." This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
2013-08-15[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and ↵Yuichiro Hanada18-892/+940
BinaryDictOutputUtils. Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
2013-08-15Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().Keisuke Kuroyanagi1-2/+1
Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
2013-08-15tiny refactorSatoshi Kataoka1-2/+2
Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
2013-08-15Fix a comment.Yuichiro Hanada1-1/+1
Change-Id: I5d09fd2474c7a0e6f42b6c7c6e717692636fbc6d
2013-08-15[Refactor] Move some helper methods to BinaryDictIOUtils.Yuichiro Hanada3-80/+78
Change-Id: Ib817a975dc1f82241f732b236c44b042fda25b3c
2013-08-14Fix test breakageSatoshi Kataoka1-0/+2
Change-Id: I10bd8fcc68711a039e000f715d7a65ae42095965
2013-08-14Fix a debug functionality for the personalization predictionSatoshi Kataoka1-1/+1
Bug: 9429906 Change-Id: I10d39e1f8758dcb64c9c0111d516e3abfe81b04e
2013-08-14Move some methods in BinaryDictIOUtils to DynamicBinaryDictIOUtils.Yuichiro Hanada4-462/+504
Change-Id: I9ba55582c533fef0eb3e60c46bf23c8b16ee1ff4
2013-08-14Move some constants in BinaryDictInputOutput to FormatSpec.Yuichiro Hanada3-22/+20
Change-Id: I6b12faf35b65238b9a64c82d4d1a6050f980e72e
2013-08-14Add a method to import one bigram and string utilitiesSatoshi Kataoka2-1/+21
Bug: 9429906 Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
2013-08-14Add looksValidForDictionaryInsertionJean Chalard4-10/+102
...and test it. Also at the same time, add a facility to create a SettingsValues for test, and some minor performance improvement to surrounding methods. Change-Id: I13b629ae14755c244af2a9406a7e9b4a4a16090f
2013-08-14Thin out audio and haptic feedback while key repeatTadashi G. Takaoka6-36/+55
Bug: 6522943 Change-Id: Id60f256ab0f8741578eda276116817fa48917325
2013-08-14Remove NodeFilter.Keisuke Kuroyanagi9-134/+40
Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
2013-08-14Add empty key background typeTadashi G. Takaoka8-39/+46
Change-Id: I9b07c58a9b70ae0228f87e1f066ca8cd959b4f03
2013-08-14Remove unused drawablesTadashi G. Takaoka10-40/+0
Change-Id: I83f752dcb0d607e3f77bfbee519993aa37bfd5e4
2013-08-14Delete surrogate together.Jean Chalard1-15/+9
Stop deleting them one after the other, it makes no sense. We can know in advance if we should delete two of them, so let's use that. Bug: 6526420 Change-Id: Ifa2263cbde8fedc78bb750b84d4acd3f979774ea
2013-08-14Re-evaluate auto-caps earlier.Jean Chalard1-0/+7
We have all we know to re-evaluate auto-caps in this case. We don't need to wait until we get the callback from TextView. Bug: 10287972 Change-Id: I87e4e26cd193a001f91fe852ffc5a8f728db2449
2013-08-14Fix ShortcutListPolicy::getStartPos().Keisuke Kuroyanagi1-0/+3
Bug: 6669677 Change-Id: I1fa9967fc6aa0956986954c8ea1f990a47c15764
2013-08-14Add FusionDictionaryBufferFromWritableByteBufferFactory.Yuichiro Hanada2-2/+43
Change-Id: I23de0a178e7f11f2cf301fd433cde60c6152055b