Home | History | Annotate | Download | only in drawable

Lines Matching defs:BitmapDrawable

57  * BitmapDrawable from a file path, an input stream, through XML inflation, or from
76 public class BitmapDrawable extends Drawable {
109 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
113 public BitmapDrawable() {
121 * @deprecated Use {@link #BitmapDrawable(android.content.res.Resources, android.graphics.Bitmap)}
126 public BitmapDrawable(Resources res) {
133 * @deprecated Use {@link #BitmapDrawable(Resources, Bitmap)} to ensure
137 public BitmapDrawable(Bitmap bitmap) {
145 public BitmapDrawable(Resources res, Bitmap bitmap) {
152 * @deprecated Use {@link #BitmapDrawable(Resources, String)} to ensure
156 public BitmapDrawable(String filepath) {
159 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
167 public BitmapDrawable(Resources res, String filepath) {
171 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + filepath);
177 * @deprecated Use {@link #BitmapDrawable(Resources, java.io.InputStream)} to ensure
181 public BitmapDrawable(java.io.InputStream is) {
184 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is);
192 public BitmapDrawable(Resources res, java.io.InputStream is) {
196 android.util.Log.w("BitmapDrawable", "BitmapDrawable cannot decode " + is);
704 * A mutable BitmapDrawable still shares its Bitmap with any other Drawable
753 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.BitmapDrawable);
883 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.BitmapDrawable);
1001 return new BitmapDrawable(this, null);
1006 return new BitmapDrawable(this, res);
1020 private BitmapDrawable(BitmapState state, Resources res) {