Home | History | Annotate | Download | only in graphics

Lines Matching defs:bitmap

43  *  Class for decoding images as {@link Bitmap}s or {@link Drawable}s.
58 int getDensity() { return Bitmap.DENSITY_NONE; }
64 return Bitmap.getDefaultDensity();
128 mInputDensity = res != null ? inputDensity : Bitmap.DENSITY_NONE;
163 mDensity = Bitmap.DENSITY_NONE;
189 mResDensity = Bitmap.DENSITY_NONE;
310 * a partial {@link Drawable}/{@link Bitmap}.
314 * @return True to create and return a {@link Drawable}/{@link Bitmap}
410 return new InputStreamSource(res, is, Bitmap.getDefaultDensity());
473 * Will typically result in a {@link Bitmap.Config#HARDWARE}
496 * Require a {@link Bitmap.Config#HARDWARE} {@link Bitmap}.
521 * Specify whether the {@link Bitmap} should have unpremultiplied pixels.
523 * By default, ImageDecoder will create a {@link Bitmap} with
527 * {@link #decodeBitmap} returning a {@link Bitmap} with unpremultiplied
528 * pixels. See {@link Bitmap#isPremultiplied}. This is incompatible with
540 * {@link Bitmap}. For a {@code Drawable} or an immutable {@code Bitmap},
557 * partial {@link Bitmap} will be created.
593 * Specify whether the {@link Bitmap} should be mutable.
595 * <p>By default, a {@link Bitmap} created will be immutable, but that can
599 * because {@link Bitmap.Config#HARDWARE} Bitmaps cannot be mutable.
604 * which would require retrieving the Bitmap from the returned Drawable in
615 * Setting this to {@code true} may result in a {@link Bitmap} with a
616 * denser {@link Bitmap.Config}, depending on the image. For example, for
617 * an opaque {@link Bitmap}, this may result in a {@link Bitmap.Config}
659 Bitmap bitmap = decodeBitmap(src, listener);
660 return new BitmapDrawable(src.getResources(), bitmap);
673 * Create a {@link Bitmap} from a {@code Source}.
680 * @return Bitmap containing the image.
685 public static Bitmap decodeBitmap(@NonNull Source src,
701 public static Bitmap decodeBitmap(@NonNull Source src) throws IOException {