Searched defs:mutate (Results 1 - 25 of 25) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/drawable/
H A DAnimationScaleListDrawable.java135 public Drawable mutate() { method in class:AnimationScaleListDrawable
136 if (!mMutated && super.mutate() == this) {
137 mAnimationScaleListState.mutate();
187 // Perform a shallow copy and rely on mutate() to deep-copy.
196 void mutate() { method in class:AnimationScaleListDrawable.AnimationScaleListState
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java154 public Drawable mutate() { method in class:LevelListDrawable
155 if (!mMutated && super.mutate() == this) {
156 mLevelListState.mutate();
183 // Perform a shallow copy and rely on mutate() to deep-copy.
192 private void mutate() { method in class:LevelListDrawable.LevelListState
H A DAnimationDrawable.java360 public Drawable mutate() { method in class:AnimationDrawable
361 if (!mMutated && super.mutate() == this) {
362 mAnimationState.mutate();
397 private void mutate() { method in class:AnimationDrawable.AnimationState
H A DColorDrawable.java87 public Drawable mutate() { method in class:ColorDrawable
88 if (!mMutated && super.mutate() == this) {
H A DStateListDrawable.java286 public Drawable mutate() { method in class:StateListDrawable
287 if (!mMutated && super.mutate() == this) {
288 mStateListState.mutate();
315 // Perform a shallow copy and rely on mutate() to deep-copy.
324 void mutate() { method in class:StateListDrawable.StateListState
H A DAnimatedStateListDrawable.java529 public Drawable mutate() { method in class:AnimatedStateListDrawable
530 if (!mMutated && super.mutate() == this) {
531 mState.mutate();
569 // Perform a shallow copy and rely on mutate() to deep-copy.
579 void mutate() { method in class:AnimatedStateListDrawable.AnimatedStateListState
H A DDrawableWrapper.java388 public Drawable mutate() { method in class:DrawableWrapper
389 if (!mMutated && super.mutate() == this) {
392 mDrawable.mutate();
407 * mutate and return its own constant state.
H A DNinePatchDrawable.java544 public Drawable mutate() { method in class:NinePatchDrawable
545 if (!mMutated && super.mutate() == this) {
H A DShapeDrawable.java516 public Drawable mutate() { method in class:ShapeDrawable
517 if (!mMutated && super.mutate() == this) {
H A DAdaptiveIconDrawable.java860 public Drawable mutate() { method in class:AdaptiveIconDrawable
861 if (!mMutated && super.mutate() == this) {
866 dr.mutate();
H A DBitmapDrawable.java710 public Drawable mutate() { method in class:BitmapDrawable
711 if (!mMutated && super.mutate() == this) {
H A DDrawable.java1124 public @NonNull Drawable mutate() { method in class:Drawable
1133 * custom drawables don't need to support constant state, mutate(), or
1384 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
1456 * @see Drawable#mutate()
H A DRippleDrawable.java973 public Drawable mutate() { method in class:RippleDrawable
974 super.mutate();
H A DAnimatedVectorDrawable.java334 public Drawable mutate() { method in class:AnimatedVectorDrawable
335 if (!mMutated && super.mutate() == this) {
542 drawableRes, theme).mutate();
721 mVectorDrawable = (VectorDrawable) mVectorDrawable.mutate();
H A DDrawableContainer.java648 public Drawable mutate() { method in class:DrawableContainer
649 if (!mMutated && super.mutate() == this) {
651 clone.mutate();
660 * the base state for {@link #mutate()}.
839 dr.mutate();
884 child = child.mutate();
1011 private void mutate() { method in class:DrawableContainer.DrawableContainerState
1013 // mutate when they are prepared.
1018 drawables[i].mutate();
H A DGradientDrawable.java230 * {@link #mutate()} before changing this property.
235 * @see #mutate()
270 * {@link #mutate()} before changing this property.
274 * @see #mutate()
303 * {@link #mutate()} before changing this property.</p>
308 * @see #mutate()
320 * {@link #mutate()} before changing this property.</p>
325 * @see #mutate()
337 * {@link #mutate()} before changing this property.</p>
344 * @see #mutate()
1758 public Drawable mutate() { method in class:GradientDrawable
[all...]
H A DLayerDrawable.java1772 public Drawable mutate() { method in class:LayerDrawable
1773 if (!mMutated && super.mutate() == this) {
1780 dr.mutate();
H A DVectorDrawable.java298 public Drawable mutate() { method in class:VectorDrawable
299 if (!mMutated && super.mutate() == this) {
427 // When the VD is stateful, we need to mutate the drawable such that we don't share the
430 mutate();
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java266 d.mutate();
293 public ScrollBarDrawable mutate() { method in class:ScrollBarDrawable
294 if (!mMutated && super.mutate() == this) {
296 mVerticalTrack.mutate();
299 mVerticalThumb.mutate();
302 mHorizontalTrack.mutate();
305 mHorizontalThumb.mutate();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DCompositeDrawable.java83 public Drawable mutate() { method in class:CompositeDrawable
84 if (!mMutated && super.mutate() == this) {
90 dr.mutate();
H A DFitWidthBitmapDrawable.java89 public Drawable mutate() { method in class:FitWidthBitmapDrawable
90 if (!mMutated && super.mutate() == this) {
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableWrapperApi14.java214 public Drawable mutate() { method in class:DrawableWrapperApi14
215 if (!mMutated && super.mutate() == this) {
218 mDrawable.mutate();
232 * mutate and return its own constant state.
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java184 * mutate() will be effective only if the getConstantState() is returning non-null.
188 public Drawable mutate() { method in class:AnimatedVectorDrawableCompat
190 mDelegateDrawable.mutate();
595 mVectorDrawable = (VectorDrawableCompat) mVectorDrawable.mutate();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java185 mutate();
198 mutate();
215 public Drawable mutate() { method in class:BackgroundManager.BitmapDrawable
287 public Drawable mutate() { method in class:BackgroundManager.TranslucentLayerDrawable
288 Drawable drawable = super.mutate();
516 // No mutate required because this drawable is never manipulated.
645 drawable.getConstantState().newDrawable().mutate();
793 ContextCompat.getDrawable(mContext, R.drawable.lb_background).mutate();
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java249 public Drawable mutate() { method in class:VectorDrawableCompat
251 mDelegateDrawable.mutate();
255 if (!mMutated && super.mutate() == this) {
946 // Deep copy for mutate() or implicitly mutate.

Completed in 429 milliseconds