Searched refs:oldDrawable (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 389 Drawable oldDrawable = getResources().getDrawable(mImageIds[oldState]).mutate(); in combine() local 390 oldDrawable.setState(enabledState); in combine() 400 …oldDrawable.setBounds(0, oldBitmapOffset, oldDrawable.getIntrinsicWidth(), oldDrawable.getIntrinsi… in combine() 402 oldDrawable.draw(canvas); in combine() 409 …oldDrawable.setBounds(oldBitmapOffset, 0, oldDrawable.getIntrinsicWidth()+oldBitmapOffset, oldDraw… in combine() 411 oldDrawable.draw(canvas); in combine()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SwitchCompatUtils.java | 53 private static Drawable getColorTintedDrawable(Drawable oldDrawable, in getColorTintedDrawable() argument 55 final int[] thumbState = oldDrawable.isStateful() ? oldDrawable.getState() : null; in getColorTintedDrawable() 56 if (oldDrawable instanceof DrawableWrapper) { in getColorTintedDrawable() 57 oldDrawable = ((DrawableWrapper) oldDrawable).getWrappedDrawable(); in getColorTintedDrawable() 59 final Drawable newDrawable = new TintDrawableWrapper(oldDrawable, colorStateList, mode); in getColorTintedDrawable()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | TaskLayerDrawable.java | 71 Drawable oldDrawable = getDrawable(0); in startNewTransition() local 72 setDrawable(1, oldDrawable); in startNewTransition()
|