Lines Matching full:bitmap
26 import android.graphics.Bitmap;
75 private Bitmap.CompressFormat mOutputFormat = Bitmap.CompressFormat.JPEG; // only
98 private Bitmap mBitmap;
199 Bitmap bitmap = null;
201 bitmap = UriTexture.createFromUri(context, contentUri, 1024, 1024, 0, null);
207 if (bitmap != null) {
208 result.putExtra("data", bitmap);
244 mOutputFormat = Bitmap.CompressFormat.valueOf(outputFormatString);
247 mBitmap = (Bitmap) extras.getParcelable("data");
288 Log.e(TAG, "Cannot load bitmap, exiting.");
322 final Bitmap b = mBitmap;
350 // bitmap doesn't have to be read into memory
367 Bitmap croppedImage = Bitmap.createBitmap(width, height, mCircleCrop ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565);
391 Bitmap old = croppedImage;
406 Bitmap b = Bitmap.createBitmap(mOutputX, mOutputY, Bitmap.Config.RGB_565);
421 bitmap in the center.
424 // Set the cropped bitmap as the new bitmap.
438 final Bitmap b = croppedImage;
448 private void saveOutput(Bitmap croppedImage) {
615 private Bitmap prepareBitmap() {
627 Bitmap faceBitmap = Bitmap.createBitmap(mBitmap, 0, 0, mBitmap.getWidth(), mBitmap.getHeight(), matrix, true);
633 Bitmap faceBitmap = prepareBitmap();