Commit graph

38160 commits

Author SHA1 Message Date
Tadashi G. Takaoka
2ffcad113a Merge "Remove unused code from DictionaryFactory" 2014-11-27 03:01:46 +00:00
Tadashi G. Takaoka
5de30cc2a4 am b5a7ece0: Merge "Remove obsolete comment"
* commit 'b5a7ece02bc4619f4163a83f5534905aa0a01c73':
  Remove obsolete comment
2014-11-27 02:57:11 +00:00
Tadashi G. Takaoka
b5a7ece02b Merge "Remove obsolete comment" 2014-11-27 02:52:04 +00:00
Jatin Matani
12d63820d4 Hook for fetching sync content from UserHistoryDict
Add API to ExpandableBinaryDictionary to dump content
from a given dictionary. We use this for dumping data
for sync process.

Refactored UserHistoryDictionaryTests to scrap out the util
methods for testing. These utility methods would be used
for testing sync + user dictionary code in LatinIMEGoogleTests

Bug:18106539
Change-Id: I357f9192ea1bd69a526d0b620c25616a2e8e9d5b
2014-11-26 11:17:24 -08:00
Geoff Mendal
6a47525494 am 0cc4b885: (-s ours) Import translations. DO NOT MERGE
* commit '0cc4b88531a47f7bfff8e7ee433a2848b549170f':
  Import translations. DO NOT MERGE
2014-11-26 15:29:26 +00:00
Geoff Mendal
0cc4b88531 Import translations. DO NOT MERGE
Change-Id: I6edc9f4285ac08e1d97360a0b6d489c5f809c363
Auto-generated-cl: translation import
2014-11-26 07:18:45 -08:00
Jean Chalard
88e021f2ef am 56577461: Allow whitelist changes when no close word
* commit '56577461d63ad3618598ceddfb9a73b797917061':
  Allow whitelist changes when no close word
2014-11-26 10:41:33 +00:00
Jean Chalard
56577461d6 Allow whitelist changes when no close word
When there isn't a close word in another language of the
current multi-language set, we allow whitelist entries
to take force even if we are not confident in the current
language.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: I044674ba7b70aa86ab2a48d2e4d53a1c8007b62c
2014-11-26 18:43:22 +09:00
Jean Chalard
9ab179a142 am e752aab7: Use confidence to fix whitelist
* commit 'e752aab70dc15c993a65d7db8314a72bb9e0f8b2':
  Use confidence to fix whitelist
2014-11-26 08:37:27 +00:00
Jean Chalard
e752aab70d Use confidence to fix whitelist
With this the most obvious problem is fixed. However there
are two remaining items : we should still enforce whitelist
when there are no close candidates at all, and we should
start in confident mode when pressing the globe key.

Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ibc0571ae35fc28f8d13760aa86b25db1163d3e31
2014-11-26 17:29:59 +09:00
Tadashi G. Takaoka
cbefc0c8f9 Remove obsolete comment
Change-Id: I9e606fd573a60d12482b12e0e9adaecd552f66a7
2014-11-26 12:02:07 +09:00
Keisuke Kuroyanagi
adb4f0ed20 am 20da4f07: Merge "Use enum to specify ngram type."
* commit '20da4f07be9cdf58835a79e619785b4cafd428ff':
  Use enum to specify ngram type.
2014-11-25 10:39:04 +00:00
Keisuke Kuroyanagi
20da4f07be Merge "Use enum to specify ngram type." 2014-11-25 10:34:15 +00:00
Keisuke Kuroyanagi
60021bbdc2 Enable Quadgram for personalized dicts.
Before:
Total words: 1134659, Success Num: 944709, Success Percentage: 83.259%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880%

After:
Total words: 1134665, Success Num: 945026, Success Percentage: 83.287%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112%
Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446%
Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808%

Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
2014-11-25 19:07:13 +09:00
Keisuke Kuroyanagi
78212a6d3d Use enum to specify ngram type.
Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
2014-11-25 19:07:10 +09:00
Jean Chalard
5af54d904a am b479a56f: Merge "Add confidence."
* commit 'b479a56f281d7b20abbb05369a5d6d0a6ce9dc67':
  Add confidence.
