aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/inputmethod/latin/RichInputConnectionTests.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Ignore spans that are not the right size.Jean Chalard2013-06-261-194/+0
| | | | | | Bug: 8839763 Bug: 8862327 Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
* Don't insert automatic spaces when text looks like a URLJean Chalard2013-04-161-0/+5
| | | | | | | | | | | | | | | 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
* Fix failing testsJean Chalard2013-04-121-7/+8
| | | | | | | | RichInputConnection#getWordRangeAtCursor may now returning either a SpannableString or a String. We can't test that with String#equals(), but TextUtils#equals() does the job for us. Change-Id: I59ebe54207e92f4d90b49476b64f1e12fd4929cb
* Separate caps mode related utils to CapsModeUtilsTadashi G. Takaoka2013-02-121-9/+9
| | | | Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
* Add unit tests tagsTadashi G. Takaoka2013-02-041-0/+2
| | | | | Bug: 8131968 Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf
* Consolidate methods that do the same thing (A74)Jean Chalard2012-07-091-18/+13
| | | | Change-Id: I6e7c3aba2b40ecefa483c9680978bc806368e96e
* Fix a bug where the caps mode would not be changedJean Chalard2012-07-061-14/+27
| | | | | Bug: 6766059 Change-Id: I378f9d35c4904c4f373260bda5863235d833eb31
* Merge RichInputConnection with EditingUtilsJean Chalard2012-06-081-0/+178
Change-Id: I9982ff325bef56694402caef28a77683c52ccd71