aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Utils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Give LastComposedWord knowledge of the separator (A2)•••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 Jean Chalard2012-02-211-2/+4
* Move CSV parser to KeySpecParser•••Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26 Tadashi G. Takaoka2012-02-021-127/+0
* Make KeySpecParser and CSV parser code point aware•••This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409 Tadashi G. Takaoka2012-02-021-5/+18
* Use MoreKeySpecParser to parse puctuations strip resources•••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 Tadashi G. Takaoka2012-02-011-0/+55
* Add "size" and "pressure" for MotionEvent logs•••bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782 Ken Wakasa2012-01-301-1/+1
* Support @string reference in moreKeys attribute•••Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06 Tadashi G. Takaoka2012-01-201-0/+55
* Move MoreKeySpecParser.getResourceId to Utils•••Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736 Tadashi G. Takaoka2012-01-201-8/+17
* Fix a bug in the logic to show 3 dots of the ime switcher•••Bug: 5806103 Change-Id: I67b3f0bb25d5fb9cfb902c03f41ae3e582107187 satok2012-01-131-4/+15
* Move auto correction thresthold to the native code•••bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d satok2012-01-121-93/+2
* Merge "Fix auto correction spacebar LED"Tadashi G. Takaoka2011-12-151-1/+2
|\
| * Fix auto correction spacebar LED•••Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0 Tadashi G. Takaoka2011-12-151-1/+2
* | Change visibility to avoid synthetic accessor method•••Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1 Tadashi G. Takaoka2011-12-151-6/+6
|/
* Extract the jni library name•••Change-Id: Icc58ccea1178d9f35f5be0dceebab67bbb965b7f satok2011-12-131-2/+7
* Remove side-effects from TextEntryState•••Change-Id: Ib98eea9e791e426435cfdfd0c9ab3ed9061664aa Jean Chalard2011-12-121-0/+24
* Some tweaks for Researcher Mode•••Change-Id: I6b16dd2fe6d7356c747ba0ee2da5976738003ded Ken Wakasa2011-12-101-3/+8
* Add a functionality to attach a log file to Gmail app•••Bug: 5722703 Change-Id: I089f944bdbf2cbb036eb59dd9b5b414370c770f1 satok2011-12-091-27/+85
* Move settings method from Utils to SettingsValues•••Change-Id: I633378a41f63cd492b8c9345d550e07254df5e5a Jean Chalard2011-12-091-34/+0
* Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765 Tadashi G. Takaoka2011-10-281-2/+2
* am 605a6fea: Merge "Fix the safety net Bug: 5453150" into ics-mr0•••* commit '605a6fea750c4acc96a5136ecaf7162e0a858b9f': Fix the safety net Bug: 5453150 satok2011-10-121-5/+9
|\
| * Fix the safety net•••Bug: 5453150 Change-Id: I5990feb2622738988bf29843c6bcdb9cbf8bbf33 satok2011-10-131-5/+9
* | Add a settings to change the sound effect volume•••Bug: 5345401 Bug: 5402541 Change-Id: I1e653573a3362160104b77388d6cbd1700424649 satok2011-10-111-1/+17
|/
* Put SuggestionSpan as the indicater of the auto-correction•••Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185 satok2011-10-101-0/+4
* add vibration duration settings•••Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5 satok2011-09-291-0/+18
* Have the spell checker honor case•••Bug: 5281103 Change-Id: I415c84dbb55f1eeb5deb9f248b4056881982ee13 Jean Chalard2011-09-121-1/+10
* Rename CandidateView to SuggestionsView•••Change-Id: I6480cdf025f065130e1969899b259a243e7a11be Tadashi G. Takaoka2011-09-011-14/+12
* Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e Jean Chalard2011-08-291-33/+1
* Move some static methods from SubtypeSwitcher to Utils•••Change-Id: I3ea8ffcdefcefaa82ae76a31bb65977009d8a040 Tadashi G. Takaoka2011-08-241-0/+28
* Move the dupes-removing method to the Utils class•••This is preparation for bug: 5175740 Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37 Jean Chalard2011-08-191-0/+34
* Ellipsis for "Space" key for triggering the IME switcher•••bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca Ken Wakasa2011-08-101-2/+3
* Fix issues with long-pressing the spacebar•••bug: 5114433 Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33 Ken Wakasa2011-08-061-14/+21
* Clean up revertLastWord()•••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 Ken Wakasa2011-08-011-0/+12
* Turn off the Settings key by default•••bug:5094401 Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d Ken Wakasa2011-07-311-6/+6
* Revise hasMultipleEnabledIMEsOrSubtypes()•••bug: 4559308 Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63 Ken Wakasa2011-06-071-1/+31
* Remove web mode and add webInput boolean•••Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b Tadashi G. Takaoka2011-05-271-2/+0
* Show full display names in the popup of the spacebar language swicher•••- Multiply the speed of the slide Bug: 4427222 Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d satok2011-05-181-0/+25
* 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.•••Add a setLocale method to Utils that returns the previous locale. Also unify all calls through the code. Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544 Jean Chalard2011-04-271-0/+10
* | Merge "Handle overflow properly in multiplyRate"satok2011-04-261-2/+4
|\ \ | |/ |/|
| * Handle overflow properly in multiplyRate•••Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8 satok2011-04-261-2/+4
* | Fix Eclipse warnings.•••This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1 Jean Chalard2011-04-261-1/+1
|/
* Tweak the normalized score for the words with spaces•••Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d satok2011-04-201-1/+10
* Tweak edit distance•••- The edit distance of transposed characters will be changed to 1 from 2 Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99 satok2011-04-201-5/+22
* Add logOnSeparator•••This is a supplement for I9abb8141f23100d Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f satok2011-04-081-5/+12
* Enable VoiceInput even if there is no shortcut subtype supported•••Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6 satok2011-04-011-1/+17
* Added InputTypeCompatUtils•••Also Moved utilities related to InputType to InputTypeCompatUtils Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef satok2011-03-251-26/+2
* Added InputMethodInfoCompatWrapper•••Change-Id: I5f2970e986afbe3b0b24ccf819f57f524e83ef3f satok2011-03-241-2/+2
* Use reflections for classes related to InputMethodSubtype•••Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e satok2011-03-181-3/+3
* Add different ways of reading the dictionary file.•••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 Jean Chalard2011-03-181-1/+3
* Add Utils.equalsIgnoreCase methods•••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 Tadashi G. Takaoka2011-03-161-2/+64
* Change how to load native lib to be on the safe side•••Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f Ken Wakasa2011-02-251-0/+8