aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-31[HW11] CleanupJean Chalard1-39/+33
Change-Id: Ia866d3f9a5981c687766f8c39979fb6091018e44
2014-07-31[HW10] Pull the processed event in its eventual placeJean Chalard1-6/+9
Change-Id: I5f7932097627766e907764a99a5e9c170f725bc0
2014-07-31[HW9] Pull the processed event further.Jean Chalard1-8/+12
The 'processedEvent' variables will ultimately disappear entirely. Change-Id: I612c5ce7dedc341b64921a86ac028fe91b75359b
2014-07-31Construct TrieMap from existing buffer.Keisuke Kuroyanagi2-0/+6
Bug: 14425059 Change-Id: Ia1c58d88540f55fb38fe0bdfcd7c0a34ebc7415e
2014-07-31Fix some unit tests.Jean Chalard1-1/+1
The default value for the script needs to be Latin, as we don't specify it in the files. Change-Id: I1275f13f1cd92f00dc5708748fefb4982f0a60b3
2014-07-31Import translations. DO NOT MERGEGeoff Mendal73-237/+18
Change-Id: I3d29195219313870f9213eeaf0b985dfd350b73f Auto-generated-cl: translation import
2014-07-31Import translations. DO NOT MERGEGeoff Mendal3-3/+3
Change-Id: If072b73a0d9b75abd607b36437fbca00334e3676 Auto-generated-cl: translation import
2014-07-31Import translations. DO NOT MERGEGeoff Mendal3-41/+41
Change-Id: I87901e5652dceebaacd2fcf4f345057e7df50254 Auto-generated-cl: translation import
2014-07-30[HW8] Pull up the processed event.Jean Chalard1-5/+5
Change-Id: I18021b7ec1588fc52533c48b7d8774bec7764822
2014-07-30[SD13] Reorder an enum alphabeticallyJean Chalard2-79/+79
Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac
2014-07-30[SD12] Add the last remaining scriptsJean Chalard11-2/+45
Add scripts for Bengali, Devanagari, Kannada, Malayalam, and Tamil. Also include a very minor fix for Arabic. This concludes work on: Bug: 15840116 Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1
2014-07-30[SD11] Add script checks for Myanmar, Sinhala, Thai and TeluguJean Chalard6-0/+33
Bug: 15840116 Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
2014-07-30[HW7.5] Introduce the @Nonnull annotation (take 2)Ken Wakasa7-5/+17
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
2014-07-30Cleanup: C++11 doesn't require a space between angle bracketsKen Wakasa5-14/+14
Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a
2014-07-31Import translations. DO NOT MERGEGeoff Mendal2-32/+32
Change-Id: I0f3662d4c5c89c76b3aa5ceced64f6ece69e636a Auto-generated-cl: translation import
2014-07-29Don't build dicttool unless it's explicitly requested.Ying Wang1-0/+5
It easily breaks the checkbuild. Change-Id: I43b35fade550ff9d64782ea43cb6e3a804424830
2014-07-29[HW10] Pull the processed event in its eventual placeJean Chalard1-6/+9
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29[HW9] Pull the processed event further.Jean Chalard1-8/+12
The 'processedEvent' variables will ultimately disappear entirely. Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29Use fragment for keyboard theme settingsTadashi G. Takaoka11-100/+266
Bug: 11866784 Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
2014-07-29Show "navigate up" icon on settings activityTadashi G. Takaoka2-11/+34
Bug: 15813742 Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-27Use fragment for input preference screenTadashi G. Takaoka7-56/+276
This CL introduces a common abstract class, SunScreenFragment, for PreferenceFragment that implements a PreferenceScreen of the main settings preference screen. Bug: 16522808 Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
2014-07-27Make "Show correction suggestions" as a binary optionTadashi G. Takaoka9-95/+53
Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
2014-08-01Remove getBigramsIteratorOfPtNode from structure policy.Keisuke Kuroyanagi8-38/+12
Bug: 14425059 Change-Id: I427fbfd026c1e33b5e9cf78949fe862d8748b7ec
2014-07-31Remove doesAutoCorrectValidWord().Keisuke Kuroyanagi3-13/+2
Possibly offensive words are wrongly demoted when input by gesture. Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c
2014-07-31Fix native debug build.Keisuke Kuroyanagi1-6/+6
Change-Id: I95ff6b14d7f444911ec76698381b8d2d8da94776
2014-07-30Remove PrevWordsInfo.getBigramsIteratorForPrediction().Keisuke Kuroyanagi9-76/+46
This changes the behavior of predictions for some rare cases. For example, let's consider the case of the prev word is "ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have any bigrams, and "abc" has bigrams. Without this change, "abc"'s bigrams are used for prediction. But, with this change, "abc"'s bigrams are not used for prediction. This strategy is the same as the the current way of bigram probability computation during traversal (for suggestion). Bug: 14425059 Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48
2014-07-30Add a method to iterate ngram entries.Keisuke Kuroyanagi10-22/+132
Bug: 14425059 Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
2014-07-30Revert "[HW10] Pull the processed event in its eventual place"Ken Wakasa1-9/+6
This reverts commit bcb61da581edfef5120a7a38a5de98d35fa65255. Reverting due to a few critical bugs and unit test failures. Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-29[HW8] Pull up the processed event.Jean Chalard1-5/+5
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29[HW7.5] Introduce the @Nonnull annotationJean Chalard6-5/+16
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29[HW7] Introduce consumed eventsJean Chalard5-15/+31
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29[HW6] Split processing and applying the event.Jean Chalard3-9/+29
If anyone has better names for those... Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29Add TrieMap.Keisuke Kuroyanagi4-1/+765
Bug: 14425059 Change-Id: Ief36f808ed4f3e35bfab07837ea314d2564973ab
2014-07-29Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()Keisuke Kuroyanagi8-10/+23
Bug: 14425059 Change-Id: I92403d750d2979408b41554dcd79b0ed31b41161
2014-07-29Improve the russian dictionary.Jean Chalard2-0/+0
Deleted: 38 words Probability adjusted: 11 words Added: 1299 words [Category diff] +1 15 -1 0 +2 0 -2 0 +3 0 -3 0 +4 0 -4 0 +5 0 -5 3 +6 1 -6 0 +7 0 -7 13 [Weighted category diff] +1 15 -1 0 +2 0 -2 0 +3 0 -3 0 +4 0 -4 0 +5 0 -5 3 +6 1 -6 0 +7 0 -7 13 Change-Id: I1a6513954d60b30738cb849578ce535c5e05eb1a
2014-07-28Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.Keisuke Kuroyanagi4-7/+6
Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
2014-07-28Add boundary check for ver2 bigram reading.Keisuke Kuroyanagi8-20/+52
Bug: 16330528 Change-Id: I6aca6c7a735e2a652eb325572d44dff660789cff
2014-07-28Wait for an event before actually realizing itJean Chalard1-1/+1
This would wrongly emit a 'timeout' log entry when switching between two instances of the same language. Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
2014-07-24Import translations. DO NOT MERGEBaligh Uddin2-2/+2
Change-Id: Id8eadce808d946a7674f41826ab4aa086ac818e7 Auto-generated-cl: translation import
2014-08-01Add LanguageModelDictContent.Keisuke Kuroyanagi3-0/+36
This class will replace BigramDictContent and ProbabilityDictContent. Bug: 14425059 Change-Id: I3d15c833957e27b2f5999386db042188272bbb4b
2014-08-01Remove DictContent.Keisuke Kuroyanagi3-39/+2
Bug: 14425059 Change-Id: I74fa4b6ba4605447c1c87427371e4be5eb8e7ae6
2014-08-01Add memory view class for int and uint8_t.Keisuke Kuroyanagi4-1/+202
Bug: 16691311 Change-Id: I32eb692cdb758861e24b772fdcda57642b95ae1b
2014-07-31Add TrieMap.save().Keisuke Kuroyanagi2-0/+10
Bug: 14425059 Change-Id: Ie0b4fe8b9a157da0401bb277c703ab084d5bf9cc
2014-07-30Add entry iteration method to TrieMap.Keisuke Kuroyanagi3-2/+215
Bug: 14425059 Change-Id: I79420b755f29f651d8eed61e7e48b6eb001d8dd2
2014-07-30Disptach hover events when sliding suggestion modeTadashi G. Takaoka1-7/+44
Bug: 15687702 Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2
2014-07-30[SD10] Add script checks for Lao and KhmerJean Chalard4-0/+16
Bug: 15840116 Change-Id: Id72b739e73cb3e72f56e1872ad9d60469555e193
2014-07-30[HW7] Introduce consumed eventsJean Chalard5-15/+31
Change-Id: I692c35b8e701d5a84500b949884472545b1f424d
2014-07-30[HW6] Split processing and applying the event.Jean Chalard4-13/+41
...take 2 Change-Id: I9d13b6d51e13ce2e76ae3febebfb8c310eba509d
2014-07-30Revert "[HW6] Split processing and applying the event."Ken Wakasa3-29/+9
This reverts commit 1db3d860ca0d7380c5a6a3a0f95751565f23043b. Reverting due to a few critical bugs and unit test failures. Change-Id: I5e2d02300320438ef9c29577ec5b0860ea91d822
2014-07-30Revert "[HW7] Introduce consumed events"Ken Wakasa5-31/+15
This reverts commit 99aff0af98e66b1d8515225a103f5beb84d098b9. Reverting due to a few critical bugs and unit test failures. Change-Id: Id41d802981d079f17134a03cc30ab36a3cdd4ac1