Home
last modified time | relevance | path

Searched refs:mutate (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonDrawable.java36 new Drawable[] { lightDrawable.mutate(), darkDrawable.mutate() }); in create()
38 return new KeyButtonDrawable(new Drawable[] { lightDrawable.mutate() }); in create()
47 mutate(); in KeyButtonDrawable()
/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java266 d.mutate(); in propagateCurrentState()
293 public ScrollBarDrawable mutate() { in mutate() method in ScrollBarDrawable
294 if (!mMutated && super.mutate() == this) { in mutate()
296 mVerticalTrack.mutate(); in mutate()
299 mVerticalThumb.mutate(); in mutate()
302 mHorizontalTrack.mutate(); in mutate()
305 mHorizontalThumb.mutate(); in mutate()
/frameworks/base/graphics/java/android/graphics/drawable/
DLevelListDrawable.java154 public Drawable mutate() { in mutate() method in LevelListDrawable
155 if (!mMutated && super.mutate() == this) { in mutate()
156 mLevelListState.mutate(); in mutate()
192 private void mutate() { in mutate() method in LevelListDrawable.LevelListState
DAnimationDrawable.java360 public Drawable mutate() { in mutate() method in AnimationDrawable
361 if (!mMutated && super.mutate() == this) { in mutate()
362 mAnimationState.mutate(); in mutate()
397 private void mutate() { in mutate() method in AnimationDrawable.AnimationState
DStateListDrawable.java286 public Drawable mutate() { in mutate() method in StateListDrawable
287 if (!mMutated && super.mutate() == this) { in mutate()
288 mStateListState.mutate(); in mutate()
324 void mutate() { in mutate() method in StateListDrawable.StateListState
DDrawableContainer.java648 public Drawable mutate() { in mutate() method in DrawableContainer
649 if (!mMutated && super.mutate() == this) { in mutate()
651 clone.mutate(); in mutate()
839 dr.mutate(); in addChild()
884 child = child.mutate(); in prepareDrawable()
1011 private void mutate() { in mutate() method in DrawableContainer.DrawableContainerState
1018 drawables[i].mutate(); in mutate()
DAnimatedStateListDrawable.java529 public Drawable mutate() { in mutate() method in AnimatedStateListDrawable
530 if (!mMutated && super.mutate() == this) { in mutate()
531 mState.mutate(); in mutate()
579 void mutate() { in mutate() method in AnimatedStateListDrawable.AnimatedStateListState
DDrawableWrapper.java388 public Drawable mutate() { in mutate() method in DrawableWrapper
389 if (!mMutated && super.mutate() == this) { in mutate()
392 mDrawable.mutate(); in mutate()
DColorDrawable.java87 public Drawable mutate() { in mutate() method in ColorDrawable
88 if (!mMutated && super.mutate() == this) { in mutate()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DAnimationScaleListDrawable.java135 public Drawable mutate() { in mutate() method in AnimationScaleListDrawable
136 if (!mMutated && super.mutate() == this) { in mutate()
137 mAnimationScaleListState.mutate(); in mutate()
196 void mutate() { in mutate() method in AnimationScaleListDrawable.AnimationScaleListState
/frameworks/support/compat/ics/android/support/v4/graphics/drawable/
DDrawableWrapperApi14.java214 public Drawable mutate() { in mutate() method in DrawableWrapperApi14
215 if (!mMutated && super.mutate() == this) { in mutate()
218 mDrawable.mutate(); in mutate()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java186 mutate(); in setAlpha()
199 mutate(); in setColorFilter()
216 public Drawable mutate() { in mutate() method in BackgroundManager.BitmapDrawable
288 public Drawable mutate() { in mutate() method in BackgroundManager.TranslucentLayerDrawable
289 Drawable drawable = super.mutate(); in mutate()
646 drawable.getConstantState().newDrawable().mutate(); in syncWithService()
794 ContextCompat.getDrawable(mContext, R.drawable.lb_background).mutate(); in lazyInit()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DFitWidthBitmapDrawable.java89 public Drawable mutate() { in mutate() method in FitWidthBitmapDrawable
90 if (!mMutated && super.mutate() == this) { in mutate()
DCompositeDrawable.java83 public Drawable mutate() { in mutate() method in CompositeDrawable
84 if (!mMutated && super.mutate() == this) { in mutate()
90 dr.mutate(); in mutate()
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawable.java45 ok.getBackground().mutate().setAlpha(127); in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/graphics/
DDrawableCompatActivity.java48 mDrawable = DrawableCompat.wrap(d.mutate()); in onCreate()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java73 … Drawable icon = Resources.getSystem().getDrawable(R.drawable.ic_account_circle, null).mutate(); in getDefaultUserIcon()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingToolbarLayout.java291 mContentScrim.mutate().setAlpha(mScrimAlpha); in draw()
306 mStatusBarScrim.mutate().setAlpha(mScrimAlpha); in draw()
319 mContentScrim.mutate().setAlpha(mScrimAlpha); in drawChild()
657 mContentScrim = drawable != null ? drawable.mutate() : null; in setContentScrim()
719 mStatusBarScrim = drawable != null ? drawable.mutate() : null; in setStatusBarScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java203 target.getIndeterminateDrawable().mutate().setTint(color); in updateProgressDark()
204 target.getProgressDrawable().mutate().setTint(color); in updateProgressDark()
DNotificationIconDozeHelper.java89 Drawable d = imageDrawable.mutate(); in updateImageColorFilter()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/
DCompositeDrawableTest.java180 parentDrawble2.mutate(); in constantState()
220 parent.mutate(); in mutateTest()
DFitWidthBitmapDrawableTest.java85 drawable2.mutate(); in constantState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRowContainerView.java84 ((ColorDrawable) mForeground.mutate()).setColor(color); in setForegroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java177 Drawable drawable = getDrawable().mutate(); in updateIconColor()
492 if (background != null) background.mutate().setAlpha(endAlpha); in setImageAlpha()
502 if (background != null) background.mutate().setAlpha(alpha); in setImageAlpha()
/frameworks/support/samples/SupportVectorDrawableDemos/src/com/example/android/support/vectordrawable/app/
DSimpleAnimatedVectorDrawable.java83 copies[2].mutate(); in onCreate()

1234