Home | History | Annotate | Download | only in drawable

Lines Matching defs:drawable

17 package androidx.core.graphics.drawable;
68 * Returns a new drawable by creating it from a bitmap, setting initial target density based on
80 * Returns a new drawable, creating it by opening a given file path and decoding the bitmap.
84 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath));
85 if (drawable.getBitmap() == null) {
88 return drawable;
93 * Returns a new drawable, creating it by decoding a bitmap from the given input stream.
97 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeStream(is));
98 if (drawable.getBitmap() == null) {
101 return drawable;