Commit Graph

33973 Commits (a6622bdce6d308a5cb1215fdc0ca522ae1d10d34)

Author SHA1 Message Date
Keisuke Kuroyanagi 7d48233e72 am 6850ea0e: Merge "Add boundary check for ver2 bigram reading." into lmp-dev
* commit '6850ea0ee5da6c85907f2173b58a260e6c859101':
  Add boundary check for ver2 bigram reading.
2014-07-29 01:39:11 +00:00
Jean Chalard bfd40d2a93 am 37f701df: am b6a75d10: am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit '37f701dfa09f303f45c3c0494482c8ae9694b4e1':
  Wait for an event before actually realizing it
2014-07-28 12:18:17 +00:00
Tadashi G. Takaoka ed0d9a7fce am 4c6e8e70: am 5fc43eb0: am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '4c6e8e70fb68eb9ae47d3b612440e07755366fa2':
  Use fragment for advanced preference screen
2014-07-28 12:18:16 +00:00
Keisuke Kuroyanagi e1d781bbbf am 4de1ca67: am 0bad998c: am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit '4de1ca67d7340b3c2db1b7fc9262029886b3fd68':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:18:14 +00:00
Tadashi G. Takaoka 93c58c7c61 am cd4799fd: am 1f5881b7: am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit 'cd4799fdf96335e32d122562789aee0bc127d49c':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:18:13 +00:00
Tadashi G. Takaoka 12769faeed am a8765dae: am b1067103: am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit 'a8765daeec64991afab0bccab5dea82c6296425d':
  Use fragment for text correction preference screen
2014-07-28 12:18:12 +00:00
Tadashi G. Takaoka 4ed4d4fc46 am 2d64f7c0: am f63a044c: am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit '2d64f7c097bb0246e8c1ac1a1f82c175c40c4e41':
  Use fragment for gesture typing preference screen
2014-07-28 12:18:10 +00:00
Tadashi G. Takaoka 1f6cc6fb57 am a0a37bd3: am beffde59: am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit 'a0a37bd368c2570f60106f30391d413e48d80f42':
  Use fragment for multi lingual preference screen
2014-07-28 12:18:09 +00:00
Jean Chalard 275079c9ae am d33f7e84: am ac82983f: am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit 'd33f7e84ab44bb27c82c300b431518bb48919883':
  Fix a verifier error on ICS.
2014-07-28 12:18:08 +00:00
Tadashi G. Takaoka 18855ae268 am 081a4177: am c140938d: am bfcd98ed: Use fragment for input preference screen
* commit '081a4177e482727cc27e686607c02cf9f099a64d':
  Use fragment for input preference screen
2014-07-28 12:18:06 +00:00
Tadashi G. Takaoka ed65482cc7 am 4dba300e: am 26a29865: am ab661e3e: Make "Show correction suggestions" as a binary option
* commit '4dba300e50587f1bc9c1c5ca7bd98adc1781bdf5':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:18:04 +00:00
Jean Chalard 37f701dfa0 am b6a75d10: am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit 'b6a75d10de3ab43dcf318fde77e81918fc55e02b':
  Wait for an event before actually realizing it
2014-07-28 12:14:29 +00:00
Tadashi G. Takaoka 4c6e8e70fb am 5fc43eb0: am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '5fc43eb04df9870fb6256d8d3918e7d399ca8a79':
  Use fragment for advanced preference screen
2014-07-28 12:14:28 +00:00
Keisuke Kuroyanagi 4de1ca67d7 am 0bad998c: am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit '0bad998c52cc0ed610e4fef745c438472f14a7e4':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:14:26 +00:00
Tadashi G. Takaoka cd4799fdf9 am 1f5881b7: am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit '1f5881b752b9b8e527b00e14150cfedd916513ce':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:14:25 +00:00
Tadashi G. Takaoka a8765daeec am b1067103: am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit 'b1067103343c9b196e0a9276f3e9f7c20b6def86':
  Use fragment for text correction preference screen
2014-07-28 12:14:24 +00:00
Tadashi G. Takaoka 2d64f7c097 am f63a044c: am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit 'f63a044c6649f3cabc3b612ed5bd79b6601f52ae':
  Use fragment for gesture typing preference screen
2014-07-28 12:14:23 +00:00
Tadashi G. Takaoka a0a37bd368 am beffde59: am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit 'beffde59c36515f77946b35c2b0279413a1df69f':
  Use fragment for multi lingual preference screen
2014-07-28 12:14:21 +00:00
Jean Chalard d33f7e84ab am ac82983f: am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit 'ac82983f65626c1db3fd878ba059807166ffbe36':
  Fix a verifier error on ICS.
2014-07-28 12:14:20 +00:00
Tadashi G. Takaoka 081a4177e4 am c140938d: am bfcd98ed: Use fragment for input preference screen
* commit 'c140938d99b2b34e95d7e45425396f280a486043':
  Use fragment for input preference screen
2014-07-28 12:14:19 +00:00
Tadashi G. Takaoka 4dba300e50 am 26a29865: am ab661e3e: Make "Show correction suggestions" as a binary option
* commit '26a2986581410536a98e1c311214dc90d9934546':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:14:18 +00:00
Jean Chalard b6a75d10de am 036b83f4: Merge "Wait for an event before actually realizing it" into lmp-dev
* commit '036b83f4c44169703273b4e8192809fdadd7b8ad':
  Wait for an event before actually realizing it
2014-07-28 12:09:16 +00:00
Tadashi G. Takaoka 5fc43eb04d am 1e491d90: Merge "Use fragment for advanced preference screen" into lmp-dev
* commit '1e491d90f9b26430f55a9dfee031007acf3d727b':
  Use fragment for advanced preference screen
