Lines Matching refs:Bitmap
29 import android.graphics.Bitmap;
274 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
305 * If the EXTRA_OUTPUT is not present, then a small sized image is returned as a Bitmap
613 private static Bitmap getMiniThumbFromFile(
615 Bitmap bitmap = null;
670 * @param options this is only used for MINI_KIND when decoding the Bitmap
673 * @return Bitmap bitmap of specified thumbnail kind
675 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind,
677 Bitmap bitmap = null;
863 * Retrieves an image for the given url as a {@link Bitmap}.
870 public static final Bitmap getBitmap(ContentResolver cr, Uri url)
873 Bitmap bitmap = BitmapFactory.decodeStream(input);
893 Bitmap bm = BitmapFactory.decodeFile(imagePath);
905 private static final Bitmap StoreThumbnail(
907 Bitmap source,
919 Bitmap thumb = Bitmap.createBitmap(source, 0, 0,
935 thumb.compress(Bitmap.CompressFormat.JPEG, 100, thumbOut);
957 public static final String insertImage(ContentResolver cr, Bitmap source,
973 source.compress(Bitmap.CompressFormat.JPEG, 50, imageOut);
980 Bitmap miniThumb = Images.Thumbnails.getThumbnail(cr, id,
983 Bitmap microThumb = StoreThumbnail(cr, miniThumb, id, 50F, 50F,
1085 * @param options this is only used for MINI_KIND when decoding the Bitmap
1086 * @return A Bitmap instance. It could be null if the original image
1089 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
1117 * @param options this is only used for MINI_KIND when decoding the Bitmap
1118 * @return A Bitmap instance. It could be null if the original image
1121 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,
2142 * @param options this is only used for MINI_KIND when decoding the Bitmap
2143 * @return A Bitmap instance. It could be null if the original image
2146 public static Bitmap getThumbnail(ContentResolver cr, long origId, int kind,
2161 * @param options this is only used for MINI_KIND when decoding the Bitmap
2162 * @return A Bitmap instance. It could be null if the original image associated with
2165 public static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId,