Home
last modified time | relevance | path

Searched defs:bitmap (Results 1 – 25 of 197) sorted by relevance

12345678

/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DBitmapTexture.java31 public BitmapTexture(Bitmap bitmap) { in BitmapTexture()
35 public BitmapTexture(Bitmap bitmap, boolean hasBorder) { in BitmapTexture()
42 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
DCanvasTexture.java38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig); in onGetBitmap() local
45 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
DUploadedTexture.java124 Bitmap bitmap = sBorderLines.get(key); in getBorderLine() local
129 sBorderLines.put(key.clone(), bitmap); in getBorderLine() local
166 protected abstract void onFreeBitmap(Bitmap bitmap); in onFreeBitmap()
193 Bitmap bitmap = getBitmap(); in updateContent() local
212 Bitmap bitmap = getBitmap(); in uploadToCanvas() local
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java117 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale()
131 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig()
140 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength()
149 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter()
170 public static void recycleSilently(Bitmap bitmap) { in recycleSilently()
185 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap() local
208 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); in createVideoThumbnail() local
238 public static byte[] compressToBytes(Bitmap bitmap) { in compressToBytes()
242 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DBitmapWithMetadata.java22 public Bitmap bitmap; field in BitmapWithMetadata
25 public BitmapWithMetadata(Bitmap bitmap, int rotationDegrees) { in BitmapWithMetadata()
/packages/apps/Tag/src/com/android/apps/tag/record/
DImageRecord.java42 private ImageRecord(Bitmap bitmap) { in ImageRecord()
62 Bitmap bitmap = BitmapFactory.decodeByteArray(content, 0, content.length); in parse() local
78 public static NdefRecord newImageRecord(Bitmap bitmap) { in newImageRecord()
/packages/apps/Mms/src/com/android/mms/util/
DThumbnailManager.java250 Bitmap bitmap = null; in run() local
331 Bitmap bitmap = requestDecode(data.mData, in getBitmap() local
338 Bitmap bitmap; in getBitmap() local
376 private byte[] compressBitmap(Bitmap bitmap) { in compressBitmap()
393 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength()
403 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale()
417 private Bitmap.Config getConfig(Bitmap bitmap) { in getConfig()
428 private Bitmap ensureGLCompatibleBitmap(Bitmap bitmap) { in ensureGLCompatibleBitmap()
513 Bitmap bitmap, int targetSize, boolean recycle) { in resizeDownIfTooBig()
528 public ImageLoaded(Bitmap bitmap, boolean isVideo) { in ImageLoaded()
/packages/apps/Gallery2/src/com/android/photos/data/
DMediaCacheUtils.java86 Bitmap bitmap = DecodeUtils.decodeThumbnail(sJobStub, inBitmap.getPath(), options, size, in downsample() local
116 Bitmap bitmap = BitmapUtils.createVideoThumbnail(inVideo.getPath()); in extractImageFromVideo() local
120 public static boolean needsDownsample(Bitmap bitmap, MediaSize size) { in needsDownsample()
129 public static boolean writeAndRecycle(Bitmap bitmap, File outBitmap) { in writeAndRecycle()
135 public static boolean writeToFile(Bitmap bitmap, File outBitmap) { in writeToFile()
/packages/apps/Gallery/src/com/android/camera/
DRotateBitmap.java27 public RotateBitmap(Bitmap bitmap) { in RotateBitmap()
32 public RotateBitmap(Bitmap bitmap, int rotation) { in RotateBitmap()
49 public void setBitmap(Bitmap bitmap) { in setBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterRS.java49 protected void update(Bitmap bitmap) { in update()
100 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
144 protected static Allocation convertBitmap(Bitmap bitmap) { in convertBitmap()
150 private static Allocation convertRGBAtoA(Bitmap bitmap) { in convertRGBAtoA()
180 Bitmap bitmap = BitmapFactory.decodeResource( in loadScaledResourceAlpha() local
193 Bitmap bitmap = BitmapFactory.decodeResource( in loadScaledResourceAlpha() local
211 Bitmap bitmap = BitmapFactory.decodeResource( in loadResource() local
DImageFilterNegative.java26 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h); in nativeApplyFilter()
34 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterEdge.java39 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float p); in nativeApplyFilter()
42 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterExposure.java43 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float bright); in nativeApplyFilter()
46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterContrast.java44 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float strength); in nativeApplyFilter()
47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterShadows.java44 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float factor); in nativeApplyFilter()
47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterVibrance.java43 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float bright); in nativeApplyFilter()
46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterHue.java46 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float []matrix); in nativeApplyFilter()
49 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterSaturated.java44 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float saturation); in nativeApplyFilter()
47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterWBalance.java49 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, int locX, int locY); in nativeApplyFilter()
52 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
DImageFilterBwFilter.java43 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, int r, int g, int b); in nativeApplyFilter()
46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DCachingPipeline.java182 public void setOriginal(Bitmap bitmap) { in setOriginal()
243 Bitmap bitmap = request.getBitmap(); in render() local
325 public synchronized Bitmap renderFinalImage(Bitmap bitmap, ImagePreset preset) { in renderFinalImage()
340 public Bitmap renderGeometryIcon(Bitmap bitmap, ImagePreset preset) { in renderGeometryIcon()
372 Bitmap bitmap = buffer.getProducer(); in compute() local
418 public boolean prepareRenderscriptAllocations(Bitmap bitmap) { in prepareRenderscriptAllocations()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java59 public Thumbnail(Uri uri, Bitmap bitmap, int orientation) { in Thumbnail()
81 private static Bitmap rotateImage(Bitmap bitmap, int orientation) { in rotateImage()
129 Bitmap bitmap = null; in loadFrom() local
252 Bitmap bitmap = BitmapFactory.decodeByteArray(jpeg, 0, jpeg.length, options); in createThumbnail() local
265 Bitmap bitmap = null; in createVideoThumbnail() local
299 private static Thumbnail createThumbnail(Uri uri, Bitmap bitmap, int orientation) { in createThumbnail()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetUtils.java48 Bitmap bitmap = image.requestImage(MediaItem.TYPE_THUMBNAIL) in createWidgetBitmap() local
57 public static Bitmap createWidgetBitmap(Bitmap bitmap, int rotation) { in createWidgetBitmap()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DImageCaptureIntentTest.java66 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); in testNoExtraOutput() local
119 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); in testRetake() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheRequest.java61 Bitmap bitmap; in run() local
77 Bitmap bitmap = onDecodeOriginal(jc, mType); in run() local

12345678