Searched refs:smartStartIndex (Results 1 – 2 of 2) sorted by relevance
76 int smartStartIndex = text.indexOf(suggested); in suggestSelection() local77 int smartEndIndex = smartStartIndex + suggested.length(); in suggestSelection()85 assertThat(selection.getSelectionStartIndex()).isEqualTo(smartStartIndex); in suggestSelection()
90 int smartStartIndex = text.indexOf(suggested); in testSuggestSelection() local91 int smartEndIndex = smartStartIndex + suggested.length(); in testSuggestSelection()99 selection, isTextSelection(smartStartIndex, smartEndIndex, TextClassifier.TYPE_EMAIL)); in testSuggestSelection()109 int smartStartIndex = text.indexOf(suggested); in testSuggestSelection_url() local110 int smartEndIndex = smartStartIndex + suggested.length(); in testSuggestSelection_url()117 assertThat(selection, isTextSelection(smartStartIndex, smartEndIndex, TextClassifier.TYPE_URL)); in testSuggestSelection_url()