Home
last modified time | relevance | path

Searched refs:mFallback (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DBackgroundFallbackTest.java59 BackgroundFallback mFallback; field in BackgroundFallbackTest
74 mFallback = new BackgroundFallback(); in setUp()
77 mFallback.setDrawable(mDrawableMock); in setUp()
83 mFallback.setDrawable(mDrawableMock); in hasFallback_withDrawable_true()
84 assertThat(mFallback.hasFallback(), is(true)); in hasFallback_withDrawable_true()
89 mFallback.setDrawable(null); in hasFallback_withoutDrawable_false()
90 assertThat(mFallback.hasFallback(), is(false)); in hasFallback_withoutDrawable_false()
97 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_portrait_noFallback()
109 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_portrait_translucentBars_fallback()
123 mFallback.draw(mDecorViewMock, mContentRootMock, null /* canvas */, mContentContainerMock, in draw_landscape_translucentBars_fallback()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DSystemTextClassifier.java52 private final TextClassifier mFallback; field in SystemTextClassifier
65 mFallback = context.getSystemService(TextClassificationManager.class) in SystemTextClassifier()
92 return mFallback.suggestSelection(request); in suggestSelection()
116 return mFallback.classifyText(request); in classifyText()
145 return mFallback.generateLinks(request); in generateLinks()
197 return mFallback.detectLanguage(request); in detectLanguage()
218 return mFallback.suggestConversationActions(request); in suggestConversationActions()
228 return mFallback.getMaxGenerateLinksTextLength(); in getMaxGenerateLinksTextLength()
246 printWriter.printPair("mFallback", mFallback); in dump()
DTextClassifierImpl.java97 private final TextClassifier mFallback; field in TextClassifierImpl
134 mFallback = Preconditions.checkNotNull(fallback); in TextClassifierImpl()
241 return mFallback.suggestSelection(request); in suggestSelection()
281 return mFallback.classifyText(request); in classifyText()
352 return mFallback.generateLinks(request); in generateLinks()
418 return mFallback.detectLanguage(request); in detectLanguage()
429 return mFallback.suggestConversationActions(request); in suggestConversationActions()
435 return mFallback.suggestConversationActions(request); in suggestConversationActions()
452 return mFallback.suggestConversationActions(request); in suggestConversationActions()
877 printWriter.printPair("mFallback", mFallback); in dump()
/frameworks/base/core/java/android/view/textclassifier/intent/
DTemplateClassificationIntentFactory.java43 private final ClassificationIntentFactory mFallback; field in TemplateClassificationIntentFactory
48 mFallback = Preconditions.checkNotNull(fallback); in TemplateClassificationIntentFactory()
71 return mFallback.create(context, text, foreignText, referenceTime, classification); in create()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DTemplateClassificationIntentFactoryTest.java57 private ClassificationIntentFactory mFallback; field in TemplateClassificationIntentFactoryTest
65 mFallback); in setup()
176 verify(mFallback).create( in create_nullTemplate()
211 verify(mFallback, never()).create( in create_emptyResult()
/frameworks/base/core/java/android/os/
DVibrationEffect.java702 private final boolean mFallback; field in VibrationEffect.Prebaked
713 mFallback = fallback; in Prebaked()
726 return mFallback; in shouldFallback()
792 && mFallback == other.mFallback in equals()
808 + ", mFallback=" + mFallback in toString()
817 out.writeByte((byte) (mFallback ? 1 : 0)); in writeToParcel()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt54022 Landroid/os/VibrationEffect$Prebaked;->mFallback:Z
76875 Landroid/view/textclassifier/SystemTextClassifier;->mFallback:Landroid/view/textclassifier/TextClas…
77096 Landroid/view/textclassifier/TextClassifierImpl;->mFallback:Landroid/view/textclassifier/TextClassi…