| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix the build : move offdevice tests in an off device file•••Also fix a failing test
Change-Id: I280aa6b5836c7332da08a88f1258546edeb25a37
|  Jean Chalard | 2014-11-06 | 1 | -61/+0 |
* | Add a header command to dicttool.•••This will allow to greatly improve the performance of the
metadata-generating files, as they won't have to wait for
the info command to read the entire dictionary when the
header is all we need.
Also add tests, and while we're at it, use the seed as
intended to enable reproducible tests.
Change-Id: I0ba79ef62f0292b23e63aed57ff565bb102281a2
|  Jean Chalard | 2014-11-06 | 1 | -7/+70 |
* | Add a *FAST* dictionary header reader.•••It's still unused as of this change but the next change will use it
As a reference point, generating the metadata for Bayo takes
3'02" on my machine with the info command; it's down to 16" if
made to use this instead. The gains increases with the number
of dictionaries obviously.
Change-Id: I0eeea2d8f81bb74b0d1570af658e91b56f7c2b79
|  Jean Chalard | 2014-11-06 | 1 | -0/+42 |
* | Fix missing ZWNJ key of BengaliAkhhor keyboard•••This CL also fixes the wrong script of Bengali Akkhor.
Change-Id: Id4af2ea160b4ef3cfd40ffc5984354bc60f0b7b7
|  Tadashi G. Takaoka | 2014-11-04 | 1 | -0/+5 |
* | Update v4 format version from 402 to 403.•••Without personalization:
Total words: 1134774, Success Num: 899230, Success Percentage: 79.243%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165%
Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563%
Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953%
Before:
Total words: 1134646, Success Num: 925194, Success Percentage: 81.540%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116%
Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493%
Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019%
After
Total words: 1134659, Success Num: 944746, Success Percentage: 83.263%
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): 28016, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222%
Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
|  Keisuke Kuroyanagi | 2014-10-31 | 2 | -83/+42 |
* | Merge "Add documentation for CollectionUtils#arrayAsList" |  Ken Wakasa | 2014-10-31 | 1 | -1/+32 |
|\ |
|
| * | Add documentation for CollectionUtils#arrayAsList•••(This is a cherrypick of http://ag/576739)
Also, modify the IllegalArgumentException to capture the
values passed for start, end, and array.length to make
debugging easier in the unlikely event that it is thrown.
Add corresponding tests for the exceptions.
Tested:
tapas LatinImeGoogle LatinImeGoogleTests userdebug
make -j30 && \
adb install -r \
out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \
adb install -r \
out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \
adb shell am instrument -w -e class \
com.android.inputmethod.latin.utils.CollectionUtilsTests \
com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a |  David Faden | 2014-10-31 | 1 | -1/+32 |
* | | Update unit tests for new static dict version.•••Bug: 11031090
Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
|  Adrian Velicu | 2014-10-31 | 3 | -27/+32 |
* | | Using "blacklist" flag as "possibly offensive"•••Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
|  Adrian Velicu | 2014-10-31 | 2 | -2/+4 |
|/ |
|
* | Enable count based dynamic ngram language model for v403.•••Bug: 14425059
Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
|  Keisuke Kuroyanagi | 2014-10-30 | 1 | -39/+40 |
* | Move InputPointers and ResizableIntArray to common•••Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
|  Jean Chalard | 2014-10-29 | 3 | -4/+3 |
* | Fix test breakage•••This CL also adds null analysis annotations to StringUtils.
Change-Id: I751932c1ed2579bc10f4584651b997356f180899
|  Tadashi G. Takaoka | 2014-10-29 | 1 | -5/+15 |
* | Move StringUtils under common.•••Bug: 18108776
Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
|  Jean Chalard | 2014-10-28 | 5 | -5/+5 |
* | Fix tests build•••Change-Id: I873ab97e2c4b30caa9227d26d7880d5ed6d134b0
|  Jean Chalard | 2014-10-28 | 1 | -18/+20 |
* | Merge "Fix Serbian Latin subtype handling" |  Tadashi G. Takaoka | 2014-10-28 | 3 | -90/+290 |
|\ |
|
| * | Fix Serbian Latin subtype handling•••This CL also adds unit tests for Hinglish and Serbian Latin.
Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
|  Tadashi G. Takaoka | 2014-10-28 | 3 | -90/+290 |
* | | Merge "Add some gesture-move tests" |  Jean Chalard | 2014-10-28 | 1 | -2/+32 |
|\ \
| |/
|/| |
|
| * | Add some gesture-move tests•••Change-Id: I5ec9a9169b0d27da93194e1bd3fa90da8174ee8f
|  Jean Chalard | 2014-10-28 | 1 | -2/+32 |
* | | Fix NPE in AppearanceSettingsFragment•••Bug: 18147440
Change-Id: I7a7a47b3484e54146d34d11b5bd9c1305421d829
|  Tadashi G. Takaoka | 2014-10-28 | 2 | -9/+5 |
|/ |
|
* | Add null analysis annotation to CollectionUtils•••Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
|  Tadashi G. Takaoka | 2014-10-27 | 1 | -1/+0 |
* | Fix: deleted PtNode handling in v403.•••If a word is once deleted, the word never gets into the
personalized dictionaries due to this bug.
Change-Id: Ife4e3fe1ba0615b4135e6291d2151b0db7d3f940
|  Keisuke Kuroyanagi | 2014-10-27 | 1 | -1/+6 |
* | Merge "Add tests for type through recorrection" |  Jean Chalard | 2014-10-24 | 2 | -31/+95 |
|\ |
|
| * | Add tests for type through recorrection•••Also introduce some helper methods
Change-Id: I0f99733a4b7f0318b2b07217b614c19ea98859fc
|  Jean Chalard | 2014-10-22 | 2 | -31/+95 |
* | | Fix unit test failure due to IllegalAccessError•••java.lang.IllegalAccessError: Class ref in pre-verified class resolved
to unexpected implementation because of latinime-common reference added
two times.
Change-Id: I4ce1185c10b9a217022e830b02aec4f1ea50f2eb
|  Ken Wakasa | 2014-10-24 | 1 | -1/+1 |
* | | Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common
package as much as we can.
Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
|  Ken Wakasa | 2014-10-23 | 46 | -46/+58 |
* | | Remove unused import and method•••Bug: 18003991
Change-Id: Id6b67bf66b397301e5186826dba2b60df9cb4c65
|  Tadashi G. Takaoka | 2014-10-23 | 2 | -2/+0 |
* | | Use trigrams for personalization dict.•••5Bug: 14425059
Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
|  Keisuke Kuroyanagi | 2014-10-23 | 3 | -61/+67 |
* | | Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package.
Bug: 18003991
Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
|  Tadashi G. Takaoka | 2014-10-23 | 5 | -12/+7 |
* | | Merge "Enable preliminary subtypes for F-release" |  Tadashi G. Takaoka | 2014-10-23 | 9 | -18/+18 |
|\ \ |
|
| * | | Enable preliminary subtypes for F-release•••Bug: 17743363
Change-Id: I098ae6e21a7f2a1ceed1d206740a2d12e1ef7d99
|  Tadashi G. Takaoka | 2014-10-22 | 9 | -18/+18 |
| |/ |
|
* / | Add latinime-common local lib•••This is just a placeholder in this CL. It will be shared by LatinIME,
dicttool, and tests.
Change-Id: I6fb3516a5061555f6f24b29141c2871d2319b023
|  Ken Wakasa | 2014-10-22 | 7 | -106/+6 |
|/ |
|
* | Merge "Support ngram entry migration." |  Keisuke Kuroyanagi | 2014-10-22 | 1 | -0/+15 |
|\ |
|
| * | Support ngram entry migration.•••Bug: 14425059
Change-Id: I98cb9fa303af2d93a0a3512e8732231c564e3c5d
|  Keisuke Kuroyanagi | 2014-10-22 | 1 | -0/+15 |
* | | Remove BuildCompatUtils.VERSION_CODES_LXX•••Finally it is turned out to be a XXL-size Lollipop.
Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
|  Yohei Yukawa | 2014-10-22 | 1 | -8/+8 |
* | | Fix some compiler warnings•••This CL fixes the following compiler warnings.
- Indirect access to static member
- Access to a non-accessible member of an enclosing type
- Parameter assignment
- Method can be static
- Local variable declaration hides another field or variable
- Value of local variable is not used
- Unused import
- Unused private member
- Unnecessary 'else' statement
- Unnecessary declaration of throw exception
- Redundant type arguments
- Missing '@Override' annotation
- Unused '@SuppressWarning' annotations
Bug: 18003991
Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
|  Tadashi G. Takaoka | 2014-10-21 | 29 | -178/+171 |
|/ |
|
* | Renaming "blacklist" flag to "possibly offensive"•••No behaviour changes.
Unified the overloaded FusionDictionary::add method to always take an
isPossiblyOffensive argument.
Bug: 11031090
Change-Id: I5741a023ca1ce842d2cf10d4f6c926b0efabaa78
|  Adrian Velicu | 2014-10-21 | 10 | -78/+74 |
* | Change entry count limit.•••Unigram 10K, Bigram 30K, Trigram 30K.
Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
|  Keisuke Kuroyanagi | 2014-10-20 | 2 | -15/+55 |
* | Fix missing Telugu letters•••This CL adds missing the following Telugu letters
- U+0C4A: TELUGU VOWEL SIGN O
- U+0C1E: TELUGU LETTER NYA
And also reorganizes some letter reasonably.
Bug: 10028759
Change-Id: If7fd3854ffab8484dbe6ced0ff2ed52be838e44d
|  Tadashi G. Takaoka | 2014-10-17 | 1 | -10/+13 |
* | Merge "Update useless n-gram entry detection logic during GC." |  Keisuke Kuroyanagi | 2014-10-15 | 1 | -1/+60 |
|\ |
|
| * | Update useless n-gram entry detection logic during GC.•••Bug: 14425059
Change-Id: Ib939deae5b60167751dee07965bb1ef1a43c4625
|  Keisuke Kuroyanagi | 2014-10-15 | 1 | -1/+60 |
* | | Add the first gesture unit tests.•••At last I found a simple way to do it !
Bug: 8845843
Change-Id: I4dd3bf987b58e29a44cf0d7389d294657a33abe1
|  Jean Chalard | 2014-10-15 | 7 | -32/+98 |
* | | Merge "Add label and icon to the test app" |  Sandeep Siddhartha | 2014-10-15 | 3 | -1/+24 |
|\ \ |
|
| * | | Add label and icon to the test app•••This helps us easilty distinguish between the different test targets visually.
Bug: 17946996
Change-Id: I822a29cfb9b5bc5df3d93a884ffdf7d050737e04
|  Sandeep Siddhartha | 2014-10-14 | 3 | -1/+24 |
| |/ |
|
* | | Move sync policy related code out of account settings•••Bug: 17981687
Bug: 17464069
Change-Id: I0ae3400564fd346cc84af74dfef65f01cc1ce6a8
|  Sandeep Siddhartha | 2014-10-14 | 1 | -70/+0 |
* | | Merge "Remove shouldBlockAutoCorrectionBySafetyNet" |  Keisuke Kuroyanagi | 2014-10-14 | 1 | -99/+0 |
|\ \
| |/
|/| |
|
| * | Remove shouldBlockAutoCorrectionBySafetyNet•••Bug: 13756409
[Category diff]
+1 27
-1 0
+2 0
-2 0
+3 0
-3 1
+4 11
-4 0
+5 51
-5 0
+6 0
-6 38
+7 0
-7 50
[Weighted category diff]
+1 28
-1 0
+2 0
-2 0
+3 0
-3 1
+4 11
-4 0
+5 51
-5 0
+6 0
-6 39
+7 0
-7 50
show diff for ./en_user_log_phones_2011_08.csv
+1 4
+4 5
+5 7
-6 9
-7 7
The increase of false positives comes from the spaceless
typing test cases that are synthetic data.
Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327
|  Keisuke Kuroyanagi | 2014-10-14 | 1 | -99/+0 |
* | | Cleanup LoginAccountUtils•••Bug: 17464068
Change-Id: Icf994a7582491afebc5db522c127a30d079ce05c
|  Sandeep Siddhartha | 2014-10-13 | 1 | -5/+8 |
* | | Set up a sync preference and policy for syncing [2]•••- Adds a preference for enabling sync, which controls the sync behavior
- Make the ProductionFlags depend on appropriate flags to guarantee that
we don't mess things when flipping some flags
- Preferences now control the "syncable" property of the provider
thereby controlling the policy and when this entry shows up in
system settings.
Bug: 17464069
Change-Id: I1d58351188518c1ae9f1f9e147b5ea15d32a3427
|  Sandeep Siddhartha | 2014-10-10 | 1 | -0/+67 |
* | | Don't restore device specific preferences•••There are two categories of preferences:
1. That are part of the default shared preference
They were all getting backed up and restored.
Added a blacklist to not restore some of these.
e.g. current account
2. That are in a non-default shared preference file.
These are not getting backed up currently, but added a specific
local preference file for all such preferences.
Bug: 17288591
Change-Id: I2f748be971a2337543e5014434aa39313fd1e1d8
|  Sandeep Siddhartha | 2014-10-10 | 1 | -5/+6 |
* | | Fixing keyboard theme selection•••Bug: 17937287
Change-Id: I476045980843c5897820cd544daea06fa991acb5
|  Tadashi G. Takaoka | 2014-10-10 | 1 | -0/+26 |