Searched refs:fallbackDrawable (Results 1 – 2 of 2) sorted by relevance
114 Drawable fallbackDrawable = decorView.getBackgroundFallback(); in testWindowBackgroundFallback_colorLiteral() local116 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() local134 assertThat(fallbackDrawable instanceof ColorDrawable, is(true)); in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()136 ColorDrawable colorDrawable = (ColorDrawable) fallbackDrawable; in testWindowBackgroundFallbackWithExplicitBackgroundSet_colorLiteral()
302 void setBackgroundFallback(@Nullable Drawable fallbackDrawable) { in setBackgroundFallback() argument303 mBackgroundFallback.setDrawable(fallbackDrawable); in setBackgroundFallback()2214 @Nullable Drawable fallbackDrawable, boolean windowTranslucent) { in getResizingBackgroundDrawable() argument2219 if (fallbackDrawable != null) { in getResizingBackgroundDrawable()2220 return enforceNonTranslucentBackground(fallbackDrawable, windowTranslucent); in getResizingBackgroundDrawable()