Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/
DTextClassifierPerfTest.java42 private TextClassifier mTextClassifier; field in TextClassifierPerfTest
47 mTextClassifier = TextClassifierService.getDefaultTextClassifierImplementation(context); in setUp()
56 mTextClassifier.classifyText(request); in testClassifyText()
71 mTextClassifier.suggestSelection(request); in testSuggestSelection()
81 mTextClassifier.generateLinks(request); in testGenerateLinks()
98 mTextClassifier.suggestConversationActions(request); in testSuggestConversationActions()
107 mTextClassifier.detectLanguage(request); in testDetectLanguage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayUtils.java45 private final TextClassifier mTextClassifier; field in ClipboardOverlayUtils
49 mTextClassifier = textClassificationManager.getTextClassifier(); in ClipboardOverlayUtils()
84 TextClassification classification = mTextClassifier.classifyText( in getActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayUtilsTest.java66 private TextClassifier mTextClassifier; field in ClipboardOverlayUtilsTest
75 when(mTextClassificationManager.getTextClassifier()).thenReturn(mTextClassifier); in setUp()
96 when(mTextClassifier.classifyText(anyString(), anyInt(), anyInt(), isNull())).thenReturn( in test_getAction_returnsFirstLink()
113 when(mTextClassifier.classifyText(anyString(), anyInt(), anyInt(), isNull())).thenReturn( in test_getAction_skipsMatchingComponent()
135 when(mTextClassifier.classifyText(anyString(), eq(20), eq(22), isNull())).thenReturn( in test_getAction_skipsShortEntity()
137 when(mTextClassifier.classifyText(anyString(), eq(0), eq(22), isNull())).thenReturn( in test_getAction_skipsShortEntity()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java1077 private Supplier<TextClassifier> mTextClassifier; field in SelectionActionModeHelper.TextClassificationHelper
1119 mTextClassifier = Objects.requireNonNull(textClassifier); in init()
1146 selection = mTextClassifier.get().suggestSelection(request); in suggestSelection()
1149 selection = mTextClassifier.get().suggestSelection( in suggestSelection()
1210 classification = mTextClassifier.get().classifyText(request); in performClassification()
1213 classification = mTextClassifier.get().classifyText( in performClassification()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java331 TextClassifier mTextClassifier; field in ClipboardService.Clipboard
1159 clipboard.mTextClassifier = classifier; in applyClassificationAndSendBroadcastLocked()
1585 TextClassifier textClassifier = clipboard.mTextClassifier; in notifyTextClassifierLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt69018 Landroid/widget/SelectionActionModeHelper$TextClassificationHelper;->mTextClassifier:Ljava/util/fun…
69925 Landroid/widget/TextView;->mTextClassifier:Landroid/view/textclassifier/TextClassifier;