Home
last modified time | relevance | path

Searched refs:lastPartLooksLikeURL (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DStringUtilsTests.java391 assertTrue(StringUtils.lastPartLooksLikeURL("http://www.google.")); in testLooksLikeURL()
392 assertFalse(StringUtils.lastPartLooksLikeURL("word wo")); in testLooksLikeURL()
393 assertTrue(StringUtils.lastPartLooksLikeURL("/etc/foo")); in testLooksLikeURL()
394 assertFalse(StringUtils.lastPartLooksLikeURL("left/right")); in testLooksLikeURL()
395 assertTrue(StringUtils.lastPartLooksLikeURL("www.goo")); in testLooksLikeURL()
396 assertTrue(StringUtils.lastPartLooksLikeURL("www.")); in testLooksLikeURL()
397 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A")); in testLooksLikeURL()
398 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A.")); in testLooksLikeURL()
399 assertTrue(StringUtils.lastPartLooksLikeURL("rtsp://foo.")); in testLooksLikeURL()
400 assertTrue(StringUtils.lastPartLooksLikeURL("://")); in testLooksLikeURL()
[all …]
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DStringUtils.java439 public static boolean lastPartLooksLikeURL(@Nonnull final CharSequence text) { in lastPartLooksLikeURL() method in StringUtils
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java900 return StringUtils.lastPartLooksLikeURL(mCommittedTextBeforeComposingText); in textBeforeCursorLooksLikeURL()