aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2013-07-04DictionaryWriter to abstract binary dictionary writing.Keisuke Kuroynagi5-88/+254
UserHistoryDictionary should become to use ExpandableBinaryDictionary. Bug: 6669677 Change-Id: I6831c7dd2d84207d1a8f51ba15d52e0a72205d0c
2013-07-04Allow force auto commit when the top is long multiword.Keisuke Kuroynagi3-17/+22
Bug: 9688196 Change-Id: I73ff2cd77b932bf7307b3541ea9da3fa4afa11b4
2013-07-04Add a two-args constructor to BinaryDictIOTestsJean Chalard1-6/+8
Change-Id: Ie26e22754bfa5d58135349164c57007c86bd97e8
2013-07-04Generalize constuctors & add testsJean Chalard2-9/+26
If there is any two-args constructor with the right arg types in a test class, use it. Also, add a test suite to dicttool test. Also, have the return value of dicttool reflect success or failure. Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd
2013-07-04Add Azerbaijani keyboardTadashi G. Takaoka3-1/+114
Bug: 7963448 Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
2013-07-04Add Kazakh keyboardTadashi G. Takaoka6-575/+707
Bug: 9697273 Change-Id: Ic9943569ed60d601f093181bf135e45a25399121
2013-07-03Do not output string-encoded MotionEvent.Kurt Partridge1-1/+1
JsonUtils knows how to output MotionEvents into json; that mechanism should be reused for SuddenJumpingTouchEventHandler. Change-Id: Id4c36c05533a3a329bf43ba33d57c0830dc4d196
2013-07-03Return NOT_A_PROBABILITY in getProbability for inalid dictionary.Keisuke Kuroynagi1-1/+1
Bug: 9682742 Change-Id: Ifad4b9811bb5e1a94aed59eba7aedcdb6da5cf9c
2013-07-03Add missing letter THEH to Perisan keyboard layoutTadashi G. Takaoka11-316/+122
With this change, the phone keyboard layout use quite similar one of the oridinal PC. The differences from the ordinal PC keyboard layout are: - Add letter JEH between letter TAH and ZAIN at 3rd row. - Move letter TCHEN from the most left of 1st row to the most left of 3rd row. The tablet keyboard layout is the same of of the phone except: - Add letter ALEF with MADDA above between letter WAW and letter TCHEN at 3rd row. This change also moves the delete key and the enter key on tablet to 1st and 2nd row respectively. Bug: 9371393 Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e
2013-07-03Add missing letter THEH to Arabic keyboard layoutTadashi G. Takaoka11-332/+125
With this change, the tablet keyboard layout both 7inch and 10inch use quite similar one of the ordinal PC. The differences from the ordinal PC keyboard layout are: - Move letter THAL from the most left of digits' row to the most left of 3rd row. - Move letter DAL from the most right of 1st row to the most right of 3rd row. - Omit ligature LAM with ALEF from 3rd row and move to more keys of letter LAM on 2nd row. The phone keyboard layout is the same one of the tablet except: - Omit letter YEH with HAMZA avobe from 3rd row and move to more keys of letter ALEF MAKSURA on 3rd row. Bug: 9371393 Change-Id: I1cd164ce7c1c3a5cae67b9985f1b167aef028ca0
2013-07-03Use ReentrantReadWriteLock in ExpandableBinaryDictionary.Keisuke Kuroynagi1-15/+18
Bug: 6669677 Change-Id: I2acde0517d5ed5cbd7b7149709e35fc36651335d