Searched refs:mutate (Results 1 - 21 of 21) 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 DColorDrawable.java76 public Drawable mutate() { method in class:ColorDrawable
77 if (!mMutated && super.mutate() == this) {
H A DDrawableContainer.java108 mCurrDrawable.mutate().setAlpha(alpha);
121 mCurrDrawable.mutate().setDither(mDrawableContainerState.mDither);
131 mCurrDrawable.mutate().setColorFilter(cf);
179 mCurrDrawable.mutate().setAlpha(mAlpha);
315 d.mutate();
360 mCurrDrawable.mutate().setAlpha(mAlpha);
366 mCurrDrawable.mutate().setAlpha(((255-animAlpha)*mAlpha)/255);
383 mLastDrawable.mutate().setAlpha((animAlpha*mAlpha)/255);
411 public Drawable mutate() { method in class:DrawableContainer
412 if (!mMutated && super.mutate()
[all...]
H A DLevelListDrawable.java147 public Drawable mutate() { method in class:LevelListDrawable
148 if (!mMutated && super.mutate() == this) {
H A DMipmapDrawable.java181 public Drawable mutate() { method in class:MipmapDrawable
182 if (!mMutated && super.mutate() == this) {
H A DInsetDrawable.java251 public Drawable mutate() { method in class:InsetDrawable
252 if (!mMutated && super.mutate() == this) {
253 mInsetState.mDrawable.mutate();
H A DAnimatedRotateDrawable.java290 public Drawable mutate() { method in class:AnimatedRotateDrawable
291 if (!mMutated && super.mutate() == this) {
292 mState.mDrawable.mutate();
H A DRotateDrawable.java280 public Drawable mutate() { method in class:RotateDrawable
281 if (!mMutated && super.mutate() == this) {
282 mState.mDrawable.mutate();
H A DScaleDrawable.java252 public Drawable mutate() { method in class:ScaleDrawable
253 if (!mMutated && super.mutate() == this) {
254 mScaleState.mDrawable.mutate();
H A DAnimationDrawable.java305 public Drawable mutate() { method in class:AnimationDrawable
306 if (!mMutated && super.mutate() == this) {
H A DStateListDrawable.java248 public Drawable mutate() { method in class:StateListDrawable
249 if (!mMutated && super.mutate() == this) {
H A DShapeDrawable.java377 public Drawable mutate() { method in class:ShapeDrawable
378 if (!mMutated && super.mutate() == this) {
H A DLayerDrawable.java576 public Drawable mutate() { method in class:LayerDrawable
577 if (!mMutated && super.mutate() == this) {
582 array[i].mDrawable.mutate();
H A DBitmapDrawable.java473 public Drawable mutate() { method in class:BitmapDrawable
474 if (!mMutated && super.mutate() == this) {
H A DNinePatchDrawable.java388 public Drawable mutate() { method in class:NinePatchDrawable
389 if (!mMutated && super.mutate() == this) {
H A DDrawable.java741 public Drawable mutate() { method in class:Drawable
962 * {@link Drawable#mutate()} on a Drawable should typically create a new ConstantState for that
995 * @see Drawable#mutate()
H A DGradientDrawable.java182 * {@link #mutate()} before changing this property.</p>
187 * @see #mutate()
203 * {@link #mutate()} before changing this property.</p>
207 * @see #mutate()
222 * {@link #mutate()} before changing this property.</p>
227 * @see #mutate()
239 * {@link #mutate()} before changing this property.</p>
246 * @see #mutate()
272 * {@link #mutate()} before changing this property.</p>
277 * @see #mutate()
1063 public Drawable mutate() { method in class:GradientDrawable
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java89 mDrawable = drawable != null ? drawable.mutate() : null;
97 mDrawable = other.mDrawable != null ? other.mDrawable.mutate() : null;
/frameworks/base/core/java/android/widget/
H A DImageView.java1188 // Only mutate and apply when modifications have occurred. This should
1192 mDrawable = mDrawable.mutate();
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java4640 com.android.internal.R.drawable.text_select_handle_middle).mutate();
4642 com.android.internal.R.drawable.text_select_handle_left).mutate();
4644 com.android.internal.R.drawable.text_select_handle_right).mutate();
/frameworks/base/core/java/android/view/
H A DView.java12133 // could mutate the list by calling the various add/remove methods. This prevents
12168 // could mutate the list by calling the various add/remove methods. This prevents
14735 ((ColorDrawable) mBackground.mutate()).setColor(color);

Completed in 306 milliseconds