• Home
  • Raw
  • Download

Lines Matching refs:bitmap

559     public abstract void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes);  in cacheBitmap()  argument
623 Bitmap bitmap; field in ContactPhotoManagerImpl.BitmapHolder
950 cachedBitmap = holder.bitmap; in loadCachedPhoto()
988 holder.bitmap = null; in loadCachedPhoto()
997 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { in getDrawableForBitmap() argument
1000 RoundedBitmapDrawableFactory.create(resources, bitmap); in getDrawableForBitmap()
1002 drawable.setCornerRadius(bitmap.getHeight() / 2); in getDrawableForBitmap()
1005 return new BitmapDrawable(resources, bitmap); in getDrawableForBitmap()
1026 holder.bitmap = holder.bitmapRef.get(); in inflateBitmap()
1027 if (holder.bitmap != null) { in inflateBitmap()
1034 Bitmap bitmap = BitmapUtil.decodeBitmapFromBytes(bytes, sampleSize); in inflateBitmap() local
1040 final int height = bitmap.getHeight(); in inflateBitmap()
1041 final int width = bitmap.getWidth(); in inflateBitmap()
1048 bitmap = ThumbnailUtils.extractThumbnail(bitmap, dimension, dimension); in inflateBitmap()
1052 Bitmap original = bitmap; in inflateBitmap()
1053 bitmap = bitmap.copy(bitmap.getConfig(), true); in inflateBitmap()
1055 Canvas canvas = new Canvas(bitmap); in inflateBitmap()
1063 canvas.drawText(bitmap.getWidth() + "/" + sampleSize, 0, 15, paint); in inflateBitmap()
1067 holder.bitmap = bitmap; in inflateBitmap()
1068 holder.bitmapRef = new SoftReference<Bitmap>(bitmap); in inflateBitmap()
1071 + bitmap.getWidth() + "x" + bitmap.getHeight() in inflateBitmap()
1072 + ", " + btk(bitmap.getByteCount())); in inflateBitmap()
1175 holder.bitmap = null; in softenCache()
1221 public void cacheBitmap(Uri photoUri, Bitmap bitmap, byte[] photoBytes) { in cacheBitmap() argument
1222 final int smallerExtent = Math.min(bitmap.getWidth(), bitmap.getHeight()); in cacheBitmap()
1228 holder.bitmapRef = new SoftReference<Bitmap>(bitmap); in cacheBitmap()
1231 mBitmapCache.put(request.getKey(), bitmap); in cacheBitmap() local