Home
last modified time | relevance | path

Searched refs:getStartIndex (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierImpl.java186 final int rangeLength = request.getEndIndex() - request.getStartIndex(); in suggestSelection()
197 start = request.getStartIndex(); in suggestSelection()
201 string, request.getStartIndex(), request.getEndIndex(), in suggestSelection()
208 && start <= request.getStartIndex() && end >= request.getEndIndex()) { in suggestSelection()
227 string, request.getStartIndex(), request.getEndIndex())) in suggestSelection()
251 final int rangeLength = request.getEndIndex() - request.getStartIndex(); in classifyText()
261 string, request.getStartIndex(), request.getEndIndex(), in classifyText()
273 request.getStartIndex(), request.getEndIndex(), refTime.toInstant()); in classifyText()
338 builder.addLink(span.getStartIndex(), span.getEndIndex(), entityScores, extras); in generateLinks()
DTextSelection.java247 public int getStartIndex() { in getStartIndex() method in TextSelection.Request
DTextClassifier.java198 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()).build(); in suggestSelection()
DTextClassification.java587 public int getStartIndex() {
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextSelectionTest.java94 assertEquals(0, result.getStartIndex()); in testParcelRequest()
DTextClassificationTest.java212 assertEquals(0, result.getStartIndex()); in testParcelParcel()
/frameworks/base/api/
Dcurrent.txt53547 method @IntRange(from=0) public int getStartIndex();
53872 method @IntRange(from=0) public int getStartIndex();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt82588 Landroid/view/textclassifier/TextClassifierImplNative$AnnotatedSpan;->getStartIndex()I