Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java196 thumb.mutate(); in setVerticalThumbDrawable()
206 track.mutate(); in setVerticalTrackDrawable()
216 thumb.mutate(); in setHorizontalThumbDrawable()
226 track.mutate(); in setHorizontalTrackDrawable()
244 public ScrollBarDrawable mutate() { in mutate() method in ScrollBarDrawable
245 if (!mMutated && super.mutate() == this) { in mutate()
247 mVerticalTrack.mutate(); in mutate()
250 mVerticalThumb.mutate(); in mutate()
253 mHorizontalTrack.mutate(); in mutate()
256 mHorizontalThumb.mutate(); in mutate()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableContainer.java146 mCurrDrawable.mutate().setAlpha(alpha); in setAlpha()
164 mCurrDrawable.mutate().setDither(mDrawableContainerState.mDither); in setDither()
177 mCurrDrawable.mutate().setColorFilter(cf); in setColorFilter()
190 mCurrDrawable.mutate().setTintList(tint); in setTintList()
203 mCurrDrawable.mutate().setTintMode(tintMode); in setTintMode()
246 mCurrDrawable.mutate().setAutoMirrored(mDrawableContainerState.mAutoMirrored); in setAutoMirrored()
268 mCurrDrawable.mutate().setAlpha(mAlpha); in jumpToCurrentState()
486 d.mutate(); in initializeDrawableForDisplay()
527 mCurrDrawable.mutate().setAlpha(mAlpha); in animate()
533 mCurrDrawable.mutate().setAlpha(((255-animAlpha)*mAlpha)/255); in animate()
[all …]
DLevelListDrawable.java148 public Drawable mutate() { in mutate() method in LevelListDrawable
149 if (!mMutated && super.mutate() == this) { in mutate()
150 mLevelListState.mutate(); in mutate()
186 private void mutate() { in mutate() method in LevelListDrawable.LevelListState
DAnimationDrawable.java344 public Drawable mutate() { in mutate() method in AnimationDrawable
345 if (!mMutated && super.mutate() == this) { in mutate()
346 mAnimationState.mutate(); in mutate()
382 private void mutate() { in mutate() method in AnimationDrawable.AnimationState
DStateListDrawable.java291 public Drawable mutate() { in mutate() method in StateListDrawable
292 if (!mMutated && super.mutate() == this) { in mutate()
293 mStateListState.mutate(); in mutate()
339 private void mutate() { in mutate() method in StateListDrawable.StateListState
DAnimatedVectorDrawable.java147 public Drawable mutate() { in mutate() method in AnimatedVectorDrawable
148 if (!mMutated && super.mutate() == this) { in mutate()
287 drawableRes, theme).mutate(); in inflate()
351 mVectorDrawable = (VectorDrawable) mVectorDrawable.mutate(); in AnimatedVectorDrawableState()
DClipDrawable.java332 public Drawable mutate() { in mutate() method in ClipDrawable
333 if (!mMutated && super.mutate() == this) { in mutate()
334 mState.mDrawable.mutate(); in mutate()
DScaleDrawable.java333 public Drawable mutate() { in mutate() method in ScaleDrawable
334 if (!mMutated && super.mutate() == this) { in mutate()
335 mState.mDrawable.mutate(); in mutate()
DAnimatedStateListDrawable.java528 public Drawable mutate() { in mutate() method in AnimatedStateListDrawable
529 if (!mMutated && super.mutate() == this) { in mutate()
530 mState.mutate(); in mutate()
578 private void mutate() { in mutate() method in AnimatedStateListDrawable.AnimatedStateListState
DColorDrawable.java83 public Drawable mutate() { in mutate() method in ColorDrawable
84 if (!mMutated && super.mutate() == this) { in mutate()
DAnimatedRotateDrawable.java384 public Drawable mutate() { in mutate() method in AnimatedRotateDrawable
385 if (!mMutated && super.mutate() == this) { in mutate()
386 mState.mDrawable.mutate(); in mutate()
DInsetDrawable.java391 public Drawable mutate() { in mutate() method in InsetDrawable
392 if (!mMutated && super.mutate() == this) { in mutate()
393 mState.mDrawable.mutate(); in mutate()
DRotateDrawable.java510 public Drawable mutate() { in mutate() method in RotateDrawable
511 if (!mMutated && super.mutate() == this) { in mutate()
512 mState.mDrawable.mutate(); in mutate()
DShapeDrawable.java488 public Drawable mutate() { in mutate() method in ShapeDrawable
489 if (!mMutated && super.mutate() == this) { in mutate()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java58 mDrawable = drawable != null ? drawable.mutate() : null; in setDrawable()
66 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null; in TargetDrawable()
/frameworks/base/core/tests/coretests/src/android/view/
DMutateDrawable.java45 ok.getBackground().mutate().setAlpha(127); in onCreate()
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/widget/
DRoundedRectHelperApi21.java45 ((GradientDrawable) view.getBackground().mutate()).setColor(color); in setRoundedRectBackground()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java70 Drawable icon = Resources.getSystem().getDrawable(R.drawable.ic_account_circle).mutate(); in getDefaultUserIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java188 Drawable drawable = getDrawable().mutate(); in updateIconColor()
416 if (background != null) background.mutate().setAlpha(endAlpha); in setImageAlpha()
426 if (background != null) background.mutate().setAlpha(alpha); in setImageAlpha()
DDismissViewButton.java55 R.drawable.dismiss_all_shape_animation).mutate(); in DismissViewButton()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRowContainerView.java82 ((ColorDrawable) mForeground.mutate()).setColor(color); in setForegroundColor()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java47 mInner = inner != null ? inner.mutate() : null; in TileDrawable()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java318 return drawable.getConstantState().newDrawable(context.getResources()).mutate(); in getThemeDrawable()
454 drawable.getConstantState().newDrawable().mutate(); in syncWithService()
465 R.drawable.lb_background).mutate(); in lazyInit()
DHeadersFragment.java217 background.mutate(); in updateFadingEdgeToBrandColor()
/frameworks/base/core/java/android/app/
DEnterTransitionCoordinator.java275 background = background.mutate(); in prepareEnter()
515 background = background.mutate(); in startEnterTransition()

123