Home
last modified time | relevance | path

Searched refs:originalBitmap (Results 1 – 6 of 6) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DThumbnailLoadTask.java140 final Bitmap originalBitmap = BitmapFactory.decodeFileDescriptor( in loadBitmap() local
142 if (originalBitmap != null && orientation != 0) { in loadBitmap()
145 return Bitmap.createBitmap(originalBitmap, 0, 0, originalBitmap.getWidth(), in loadBitmap()
146 originalBitmap.getHeight(), matrix, true); in loadBitmap()
148 return originalBitmap; in loadBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCacheProcessing.java131 public Bitmap process(Bitmap originalBitmap, in process() argument
136 return environment.getBitmapCopy(originalBitmap, BitmapCache.PREVIEW_CACHE_NO_FILTERS); in process()
193 cacheBitmap = environment.getBitmapCopy(originalBitmap, in process()
210 cacheBitmap = environment.getBitmapCopy(originalBitmap, in process()
216 + " got from original Bitmap: " + originalBitmap + " w: " in process()
217 + originalBitmap.getWidth() + " h: " + originalBitmap.getHeight()); in process()
DProcessingService.java74 public void setOriginalBitmap(Bitmap originalBitmap) { in setOriginalBitmap() argument
78 mUpdatePreviewTask.setOriginal(originalBitmap); in setOriginalBitmap()
79 mHighresRenderingRequestTask.setOriginal(originalBitmap); in setOriginalBitmap()
80 mFullresRenderingRequestTask.setOriginal(originalBitmap); in setOriginalBitmap()
81 mRenderingRequestTask.setOriginal(originalBitmap); in setOriginalBitmap()
DCachingPipeline.java189 Bitmap originalBitmap = mOriginalBitmap; in updateOriginalAllocation() local
191 if (originalBitmap == null) { in updateOriginalAllocation()
198 mFiltersOnlyOriginalAllocation = Allocation.createFromBitmap(RS, originalBitmap, in updateOriginalAllocation()
205 mResizedOriginalBitmap = preset.applyGeometry(originalBitmap, mEnvironment); in updateOriginalAllocation()
/packages/apps/Camera2/src/com/android/camera/widget/
DRoundedThumbnailView.java726 Bitmap originalBitmap = thumbnailBitmap; in setThumbnailBitmap() local
728 if (originalBitmap.getWidth() != originalBitmap.getHeight()) { in setThumbnailBitmap()
729 originalBitmap = cropCenterBitmap(originalBitmap); in setThumbnailBitmap()
732 precomputeThumbnailPaint(originalBitmap, rotation); in setThumbnailBitmap()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java671 final Bitmap originalBitmap = drawingCache.copy(Bitmap.Config.RGB_565, false); in getReducedSizeBitmap() local
672 double originalHeight = originalBitmap.getHeight(); in getReducedSizeBitmap()
673 double originalWidth = originalBitmap.getWidth(); in getReducedSizeBitmap()
682 return Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); in getReducedSizeBitmap()