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

/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.java85 public Drawable mutate() { method in class:ColorDrawable
86 if (!mMutated && super.mutate() == this) {
H A DStateListDrawable.java280 public Drawable mutate() { method in class:StateListDrawable
281 if (!mMutated && super.mutate() == this) {
282 mStateListState.mutate();
309 // Perform a shallow copy and rely on mutate() to deep-copy.
318 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.java383 public Drawable mutate() { method in class:DrawableWrapper
384 if (!mMutated && super.mutate() == this) {
387 mDrawable.mutate();
402 * mutate and return its own constant state.
H A DNinePatchDrawable.java545 public Drawable mutate() { method in class:NinePatchDrawable
546 if (!mMutated && super.mutate() == this) {
H A DShapeDrawable.java495 public Drawable mutate() { method in class:ShapeDrawable
496 if (!mMutated && super.mutate() == this) {
H A DBitmapDrawable.java693 public Drawable mutate() { method in class:BitmapDrawable
694 if (!mMutated && super.mutate() == this) {
H A DDrawable.java1081 public @NonNull Drawable mutate() { method in class:Drawable
1090 * custom drawables don't need to support constant state, mutate(), or
1301 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
1386 * @see Drawable#mutate()
H A DRippleDrawable.java967 public Drawable mutate() { method in class:RippleDrawable
968 super.mutate();
H A DAnimatedVectorDrawable.java189 public Drawable mutate() { method in class:AnimatedVectorDrawable
190 if (!mMutated && super.mutate() == this) {
374 drawableRes, theme).mutate();
486 mVectorDrawable = (VectorDrawable) mVectorDrawable.mutate();
H A DDrawableContainer.java629 public Drawable mutate() { method in class:DrawableContainer
630 if (!mMutated && super.mutate() == this) {
632 clone.mutate();
641 * the base state for {@link #mutate()}.
817 dr.mutate();
855 child = child.mutate();
981 private void mutate() { method in class:DrawableContainer.DrawableContainerState
983 // mutate when they are prepared.
988 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()
302 * {@link #mutate()} before changing this property.</p>
307 * @see #mutate()
319 * {@link #mutate()} before changing this property.</p>
324 * @see #mutate()
336 * {@link #mutate()} before changing this property.</p>
343 * @see #mutate()
1720 public Drawable mutate() { method in class:GradientDrawable
[all...]
H A DLayerDrawable.java1755 public Drawable mutate() { method in class:LayerDrawable
1756 if (!mMutated && super.mutate() == this) {
1763 dr.mutate();
H A DVectorDrawable.java266 public Drawable mutate() { method in class:VectorDrawable
267 if (!mMutated && super.mutate() == this) {
389 // When the VD is stateful, we need to mutate the drawable such that we don't share the
392 mutate();
803 // Deep copy for mutate() or implicitly 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/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java102 public Drawable mutate() { method in class:AnimatedVectorDrawableCompat
104 mDelegateDrawable.mutate();
483 mVectorDrawable = (VectorDrawableCompat) mVectorDrawable.mutate();
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DDrawableWrapperDonut.java206 public Drawable mutate() { method in class:DrawableWrapperDonut
207 if (!mMutated && super.mutate() == this) {
210 mDrawable.mutate();
224 * mutate and return its own constant state.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java288 public Drawable mutate() { method in class:BackgroundManager.TranslucentLayerDrawable
289 Drawable drawable = super.mutate();
568 // No mutate required because this drawable is never manipulated.
747 drawable.getConstantState().newDrawable().mutate();
758 ContextCompat.getDrawable(mContext, R.drawable.lb_background).mutate();
773 mContext.getResources()).mutate();
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java121 public Drawable mutate() { method in class:VectorDrawableCompat
123 mDelegateDrawable.mutate();
127 if (!mMutated && super.mutate() == this) {
781 // Deep copy for mutate() or implicitly mutate.

Completed in 768 milliseconds