aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-07-24[FD3] Split stackNodes into two methods.Jean Chalard1-16/+37
In the future we need to have a method that computes only from the size, as we used to have, to initialize the cached addresses, and a much simpler and faster method to copy the cached sizes. Bug: 8526576 Change-Id: I6a5a790303ab8f3bf957c7ca266eb12da7c1ad9e
2013-07-24Make RunInLocale as top-level classTadashi G. Takaoka9-50/+68
Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
2013-07-24Move subtype related utility class to utils packageTadashi G. Takaoka13-164/+173
Change-Id: I3564796531ea85f2ebafde40cd822b806b8741df
2013-07-24Update dictionariesJean Chalard8-0/+0
en, en_GB, en_US: Add "id" -> "I'd" whitelist entry Reinstate "id" and "ID" in the respective dicts fr: Remove many words that are not French Change "google" to "Google" pt_BR: Delete "idéia" Change-Id: I942266ac7995345580926f60de45d202aa257ae7
2013-07-24Temporarily disabled Azerbaijani subtypeTadashi G. Takaoka1-3/+5
Bug: 9698902 Change-Id: Ib8a38f85f44909bfba42eaf70407d5bd7346feb2
2013-07-23Cosmetic fix for the copyright headerKen Wakasa1-8/+8
Change-Id: I2a93ac21571d1f6255a72a1a238b03dbb95108de
2013-07-23Add default keypress vibration duration of HTC J OneTadashi G. Takaoka1-1/+2
This change also removes obsolete HTC One Google Play edition's model name. Change-Id: Ic396d1a2288c8926782c3f0bc930170d468c047b
2013-07-23Fix KeySpecParserSplitTestsTadashi G. Takaoka2-3/+7
Change-Id: Icf4525c735cda0330a3bd0f9628165ec722b64a8
2013-07-23Fix wrong copyright header commentKen Wakasa1-2/+2
Change-Id: I75ffbc0508c00f7ac8004b764667a174b6ab0b63
2013-07-23Temporarily disabled Kazakh subtypeTadashi G. Takaoka1-1/+3
Bug: 9698902 Change-Id: Ic44ef378a979de364ce56aa41c6c3c95fec9709c
2013-07-23[FD2] Separate cached address before/after update for nodes.Jean Chalard2-38/+66
Bug: 8526576 Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3
2013-07-23Fix prefs.xmlTadashi G. Takaoka1-1/+1
This is a follow up of Id170dbfe2d. Change-Id: I52e4f44b7d135f51551b912c44e1dd354c16d125
2013-07-23Fix: native crash while iterating bigramslist.Keisuke Kuroynagi2-11/+11
Bug: 9964153 Change-Id: Ia2eb922b61300a7c0e34122cd6c18358f1ee7ba9
2013-07-23Fix NPE in SubtypeLocale.getSubtypeDisplayNameTadashi G. Takaoka6-386/+193
This change moves the methods that create the subtype display name for spacebar from MainKeyboardView to SubtypeLocale class, and consolidates SpacebarTextTests with SubtypeLocaleTests. Bug: 9962955 Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
2013-07-22Fix: huge bigram costs for blacklisted words.Keisuke Kuroynagi3-8/+12
Bug: 8844931 Change-Id: I523005c5ed9a3d401a67b0e4e1c3ff2e4574e6df
2013-07-22Fix a bug when moving the pointer in a > 48 chars wordJean Chalard1-2/+24
Bug: 9892261 Change-Id: I9db20c5b20a0764bd9f5b5e2bdc98180bbb9ec15
2013-07-22Move settings related classes to "settings"Ken Wakasa27-45/+82
Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
2013-07-22Fix missing Devanagari digit 9Tadashi G. Takaoka1-1/+1
Change-Id: I487cb5177a6680ad8852a045392c10a324524df6
2013-07-19Fix IllegalArgumentException in MoreKeysKeyboardTadashi G. Takaoka3-16/+13
It seems that MainKeyboardView.getMeasuredWidth() returns weird value. Using KeyboardId.mWidth as main keyboard width may resolve the issue. Bug: 9684622 Change-Id: I975bfb934b8d2448e72555a3ccae0123341186b9
2013-07-19Reorder more keys of ALEF in Arabic and PersianTadashi G. Takaoka2-5/+5
Regarding the frequency of letters, the visual order of the more keys of Alef should be (in a left-to-righ fashion): [Arabic] 1. Alef Madda above 2. Hamza 3. Alef Hamza above <-- center of the more keys 4. Alef Hamza below 5. Alef Wasla [Persian] 1. Alef Wasla 2. Hamza 3. Alef Madda above <-- center of the more keys 4. Alef Hamza above 5. Alef Hamza below Bug: 9371393 Change-Id: I5f458f1123fccb992b684878dacf15cce804bd51
2013-07-19Move a couple classes to the utils packageKen Wakasa9-14/+21
Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
2013-07-18Restrict bogus events hack to certain classes of tabletsTadashi G. Takaoka2-11/+35
Bug: 9061320 Change-Id: Ib8c6a5e6db5da99c447bc00867fed51ca959cc3a
2013-07-17[FD1] Move parents' address computation outsideJean Chalard1-3/+23
There is no need to do it repeatedly in this loop: it's clearer and faster to do it at the end only. Bug: 8526576 Change-Id: I707571179c89479830891ec6d4fd06a9fffed7c1
2013-07-17Get BigramsPos and ShortcutPos via structure policy.Keisuke Kuroynagi12-69/+91
Bug: 6669677 Change-Id: I924d5512377cfcfe72d3470006b81a36db3865b6
2013-07-17Remove dependencies to android source in dicttoolKen Wakasa2-4/+84
bug: 9889653 Change-Id: I2630c56548f9146ade85b17f891932dae2082a85
2013-07-16Fix build.Ying Wang1-0/+1
Change-Id: I51c0b7ba5641c1e7c1d63a4e5a6307b08d6f4886
2013-07-16Distinguish key press in repeat keyTadashi G. Takaoka4-14/+24
Bug: 9859367 Change-Id: Iad643f9785b193e1918a8363de4fefc3b7558bdf
2013-07-16Small debug helperJean Chalard1-0/+11
So that I don't have to find out everything again each time the test facility finds a case that does not work, and I want to dump the output to a combined file. Change-Id: I9f77f86055d1609c2e37747ac47421db1ba2498e
2013-07-16Serialize commands sent to a separate threadsJean Chalard1-25/+34
Bug: 9715797 Change-Id: I1eda4d2f0056f70cfb8a92d658e0875706efc170
2013-07-16Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POSKeisuke Kuroynagi9-23/+24
Bug: 6669677 Change-Id: If5fb58e8a98b04b767eaaf624cb6a40841b64f54
2013-07-16Add xxhdpi assetsTadashi G. Takaoka35-0/+0
Bug: 8976566 Change-Id: I00034994fe2c619e91362cbaddc722597a1ae22f
2013-07-16Move punctuations to more key of z in dvorakTadashi G. Takaoka3-5/+4
Bug: 9862531 Change-Id: I957729b30e5cf3cf6f3f1ea4bb643922bc7ed068
2013-07-16Fix a bug with bad view reuse.Jean Chalard3-2/+9
There are many ways to fix this problem but this is the most direct way. Removing a view from the cache when any animation is started will ensure it won't be used again, and will be garbage collected when it's possible. Since views are created on demand anyway, a new one will just get created when needed, and that's it. Bug: 9400128 Change-Id: I4945d2859d642e79694d51ae90cf4f5bde9a5f1d
2013-07-16Add a test for user history for switching languages.Keisuke Kuroynagi1-1/+51
testStressTestForSwitchingLanguageAndAddingWords took 101996 ms Bug: 6669677 Change-Id: I62849674147e4845955060124221da8211e9b3ca
2013-07-12Don't put spaces before and after asterisksJean Chalard2-4/+4
Change-Id: I3c87745c3d4e7a0c531f6c2e68120fada556b44b
2013-07-11Quit ignoring language cost of exact matches.Keisuke Kuroynagi4-32/+10
Handle exact matches in DicNode::compare() and calculateFinalScore(). Bug: 8844931 Change-Id: I17c78d4e352b0a4308727229b02a8004b38468bf
2013-07-11Fix a wrong call to cancel downloadsJean Chalard2-19/+22
This resulted in downloads not being correctly canceled. Bug: 9715797 Change-Id: I786d869977df225f85cb69ec7ea9c96b039258fe
2013-07-10Import translations. DO NOT MERGEBaligh Uddin1-1/+1
Change-Id: I580f44f5334d0af91339646c0cfe94293f96711f Auto-generated-cl: translation import
2013-07-09Fix: Read lock is wrongly used for gutSuggestions.Keisuke Kuroynagi1-2/+3
Bug: 9737865 Change-Id: I017f80b46c5dc48c40f2de7c4d516a042992feb4
2013-07-08Make bigram dictionary and traverse session use structure policy.Keisuke Kuroynagi6-46/+40
Bug: 6669677 Change-Id: I5a13290366afbb788da997b98d1c593963e92f3e
2013-07-05Update ExpandableDictionary.BASE_CHARS[]Ken Wakasa1-165/+199
This should be the same as CharUtils::BASE_CHARS[] in the native code. Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
2013-07-05Move TypefaceUtils and ViewUtils to utils packageTadashi G. Takaoka7-8/+12
Change-Id: Iccd47c27670248c43de9a539c1951111d7733111
2013-07-05Reorganize Utils classTadashi G. Takaoka15-401/+438
Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
2013-07-05Use TimeUnit instead of DateUtils for readabilityTadashi G. Takaoka7-23/+25
Bug: 9550800 Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
2013-07-05Remove flags from dicNodeProperties.Keisuke Kuroynagi6-63/+55
Bug: 6669677 Change-Id: I6f4aef8c4e4376f078ed8375394823788aa35002
2013-07-05Add a trace.Jean Chalard1-0/+1
Emit a trace when a new dictionary is copied to LatinIME successfully, not just when it fails. That will help diagnosing some problems by being able to ensure this step succeeded looking at the log. This does not happen often (like, maybe 3 times at device activation, and once every few weeks afterwards), so I think the extra line in the log is more than acceptable. Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
2013-07-04Fix: release lock in UserHistoryDictionary.Keisuke Kuroynagi1-1/+5
Change-Id: I050c252910c6b5b0a79cd2d52c525679f2d6091d
2013-07-04Change how the length of the random words are chosen.Jean Chalard1-4/+13
This is much more robust and much better for testing. Change-Id: I43f900f9debc1d1ae4c3f3dd07dbe0ac85d31f52
2013-07-04Have random words stick to a restricted (random) charsetJean Chalard1-14/+26
Change-Id: Ib4045ebc9659f1b60183f2356e60e449d62c5be9
2013-07-04Add methods for dynamic updating binary dictionary.Keisuke Kuroynagi1-4/+33
Bug: 6669677 Change-Id: I7e681ceec2af712214a647630350cb20be6b0354