aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove shortcut support from LatinIME.Dan Zivkovic2015-02-112-111/+0
| | | | | | Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
* Remove distracter filter from client.Dan Zivkovic2015-02-094-503/+5
| | | | | | Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659
* Merge "Move decoder specific constants to DecoderSpecificConstants.java"Mohammadinamul Sheik2015-02-063-7/+9
|\
| * Move decoder specific constants to DecoderSpecificConstants.javaMohammadinamul Sheik2015-02-053-7/+9
| | | | | | | | Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0
* | Cleanup in preparation of distracter change.Dan Zivkovic2015-02-061-3/+2
|/ | | | | | Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
* Don't check user dictionary, except for spelling.Dan Zivkovic2015-02-041-10/+9
| | | | | | | | We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitatorMohammadinamul Sheik2015-02-042-4/+15
| | | | Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
* LatinIME portion of "green plus" feature.Dan Zivkovic2015-02-031-2/+0
| | | | | | | | | Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
* LatinIME portion of multi-lang option removal.Dan Zivkovic2015-01-292-4/+1
| | | | | | Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
* Make LanguageOnSpacebarHelper as utility classTadashi G. Takaoka2014-12-111-0/+100
| | | | Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51
* Add NetworkConnectivityUtils classTadashi G. Takaoka2014-12-111-0/+101
| | | | Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7
* Quit auto-correct explicit accented letters to base letters.Keisuke Kuroyanagi2014-12-091-0/+4
| | | | | Bug: 7677193 Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
* Fix a misspelled method nameAdrian Velicu2014-12-021-1/+1
| | | | Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc
* Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"Tadashi G. Takaoka2014-11-282-21/+51
|\
| * Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-212-21/+51
| | | | | | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* | Merge "Remove unused code from DictionaryFactory"Tadashi G. Takaoka2014-11-271-0/+11
|\ \
| * | Remove unused code from DictionaryFactoryTadashi G. Takaoka2014-11-211-0/+11
| |/ | | | | | | Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
* / Allow whitelist changes when no close wordJean Chalard2014-11-261-6/+5
|/ | | | | | | | | | | | | | 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
* Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting nullTadashi G. Takaoka2014-11-191-1/+2
| | | | Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125
* Move isRtlLanguage method to LocaleUtilsTadashi G. Takaoka2014-11-121-18/+0
| | | | Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
* Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName"Tadashi G. Takaoka2014-11-131-4/+0
|\
| * Add RichInputMethodSubtype.getKeyboardLayoutSetNameTadashi G. Takaoka2014-11-121-4/+0
| | | | | | | | Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44
* | Clean SubtypeLocaleUtils a bitTadashi G. Takaoka2014-11-121-6/+0
|/ | | | Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39
* Move util classes under commonJean Chalard2014-11-076-406/+2
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Move some methods out from SubtypeSwitcherTadashi G. Takaoka2014-11-062-18/+40
| | | | Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e
* Merge "Add helper methods to convert flags to readable text"Tadashi G. Takaoka2014-10-312-0/+39
|\
| * Add helper methods to convert flags to readable textTadashi G. Takaoka2014-10-312-0/+39
| | | | | | | | Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
* | Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-311-2/+3
|\ \
| * | Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-291-2/+3
| | | | | | | | | | | | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* | | Merge "Add documentation for CollectionUtils#arrayAsList"Ken Wakasa2014-10-311-1/+12
|\ \ \
| * | | Add documentation for CollectionUtils#arrayAsListDavid Faden2014-10-311-1/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* / | Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-311-4/+9
|/ / | | | | | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* | Merge "Add a preference to resize the keyboard height."Andy Wang2014-10-301-0/+10
|\ \ | |/ |/|
| * Add a preference to resize the keyboard height.Andy Wang2014-10-301-0/+10
| | | | | | | | | | | | | | | | The keyboard height is controlled by a slider in the debug preferences. Without access to debug preferences, this change is a no-op. Bug: 6867494 Change-Id: I984064ed1cab752876615f5ed582818474d6041b
* | Move InputPointers and ResizableIntArray to commonJean Chalard2014-10-291-155/+0
|/ | | | | Bug: 18108776 Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
* Move StringUtils under common.Jean Chalard2014-10-288-630/+8
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Reduce StringUtils dependency on the Android libsJean Chalard2014-10-282-65/+121
| | | | | Bug: 18108776 Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
* Fix Serbian Latin subtype handlingTadashi G. Takaoka2014-10-281-6/+20
| | | | | | | | This CL also adds unit tests for Hinglish and Serbian Latin. Bug: 9687668 Bug: 17169632 Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
* Merge "Add null analysis annotation to CollectionUtils"Tadashi G. Takaoka2014-10-271-5/+7
|\
| * Add null analysis annotation to CollectionUtilsTadashi G. Takaoka2014-10-271-5/+7
| | | | | | | | Change-Id: I3a610b037d6d1431cced3ea193171108bd5a040d
* | Refactor CoordinateUtilsTadashi G. Takaoka2014-10-271-16/+19
|/ | | | Change-Id: I607b803273a4d7983e9e25a81b6941a3b59194c6
* Move Constants.java to the latin.common packageKen Wakasa2014-10-237-20/+18
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Use trigrams for personalization dict.Keisuke Kuroyanagi2014-10-232-166/+117
| | | | | 5Bug: 14425059 Change-Id: I73cf6904e569d60996a3b079f16ea6df0cb90f02
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-234-11/+17
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Support dumping ngram entries.Keisuke Kuroyanagi2014-10-221-4/+14
| | | | | Bug: 14425059 Change-Id: Ib03a0c3d166ed6f1e60c67127b28006d55143b6b
* Remove BuildCompatUtils.VERSION_CODES_LXXYohei Yukawa2014-10-221-2/+2
| | | | | | Finally it is turned out to be a XXL-size Lollipop. Change-Id: Icbd22506be9de514eba287cdd8d97fbfd070ac09
* Merge "Fix some compiler warnings"Tadashi G. Takaoka2014-10-2111-27/+16
|\
| * Fix some compiler warningsTadashi G. Takaoka2014-10-2111-27/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "FIx potential NPE"Tadashi G. Takaoka2014-10-211-2/+2
|\ \ | |/ |/|
| * FIx potential NPETadashi G. Takaoka2014-10-211-2/+2
| | | | | | | | | | Bug: 18052047 Change-Id: I9097d0a504b8a1d875cf66e44bb65eb6ecc8908e