Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewLaunchAnimatorController.kt89 private var backgroundDrawable: WrappedDrawable? = null variable in com.android.systemui.animation.GhostedViewLaunchAnimatorController
154 backgroundDrawable?.setBackgroundRadius(topCornerRadius, bottomCornerRadius) in setBackgroundCornerRadius()
216 backgroundDrawable = WrappedDrawable(background) in onLaunchAnimationStart()
217 backgroundView?.background = backgroundDrawable in onLaunchAnimationStart()
306 val backgroundDrawable = backgroundDrawable!! in onLaunchAnimationProgress() constant
307 backgroundDrawable.wrapped?.let { in onLaunchAnimationProgress()
320 backgroundDrawable?.wrapped?.alpha = startBackgroundAlpha in onLaunchAnimationEnd()
/frameworks/base/core/java/android/widget/
DToggleButton.java164 private void updateReferenceToIndicatorDrawable(Drawable backgroundDrawable) { in updateReferenceToIndicatorDrawable() argument
165 if (backgroundDrawable instanceof LayerDrawable) { in updateReferenceToIndicatorDrawable()
166 LayerDrawable layerDrawable = (LayerDrawable) backgroundDrawable; in updateReferenceToIndicatorDrawable()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DIllustrationTest.java52 final Drawable backgroundDrawable = new ColorDrawable(Color.RED); in testAspectRatio() local
54 illustration.setBackgroundDrawable(backgroundDrawable); in testAspectRatio()
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DPhoneWindowTest.java111 Drawable backgroundDrawable = mPhoneWindow.getDecorView().getBackground(); in testWindowBackground_colorLiteral() local
112 assertThat(backgroundDrawable instanceof ColorDrawable, is(true)); in testWindowBackground_colorLiteral()
114 ColorDrawable colorDrawable = (ColorDrawable) backgroundDrawable; in testWindowBackground_colorLiteral()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseAdapter.java212 final Drawable backgroundDrawable = in setSingleLineLayout() local
219 mItemLayout.setBackground(backgroundDrawable); in setSingleLineLayout()
281 final Drawable backgroundDrawable = mContext.getDrawable( in setTwoLineLayout() local
284 backgroundDrawable.setColorFilter(new PorterDuffColorFilter( in setTwoLineLayout()
287 mItemLayout.setBackground(backgroundDrawable); in setTwoLineLayout()
435 final Drawable backgroundDrawable = mContext.getDrawable( in initMutingExpectedDevice() local
438 backgroundDrawable.setColorFilter( in initMutingExpectedDevice()
441 mItemLayout.setBackground(backgroundDrawable); in initMutingExpectedDevice()
/frameworks/base/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java194 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() argument
196 this(backgroundDrawable, foregroundDrawable, null); in AdaptiveIconDrawable()
206 public AdaptiveIconDrawable(@Nullable Drawable backgroundDrawable, in AdaptiveIconDrawable() argument
209 if (backgroundDrawable != null) { in AdaptiveIconDrawable()
210 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in AdaptiveIconDrawable()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2337 public static Drawable getResizingBackgroundDrawable(@Nullable Drawable backgroundDrawable, in getResizingBackgroundDrawable() argument
2339 if (backgroundDrawable != null) { in getResizingBackgroundDrawable()
2340 return enforceNonTranslucentBackground(backgroundDrawable, windowTranslucent); in getResizingBackgroundDrawable()