Home
last modified time | relevance | path

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

12345678910>>...12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java37 Bitmap bitmap = createSampleBitmap(20, 30); in testPartiallyResizedBitmap() local
51 Bitmap bitmap = createSampleBitmap(8, 32); in testPartiallyResizedElongatedBitmap() local
65 Bitmap bitmap = createSampleBitmap(16, 32); in testResizeBitmapKeepRatio() local
74 Bitmap bitmap = createSampleBitmap(16, 32); in testResizeBitmapNoScalingNeeded() local
84 Bitmap bitmap = createSampleBitmap(15, 15); in testResizeBitmapNoIntegerRatio() local
92 Bitmap bitmap = createSampleBitmap(7, 5); in testSaveGetOrganisationLogo() local
119 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createSampleBitmap() local
140 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in bitmapFromDrawable() local
148 private File writeBitmapToTempFile(Bitmap bitmap) throws Exception { in writeBitmapToTempFile()
DUriBitmap.java34 private UriBitmap(Bitmap bitmap, Uri uri, File tempFile) { in UriBitmap()
52 Bitmap bitmap = generateSampleBitmap(); in createSimpleInstance() local
59 Bitmap bitmap = Bitmap.createBitmap(15, 15, Bitmap.Config.ARGB_8888); in generateSampleBitmap() local
68 private static Uri bitmapToUri(Bitmap bitmap, File tempFile) throws IOException { in bitmapToUri()
/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.java116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale()
130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig()
139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength()
148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter()
169 public static void recycleSilently(Bitmap bitmap) { in recycleSilently()
184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap() local
207 Bitmap bitmap = BitmapFactory.decodeByteArray(data, 0, data.length); in createVideoThumbnail() local
237 public static byte[] compressToBytes(Bitmap bitmap) { in compressToBytes()
241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java55 Bitmap bitmap; field in BitmapCache.BitmapTracking
61 private void track(Bitmap bitmap, int type) { in track()
75 private void untrack(Bitmap bitmap) { in untrack()
125 Bitmap bitmap = buffer.getBitmap(); in cache() local
129 public synchronized boolean cache(Bitmap bitmap) { in cache()
185 Bitmap bitmap = null; in getBitmap() local
207 Bitmap bitmap = getBitmap(source.getWidth(), source.getHeight(), type); in getBitmapCopy() local
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DRecycleBitmapPool.java61 public static int getSize(Bitmap bitmap) { in getSize()
84 public void addRecycledBitmap(Bitmap bitmap) { in addRecycledBitmap()
118 Bitmap bitmap = getRecycledBitmap(mRecycled8888.get(key)); in getRecycledBitmap() local
144 Bitmap bitmap = ref.get(); in getRecycledBitmap() local
DBitmapDownloader.java64 public BitmapItem(Bitmap bitmap, boolean scaled) { in BitmapItem()
87 public abstract void onBitmapRetrieved(Bitmap bitmap); in onBitmapRetrieved()
127 Bitmap bitmap = null; in loadBitmapBlocking() local
157 Bitmap bitmap = null; in loadBitmap() local
190 final Bitmap bitmap = hasAccountImageUri ? null : getBitmapFromMemCache(options); in getBitmap() local
257 private void addBitmapToMemoryCache(BitmapWorkerOptions key, Bitmap bitmap, boolean isScaled) { in addBitmapToMemoryCache()
287 Bitmap bitmap = bitmapItem.mBitmap; in getBitmapFromMemCache() local
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DBitmapWithMetadata.java28 public Bitmap bitmap; field in BitmapWithMetadata
31 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/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DBitmapTexture.java31 public BitmapTexture(Bitmap bitmap) { in BitmapTexture()
38 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
DUploadedTexture.java63 Bitmap bitmap = sBorderLines.get(key); in getBorderLine() local
105 protected abstract void onFreeBitmap(Bitmap bitmap); in onFreeBitmap()
129 Bitmap bitmap = getBitmap(); in updateContent() local
139 Bitmap bitmap = getBitmap(); in uploadToCanvas() local
/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/pipeline/
DBuffer.java34 public Buffer(Bitmap bitmap) { in Buffer()
48 public boolean isSameSize(Bitmap bitmap) { in isSameSize()
59 public synchronized void useBitmap(Bitmap bitmap) { in useBitmap()
DCachingPipeline.java177 public void setOriginal(Bitmap bitmap) { in setOriginal()
222 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderHighres() local
247 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderGeometry() local
269 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderFilters() local
301 Bitmap bitmap = request.getBitmap(); in render() local
397 public synchronized Bitmap renderFinalImage(Bitmap bitmap, ImagePreset preset) { in renderFinalImage()
412 public Bitmap renderGeometryIcon(Bitmap bitmap, ImagePreset preset) { in renderGeometryIcon()
444 public boolean prepareRenderscriptAllocations(Bitmap bitmap) { in prepareRenderscriptAllocations()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterRS.java50 protected void update(Bitmap bitmap) { in update()
111 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply()
154 protected static Allocation convertBitmap(RenderScript RS, Bitmap bitmap) { in convertBitmap()
160 private static Allocation convertRGBAtoA(RenderScript RS, Bitmap bitmap) { in convertRGBAtoA()
187 Bitmap bitmap = BitmapFactory.decodeResource( in loadScaledResourceAlpha() local
199 Bitmap bitmap = BitmapFactory.decodeResource( in loadScaledResourceAlpha() local
217 Bitmap bitmap = BitmapFactory.decodeResource( in loadResource() local
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()
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()
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()
DImageFilterContrast.java45 native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float strength); in nativeApplyFilter()
48 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()
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()
/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()

12345678910>>...12