Home
last modified time | relevance | path

Searched refs:mClassifier (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationManagerTest.java43 private TextClassifier mClassifier; field in TextClassificationManagerTest
50 mClassifier = mTcm.getTextClassifier(); in setup()
65 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES), in testSmartSelection()
82 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, nullLocales), in testSmartSelection_nullLocaleList()
98 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES), in testSmartSelection_url()
111 assertThat(mClassifier.suggestSelection(text, startIndex, endIndex, LOCALES), in testSmartSelection_withEmoji()
123 assertThat(mClassifier.classifyText(text, startIndex, endIndex, LOCALES), in testClassifyText()
138 assertThat(mClassifier.classifyText(text, startIndex, endIndex, LOCALES), in testTextClassifyText_url()
153 assertThat(mClassifier.classifyText(text, startIndex, endIndex, LOCALES), in testTextClassifyText_url_inCaps()
169 assertThat(mClassifier.classifyText(text, startIndex, endIndex, nullLocales), in testTextClassifyText_nullLocaleList()
[all …]
/frameworks/base/core/java/android/gesture/
DGestureStore.java85 private Learner mClassifier; field in GestureStore
90 mClassifier = new InstanceLearner(); in GestureStore()
139 return mClassifier.classify(mSequenceType, mOrientationStyle, instance.vector); in recognize()
158 mClassifier.addInstance( in addGesture()
183 mClassifier.removeInstance(gesture.getID()); in removeGesture()
195 mClassifier.removeInstances(entryName); in removeEntry()
307 final Learner classifier = mClassifier; in readFormatV1()
333 return mClassifier; in getLearner()