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.java371 assertTrue(StringUtils.lastPartLooksLikeURL("http://www.google.")); in testLooksLikeURL()
372 assertFalse(StringUtils.lastPartLooksLikeURL("word wo")); in testLooksLikeURL()
373 assertTrue(StringUtils.lastPartLooksLikeURL("/etc/foo")); in testLooksLikeURL()
374 assertFalse(StringUtils.lastPartLooksLikeURL("left/right")); in testLooksLikeURL()
375 assertTrue(StringUtils.lastPartLooksLikeURL("www.goo")); in testLooksLikeURL()
376 assertTrue(StringUtils.lastPartLooksLikeURL("www.")); in testLooksLikeURL()
377 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A")); in testLooksLikeURL()
378 assertFalse(StringUtils.lastPartLooksLikeURL("U.S.A.")); in testLooksLikeURL()
379 assertTrue(StringUtils.lastPartLooksLikeURL("rtsp://foo.")); in testLooksLikeURL()
380 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()