aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Expand)AuthorAgeFilesLines
* Mark method @UsedForTesting•••This prevents it from being optimized away. Change-Id: Iecd317568e23e86e4c0ece8134a4926a7a56d65b Dan Zivkovic2015-03-111-0/+1
* Make inner classes visible for testing.•••We need this to assert the correct behavior in the facilitator. Bug 19695605. Change-Id: I3923d00791c99208bc72f7c4210ae1ea0a34bd0e Dan Zivkovic2015-03-111-1/+7
* Remove dead code, including tests.•••Change-Id: Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c Dan Zivkovic2015-03-101-0/+1
* Restart background executor.•••Bug 19671650. Change-Id: I1a28a53e94bdb79aeb173f6905c1035022495acc Dan Zivkovic2015-03-101-1/+3
* Kill+restart tasks before/after decoder init.•••Bug 19625976. Change-Id: I6d8b0d2b0a77ccda1bfc914501cf568b92862980 Dan Zivkovic2015-03-091-1/+10
* ExecutorUtils lets use schedule a runnable chain.•••Bug 19625976. Change-Id: Iebbef7fed57a381498301dcf26fefa27d06802f7 Dan Zivkovic2015-03-091-25/+35
* Use a single background executor.•••Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf Dan Zivkovic2015-03-091-46/+9
* Introduce DictionaryHeaderUtils to get dictionary header values•••Change-Id: I86cef6c7f2f68a75428bb2b9c4d5a1dc1876b541 Mohammadinamul Sheik2015-03-031-16/+11
* Merge "Turn off cloud sync if we have managed profiles"Jatin Matani2015-03-021-0/+68
|\
| * Turn off cloud sync if we have managed profiles•••UserManager#getUserProfiles > 1 implies managed profile. Workflow: - Disable sync prefs - Execute an async task to check for managed profile; if managed profile is found, remove the sync prefs. If not, enable the preference; - Move the logging pref from Advanced to Account & Privacy. Bug:19230544 Change-Id: I4dbd1fe8433b3263ccc74c35dc0ee0bb371122b3 Jatin Matani2015-03-021-0/+68
* | Update the MAX supported file version for downloaded static Dictionaries.•••Change-Id: I72d37cc21585b18f4a41ff32627024502f10e993 Mohammadinamul Sheik2015-02-271-1/+1
|/
* Stop waking up to decay dynamic dictionaries.•••Bug 19516048. Change-Id: Ibc27a792b4fa80fa8c6af4721c47a617526e9584 Dan Zivkovic2015-02-251-4/+1
* Don't assume that correctable words are invalid•••Currently, the Delight3DictionaryFacilitator sets a boolean flag when the top suggestion score exceeds the auto-correction threshold. This flag is used to trigger auto-correction of the typed word. Also, the existing logic assumes that if allowsToBeAutoCorrected then the word is invalid, which is no longer true after we stopped using whitelists. Bug 19518376. Change-Id: Ifa7f6a09c07d25ac68c6cf3aec91f358bd88689f Dan Zivkovic2015-02-251-9/+6
* Do not crash when dictioanryInfo is NULL•••Bug: 19417599 Change-Id: I82174401c595b57b42fc74bc478b551869729ba6 Mohammadinamul Sheik2015-02-241-1/+5
* Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.•••Change-Id: Icec45c364732c0aa9ac713846cad23439b9e42b5 Mohammadinamul Sheik2015-02-231-1/+2
* 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 Zivkovic2015-02-191-21/+67
* Add Decoder specific dictionary suffix to resource lookup•••Change-Id: Ia2c74acdc8ac6f7b605bb06a1078d23b32f388a1 Mohammadinamul Sheik2015-02-121-3/+4
* Switch from script to language codes.•••Unfortunately, our Locale objects don't always have a script code. But we can get almost the same functionality by specifying script codes for some languages, and defaulting the rest to Latin. Change-Id: Id81ff67bf44c84f44707a2e167c2787c60c6ecee Dan Zivkovic2015-02-121-27/+29
* Map ISO 15924 codes to internal IME script codes.•••This way we can support all the languages for which we define a script code. Bug 19340741. Change-Id: Ia80eca4cc2511b70f11058f73bd31746948ded19 Dan Zivkovic2015-02-121-33/+34
* Refactor content provider code from ContactsDict•••Break contacts binary dictionary into two parts - one that talks to contacts content provider and maintains local state. Includes a manager class and a content observer - other one that just manages the dict code. Change-Id: Ie8f89ac9ce174c803ff3168ee0bee5cbe7721d5b Jatin Matani2015-02-111-5/+7
* Remove shortcut support from LatinIME.•••Note this change does not affect the native decoder interface. Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0 Dan Zivkovic2015-02-112-111/+0
* Remove distracter filter from client.•••Bug 19296201. Change-Id: Ic834e5956347cd86a96bd14024c42ad8ee258659 Dan Zivkovic2015-02-094-503/+5
* Merge "Move decoder specific constants to DecoderSpecificConstants.java"Mohammadinamul Sheik2015-02-063-7/+9
|\
| * Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-053-7/+9
* | Cleanup in preparation of distracter change.•••Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758 Dan Zivkovic2015-02-061-3/+2
|/
* Don't check user dictionary, except for spelling.•••We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994 Dan Zivkovic2015-02-041-10/+9
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-042-4/+15
* LatinIME portion of "green plus" feature.•••Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735 Dan Zivkovic2015-02-031-2/+0
* LatinIME portion of multi-lang option removal.•••Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99 Dan Zivkovic2015-01-292-4/+1
* Make LanguageOnSpacebarHelper as utility class•••Change-Id: I546f3b1943999a41803222bd14f9ddd23aa87a51 Tadashi G. Takaoka2014-12-111-0/+100
* Add NetworkConnectivityUtils class•••Change-Id: I7bd71f1d4ef0fc0fe21ddfd9f3e11463f53ac4e7 Tadashi G. Takaoka2014-12-111-0/+101
* Quit auto-correct explicit accented letters to base letters.•••Bug: 7677193 Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7 Keisuke Kuroyanagi2014-12-091-0/+4
* Fix a misspelled method name•••Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc Adrian Velicu2014-12-021-1/+1
* Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull"Tadashi G. Takaoka2014-11-282-21/+51
|\
| * Make LocaleUtils.constructLocaleFromString as @Nonnull•••Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb Tadashi G. Takaoka2014-11-212-21/+51
* | Merge "Remove unused code from DictionaryFactory"Tadashi G. Takaoka2014-11-271-0/+11
|\ \
| * | Remove unused code from DictionaryFactory•••Change-Id: I666308ada968ee7993235ad98b92f2ad522af122 Tadashi G. Takaoka2014-11-211-0/+11
| |/
* / 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 Jean Chalard2014-11-261-6/+5
|/
* Fix SubtypeLocaleUtils.getSubtypeNameForLogging accepting null•••Change-Id: Ic5cb55e24a2d843027ccc4e8e5d6954f9391c125 Tadashi G. Takaoka2014-11-191-1/+2
* Move isRtlLanguage method to LocaleUtils•••Change-Id: I485a076b81927fed0da593216fea2c740449ef4c Tadashi G. Takaoka2014-11-121-18/+0
* Merge "Add RichInputMethodSubtype.getKeyboardLayoutSetName"Tadashi G. Takaoka2014-11-131-4/+0
|\
| * Add RichInputMethodSubtype.getKeyboardLayoutSetName•••Change-Id: I90cc74ee882e8aa2b243885d3b994223ca3b6f44 Tadashi G. Takaoka2014-11-121-4/+0
* | Clean SubtypeLocaleUtils a bit•••Change-Id: If8b981715983e3a12867c9b7c53bfa5effaddd39 Tadashi G. Takaoka2014-11-121-6/+0
|/
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-076-406/+2
* Move some methods out from SubtypeSwitcher•••Change-Id: I89aaf87d7d0cc204b0ca0f61c2f64d15e2df848e Tadashi G. Takaoka2014-11-062-18/+40
* 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 text•••Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac Tadashi G. Takaoka2014-10-312-0/+39
* | Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-311-2/+3
|\ \
| * | Remove Dict dependency on WordComposer and ProximityInfo•••Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880 Jean Chalard2014-10-291-2/+3
* | | Merge "Add documentation for CollectionUtils#arrayAsList"Ken Wakasa2014-10-311-1/+12
|\ \ \