Searched refs:mutate (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
H A DMutateDrawable.java45 ok.getBackground().mutate().setAlpha(127);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java125 mCurrDrawable.mutate().setAlpha(alpha);
143 mCurrDrawable.mutate().setDither(mDrawableContainerState.mDither);
153 mCurrDrawable.mutate().setColorFilter(cf);
195 mCurrDrawable.mutate().setAutoMirrored(mDrawableContainerState.mAutoMirrored);
214 mCurrDrawable.mutate().setAlpha(mAlpha);
354 d.mutate();
403 mCurrDrawable.mutate().setAlpha(mAlpha);
409 mCurrDrawable.mutate().setAlpha(((255-animAlpha)*mAlpha)/255);
426 mLastDrawable.mutate().setAlpha((animAlpha*mAlpha)/255);
454 public Drawable mutate() { method in class:DrawableContainer
664 final void mutate() { method in class:DrawableContainer.DrawableContainerState
[all...]
H A DColorDrawable.java76 public Drawable mutate() { method in class:ColorDrawable
77 if (!mMutated && super.mutate() == this) {
H A DLevelListDrawable.java147 public Drawable mutate() { method in class:LevelListDrawable
148 if (!mMutated && super.mutate() == this) {
H A DInsetDrawable.java262 public Drawable mutate() { method in class:InsetDrawable
263 if (!mMutated && super.mutate() == this) {
264 mInsetState.mDrawable.mutate();
H A DAnimatedRotateDrawable.java295 public Drawable mutate() { method in class:AnimatedRotateDrawable
296 if (!mMutated && super.mutate() == this) {
297 mState.mDrawable.mutate();
H A DRotateDrawable.java285 public Drawable mutate() { method in class:RotateDrawable
286 if (!mMutated && super.mutate() == this) {
287 mState.mDrawable.mutate();
H A DScaleDrawable.java257 public Drawable mutate() { method in class:ScaleDrawable
258 if (!mMutated && super.mutate() == this) {
259 mScaleState.mDrawable.mutate();
H A DAnimationDrawable.java305 public Drawable mutate() { method in class:AnimationDrawable
306 if (!mMutated && super.mutate() == this) {
H A DStateListDrawable.java251 public Drawable mutate() { method in class:StateListDrawable
252 if (!mMutated && super.mutate() == this) {
H A DShapeDrawable.java382 public Drawable mutate() { method in class:ShapeDrawable
383 if (!mMutated && super.mutate() == this) {
H A DLayerDrawable.java606 public Drawable mutate() { method in class:LayerDrawable
607 if (!mMutated && super.mutate() == this) {
612 array[i].mDrawable.mutate();
H A DBitmapDrawable.java549 public Drawable mutate() { method in class:BitmapDrawable
550 if (!mMutated && super.mutate() == this) {
H A DNinePatchDrawable.java433 public Drawable mutate() { method in class:NinePatchDrawable
434 if (!mMutated && super.mutate() == this) {
H A DDrawable.java781 public Drawable mutate() { method in class:Drawable
998 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
1038 * @see Drawable#mutate()
H A DGradientDrawable.java183 * {@link #mutate()} before changing this property.</p>
188 * @see #mutate()
204 * {@link #mutate()} before changing this property.</p>
208 * @see #mutate()
223 * {@link #mutate()} before changing this property.</p>
228 * @see #mutate()
240 * {@link #mutate()} before changing this property.</p>
247 * @see #mutate()
273 * {@link #mutate()} before changing this property.</p>
278 * @see #mutate()
1066 public Drawable mutate() { method in class:GradientDrawable
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java59 mDrawable = drawable != null ? drawable.mutate() : null;
67 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null;
/frameworks/base/core/java/android/widget/
H A DImageView.java1212 // Only mutate and apply when modifications have occurred. This should
1216 mDrawable = mDrawable.mutate();
/frameworks/base/core/java/android/view/
H A DView.java12593 // could mutate the list by calling the various add/remove methods. This prevents
12628 // could mutate the list by calling the various add/remove methods. This prevents
15280 ((ColorDrawable) mBackground.mutate()).setColor(color);

Completed in 287 milliseconds