Home
last modified time | relevance | path

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

12345678910>>...14

/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageTest.java55 Bitmap bitmap = BitmapFactory.decodeStream(expectedInputStream); in testParseImage_200by200() local
69 Bitmap bitmap = BitmapFactory.decodeStream(expectedInputStream); in testParseImage_600by600() local
79 Bitmap bitmap = BitmapFactory.decodeStream(imageInputStream); in testMakeFromImage_200by200() local
89 Bitmap bitmap = BitmapFactory.decodeStream(imageInputStream); in testMakeFromImage_600by600() local
/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/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()
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
DCanvasTexture.java38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig); in onGetBitmap() local
45 protected void onFreeBitmap(Bitmap bitmap) { in onFreeBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java119 public void setOriginal(Bitmap bitmap) { in setOriginal()
146 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderHighres() local
168 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderGeometry() local
187 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderFilters() local
216 Bitmap bitmap = request.getBitmap(); in render() local
297 public synchronized Bitmap renderFinalImage(Bitmap bitmap, ImagePreset preset) { in renderFinalImage()
309 public Bitmap renderGeometryIcon(Bitmap bitmap, ImagePreset preset) { in renderGeometryIcon()
DBuffer.java30 public Buffer(Bitmap bitmap) { in Buffer()
37 public boolean isSameSize(Bitmap bitmap) { in isSameSize()
48 public synchronized void useBitmap(Bitmap bitmap) { in useBitmap()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DImageActionUtils.java99 Bitmap bitmap = bitmapSupplier.get(); in shareImage() local
136 Bitmap bitmap = bitmapSupplier.get(); in startShareActivity() local
152 Bitmap bitmap = bitmapSupplier.get(); in startShareActivity() local
166 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
177 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
201 public static void persistBitmapAndStartActivity(Context context, Bitmap bitmap, Rect crop, in persistBitmapAndStartActivity()
232 public static Uri getImageUri(Bitmap bitmap, Rect crop, Context context, String tag) { in getImageUri()
258 public static Bitmap cropBitmap(Bitmap bitmap, Rect crop) { in cropBitmap()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractorTest.kt44 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
74 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
92 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>() constant
/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/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/ingest/data/
DBitmapWithMetadata.java28 public Bitmap bitmap; field in BitmapWithMetadata
31 public BitmapWithMetadata(Bitmap bitmap, int rotationDegrees) { in BitmapWithMetadata()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DIconFactory.java117 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in createAdaptiveIcon() local
132 Bitmap bitmap = BitmapFactory.decodeStream(inputStream); in createFlatIcon() local
142 private Drawable createCircularDrawable(@NonNull Bitmap bitmap) { in createCircularDrawable()
/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/UniversalMediaPlayer/java/com/android/pump/util/
DBitmapCache.java35 void put(@NonNull Uri key, @NonNull Bitmap bitmap) { in put()
53 protected int sizeOf(@NonNull Uri key, @NonNull Bitmap bitmap) { in sizeOf()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DDrawableUtil.java42 Bitmap bitmap; in createBitmapFromDrawable() local
56 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap() local
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
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()
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()
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()
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()
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()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/
DGetContributorAppInfoUseCaseTest.kt77 val bitmap = in <lambda>() constant
106 val bitmap = in <lambda>() constant

12345678910>>...14