aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* am 4d8efc97: am b41d1fcd: am d0d8f90a: Merge "Reorganize settings in Google ↵Jatin Matani2014-09-131-2/+4
|\ | | | | | | | | | | | | Keyboard" into lmp-dev * commit '4d8efc97873d12b4596c695fbcf7e72330b5253e': Reorganize settings in Google Keyboard
| * Reorganize settings in Google KeyboardTadashi G. Takaoka2014-09-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes : Input languages -> Languages Input preferences -> Preferences Multi lingual Options -> Multilingual Options Keyboard Theme -> Theme Gesture typing preferences -> Gesture typing **New Appearance -> Theme -> Custom input style **Removed Multilingual options from L dynamically Bug: 11866784 Change-Id: I07404c27868e1b087b0cafb63d2031a5b493a885
* | am ead70974: am 27ccbeb4: am cd119050: Support CursorAnchorInfo in the ↵Yohei Yukawa2014-09-111-0/+236
|\| | | | | | | | | | | | | full-screen mode * commit 'ead70974aecd78d5bad0fa87a759f6bf82dcb503': Support CursorAnchorInfo in the full-screen mode
| * Support CursorAnchorInfo in the full-screen modeYohei Yukawa2014-09-111-0/+236
| | | | | | | | | | | | | | | | | | | | | | | | This CL allows to emulate the behavior of CursorAnchorInfo in the full-screen mode to work around the limitation of the framework. Basically this CL copies relevant code from the framework to LatinIME. This is actually a code duplicate which isn't great, but probably the only way that is available right now. Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad
* | Move case and OOV detection logic into distracter filter.Keisuke Kuroyanagi2014-09-104-47/+100
| | | | | | | | | | | | Bug: 16547557 Change-Id: I8502585976deb5e93fff3b1e0266654b8a927bda
* | Fix a bug with the Greek question mark.Jean Chalard2014-09-081-4/+13
| | | | | | | | | | Bug: 17398284 Change-Id: If49593e2c959935a183a4cd9d988407cc1160599
* | Fix a bug where CAPS_WORDS would not be returned.Jean Chalard2014-09-051-1/+2
| | | | | | | | | | | | Also introduce some unit tests that would have caught the bug. Bug: 17398284 Change-Id: Idb715b7bd2f70992d6cdf4e25ef368809382caef
* | Merge "[ML3] Put the locale in SuggestedWordInfo"Jean Chalard2014-09-021-5/+3
|\ \
| * | [ML3] Put the locale in SuggestedWordInfoJean Chalard2014-09-011-5/+3
| | | | | | | | | | | | | | | | | | ...and remove it from SuggestionResults. Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
* | | Support multiple locales in distractor filter.Keisuke Kuroyanagi2014-08-291-63/+66
|/ / | | | | | | | | Bug: 16547557 Change-Id: I4aba278eb4114e0075f3f8b38c7e132743927fa8
* | Use DictionaryFacilitatorLruCache for personalization.Keisuke Kuroyanagi2014-08-291-33/+29
| | | | | | | | | | | | Bug: 16547557 Change-Id: I5faba5e26d072b49c0fffcaeaf5062f9e0c2dcc0
* | Straighten the dead char implementation, take 3.Jean Chalard2014-08-281-2/+2
| | | | | | | | Change-Id: I4f70f6eebe076c7d2b780d25e3a2c1d3faa2edfa
* | Merge "Revert "Straighten the dead char implementation.""Ken Wakasa2014-08-271-2/+2
|\ \
| * | Revert "Straighten the dead char implementation."Ken Wakasa2014-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5ef447aeea97c755008785b36468715922b7ccc1. Reverting because this broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=b6439742-099e-46cb-8f00-d0c602a4d9bb&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS Change-Id: Ibbd9e11372993f62e630fd9da37158ffcf47c17a
* | | Merge "Straighten the dead char implementation."Jean Chalard2014-08-271-2/+2
|\| |
| * | Straighten the dead char implementation.Jean Chalard2014-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This now supports all cases, including cases not supported by the framework. Now rebased on top of the right change, and renamed Change-Id: I7886f0dcbb86cdb4dccec09aa7c52ad339680e04
* | | am 68a2a69a: am 37beaf15: Simplify onComputeInsets of LatinIMETadashi G. Takaoka2014-08-271-0/+39
|\ \ \ | |/ / |/| / | |/ | | * commit '68a2a69ae35352650a4c6dfc0b0c69069c4a1e1d': Simplify onComputeInsets of LatinIME
| * Simplify onComputeInsets of LatinIMETadashi G. Takaoka2014-08-271-0/+39
| | | | | | | | | | | | | | | | | | | | | | This CL expands SoftInputWindow to the entire screen. Thus a key review backing view is eliminated and onComputeInsets() gets simplified too. Bug: 17212702 Bug: 10841052 Bug: 10541453 Change-Id: I2d859f4e4698c64cabe399000821f13bab729996
| * DO NOT MERGE: Abolish source code overlay and introduce overridable src dirKen Wakasa2014-08-204-147/+0
| | | | | | | | | | | | | | This should make IDEs happy with appropriate source code directory selection. Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991 (cherry picked from commit fb74ab15c1343084740d65ef8744cad33a678e82)
* | Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-253-66/+21
| | | | | | | | | | | | | | | | 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
* | Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-223-21/+66
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-223-66/+21
| | | | | | | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* | Add Hinglish (hi_ZZ) subtypeTadashi G. Takaoka2014-08-211-2/+20
| | | | | | | | | | Bug: 17169632 Change-Id: Ibee088d76c2b19f1d62a3c9c119452726e856ec8
* | Abolish source code overlay and inroduce overridable src dirKen Wakasa2014-08-164-147/+0
|/ | | | | | | | This should make IDEs happy with appropriate source code directory selection. bug: 16829244 Change-Id: Ic734bd4d20aa050c688a3158b1a382ae0ac18991
* Merge "Rename distracter filter class." into lmp-devKeisuke Kuroyanagi2014-08-071-3/+4
|\
| * Rename distracter filter class.Keisuke Kuroyanagi2014-08-081-3/+4
| | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
* | Merge "Use suggestions in the distracter filter." into lmp-devKeisuke Kuroyanagi2014-08-071-6/+162
|\|
| * Use suggestions in the distracter filter.Keisuke Kuroyanagi2014-08-081-6/+162
| | | | | | | | | | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I609fa61fccf2a0c738726985806b7d9248eadf49
* | Initial implementation of Help & feedbackKen Wakasa2014-08-081-2/+2
|/ | | | | | bug: 16717930 Change-Id: Iddc8e831c3f01ec7eb02ed1bc5d5e103d497e177
* [SD13] Reorder an enum alphabeticallyJean Chalard2014-07-301-62/+62
| | | | Change-Id: I907041b09e5bfce537ed4f592947b2cec8cef4ac
* [SD12] Add the last remaining scriptsJean Chalard2014-07-301-2/+22
| | | | | | | | | | | Add scripts for Bengali, Devanagari, Kannada, Malayalam, and Tamil. Also include a very minor fix for Arabic. This concludes work on: Bug: 15840116 Change-Id: Iade313fc70030a67c68d424d8cb0cac245b883d1
* [SD11] Add script checks for Myanmar, Sinhala, Thai and TeluguJean Chalard2014-07-301-0/+21
| | | | | Bug: 15840116 Change-Id: I1264fdeea0d4739ca0f360f4934d06e5a824d4e5
* [SD10] Add script checks for Lao and KhmerJean Chalard2014-07-301-0/+10
| | | | | Bug: 15840116 Change-Id: Id72b739e73cb3e72f56e1872ad9d60469555e193
* Use fragment for keyboard theme settingsTadashi G. Takaoka2014-07-291-0/+2
| | | | | Bug: 11866784 Change-Id: Ic50b6eb1bd8f2b823e2c9dfad04d8615bc910936
* Merge "Allow adding DICTIONARY_MAX_WORD_LENGTH-length words." into lmp-devKeisuke Kuroyanagi2014-07-251-2/+1
|\
| * Allow adding DICTIONARY_MAX_WORD_LENGTH-length words.Keisuke Kuroyanagi2014-07-281-2/+1
| | | | | | | | | | Bug: 12725817 Change-Id: Ib9b30473ba94242a7b97ccd3b850068f596a5d17
* | Use fragment for advanced preference screenTadashi G. Takaoka2014-07-281-0/+2
| | | | | | | | | | Bug: 16522808 Change-Id: If4a2ad7a7dfecc7019bf78ad37d93fa8f37cf21e
* | Refactor Debug settings to use SubScreenFragmentTadashi G. Takaoka2014-07-281-2/+2
| | | | | | | | | | Bug: 16522808 Change-Id: I741e2fbc5f0a62c7d4ae00e603eef52cc2a6d086
* | Use fragment for text correction preference screenTadashi G. Takaoka2014-07-281-0/+2
| | | | | | | | | | Bug: 16522808 Change-Id: Ia8ce83b0e69cc8157f7b8cefcfeb863eb85ee4b4
* | Use fragment for gesture typing preference screenTadashi G. Takaoka2014-07-281-0/+2
| | | | | | | | | | Bug: 16522808 Change-Id: Ib8c2997466bb006c6b5d4e980344507b822d0023
* | Use fragment for multi lingual preference screenTadashi G. Takaoka2014-07-281-2/+4
| | | | | | | | | | Bug: 16522808 Change-Id: I0bfac43513e1fb85b5d4c07f56dd4c5b82f75ed1
* | Use fragment for input preference screenTadashi G. Takaoka2014-07-271-0/+2
|/ | | | | | | | | This CL introduces a common abstract class, SunScreenFragment, for PreferenceFragment that implements a PreferenceScreen of the main settings preference screen. Bug: 16522808 Change-Id: I11fba71b5e9f96208b261e0c0314de8a41720d0f
* Use CharSequence for spell checker to keep spans preservedYohei Yukawa2014-07-201-3/+3
| | | | | | | | | | | | This is a ground work to take per word locale information into consideration in the spell checker. This CL is supposed to change no user visible behavior. With this CL, the spell checker session is able to read span information if necessary. BUG: 16029304 Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210
* Enable StringUtils to split CharSequence like String#splitYohei Yukawa2014-07-191-0/+52
| | | | | | | | | | | | 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
* Clean up under the util package.Ken Wakasa2014-07-183-441/+0
| | | | | | | - Move util classes that are unused in AOSP - Remove unused methods Change-Id: Ic97fd313f1e2bafd50609d42aa3a2d090b63eafc
* Rename ProductionFlag to ProductionFlagsTadashi G. Takaoka2014-07-161-2/+2
| | | | Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
* Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-162-4/+4
| | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* Move getPrevWordsInfoFromNthPreviousWord to PrevWordsInfoUtils.Keisuke Kuroyanagi2014-07-071-0/+103
| | | | | Bug: 14425059 Change-Id: Id37022ac6c1545d6845abfbcdb7ed47f0e250eec
* Merge "Restore additional subtypes when the package is updated"Yohei Yukawa2014-07-021-0/+84
|\
| * Restore additional subtypes when the package is updatedYohei Yukawa2014-07-041-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | With this CL, Intent#ACTION_MY_PACKAGE_REPLACED will not only update the visibility of the setup activity but also reconstruct additional subtypes. This is important because the system always removes all the additional subtypes whenever the package is updated. BUG: 15890448 Change-Id: Ic36ea68f50b1ac89b4cbd268ee53f9a5e5d60afd