2014-11-25 06:25:17 +00:00
Jean Chalard
b479a56f28 Merge "Add confidence." 2014-11-25 06:22:30 +00:00
Jean Chalard
d06dd0ca12 Add confidence.
Bug: 18063142
Bug: 18130489
Bug: 18132240
Bug: 18136721
Bug: 18200415
Change-Id: Ica09d11cb95308dd014c4e4e0d99a30dd66bfea9
2014-11-25 14:41:27 +09:00
Tadashi G. Takaoka
58f5e62ba8 am 8e327009: Merge "Refactor PointerTracker and MainKeyboardView"
* commit '8e3270091409ac7c1f9d960f5023d4ddf5f46114':
  Refactor PointerTracker and MainKeyboardView
2014-11-25 02:13:23 +00:00
Tadashi G. Takaoka
8e32700914 Merge "Refactor PointerTracker and MainKeyboardView" 2014-11-25 02:09:25 +00:00
Keisuke Kuroyanagi
7f372d5781 am 62ac89e1: Merge "Implement ArgumentsParser::parseArguments and add tests."
* commit '62ac89e149b6e2275344f5cbf9bb4549f2e3c49e':
  Implement ArgumentsParser::parseArguments and add tests.
2014-11-25 01:38:44 +00:00
Keisuke Kuroyanagi
62ac89e149 Merge "Implement ArgumentsParser::parseArguments and add tests." 2014-11-25 01:35:30 +00:00
The Android Automerger
d1ecca0b4d merge in ub-latinimegoogle-fava-release history after reset to af204539c3 2014-11-24 19:00:22 +00:00
Geoff Mendal
d46a5ea667 am dd01ed3a: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'dd01ed3af878e041a515ba3288964a2e96526bcd':
  Import translations. DO NOT MERGE
2014-11-24 18:10:03 +00:00
Geoff Mendal
131b57abdf am e6e35472: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'e6e354720ce637bbaa2058ec0c766662e433ca91':
  Import translations. DO NOT MERGE
2014-11-24 18:06:36 +00:00
Geoff Mendal
33dd99158b am 7c2da981: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '7c2da981de0ea4766e5ddff1c57152a038a77106':
  Import translations. DO NOT MERGE
2014-11-24 18:06:34 +00:00
Geoff Mendal
28a7650e3d am e40a068c: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit 'e40a068cee68c575114269752810164e57d69b2f':
  Import translations. DO NOT MERGE
2014-11-24 18:06:32 +00:00
Geoff Mendal
0b9c5791e1 am 07910098: (-s ours) Import translations. DO NOT MERGE
* commit '0791009872daf2d92f09f960bee06d69d728dc07':
  Import translations. DO NOT MERGE
