Searched refs:oldDrawable (Results 1 – 2 of 2) sorted by relevance
389 Drawable oldDrawable = getResources().getDrawable(mImageIds[oldState]).mutate(); in combine() local390 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()
53 private static Drawable getColorTintedDrawable(Drawable oldDrawable, in getColorTintedDrawable() argument55 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()