Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenIconDrawableFactory.java245 protected final Drawable mForegroundDrawable; field in SplashscreenIconDrawableFactory.AdaptiveForegroundDrawable
250 mForegroundDrawable = foregroundDrawable; in AdaptiveForegroundDrawable()
263 if (mForegroundDrawable != null) { in updateLayerBounds()
264 mForegroundDrawable.setBounds(outRect); in updateLayerBounds()
272 mForegroundDrawable.draw(canvas); in draw()
277 mForegroundDrawable.setColorFilter(colorFilter); in setColorFilter()
312 mForegroundDrawable.setCallback(callback); in AnimatableIconAnimateListener()
313 mAnimatableIcon = (Animatable) mForegroundDrawable; in AnimatableIconAnimateListener()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
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()