Searched refs:backgroundDrawable (Results 1 – 5 of 5) sorted by relevance
152 private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { in updateReferenceToIndicatorDrawable() argument153 if (backgroundDrawable instanceof LayerDrawable) { in updateReferenceToIndicatorDrawable()154 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable()
101 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral() local102 assertThat(backgroundDrawable instanceof ColorDrawable, is(true)); in testWindowBackground_colorLiteral()104 ColorDrawable colorDrawable = (ColorDrawable) backgroundDrawable; in testWindowBackground_colorLiteral()
52 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local54 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
188 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() argument191 if (backgroundDrawable != null) { in AdaptiveIconDrawable()192 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in AdaptiveIconDrawable()
2215 public static Drawable getResizingBackgroundDrawable(@Nullable Drawable backgroundDrawable, in getResizingBackgroundDrawable() argument2217 if (backgroundDrawable != null) { in getResizingBackgroundDrawable()2218 return enforceNonTranslucentBackground(backgroundDrawable, windowTranslucent); in getResizingBackgroundDrawable()