Searched refs:newDrawable (Results 1 – 11 of 11) sorted by relevance
385 Drawable newDrawable = getResources().getDrawable(mImageIds[newState]).mutate(); in combine() local386 newDrawable.setState(enabledState); in combine()399 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()401 newDrawable.draw(canvas); in combine()408 … newDrawable.setBounds(0, 0, newDrawable.getIntrinsicWidth(), newDrawable.getIntrinsicHeight()); in combine()410 newDrawable.draw(canvas); in combine()
100 Drawable newDrawable = decodedBitmapDrawable(compressed); in setCompressedImage() local101 if (newDrawable == null) { in setCompressedImage()102 newDrawable = defaultDrawable(); in setCompressedImage()109 if (newDrawable == null) return previousBitmap(); in setCompressedImage()113 mTarget.setImageDrawable(newDrawable); in setCompressedImage()118 beforeAndAfter[1] = newDrawable; in setCompressedImage()126 mPreviousDrawable = newDrawable; in setCompressedImage()
59 final Drawable newDrawable = new TintDrawableWrapper(oldDrawable, colorStateList, mode); in getColorTintedDrawable() local61 newDrawable.setState(thumbState); in getColorTintedDrawable()63 return newDrawable; in getColorTintedDrawable()
876 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
88 return mIconDrawable.getConstantState().newDrawable(); in getIconDrawableClone()
405 return (LayerDrawable) constantState.newDrawable(getContext().getResources()); in newDrawableFromConstantState()
132 mRevealView.setBackground(background.getConstantState().newDrawable()); in onUpdateBackgroundAndPaddings()
73 return value == null ? null : value.newDrawable(); in getIcon()
258 ? constantStateDrawable.newDrawable(context.getResources()).mutate() in getTintedDrawable()
719 return constState.newDrawable(); in loadIcon()
3194 button.setImageDrawable(d.newDrawable(getResources())); in updateButtonWithDrawable()3337 Drawable marketIconDrawable = d.newDrawable(r); in updateAppMarketIcon()