aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/StringUtils.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Insert into user dict in lower case if auto-caps (D2)Jean Chalard2013-01-171-0/+31
| | | | | | | Also recapitalize afterwards if the word has been changed. Bug: 7972124 Change-Id: I9306580bb4ed0ffa80cc4559ce1abcd2034d1905
* Set default audio and haptic feedback settingsTadashi G. Takaoka2012-12-281-0/+17
| | | | | | | | - Default keypress volume is set to 0.2f in resource. - Default keypress vibration duration is set to 10 msec in resource. Bug: 7055329 Change-Id: I83bd6288d171d9787d52e2b02e4e5305f1435681
* Move code point constants from Keyboard to Constants classTadashi G. Takaoka2012-10-291-11/+8
| | | | Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-83/+21
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Always consider a new line the start of a sentenceJean Chalard2012-10-041-5/+9
| | | | | Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
* Take space state into account for caps (A11)Jean Chalard2012-09-181-6/+13
| | | | | Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
* Take locale into account for caps (A10)Jean Chalard2012-09-141-14/+20
| | | | | Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
* Fix comment warnings (A9)Jean Chalard2012-09-141-5/+5
| | | | | | Thanks Eclipse Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d
* Remove an unused function (A8)Jean Chalard2012-09-141-17/+0
| | | | Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9
* Fix abbreviations processing for English (A7)Jean Chalard2012-09-141-26/+81
| | | | | | | It's still incorrect for non-English languages. Bug: 4967874 Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce
* Replace immediate values with named constants for characters (A6)Jean Chalard2012-09-141-5/+10
| | | | Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015
* Simplification again (A5)Jean Chalard2012-09-141-5/+4
| | | | Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2
* Simplify the code some more (A4)Jean Chalard2012-09-141-53/+45
| | | | Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830
* Small simplification (A3)Jean Chalard2012-09-131-5/+2
| | | | Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a
* Simplify a call, and add comments (A2)Jean Chalard2012-09-131-16/+66
| | | | | | | | | | Since the function has to be modified heavily but does a lot of non-trivial work, add a wealth of comments explaining what it does and why so as to facilitate understanding the changes to come. Bug: 4967874 Change-Id: I6c21aea15f161d807035f279dfb7d1b98b3e9144
* Import TextUtils.getCapsMode to fix it internally (A1)Jean Chalard2012-09-131-0/+94
| | | | | | | | | This should have on effect at all on behavior, except an increase in performance. Bug: 4967874 Bug: 6950087 Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d
* Make utility classes finalTadashi G. Takaoka2012-08-291-1/+1
| | | | Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-1/+1
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* fix IllegalOutOfBoundsExceptionKurt Partridge2012-06-251-0/+3
| | | | | | | | StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if passed an empty string. change to just return an empty int[]. Bug: 6188932 Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77
* Binary bigram lookup checks both uppercase and lowercase when previous word ↵Tom Ouyang2012-04-221-0/+17
| | | | | | | is uppercase. Bug: 6363029 Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821
* Change predefined additional subtype format in preferenceTadashi G. Takaoka2012-04-191-27/+23
| | | | | | This change also refactor StringUtils class Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508
* Pass the previous word down to native code in getSuggestionsJean Chalard2012-04-171-0/+15
| | | | Change-Id: I477b631d81ef58461e44954f3ae5fd895928bb97
* Cleanup unused methodsTadashi G. Takaoka2012-04-061-2/+2
| | | | Change-Id: Ic7c1ec0e0606da6eb5b954934547c6e8a561fed5
* Use keyboardSet extra value of subtype to specify layout typeTadashi G. Takaoka2012-04-051-0/+17
| | | | Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
* Use "No language (QWERTY)" for language agnostic QWERTY keyboard nameTadashi G. Takaoka2012-04-041-38/+0
| | | | | Bug: 6010147 Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18
* Kill the StringBuilderPool.Jean Chalard2012-03-131-9/+1
| | | | | | | | | The intention may have been nice originally but these end up being copied anyway :/ Let's remove them now, and in a later change, just keep references to the created objects. Change-Id: Ifba8357c20384f9eb40cd916665ed1fc6dc8cab1
* Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-081-0/+198
Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144