Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DGhostedViewLaunchAnimatorController.kt61 private var backgroundDrawable: WrappedDrawable? = null variable in com.android.systemui.animation.GhostedViewLaunchAnimatorController
85 backgroundDrawable?.setBackgroundRadius(topCornerRadius, bottomCornerRadius) in getBackground()
133 backgroundDrawable = WrappedDrawable(drawable) in onLaunchAnimationStart()
134 backgroundView?.background = backgroundDrawable in onLaunchAnimationStart()
179 val backgroundDrawable = backgroundDrawable!! in onLaunchAnimationProgress() constant
180 backgroundDrawable.wrapped?.let { in onLaunchAnimationProgress()
193 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/graphics/java/android/graphics/drawable/
DAdaptiveIconDrawable.java189 public AdaptiveIconDrawable(Drawable backgroundDrawable, in AdaptiveIconDrawable() argument
192 if (backgroundDrawable != null) { in AdaptiveIconDrawable()
193 addLayer(BACKGROUND_ID, createChildDrawable(backgroundDrawable)); in AdaptiveIconDrawable()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2326 public static Drawable getResizingBackgroundDrawable(@Nullable Drawable backgroundDrawable, in getResizingBackgroundDrawable() argument
2328 if (backgroundDrawable != null) { in getResizingBackgroundDrawable()
2329 return enforceNonTranslucentBackground(backgroundDrawable, windowTranslucent); in getResizingBackgroundDrawable()