| Commit message (Expand) | Author | Age | Files | Lines |
* | Migrate packages/inputmethods/LatinIME to androidx.test•••See go/jetpack-test-android-migration
Test: make checkbuild
Change-Id: I63edeced1465725cd8d6467cd75ea1acc2608932
|  Brett Chabot | 2018-12-13 | 13 | -61/+72 |
* | Migrate to Android Testing Support Lib (part 6/N)•••This is a follow up CL to previous CLs that converted unit tests to
use Android Testing Support Library but forgot to remove unused import
lines.
Bug: 110805255
Test: verified as follows. No new test failures.
tapas adb LatinIME LatinIMETests arm64 userdebug && \
DISABLE_PROGUARD=true make -j LatinIME && \
adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
atest LatinIMETests:com.android.inputmethod.latin
Change-Id: I8762b0dfc209bdf68867f725b03a22286026faae
|  Yohei Yukawa | 2018-07-23 | 1 | -2/+0 |
* | Migrate to Android Testing Support Lib (part 1/N)•••This CL converts tests under com.android.inputmethod.latin.utils to
Android Testing Support Library.
Bug: 110805255
Test: verified as follows. No new test failures.
tapas adb LatinIME LatinIMETests arm64 userdebug && \
DISABLE_PROGUARD=true make -j LatinIME && \
adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
atest LatinIMETests:com.android.inputmethod.latin.utils
Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
|  Yohei Yukawa | 2018-07-05 | 13 | -65/+206 |
* | [LatinIME] Support MNC permissions.•••This build has been compiled against API 23
This build is approved to go out with the M OTA, but may NOT be released
to the public until the Play Store has enabled API level 23 apps
Version: 4.1.2300x.build_id
1. Replaces the personalization is on information with the suggest
contacts.
2. Enables "Use Contacts" only if the app has permission to read
contacts.
3. Disables the contacts dictionary in the Facilitator.
4. Do not register/read the contacts in the contact observer.
Bug: 22236416
Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
|  Mohammadinamul Sheik | 2015-07-15 | 1 | -145/+4 |
* | Personal dictionary feeds a personal LM.•••Bug 20043003.
Change-Id: I5ccac344c089855474263d1cdc547da1e6779301
|  Dan Zivkovic | 2015-04-09 | 1 | -7/+5 |
* | Log interrupted tasks in AOSP.•••Bug 19987461.
Change-Id: Ia2714f555146f8f31a6d8c61f555d2b6fecdab7d
|  Dan Zivkovic | 2015-04-02 | 1 | -4/+4 |
* | Add shortcut support to UserDictionaryLookup.•••Also move the class to the parent package, since it's no longer tied to the
spell checking service.
Bug 19966848.
Bug 20036810.
Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
|  Dan Zivkovic | 2015-04-02 | 1 | -4/+11 |
* | Use the complete Locale in generating the dictionary id.•••- Also deleted a couple of dead methods.
Bug:19929051
Change-Id: I4f88dbc2a8204d5e2a20d1ad8c205a23c6319f8d
|  Mohammadinamul Sheik | 2015-03-25 | 1 | -0/+18 |
* | Disable message if personalization is disabled.•••Bug: 19087415.
Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
|  Chieu Nguyen | 2015-03-18 | 1 | -9/+33 |
* | Separate executor for the Spelling decoder.•••Bug 19710676.
Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
|  Dan Zivkovic | 2015-03-12 | 1 | -1/+2 |
* | Remove ALS from LatinIME.•••This fixes unit tests and brings us closer to a green build.
Change-Id: Iffcc392eda4a7671a238b79cc7367320ca648725
|  Dan Zivkovic | 2015-03-11 | 2 | -13/+8 |
* | Remove dead code, including tests.•••Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
|  Dan Zivkovic | 2015-03-10 | 1 | -90/+0 |
* | Use a single background executor.•••Bug 19625976.
Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
|  Dan Zivkovic | 2015-03-09 | 1 | -1/+1 |
* | Sanitize the usage of executors.•••There should be 1 executor each for static and dynamic language models.
This prevents too many dynamic LM updates from running in parallel,
competing for resources.
Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
|  Dan Zivkovic | 2015-02-19 | 1 | -3/+2 |
* | Remove distracter filter from client.•••Bug 19296201.
Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
|  Dan Zivkovic | 2015-02-09 | 1 | -225/+0 |
* | Revert "Fix unit test failure due to translation glitch"•••This reverts commit f8705dd2bdb9aeb61860e6a0125102afc63a351d.
Change-Id: I7ddc1eced8109ff0bb50eb8a217db0d276848a1e
|  Tadashi G. Takaoka | 2014-12-17 | 1 | -10/+2 |
* | Make LanguageOnSpacebarHelper as utility class•••Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51
|  Tadashi G. Takaoka | 2014-12-11 | 1 | -0/+215 |
* | Remove unneeded Context argument•••Change-Id: Ib34931836a617d0dc049fb3c9ae6686374ec8c12
|  Tadashi G. Takaoka | 2014-11-21 | 1 | -1/+1 |
* | Fix unit test failure due to translation glitch•••Once the translation strings are updated, the uni test starts
failing. Then this CL should be reverted.
Change-Id: I884663feaa53998a98dd0e488ae8e3e6d0ad4ffd
|  Tadashi G. Takaoka | 2014-11-20 | 1 | -2/+10 |
* | Cleanup StringAndJsonUtilsTests•••Change-Id: I7d35492c439c9419915251387b0c12e205740586
|  Tadashi G. Takaoka | 2014-11-19 | 3 | -501/+205 |
* | Update SubtypeLocaleUtilsTests to test Serbian Latin in Seribian•••Change-Id: I80399b311ff5ed35f246e7e3d06d7386f03a0684
|  Tadashi G. Takaoka | 2014-11-12 | 1 | -8/+6 |
* | Rename unit test•••Change-Id: I0d18562a0b036a3e76a6df989a143bb05f0ed833
|  Tadashi G. Takaoka | 2014-11-08 | 1 | -318/+0 |
* | Move util classes under common•••Also why did we have two copies of LocaleUtils >.>
Bug: 18108776
Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
|  Jean Chalard | 2014-11-07 | 3 | -1/+5 |
* | 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 |
* | Move InputPointers and ResizableIntArray to common•••Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
|  Jean Chalard | 2014-10-29 | 1 | -377/+0 |
* | Fix tests build•••Change-Id: I873ab97e2c4b30caa9227d26d7880d5ed6d134b0
|  Jean Chalard | 2014-10-28 | 1 | -18/+20 |
* | 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 | 2 | -75/+277 |
* | Add null analysis annotation to CollectionUtils•••Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
|  Tadashi G. Takaoka | 2014-10-27 | 1 | -1/+0 |
* | 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 | 3 | -10/+9 |
* | 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 | 1 | -2/+2 |
* | 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 | 5 | -16/+11 |
* | 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 |
* | Remove preliminary subtypes from E-MR1 release•••Note that unit test for Sinhala (Sri Lanka) and Tamil (Sri Lanka) have
been unexpectedly @suppressed.
Bug: 17743363
Change-Id: I4076a61adbf2d4aee58417d0c354b8ef4a938668
|  Tadashi G. Takaoka | 2014-10-06 | 2 | -13/+36 |
* | [ML14] Forward the locale list to relevant places, again•••Diff:
+++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java
@@ -735,7 +735,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
private boolean matchLocaleCodes(TypedArray caseAttr, final Locale[] locales) {
// TODO: adujst this for multilingual input
- return matchString(caseAttr, R.styleable.Keyboard_Case_languageCode, locales[0].toString());
+ return matchString(caseAttr, R.styleable.Keyboard_Case_localeCode, locales[0].toString());
}
private boolean matchLanguageCodes(TypedArray caseAttr, Locale[] locales) {
Change-Id: Icefac18dd6d5fea97f591177cf8df1ba6de7f4f0
|  Jean Chalard | 2014-10-06 | 2 | -16/+31 |
* | Revert "[ML14] Forward the locale list to relevant places"•••This reverts commit 15dbd38283fc9c8fdfd2540f1d94d4dbf2eabcb5.
Bug: 11230254
Reverting due to unit test breakage.
Change-Id: Icf29ba5c808c754515aef2d1b4162d72f606acfe
|  Ken Wakasa | 2014-10-03 | 2 | -31/+16 |
* | [ML14] Forward the locale list to relevant places•••Bug: 11230254
Change-Id: Idf3ed27b396d63ade9800c72c5ce0ed613f5f669
|  Jean Chalard | 2014-10-03 | 2 | -16/+31 |
* | Add calls to stub for API to consume gesture data.•••Bug: 17400259
Change-Id: Ib3511afffe1d14662e7dd14611f384689516e664
|  David Faden | 2014-10-03 | 1 | -0/+55 |
* | Rename PrevWordsInfo to NgramContext.•••Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
|  Keisuke Kuroyanagi | 2014-09-29 | 1 | -3/+3 |
* | Add an internal state test to ImportantNoticeUtilsTests•••On some 32bit-x86 testing emulators, it seems the internal state after
clear the related settings seems like a contradiction state. This CL
adds an test to check such internal state in order to investigate what
is happening on these emulators.
Bug: 17635340
Change-Id: Iba85f06c46959b1dc22e2a9213c50c9e7e30949b
|  Tadashi G. Takaoka | 2014-09-26 | 1 | -7/+29 |
* | am 4c4ba10b: am 71b51590: am a76e11a2: am 1f490d6c: am be4e0d0e: Fix when to ...•••* commit '4c4ba10bbb257036d7cb6ae8a128263285b7384f':
Fix when to show important notice
|  Tadashi G. Takaoka | 2014-09-23 | 1 | -0/+222 |
|\ |
|
| * | Fix when to show important notice•••This CL introduces a timeout duration to show an important notice
message. When the timeout has passed, the important notice message
will be suppressed without user intervention.
This CL also adds unit tests and fixes a bug in
getNextImportantNoticeTitle().
Bug: 17181982
Change-Id: If321c0060cc2f7ca14ad0631b84f4990f88bd659
|  Tadashi G. Takaoka | 2014-09-22 | 1 | -0/+222 |
* | | Making spelling of the word "distracters" consistent•••Bug: 17537869
Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb
|  Adrian Velicu | 2014-09-17 | 1 | -1/+1 |
* | | Move case and OOV detection logic into distracter filter.•••Bug: 16547557
Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
|  Keisuke Kuroyanagi | 2014-09-10 | 1 | -0/+225 |
* | | Fix a bug with the Greek question mark.•••Bug: 17398284
Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
|  Jean Chalard | 2014-09-08 | 1 | -0/+12 |
* | | Fix a bug where CAPS_WORDS would not be returned.•••Also introduce some unit tests that would have caught the bug.
Bug: 17398284
Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef |  Jean Chalard | 2014-09-05 | 1 | -0/+12 |
* | | Fix Hinglish subtype locale test•••Change-Id: I6fc2fd4f04069485acc432ff957421b85083a344
|  Tadashi G. Takaoka | 2014-08-28 | 1 | -1/+1 |
* | | Fix unit tests•••Change-Id: I48bfa4e4dd80f36d2fe0a1e9d2a2706533cc722e
|  Jean Chalard | 2014-08-25 | 2 | -7/+9 |
* | | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""•••This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a.
This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do.
Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
|  Jean Chalard | 2014-08-25 | 2 | -141/+116 |
* | | Revert "[ML1] Introduce RichInputMethodSubtype"•••This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489.
Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
|  Jean Chalard | 2014-08-22 | 2 | -116/+141 |
* | | [ML1] Introduce RichInputMethodSubtype•••Bug: 11230254
Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
|  Jean Chalard | 2014-08-22 | 2 | -141/+116 |