Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/vibrator/
DPrebakedSegment.java45 private final boolean mFallback; field in PrebakedSegment
50 mFallback = in.readByte() != 0; in PrebakedSegment()
57 mFallback = shouldFallback; in PrebakedSegment()
71 return mFallback; in shouldFallback()
85 if (!mFallback) { in areVibrationFeaturesSupported()
150 return new PrebakedSegment(mEffectId, mFallback, effectStrength); in applyEffectStrength()
198 && mFallback == other.mFallback in equals()
204 return Objects.hash(mEffectId, mFallback, mEffectStrength); in hashCode()
211 + ", fallback=" + mFallback in toString()
221 mFallback ? "with" : "no"); in toDebugString()
[all …]
/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
73 mFallback = TextClassifier.NO_OP; in SystemTextClassifier()
101 return mFallback.suggestSelection(request); in suggestSelection()
124 return mFallback.classifyText(request); in classifyText()
136 return mFallback.generateLinks(request); in generateLinks()
154 return mFallback.generateLinks(request); in generateLinks()
205 return mFallback.detectLanguage(request); in detectLanguage()
225 return mFallback.suggestConversationActions(request); in suggestConversationActions()
253 printWriter.printPair("mFallback", mFallback); in dump()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt39494 Landroid/os/VibrationEffect$Prebaked;->mFallback:Z
61803 Landroid/view/textclassifier/SystemTextClassifier;->mFallback:Landroid/view/textclassifier/TextClas…
62024 Landroid/view/textclassifier/TextClassifierImpl;->mFallback:Landroid/view/textclassifier/TextClassi…