Home
last modified time | relevance | path

Searched refs:getStartIndex (Results 1 – 9 of 9) 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/non-updatable-api/
Dcurrent.txt54911 method @IntRange(from=0) public int getStartIndex();
55236 method @IntRange(from=0) public int getStartIndex();
/frameworks/base/api/
Dcurrent.txt55055 method @IntRange(from=0) public int getStartIndex();
55380 method @IntRange(from=0) public int getStartIndex();
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt77110 Landroid/view/textclassifier/TextClassifierImplNative$AnnotatedSpan;->getStartIndex()I