aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/StringUtilsTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-245/+0
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Rename commaConcatinatedText to commaSplittableTextTadashi G. Takaoka2013-05-281-24/+24
| | | | | | This is a follow up of I5a32882a08. Change-Id: I9f0cda2167811f6bba2af042fbde0a821b4cfecd
* Rename "csv" in StringUtils to "commaConcatenatedText"Tadashi G. Takaoka2013-05-281-28/+33
| | | | Change-Id: I5a32882a088e4ff5bfe973a86465d6ff839113d9
* Support multiple condition for getDeviceOverrideValueTadashi G. Takaoka2013-05-131-60/+1
| | | | | Bug: 8556975 Change-Id: I29d3a305b6ac3d8e3620c6d8592d85047d62bf48
* Refactor StringUtils.findPrefixedString to findValueOfKeyTadashi G. Takaoka2013-05-101-0/+59
| | | | | Bug: 8556975 Change-Id: I275c99db8a0d10594a5a8c0c27ebc1a87495c307
* Don't insert automatic spaces when text looks like a URLJean Chalard2013-04-161-0/+22
| | | | | | | | | | | | | | | 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
* Remove a useless functionJean Chalard2013-04-151-18/+0
| | | | | Bug: 8583091 Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170
* Add some utility functions.Jean Chalard2013-04-111-0/+79
| | | | | Bug: 7657025 Change-Id: I4889721b5348c77ed56c5157557e9988dea48a02
* Fix a faulty testJean Chalard2013-04-101-1/+1
| | | | Change-Id: I5c03cea41e9b6e936e8f93b7d756f0fc9520002d
* Fix a bug where autocorrection status would be wrong.Jean Chalard2013-04-101-9/+29
| | | | Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
* Separate StringUtils.capitalizeFirstCharacterTadashi G. Takaoka2013-04-101-3/+1
| | | | | Bug: 8582061 Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363
* Fix bugs and add testsJean Chalard2013-04-051-0/+46
| | | | Change-Id: I6b56b91ace57f4a49584b5dceb71b145859f839e
* Separate caps mode related utils to CapsModeUtilsTadashi G. Takaoka2013-02-121-73/+8
| | | | Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
* Add unit tests tagsTadashi G. Takaoka2013-02-041-0/+2
| | | | | Bug: 8131968 Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf
* Always consider a new line the start of a sentenceJean Chalard2012-10-041-0/+8
| | | | | Bug: 7282523 Change-Id: I10a73e99efdfe6acb9a16819694b98c6714fd451
* Take space state into account for caps (A11)Jean Chalard2012-09-181-30/+37
| | | | | Bug: 6950087 Change-Id: I8a1bca24db64b4dd54db8ac74d90cf43cbdddab6
* Take locale into account for caps (A10)Jean Chalard2012-09-141-26/+35
| | | | | Bug: 4967874 Change-Id: Ic7ce7b2de088308fa00865c81246c84c605db1e5
* Remove an unused function (A8)Jean Chalard2012-09-141-11/+0
| | | | Change-Id: I0578068946d32192c4faf14b3e86624b7301c7d9
* Fix abbreviations processing for English (A7)Jean Chalard2012-09-141-0/+41
| | | | | | | It's still incorrect for non-English languages. Bug: 4967874 Change-Id: I3d4379265f72e1c0435eba90ab878a80bbcf55ce
* Binary bigram lookup checks both uppercase and lowercase when previous word ↵Tom Ouyang2012-04-221-0/+11
| | | | | | | is uppercase. Bug: 6363029 Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821
* Change predefined additional subtype format in preferenceTadashi G. Takaoka2012-04-191-0/+91
This change also refactor StringUtils class Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508