aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/StringUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Insert into user dict in lower case if auto-caps (D2)•••Also recapitalize afterwards if the word has been changed. Bug: 7972124 Change-Id: I9306580bb4ed0ffa80cc4559ce1abcd2034d1905 Jean Chalard2013-01-171-0/+31
* Set default audio and haptic feedback settings•••- 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 Tadashi G. Takaoka2012-12-281-0/+17
* Move code point constants from Keyboard to Constants class•••Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d Tadashi G. Takaoka2012-10-291-11/+8
* Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991 Tadashi G. Takaoka2012-10-221-83/+21
* Always consider a new line the start of a sentence•••Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451 Jean Chalard2012-10-041-5/+9
* Take space state into account for caps (A11)•••Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6 Jean Chalard2012-09-181-6/+13
* Take locale into account for caps (A10)•••Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5 Jean Chalard2012-09-141-14/+20
* Fix comment warnings (A9)•••Thanks Eclipse Change-Id: Ie2b83f1ec7ab38a76155f8c264e3944685ae934d Jean Chalard2012-09-141-5/+5
* Remove an unused function (A8)•••Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9 Jean Chalard2012-09-141-17/+0
* Fix abbreviations processing for English (A7)•••It's still incorrect for non-English languages. Bug: 4967874 Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce Jean Chalard2012-09-141-26/+81
* Replace immediate values with named constants for characters (A6)•••Change-Id: I6248f9f3ff99003ab62be22eac673df0f7f5c015 Jean Chalard2012-09-141-5/+10
* Simplification again (A5)•••Change-Id: Id3ba200e06244e6d13cf57d346001d61f85ef1a2 Jean Chalard2012-09-141-5/+4
* Simplify the code some more (A4)•••Change-Id: I1b1763ceefda6357dc698195928d0f16bc425830 Jean Chalard2012-09-141-53/+45
* Small simplification (A3)•••Change-Id: I2ea9566ce5cb1fbccd33a42836244a899365de6a Jean Chalard2012-09-131-5/+2
* Simplify a call, and add comments (A2)•••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 Jean Chalard2012-09-131-16/+66
* Import TextUtils.getCapsMode to fix it internally (A1)•••This should have on effect at all on behavior, except an increase in performance. Bug: 4967874 Bug: 6950087 Change-Id: Ie2b51efefe84ca767f5dc8e3b80bfef7e1faab3d Jean Chalard2012-09-131-0/+94
* Make utility classes final•••Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875 Tadashi G. Takaoka2012-08-291-1/+1
* Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89 Tadashi G. Takaoka2012-08-221-1/+1
* fix IllegalOutOfBoundsException•••StringUtils.toCodePointArray() had thrown IllegalOutOfBoundsException if passed an empty string. change to just return an empty int[]. Bug: 6188932 Change-Id: Ic41c628c0d407f49fc98cd48cb7ea13d8d5bdd77 Kurt Partridge2012-06-251-0/+3
* Binary bigram lookup checks both uppercase and lowercase when previous word i...•••Bug: 6363029 Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821 Tom Ouyang2012-04-221-0/+17
* Change predefined additional subtype format in preference•••This change also refactor StringUtils class Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508 Tadashi G. Takaoka2012-04-191-27/+23
* Pass the previous word down to native code in getSuggestions•••Change-Id: I477b631d81ef58461e44954f3ae5fd895928bb97 Jean Chalard2012-04-171-0/+15
* Cleanup unused methods•••Change-Id: Ic7c1ec0e0606da6eb5b954934547c6e8a561fed5 Tadashi G. Takaoka2012-04-061-2/+2
* Use keyboardSet extra value of subtype to specify layout type•••Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97 Tadashi G. Takaoka2012-04-051-0/+17
* Use "No language (QWERTY)" for language agnostic QWERTY keyboard name•••Bug: 6010147 Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18 Tadashi G. Takaoka2012-04-041-38/+0
* Kill the StringBuilderPool.•••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 Jean Chalard2012-03-131-9/+1
* Split Utils class to StringUtils, SubtypeUtils, and JniUtils•••Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144 Tadashi G. Takaoka2012-03-081-0/+198