Searched refs:classifiedText (Results 1 – 3 of 3) sorted by relevance
143 String classifiedText = "droid@android.com"; in testClassifyText() local144 int startIndex = text.indexOf(classifiedText); in testClassifyText()145 int endIndex = startIndex + classifiedText.length(); in testClassifyText()152 assertThat(classification, isTextClassification(classifiedText, TextClassifier.TYPE_EMAIL)); in testClassifyText()160 String classifiedText = "www.android.com"; in testClassifyText_url() local161 int startIndex = text.indexOf(classifiedText); in testClassifyText_url()162 int endIndex = startIndex + classifiedText.length(); in testClassifyText_url()169 assertThat(classification, isTextClassification(classifiedText, TextClassifier.TYPE_URL)); in testClassifyText_url()192 String classifiedText = "HTTP://ANDROID.COM"; in testClassifyText_url_inCaps() local193 int startIndex = text.indexOf(classifiedText); in testClassifyText_url_inCaps()[all …]
83 String classifiedText = "+12122537077"; in testCannotResolveIntent() local84 int startIndex = text.indexOf(classifiedText); in testCannotResolveIntent()85 int endIndex = startIndex + classifiedText.length(); in testCannotResolveIntent()
643 final String classifiedText = text.substring(start, end); in createClassificationResult() local645 .setText(classifiedText); in createClassificationResult()665 classifiedText, in createClassificationResult()