aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/StringUtils.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-317/+0
* Merge "Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs"Tadashi G. Takaoka2013-05-281-38/+0
|\
| * Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs•••Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857 Tadashi G. Takaoka2013-05-281-38/+0
* | Rename commaConcatinatedText to commaSplittableText•••This is a follow up of I5a32882a08. Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd Tadashi G. Takaoka2013-05-281-9/+14
* | Rename "csv" in StringUtils to "commaConcatenatedText"•••Change-Id: I5a32882a088e4ff5bfe973a86465d6ff839113d9 Tadashi G. Takaoka2013-05-281-15/+32
|/
* Support multiple condition for getDeviceOverrideValue•••Bug: 8556975 Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48 Tadashi G. Takaoka2013-05-131-24/+0
* Refactor StringUtils.findPrefixedString to findValueOfKey•••Bug: 8556975 Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307 Tadashi G. Takaoka2013-05-101-7/+14
* Don't insert automatic spaces when text looks like a URL•••This is about as ad-hoc as it gets, but then again, what we want is probably as ad-hoc as it gets. All URL boxes I know of double as search bars, and not adding automatic spaces there sucks (e.g. in Chrome URL bar). And in other boxes actually you don't want to add a space if it looks like a URL. QSB isn't even a search box, and it behaves like this. So I think this is actually the right answer to the problem. Bug: 7062925 Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02 Jean Chalard2013-04-161-0/+65
* Remove a useless function•••Bug: 8583091 Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170 Jean Chalard2013-04-151-11/+0
* Add some utility functions.•••Bug: 7657025 Change-Id: I4889721b5348c77ed56c5157557e9988dea48a02 Jean Chalard2013-04-111-0/+71
* Fix a bug where autocorrection status would be wrong.•••Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f Jean Chalard2013-04-101-3/+4
* Separate StringUtils.capitalizeFirstCharacter•••Bug: 8582061 Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363 Tadashi G. Takaoka2013-04-101-2/+10
* Fix bugs and add tests•••Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e Jean Chalard2013-04-051-9/+20
* Move a generic string utility to StringUtils•••Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09 Jean Chalard2013-04-051-0/+31
* Separate caps mode related utils to CapsModeUtils•••Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf Tadashi G. Takaoka2013-02-121-239/+0
* Move parseCsvString to StringUtils•••Change-Id: I602f33991ca57b6057ec2defe01573552b322857 Tadashi G. Takaoka2013-02-121-0/+38
* 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