aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* | Remove dead code to fix test failure due to NoSuchMethodErrorYohei Yukawa2014-07-041-25/+0
|/ | | | | | | | | | This CL removes following methods from StringUtils, which are no longer used since Id3c262386a7bc7ed75966b1395a50171abe550d3. - #joinCommaSplittableText - #appendToCommaSplittableTextIfNotExists BUG: 16000850 Change-Id: Ibdc9b7e463a19cdfac788b24c0a6322d0c5850c5
* Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-041-45/+99
| | | | | | | | | | | | | | | | | | | | | 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
* [SD9] Add armenian and georgian scriptsJean Chalard2014-07-011-21/+34
| | | | | Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
* [SD7] Actually check for script.Jean Chalard2014-07-011-3/+21
| | | | | | | ...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
* [HW2] Have a script for hardware keyboardJean Chalard2014-07-011-0/+4
| | | | Change-Id: I3ee85867c529156374ecc17db3243a50912e760b
* Merge "Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.""Ken Wakasa2014-06-261-77/+0
|\
| * Revert "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."Ken Wakasa2014-06-271-77/+0
| | | | | | | | | | | | | | This reverts commit ba463c9a66f75e8d00f4658e32b763eb54215231 that broke the dicttool build. Bug: 14425059 Change-Id: Ie1685587104d26e4416624747c97f6087c13388a
* | [SD2] Add support for a new tag Feature in KeyboardLayoutSetJean Chalard2014-06-271-0/+3
| | | | | | | | | | Bug: 15840116 Change-Id: I3abbe4ce1ae573e9c5f1a8a96dc0056e8889d507
* | Merge "Move getPrevWordsInfoFromNthPreviousWord to StringUtlis."Keisuke Kuroyanagi2014-06-261-0/+77
|\|
| * Move getPrevWordsInfoFromNthPreviousWord to StringUtlis.Keisuke Kuroyanagi2014-06-271-0/+77
| | | | | | | | | | Bug: 14425059 Change-Id: I3eb24e840c165e43f68c2a60fccf9974affb57a6
* | Merge "[SD1] Move script-related methods to a new utils class."Jean Chalard2014-06-241-0/+103
|\ \ | |/ |/|
| * [SD1] Move script-related methods to a new utils class.Jean Chalard2014-06-261-0/+103
| | | | | | | | | | Bug: 15840116 Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44
* | Merge "Make PrevWordsInfo have multiple words' information."Keisuke Kuroyanagi2014-06-241-6/+7
|\ \ | |/ |/|
| * Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-251-6/+7
| | | | | | | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* | Merge "Support migration/dump of Beginning-of-Sentence entries."Keisuke Kuroyanagi2014-06-241-0/+4
|\ \
| * | Support migration/dump of Beginning-of-Sentence entries.Keisuke Kuroyanagi2014-06-241-0/+4
| |/ | | | | | | | | Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
* / [CS1] Some initial clean upJean Chalard2014-06-231-0/+8
|/ | | | | Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
* Remove a useless methodJean Chalard2014-06-101-18/+0
| | | | Change-Id: I21a4219f682f43f4a84b1ab12d00dd930b35caa1
* Merge "Add distracter cache to optimize the distracter test."Keisuke Kuroyanagi2014-06-091-0/+18
|\
| * Add distracter cache to optimize the distracter test.Keisuke Kuroyanagi2014-06-091-0/+18
| | | | | | | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: Ia390b148ffb36ace6c2010daf0f14838492413e8
* | Merge "Check isInDictionary() before the distracter test."Keisuke Kuroyanagi2014-06-092-4/+62
|\|
| * Check isInDictionary() before the distracter test.Keisuke Kuroyanagi2014-06-092-4/+62
| | | | | | | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e
* | Merge "Refactor logic to determine showing suggestions strip or not"Tadashi G. Takaoka2014-06-061-9/+4
|\ \ | |/ |/|
| * Refactor logic to determine showing suggestions strip or notTadashi G. Takaoka2014-06-061-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750
* | Make Distracter filter use getMaxFrequencyOfExactMatches().Keisuke Kuroyanagi2014-06-061-143/+12
|/ | | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
* Don't recapitalize just at the start of inputJean Chalard2014-06-041-0/+16
| | | | | Bug: 13283555 Change-Id: Iab0466425dc44779d110f2cd29d725d22eb04827
* RefactoringJean Chalard2014-06-041-9/+9
| | | | | | | | | 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
* Merge "Remove LatinImeLogger and UsabilityStudyLogUtils"Tadashi G. Takaoka2014-05-293-506/+0
|\
| * Remove LatinImeLogger and UsabilityStudyLogUtilsTadashi G. Takaoka2014-05-293-506/+0
| | | | | | | | | | | | | | This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc