Lines Matching refs:drawable
17 package android.support.v4.graphics.drawable;
21 import android.graphics.drawable.Drawable;
24 * Implementation of drawable compatibility that can call KitKat APIs.
27 public static void setAutoMirrored(Drawable drawable, boolean mirrored) {
28 drawable.setAutoMirrored(mirrored);
31 public static boolean isAutoMirrored(Drawable drawable) {
32 return drawable.isAutoMirrored();
35 public static Drawable wrapForTinting(Drawable drawable) {
36 if (!(drawable instanceof TintAwareDrawable)) {
37 return new DrawableWrapperKitKat(drawable);
39 return drawable;
42 public static int getAlpha(Drawable drawable) {
43 return drawable.getAlpha();