Home
last modified time | relevance | path

Searched refs:getRelativeWordStartIndex (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/
DTextClassificationEventTest.java41 assertThat(event.getRelativeWordStartIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
62 assertThat(event.getRelativeWordStartIndex()).isEqualTo(1); in testTextSelectionEvent_full()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DTextClassifierEventConverterTest.java50 assertThat(result.getRelativeWordStartIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
75 assertThat(result.getRelativeWordStartIndex()).isEqualTo(1); in testTextSelectionEvent_full()
DSelectionEventConverterTest.java99 assertThat(textSelectionEvent.getRelativeWordStartIndex()).isEqualTo(-1); in convert_smartSelection()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java81 .writeInt(event.getRelativeWordStartIndex()) in logTextSelectionEvent()
95 return event.getRelativeWordEndIndex() - event.getRelativeWordStartIndex() > 1 in getEventType()
DTextClassifierEventConverter.java74 .setRelativeWordStartIndex(textSelectionEvent.getRelativeWordStartIndex()) in fromPlatform()
/external/libtextclassifier/java/src/com/android/textclassifier/common/logging/
DTextClassifierEvent.java536 public int getRelativeWordStartIndex() { in getRelativeWordStartIndex() method in TextClassifierEvent.TextSelectionEvent