aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Utils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revise hasMultipleEnabledIMEsOrSubtypes()Ken Wakasa2011-06-071-1/+31
| | | | | | bug: 4559308 Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
* Remove web mode and add webInput booleanTadashi G. Takaoka2011-05-271-2/+0
| | | | | | Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
* Show full display names in the popup of the spacebar language swichersatok2011-05-181-0/+25
| | | | | | | - Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
* Merge "Add a method to set the locale to Utils."Jean Chalard2011-04-271-0/+10
|\
| * Add a method to set the locale to Utils.Jean Chalard2011-04-271-0/+10
| | | | | | | | | | | | | | Add a setLocale method to Utils that returns the previous locale. Also unify all calls through the code. Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
* | Merge "Handle overflow properly in multiplyRate"satok2011-04-261-2/+4
|\ \ | |/ |/|
| * Handle overflow properly in multiplyRatesatok2011-04-261-2/+4
| | | | | | | | | | Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8
* | Fix Eclipse warnings.Jean Chalard2011-04-261-1/+1
|/ | | | | | | This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
* Tweak the normalized score for the words with spacessatok2011-04-201-1/+10
| | | | Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
* Tweak edit distancesatok2011-04-201-5/+22
| | | | | | - The edit distance of transposed characters will be changed to 1 from 2 Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
* Add logOnSeparatorsatok2011-04-081-5/+12
| | | | | | This is a supplement for I9abb8141f23100d Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
* Enable VoiceInput even if there is no shortcut subtype supportedsatok2011-04-011-1/+17
| | | | Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
* Added InputTypeCompatUtilssatok2011-03-251-26/+2
| | | | | | Also Moved utilities related to InputType to InputTypeCompatUtils Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
* Added InputMethodInfoCompatWrappersatok2011-03-241-2/+2
| | | | Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f
* Use reflections for classes related to InputMethodSubtypesatok2011-03-181-3/+3
| | | | Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
* Add different ways of reading the dictionary file.Jean Chalard2011-03-181-1/+3
| | | | | | | | | | | | | | | | | | This change adds basic support for an external dictionary provider. It adds methods for reading the dictionary itself from an asset in the dictionary provider package directly, obtaining the file name through the ContentProvider interface; it also adds a way of getting the data through an InputStream and copying the file locally. Incidentally this change also adds the code needed to listen for updating the dictionary provider package and reloading it in time. This change also goes hand-in-hand with Iab31db6e, which implements the small closed part of this. Issue: 3414944 Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
* Add Utils.equalsIgnoreCase methodsTadashi G. Takaoka2011-03-161-2/+64
| | | | | | | | | This change also corrects usage of "frequency", "priority" and "score" * Frequency is the relative probability in dictionary. * Score is the relative probability in suggestions. * Priority is kind a sorted score. Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
* Change how to load native lib to be on the safe sideKen Wakasa2011-02-251-0/+8
| | | | Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
* Fix privateImeOptions parsingTadashi G. Takaoka2011-02-231-0/+27
| | | | | | | This change deprecates "nm" private IME options and introduces new private option, <package name>.noMicrophone, instead. Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
* Refactor keyboard mode holding variablesTadashi G. Takaoka2011-02-231-6/+47
| | | | Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
* Force autocorrection of matching words with different accents.Jean Chalard2011-02-221-6/+15
| | | | | | | | | | | When entering a word without accents the user expects the system to add accents automatically if there is no other matching word. This patch ensures the accented version is promoted accordingly and autocorrection really takes place. Issue: 3400015 Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4
* Add "passwordInput" attribute to case tag of KeyboardTadashi G. Takaoka2011-02-201-2/+26
| | | | | | | | This change also introduces number password (a.k.a. PIN) layout. The text password layout will follow. Bug: 3384942 Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
* Add stack dumper helper function.Jean Chalard2011-02-141-0/+13
| | | | Change-Id: I78e5aef3cc6abfeb764a7e8a432f063f18d56da2
* Add hack to translate sudden move to up/down eventsTadashi G. Takaoka2011-01-281-2/+5
| | | | | | | This change also gets rid of unnecessary debug messages. Bug: 3400735 Change-Id: I3f003b1c2b553a2f841d4880f348a012d2d9c8ad
* Merge "Fix auto-correction threshold and promote full matched words" into ↵satok2011-01-261-1/+4
|\ | | | | | | honeycomb
| * Fix auto-correction threshold and promote full matched wordssatok2011-01-271-1/+4
| | | | | | | | | | | | | | | | | | | | Bug: 3374359 Bug: 3278422 "zbe" will be auto corrected to "be" by fixing s-line "teh" will be auto corrected to "the" by promotion of full matched words Change-Id: I314c632820e4e0b1501edeca60ada205d291451f
* | Fix safety net not to be enabled at aggressive autocompletion modesatok2011-01-271-1/+9
|/ | | | | | Bug: 3374359 Change-Id: I7b1dbeb64a87dda05397c236bb58da292f819471
* Add input method subtype selector and IME settings dialogTadashi G. Takaoka2011-01-211-0/+8
| | | | | Bug: 3351762 Change-Id: Ic1767faac6d4470a89cacb851d449ac53b2f8205
* Add a safety net for auto-correction.satok2011-01-191-0/+25
| | | | | | Bug: 3353956 Change-Id: I6a32632b2f986f0d9a07aa72f256a2c41cc09873
* Fix miss spellingsatok2010-12-281-1/+1
| | | | Change-Id: I29d92d316525a897c86eab44f948a6c61ae38c35
* Ignore case in editDistance()Ken Wakasa2010-12-221-1/+1
| | | | | | bug: 3278422 Change-Id: Ibd20488dcec215038970749b181857527311947b
* Add a parameter to getEnabledSubtypesatok2010-12-211-3/+3
| | | | Change-Id: Iaa87613086093bc83d155ed2c0113fc513898801
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-0/+2
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* Remove LatinIME prefix from classesTadashi G. Takaoka2010-12-091-0/+393
This change also cleanups preference key string constants Change-Id: I58510f220a90d00d71a935731abeab87384675bb