Lines Matching defs:BitmapDrawable
40 * BitmapDrawable from a file path, an input stream, through XML inflation, or from
58 public class BitmapDrawable extends Drawable {
77 * @deprecated Use {@link #BitmapDrawable(Resources)} to ensure
81 public BitmapDrawable() {
90 public BitmapDrawable(Resources res) {
97 * @deprecated Use {@link #BitmapDrawable(Resources, Bitmap)} to ensure
101 public BitmapDrawable(Bitmap bitmap) {
109 public BitmapDrawable(Resources res, Bitmap bitmap) {
116 * @deprecated Use {@link #BitmapDrawable(Resources, String)} to ensure
120 public BitmapDrawable(String filepath) {
123 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
131 public BitmapDrawable(Resources res, String filepath) {
135 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
141 * @deprecated Use {@link #BitmapDrawable(Resources, java.io.InputStream)} to ensure
145 public BitmapDrawable(java.io.InputStream is) {
148 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is);
156 public BitmapDrawable(Resources res, java.io.InputStream is) {
160 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is);
420 * A mutable BitmapDrawable still shares its Bitmap with any other Drawable
439 TypedArray a = r.obtainAttributes(attrs, com.android.internal.R.styleable.BitmapDrawable);
534 return new BitmapDrawable(this, null);
539 return new BitmapDrawable(this, res);
548 private BitmapDrawable(BitmapState state, Resources res) {