aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Utils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a functionality to attach a log file to Gmail appsatok2011-12-091-27/+85
| | | | | | Bug: 5722703 Change-Id: I089f944bdbf2cbb036eb59dd9b5b414370c770f1
* Move settings method from Utils to SettingsValuesJean Chalard2011-12-091-34/+0
| | | | Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a
* Make some private method staticTadashi G. Takaoka2011-10-281-2/+2
| | | | Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
* am 605a6fea: Merge "Fix the safety net Bug: 5453150" into ics-mr0satok2011-10-121-5/+9
|\ | | | | | | | | * commit '605a6fea750c4acc96a5136ecaf7162e0a858b9f': Fix the safety net Bug: 5453150
| * Fix the safety netsatok2011-10-131-5/+9
| | | | | | | | | | | | Bug: 5453150 Change-Id: I5990feb2622738988bf29843c6bcdb9cbf8bbf33
* | Add a settings to change the sound effect volumesatok2011-10-111-1/+17
|/ | | | | | Bug: 5345401 Bug: 5402541 Change-Id: I1e653573a3362160104b77388d6cbd1700424649
* Put SuggestionSpan as the indicater of the auto-correctionsatok2011-10-101-0/+4
| | | | | | Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
* add vibration duration settingssatok2011-09-291-0/+18
| | | | Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
* Have the spell checker honor caseJean Chalard2011-09-121-1/+10
| | | | | Bug: 5281103 Change-Id: I415c84dbb55f1eeb5deb9f248b4056881982ee13
* Rename CandidateView to SuggestionsViewTadashi G. Takaoka2011-09-011-14/+12
| | | | Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
* Move locale-related utility methods to LocaleUtils.Jean Chalard2011-08-291-33/+1
| | | | Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
* Move some static methods from SubtypeSwitcher to UtilsTadashi G. Takaoka2011-08-241-0/+28
| | | | Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040
* Move the dupes-removing method to the Utils classJean Chalard2011-08-191-0/+34
| | | | | | This is preparation for bug: 5175740 Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37
* Ellipsis for "Space" key for triggering the IME switcherKen Wakasa2011-08-101-2/+3
| | | | | bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca
* Fix issues with long-pressing the spacebarKen Wakasa2011-08-061-14/+21
| | | | | bug: 5114433 Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
* Clean up revertLastWord()Ken Wakasa2011-08-011-0/+12
| | | | | | | | The "deleteChar" argument of this method is acutally always true in the current code path. Also, in this method, textToTheLeft virtually never has a punctuation letter as its initial character. This change is one of preparatory changes for bug:4983945. Change-Id: I531a32570a35634c21c1d74b2b461e40a1b7f660
* Turn off the Settings key by defaultKen Wakasa2011-07-311-6/+6
| | | | | bug:5094401 Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
* 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