Commit graph

31981 commits

Author SHA1 Message Date
Jean Chalard
3a729d4ed8 [SD12] Add the last remaining scripts
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 15:58:43 +09:00
Jean Chalard
7c5cd5ec89 [SD11] Add script checks for Myanmar, Sinhala, Thai and Telugu
Bug: 15840116
Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
2014-07-30 15:58:43 +09:00
Ken Wakasa
7f545a57c9 [HW7.5] Introduce the @Nonnull annotation (take 2)
Change-Id: I05512b5434810046c8b72d6bb41567b6cd8b9d6e
2014-07-30 04:13:58 +00:00
Ken Wakasa
0b1fa0c1c7 Cleanup: C++11 doesn't require a space between angle brackets
Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a
2014-07-30 11:32:05 +09:00
Ying Wang
0b2e2db919 am ece7240c: Don\'t build dicttool unless it\'s explicitly requested.
* commit 'ece7240c7ac09b1448998c202f991d0acd4bab01':
  Don't build dicttool unless it's explicitly requested.
2014-07-29 18:01:24 +00:00
Ying Wang
ece7240c7a Don't build dicttool unless it's explicitly requested.
It easily breaks the checkbuild.

Change-Id: I43b35fade550ff9d64782ea43cb6e3a804424830
2014-07-29 10:46:38 -07:00
Ken Wakasa
c9bba853fa am 666f1b38: Merge "Revert "[HW7.5] Introduce the @Nonnull annotation"" into lmp-dev
* commit '666f1b384f539c6426b9ee7bd6312005c69a3350':
  Revert "[HW7.5] Introduce the @Nonnull annotation"
2014-07-29 15:51:07 +00:00
Jean Chalard
8a584a2f61 am bcb61da5: [HW10] Pull the processed event in its eventual place
* commit 'bcb61da581edfef5120a7a38a5de98d35fa65255':
  [HW10] Pull the processed event in its eventual place
2014-07-29 13:14:43 +00:00
Jean Chalard
f5e55433a3 am a8d80ec0: [HW9] Pull the processed event further.
* commit 'a8d80ec01202633709d161fb01df0126602d4eb6':
  [HW9] Pull the processed event further.
2014-07-29 13:14:42 +00:00
Jean Chalard
859ccd77e3 am 312c9498: Merge "[HW8] Pull up the processed event." into lmp-dev
* commit '312c9498be299db7f323f9bd250328e016512e79':
  [HW8] Pull up the processed event.
2014-07-29 13:14:41 +00:00
Jean Chalard
8c932cbd0a am 3c7cb523: Merge "[HW7.5] Introduce the @Nonnull annotation" into lmp-dev
* commit '3c7cb5234fa33f67a4029d6e858ccccf5c7feeb3':
  [HW7.5] Introduce the @Nonnull annotation
2014-07-29 13:14:40 +00:00
Jean Chalard
716c7d2923 am 30424521: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '3042452170e9d8bd2d80abd7514b40b1974741f7':
  [HW7] Introduce consumed events
2014-07-29 13:14:39 +00:00
Keisuke Kuroyanagi
db72a4f686 am 6c3b0d3c: Merge "Add TrieMap." into lmp-dev
* commit '6c3b0d3caa8af9b513573486c12bddacd5f03d03':
  Add TrieMap.
2014-07-29 13:14:38 +00:00
Tadashi G. Takaoka
8172a68143 am a715d7f6: Use fragment for keyboard theme settings
* commit 'a715d7f6fd3b29e660d78f83815ebe75837f1436':
  Use fragment for keyboard theme settings
2014-07-29 13:14:37 +00:00
Jean Chalard
4591869d56 am 6c39db9f: Merge "[HW6] Split processing and applying the event." into lmp-dev
* commit '6c39db9f725b50177ce3bf5bd4ce38ff074fe0da':
  [HW6] Split processing and applying the event.
2014-07-29 13:14:35 +00:00
Keisuke Kuroyanagi
803a8241c1 am 2e32e83b: Merge "Get n-gram probability in structure policy." into lmp-dev
* commit '2e32e83b6ef88ea7429f96a797563a8032aa5347':
  Get n-gram probability in structure policy.
2014-07-29 13:14:34 +00:00
Keisuke Kuroyanagi
d4331c9294 am 179f38cc: Merge "Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()" into lmp-dev
* commit '179f38cc8c79ee4f1d94a1ddc37a7644a263e4c1':
  Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()
2014-07-29 13:14:33 +00:00
Jean Chalard
1e2fb09614 am 76ad2597: Merge "Improve the russian dictionary." into lmp-dev
* commit '76ad259764cf9aa4d8b0eba0ee708e79b02de86f':
  Improve the russian dictionary.
2014-07-29 13:14:31 +00:00
Jean Chalard
bcb61da581 [HW10] Pull the processed event in its eventual place
Change-Id: I9e13bb3efad557e9199021a344d8dff8215d97fa
2014-07-29 18:48:13 +09:00
Jean Chalard
a8d80ec012 [HW9] Pull the processed event further.
The 'processedEvent' variables will ultimately disappear entirely.

Change-Id: If44c68c1116faa9ca23e4ffeabe320704431ab3c
2014-07-29 18:38:49 +09:00
Tadashi G. Takaoka
a715d7f6fd Use fragment for keyboard theme settings
Bug: 11866784
Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
2014-07-29 18:19:20 +09:00
Tadashi G. Takaoka
eee0baad2e am 76cffec7: Show "navigate up" icon on settings activity
* commit '76cffec78834a2db525608587eae1a5a7ef998dd':
  Show "navigate up" icon on settings activity
2014-07-29 03:13:35 +00:00
Tadashi G. Takaoka
76cffec788 Show "navigate up" icon on settings activity
Bug: 15813742
Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
2014-07-29 12:05:48 +09:00
Tadashi G. Takaoka
af6cfb36cf am 8ca3eb67: Merge "Update Material icons and backgrounds" into lmp-dev
* commit '8ca3eb67d2074493751d3ff0fefed62bbfedad8c':
  Update Material icons and backgrounds
2014-07-29 02:46:17 +00:00
Keisuke Kuroyanagi
5e6431ce32 am c6862ee6: Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-dev
* commit 'c6862ee699e8c410f11a63c0dc0d7d6465117511':
  Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.
2014-07-29 01:55:26 +00:00
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
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
Keisuke Kuroyanagi
4a1ed92ea8 Merge "Remove getBigramsIteratorOfPtNode from structure policy." into lmp-dev 2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
0e6a1d1020 Remove getBigramsIteratorOfPtNode from structure policy.
Bug: 14425059
Change-Id: I427fbfd026c1e33b5e9cf78949fe862d8748b7ec
2014-08-01 12:06:21 +09: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