2014-07-28 12:09:15 +00:00
Keisuke Kuroyanagi 0bad998c52 am fb15b768: Merge "Fix NPE when context.getFilesDir() returns null." into lmp-dev
* commit 'fb15b768dd21a7364a541e898886166177617c58':
  Fix NPE when context.getFilesDir() returns null.
2014-07-28 12:09:09 +00:00
Tadashi G. Takaoka 1f5881b752 am 9ba85413: Merge "Refactor Debug settings to use SubScreenFragment" into lmp-dev
* commit '9ba854133cf06b28111980908373e173a8b26938':
  Refactor Debug settings to use SubScreenFragment
2014-07-28 12:09:08 +00:00
Tadashi G. Takaoka b106710334 am 633f1a5e: Merge "Use fragment for text correction preference screen" into lmp-dev
* commit '633f1a5e6ed6dee09b01449a23f7bab3953c99d3':
  Use fragment for text correction preference screen
2014-07-28 12:09:07 +00:00
Tadashi G. Takaoka f63a044c66 am a484dc84: Merge "Use fragment for gesture typing preference screen" into lmp-dev
* commit 'a484dc84d92839e821e7aa7de03c12495d566229':
  Use fragment for gesture typing preference screen
2014-07-28 12:09:06 +00:00
Tadashi G. Takaoka beffde59c3 am 1da43854: Merge "Use fragment for multi lingual preference screen" into lmp-dev
* commit '1da438549368e74d55017c36d666673ad608a5c4':
  Use fragment for multi lingual preference screen
2014-07-28 12:09:05 +00:00
Jean Chalard ac82983f65 am 6d7a0810: Merge "Fix a verifier error on ICS." into lmp-dev
* commit '6d7a08107cd62620a2a07d445686e76c2d660bcf':
  Fix a verifier error on ICS.
2014-07-28 12:09:04 +00:00
Tadashi G. Takaoka c140938d99 am bfcd98ed: Use fragment for input preference screen
* commit 'bfcd98edc7c5ac28fdc1e4b7a97b2912124e622a':
  Use fragment for input preference screen
2014-07-28 12:09:03 +00:00
Tadashi G. Takaoka 26a2986581 am ab661e3e: Make "Show correction suggestions" as a binary option
* commit 'ab661e3ef886a36b02fe094864ae4be6a3260f71':
  Make "Show correction suggestions" as a binary option
2014-07-28 12:09:02 +00:00
Tadashi G. Takaoka bfcd98edc7 Use fragment for input preference screen
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-27 16:06:52 +09:00
Tadashi G. Takaoka ab661e3ef8 Make "Show correction suggestions" as a binary option
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-07-27 14:47:07 +09:00
Baligh Uddin f7828313ef am 2dc3a510: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '2dc3a51001996a59ab6ea9556a3815159702c202':
  Import translations. DO NOT MERGE
2014-07-25 16:37:10 +00:00
Keisuke Kuroyanagi 57574b98c2 Merge "Remove doesAutoCorrectValidWord()." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi 5b69472d56 Remove doesAutoCorrectValidWord().
Possibly offensive words are wrongly demoted when input by
gesture.

Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c
2014-07-31 14:48:16 +09:00
Keisuke Kuroyanagi d3d7c31ca9 Fix native debug build.
Change-Id: I95ff6b14d7f444911ec76698381b8d2d8da94776
2014-07-31 14:36:12 +09:00
Keisuke Kuroyanagi d624091afb Merge "Fix native debug build." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi a704ad254e Merge "Remove PrevWordsInfo.getBigramsIteratorForPrediction()." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi bd1f59bda5 Remove PrevWordsInfo.getBigramsIteratorForPrediction().
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-30 17:26:26 +09:00
Keisuke Kuroyanagi 2d57b3339a Add a method to iterate ngram entries.
Bug: 14425059
Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
2014-07-30 10:52:56 +09:00
Ken Wakasa e8ca3f4091 Merge "Revert "[HW10] Pull the processed event in its eventual place"" into lmp-dev 2014-07-25 11:19:20 +00:00
Ken Wakasa 79fd911c8d Revert "[HW10] Pull the processed event in its eventual place"
This reverts commit bcb61da581.

Reverting due to a few critical bugs and unit test failures.

Change-Id: I5f7ee2c7883496ed36e56b3ef12fac91f85f9866
2014-07-30 00:29:41 +00:00
Jean Chalard 312c9498be Merge "[HW8] Pull up the processed event." into lmp-dev 2014-07-25 11:19:20 +00:00
Jean Chalard ebdd641d58 [HW8] Pull up the processed event.
Change-Id: If4baba0af2e88627f22b5e7312948fc3d9c5a25f
2014-07-29 17:49:24 +09:00
Jean Chalard 60a2cd8ac4 [HW7.5] Introduce the @Nonnull annotation
Change-Id: I1f69ea704056943fa3371ff610e2d8181ead2376
2014-07-29 17:49:19 +09:00
Jean Chalard 99aff0af98 [HW7] Introduce consumed events
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
2014-07-29 17:49:14 +09:00
Jean Chalard 1db3d860ca [HW6] Split processing and applying the event.
If anyone has better names for those...

Change-Id: Ia2dfc75381816bd688948647e2c50c10657b9e89
2014-07-29 17:40:48 +09:00
Jean Chalard 3042452170 Merge "[HW7] Introduce consumed events" into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi 6c3b0d3caa Merge "Add TrieMap." into lmp-dev 2014-07-25 11:19:20 +00:00