aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Utils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Make a member read-onlyJean Chalard2012-03-021-1/+1
| | | | Change-Id: I9a718eaf07e1b6c659e649350d3605f365db2839
* Support time, date, and datetime keyboardTadashi G. Takaoka2012-03-021-1/+9
| | | | | Bug: 6030364 Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
* Give LastComposedWord knowledge of the separator (A2)Jean Chalard2012-02-211-2/+4
| | | | | | | | | | This stores the separator that was used to commit the word in the LastComposedWord. It may be NOT_A_SEPARATOR if there was no separator (for example, the cursor moved causing a commit, or there was a manual pick). This is necessary to implement feature request #5968922. Change-Id: I5fcf19a78ec66d68d4df89418eaef13952588207
* Move CSV parser to KeySpecParserTadashi G. Takaoka2012-02-021-127/+0
| | | | Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
* Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-021-5/+18
| | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka2012-02-011-0/+55
| | | | | | | | | | | This change also * Doesn't use Key.getRtlParenthesisCode to get correct parentheses code in RTL context. Intead uses the outputText feature of moreKeys specification. * Move CVS string parser from KeyStyles to Utils. Bug: 5948247 Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0
* Add "size" and "pressure" for MotionEvent logsKen Wakasa2012-01-301-1/+1
| | | | | bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782
* Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-201-0/+55
| | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-201-8/+17
| | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* Fix a bug in the logic to show 3 dots of the ime switchersatok2012-01-131-4/+15
| | | | | Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187
* Move auto correction thresthold to the native codesatok2012-01-121-93/+2
| | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* Merge "Fix auto correction spacebar LED"Tadashi G. Takaoka2011-12-151-1/+2
|\
| * Fix auto correction spacebar LEDTadashi G. Takaoka2011-12-151-1/+2
| | | | | | | | Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
* | Change visibility to avoid synthetic accessor methodTadashi G. Takaoka2011-12-151-6/+6
|/ | | | Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
* Extract the jni library namesatok2011-12-131-2/+7
| | | | Change-Id: Icc58ccea1178d9f35f5be0dceebab67bbb965b7f
* Remove side-effects from TextEntryStateJean Chalard2011-12-121-0/+24
| | | | Change-Id: Ib98eea9e791e426435cfdfd0c9ab3ed9061664aa
* Some tweaks for Researcher ModeKen Wakasa2011-12-101-3/+8
| | | | Change-Id: I6b16dd2fe6d7356c747ba0ee2da5976738003ded
* 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