2014-11-24 18:06:30 +00:00
Geoff Mendal
dd01ed3af8 Merge "Import translations. DO NOT MERGE" 2014-11-24 18:05:52 +00:00
Geoff Mendal
e6e354720c Merge "Import translations. DO NOT MERGE" 2014-11-24 18:04:24 +00:00
Geoff Mendal
7c2da981de Merge "Import translations. DO NOT MERGE" 2014-11-24 18:03:12 +00:00
Geoff Mendal
e40a068cee Merge "Import translations. DO NOT MERGE" 2014-11-24 18:02:54 +00:00
Geoff Mendal
d665a22f69 Import translations. DO NOT MERGE
Change-Id: I8a777c9f33e81b6b95bec3b20ef5370ccb88b5f6
Auto-generated-cl: translation import
2014-11-24 07:50:47 -08:00
Geoff Mendal
7fe02760e0 Import translations. DO NOT MERGE
Change-Id: I33f6c84de126d8fbec55a0093cc9d5c87e035a7b
Auto-generated-cl: translation import
2014-11-24 07:49:46 -08:00
Geoff Mendal
7c4f3f4ea2 Import translations. DO NOT MERGE
Change-Id: Ie03e186016b62bf0d758dd25ee820e6180944e02
Auto-generated-cl: translation import
2014-11-24 07:49:06 -08:00
Geoff Mendal
af204539c3 Import translations. DO NOT MERGE
Change-Id: Ic96fae7d192e2994698f1b48d0f8f07ba52607e7
Auto-generated-cl: translation import
2014-11-24 07:48:25 -08:00
Geoff Mendal
909e5628ef Import translations. DO NOT MERGE
Change-Id: I3a0eb63a15ceb2330de6558bf3cb93987ee753af
Auto-generated-cl: translation import
2014-11-24 07:47:05 -08:00
Geoff Mendal
eaee40e223 Import translations. DO NOT MERGE
Change-Id: I58dc523d0cc2eed8750d877e44556b5c97767540
Auto-generated-cl: translation import
2014-11-24 07:45:58 -08:00
Geoff Mendal
0791009872 Import translations. DO NOT MERGE
Change-Id: Ice840a82a58fc65860512fdcfd3a5ef29e3a0a6c
Auto-generated-cl: translation import
2014-11-24 07:44:49 -08:00
Tadashi G. Takaoka
b55ce99d37 am fceaf01e: (-s ours) am 61f88e3f: (-s ours) am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit 'fceaf01e5a11b35aacd084196ebef6ecae8d6ddf':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:17:39 +00:00
Tadashi G. Takaoka
fceaf01e5a am 61f88e3f: (-s ours) am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit '61f88e3fc795b6e7236a3344af6163c35ff25b0a':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:13:21 +00:00
Tadashi G. Takaoka
61f88e3fc7 am b348d9cc: am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit 'b348d9cc578c5ab5dca7bece16901296fd7e0e4c':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:09:23 +00:00
Tadashi G. Takaoka
b348d9cc57 am 943db315: (DO NOT MERGE) Fix Greek accented upper case letters
* commit '943db315f55db7ef86dc0f78b6354238422039d8':
  (DO NOT MERGE) Fix Greek accented upper case letters
2014-11-21 17:04:06 +00:00
Tadashi G. Takaoka
a414b81a6c Remove unused code from DictionaryFactory
Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
2014-11-21 17:58:50 +09:00
Tadashi G. Takaoka
943db315f5 (DO NOT MERGE) Fix Greek accented upper case letters
Cherry-picked 6fc92899d82f4d3cb30f7bb2c57133154f0babd2 from
ub-latinimegoogle-edamame-mr1-release.

Bug: 18418991
Change-Id: Id4dff41ba488635ff9af899be6d4f84ab00a96c8
2014-11-21 15:14:46 +09:00
Tadashi G. Takaoka
e757c9605f am 8a711f2a: Remove unneeded Context argument
* commit '8a711f2a547a61b9f4f3ef3bdb79a66b618db58f':
  Remove unneeded Context argument
2014-11-21 03:59:48 +00:00
Tadashi G. Takaoka
8a711f2a54 Remove unneeded Context argument
Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
2014-11-21 12:49:04 +09:00
Tadashi G. Takaoka
53b6d627e7 Refactor PointerTracker and MainKeyboardView
This CL reorganize the key press/release state visual drawing code.

Change-Id: I4aa10f57309ae2f81333a1e2bd863c23a7a41d82
2014-11-21 12:40:00 +09:00
Keisuke Kuroyanagi
1f8d4f47e4 Implement ArgumentsParser::parseArguments and add tests.
Bug: 10059681
Change-Id: I6511a46c879d7a52d0bb4fcab445a66bc40db98c
2014-11-21 12:25:30 +09:00
Tadashi G. Takaoka
ebe5b42f71 Make LocaleUtils.constructLocaleFromString as @Nonnull
Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
2014-11-21 12:02:06 +09:00