Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java114 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallback_colorLiteral() local
116 assertThat(fallbackDrawable instanceof ColorDrawable, is(true)); in testWindowBackgroundFallback_colorLiteral()
118 ColorDrawable colorDrawable = (ColorDrawable) fallbackDrawable; in testWindowBackgroundFallback_colorLiteral()
132 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral() local
134 assertThat(fallbackDrawable instanceof ColorDrawable, is(true)); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
136 ColorDrawable colorDrawable = (ColorDrawable) fallbackDrawable; in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java302 void setBackgroundFallback(@Nullable Drawable fallbackDrawable) { in setBackgroundFallback() argument
303 mBackgroundFallback.setDrawable(fallbackDrawable); in setBackgroundFallback()
2214 @Nullable Drawable fallbackDrawable, boolean windowTranslucent) { in getResizingBackgroundDrawable() argument
2219 if (fallbackDrawable != null) { in getResizingBackgroundDrawable()
2220 return enforceNonTranslucentBackground(fallbackDrawable, windowTranslucent); in getResizingBackgroundDrawable()