| Commit message (Expand) | Author | Age | Files | Lines |
* | 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 |
* | | Add Hinglish (hi_ZZ) subtype•••Bug: 17169632
Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
|  Tadashi G. Takaoka | 2014-08-21 | 2 | -0/+24 |
* | | Fix the name of a class•••Change-Id: I6a6360c3e606ae331b95df17ecf35942be2b89a9
|  Jean Chalard | 2014-08-19 | 1 | -1/+1 |
|/ |
|
* | Enable StringUtils to split CharSequence like String#split•••This is a groundwork for enabling LocaleSpan.
To enable LocaleSpan everywhere, we need to switch to
CharSequence from String so that Span infromation can be
preserved end-to-end. To achieve this, we need to have
CharSequence version of String#split.
BUG: 16029304
Change-Id: I0dd103185dcf62fb1e25054a374340790e6a4678
|  Yohei Yukawa | 2014-07-19 | 1 | -0/+170 |
* | Clean up under the util package.•••- Move util classes that are unused in AOSP
- Remove unused methods
Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
|  Ken Wakasa | 2014-07-18 | 2 | -649/+0 |
* | Remove dead code to fix test failure due to NoSuchMethodError•••This CL removes following methods from StringUtils, which are
no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3.
- #joinCommaSplittableText
- #appendToCommaSplittableTextIfNotExists
BUG: 16000850
Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
|  Yohei Yukawa | 2014-07-04 | 1 | -42/+0 |
* | Additional subtype ID should be independent of OS-version•••This CL consolidates the initialization logic for additional
subtypes so that each additional subtypes can have predictable
subtype ID regardless of OS version.
Previously subtype IDs for additional subtypes are calculated
differently depending on the running OS version with hoping it
minimizes the risk of compatibility issues. However, it is
getting harder and harder to maintain slightly different
logic between OSes. Thus we decided to unify the logic into
that in KitKat even though it may causes some breaking changes.
Note that the actual extra values that are used to instantiate
InputMethodSubtype object are still determined on the fly
depending on the running OS version. However these actual
extra values are no longer used for the subtype ID calculation.
BUG: 16000850
Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
|  Yohei Yukawa | 2014-07-04 | 3 | -28/+203 |
* | Add a test for Armenian periods.•••Bug: 11463389
Change-Id: Ic1a612bd6b2693369a1688e6a2273cff26fbe6d1
|  Jean Chalard | 2014-06-18 | 1 | -0/+15 |
* | Remove a useless method•••Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
|  Jean Chalard | 2014-06-10 | 1 | -14/+0 |
* | Refactoring•••Rename `initialize' to `start' and `deactivate' to `stop' for ease
of understanding. It's completely bizarre that you can "deactivate"
a recapitalization and that will just restart a new one the next time
you press shift. Start and stop are easier to understand.
Change-Id: I455175aebfcfe11198c6c61bf2c6b19efc3f82df
|  Jean Chalard | 2014-06-04 | 1 | -13/+13 |
* | Remove PrioritizedSerialExecutor.•••Bug: 15320560
Change-Id: Icb88a96ebd685da1d2cba7b07889a2751c603a2e
|  Keisuke Kuroyanagi | 2014-05-29 | 2 | -106/+57 |
* | Fix unit test build.•••Change-Id: Id2c92c5035d7b357fa66c7ca671b72a1a33ebf3b
|  Keisuke Kuroyanagi | 2014-05-27 | 1 | -3/+4 |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 5 | -12/+12 |
* | Fix: StringIndexOutOfBoundsException.•••Bug: 14985751
Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57
|  Keisuke Kuroyanagi | 2014-05-16 | 1 | -0/+10 |
* | [CB25] Refactor some array copying•••Bug: 13406701
Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6
|  Jean Chalard | 2014-04-09 | 1 | -0/+64 |
* | Add SpacebarLanguageUtils class•••The SpacebarLanguageUtils class is separated from SubtypeLocaleUtils
and handles the language name on the spacebar.
Bug: 8084704
Change-Id: I82f79a061d4f0cc2895263298c3ebf8ee444c61d
|  Tadashi G. Takaoka | 2014-04-01 | 2 | -138/+284 |