Searched refs:getStartIndex (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierImpl.java | 186 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()
|
D | TextSelection.java | 247 public int getStartIndex() { in getStartIndex() method in TextSelection.Request
|
D | TextClassifier.java | 198 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()).build(); in suggestSelection()
|
D | TextClassification.java | 587 public int getStartIndex() {
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextSelectionTest.java | 94 assertEquals(0, result.getStartIndex()); in testParcelRequest()
|
D | TextClassificationTest.java | 212 assertEquals(0, result.getStartIndex()); in testParcelParcel()
|
/frameworks/base/api/ |
D | current.txt | 53547 method @IntRange(from=0) public int getStartIndex(); 53872 method @IntRange(from=0) public int getStartIndex();
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 82588 Landroid/view/textclassifier/TextClassifierImplNative$AnnotatedSpan;->getStartIndex()I
|