Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenIconDrawableFactory.java227 protected final Drawable mForegroundDrawable; field in SplashscreenIconDrawableFactory.AdaptiveForegroundDrawable
232 mForegroundDrawable = foregroundDrawable; in AdaptiveForegroundDrawable()
245 if (mForegroundDrawable != null) { in updateLayerBounds()
246 mForegroundDrawable.setBounds(outRect); in updateLayerBounds()
254 mForegroundDrawable.draw(canvas); in draw()
259 mForegroundDrawable.setColorFilter(colorFilter); in setColorFilter()
276 mForegroundDrawable.setCallback(mCallback); in AnimatableIconAnimateListener()
286 mAnimatableIcon = (Animatable) mForegroundDrawable; in prepareAnimate()
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
H A DAdaptiveIconDrawableTest.java50 private Drawable mForegroundDrawable; field in AdaptiveIconDrawableTest
61 mForegroundDrawable = new ColorDrawable(Color.RED); in testDraw_withoutBounds()
62 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testDraw_withoutBounds()
132 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMask_withoutBounds()
158 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetIconMaskAfterSetBounds()
179 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testGetOutline_withBounds()
187 mIconDrawable = new AdaptiveIconDrawable(mBackgroundDrawable, mForegroundDrawable); in testSetAlpha()