Searched refs:mTextClassifier (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/ |
D | TextClassifierPerfTest.java | 42 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/ |
D | ClipboardOverlayUtils.java | 45 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/ |
D | ClipboardOverlayUtilsTest.java | 66 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/ |
D | SelectionActionModeHelper.java | 1077 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/ |
D | ClipboardService.java | 331 TextClassifier mTextClassifier; field in ClipboardService.Clipboard 1159 clipboard.mTextClassifier = classifier; in applyClassificationAndSendBroadcastLocked() 1585 TextClassifier textClassifier = clipboard.mTextClassifier; in notifyTextClassifierLocked()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 69018 Landroid/widget/SelectionActionModeHelper$TextClassificationHelper;->mTextClassifier:Ljava/util/fun… 69925 Landroid/widget/TextView;->mTextClassifier:Landroid/view/textclassifier/TextClassifier;
|