Home
last modified time | relevance | path

Searched refs:createBitmap (Results 1 – 25 of 177) sorted by relevance

12345678

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java37 Bitmap result = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createSoftwareBitmap()
52 return Bitmap.createBitmap(picture); in createHardwareBitmap()
59 static Bitmap createBitmap(Bitmap source, int x, int y, int width, int height) { in createBitmap() method
65 return Bitmap.createBitmap(source, x, y, width, height); in createBitmap()
DBaseIconFactory.java139 Bitmap placeholderBitmap = Bitmap.createBitmap(mIconBitmapSize, mIconBitmapSize, in createIconBitmap()
221 getShadowGenerator().recreateIcon(Bitmap.createBitmap(bitmap), mCanvas); in createBadgedIconBitmap()
245 Bitmap bitmap = Bitmap.createBitmap( in getUserBadgeBitmap()
354 Bitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); in createIconBitmap()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DDrawableUtil.java48 bitmap = createBitmap(drawable, in createBitmapFromDrawable()
55 private static Bitmap createBitmap(Drawable drawable, int width, int height) { in createBitmap() method in DrawableUtil
56 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap()
/packages/apps/Dialer/java/com/android/dialer/util/
DDrawableConverter.java58 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in drawableToBitmap()
61 bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in drawableToBitmap()
64 Bitmap.createBitmap( in drawableToBitmap()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/icons/
DCachingTargetDataLoaderTest.kt100 callback.accept(BitmapDrawable(createBitmap())) in serviceShortcutsAreCached()
117 private fun createBitmap() = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888) method
/packages/apps/Contacts/src/com/android/contacts/util/
DBitmapUtil.java105 Bitmap rotated = Bitmap.createBitmap( in getRotatedDrawable()
131 final Bitmap result = Bitmap.createBitmap(targetWidth, targetHeight, in getRoundedBitmap()
174 Bitmap.createBitmap(avatarSizePx, avatarSizePx, Bitmap.Config.ARGB_8888); in drawableToBitmap()
/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>()
74 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>()
92 val bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8) in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/util/
DBitmapResizer.java51 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true); in resizeForEnrichedCalling()
70 return Bitmap.createBitmap(image, 0, 0, width, height, matrix, true); in resizeForEnrichedCalling()
/packages/apps/DevCamera/src/com/android/devcamera/
DBitmapUtility.java54 Bitmap b = Bitmap.createBitmap(colors, w, h, Bitmap.Config.ARGB_8888); in bitmapFromYuvImage()
65 Bitmap b2 = Bitmap.createBitmap(b, 0, 0,b.getWidth(),b.getHeight(), mat, true); in rotatedBitmap()
/packages/apps/TV/tests/unit/src/com/android/tv/util/images/
DScaledBitmapInfoTest.java31 private static final Bitmap B80x100 = Bitmap.createBitmap(80, 100, Bitmap.Config.RGB_565);
32 private static final Bitmap B960x1440 = Bitmap.createBitmap(960, 1440, Bitmap.Config.RGB_565);
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DYuvImageBackendImageSaver.java139 final Bitmap bitmap = Bitmap.createBitmap(payload.data, in onResultUncompressed()
145 final Bitmap bitmapIntermediate = Bitmap.createBitmap(payload.data, in onResultUncompressed()
150 final Bitmap bitmapIntermediateRotated = Bitmap.createBitmap( in onResultUncompressed()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java70 Bitmap b2 = Bitmap.createBitmap( in rotate()
165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight, in transform()
214 b1 = Bitmap.createBitmap(source, 0, 0, in transform()
227 Bitmap b2 = Bitmap.createBitmap( in transform()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBitmapPool.java307 b = createBitmap(width, height); in createOrReuseBitmap()
318 private Bitmap createBitmap(final int width, final int height) { in createBitmap() method in BitmapPool
319 return Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createBitmap()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter()
184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); in rotateBitmap()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java121 bitmap = Bitmap.createBitmap( in decodeBitmap()
148 bitmap = Bitmap.createBitmap(bitmap, 0, 0, bitmap.getWidth(), in decodeBitmap()
261 bitmap = Bitmap.createBitmap( in runDecodeBitmapRegionTask()
DLiveWallpaperThumbAsset.java119 bitmap = Bitmap.createBitmap(thumb.getIntrinsicWidth(), in decodeBitmap()
147 bitmap = Bitmap.createBitmap(thumb.getIntrinsicWidth(), in decodeBitmap()
247 bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), in getLowResBitmap()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ui/
DUserAvatarViewTest.java61 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in setAvatar()
71 Bitmap bitmap = Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888); in setAvatarWithBadge_success()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DCallStreamingNotification.java306 bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in drawableToBitmap()
309 bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in drawableToBitmap()
312 Bitmap.createBitmap( in drawableToBitmap()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DImageUtils.java105 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail()
125 final Bitmap thumb = Bitmap.createBitmap(mIconWidth, mIconHeight, c); in createIconThumbnail()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DMonochromeIconFactory.java69 mFlatBitmap = Bitmap.createBitmap(mBitmapSize, mBitmapSize, Config.ARGB_8888); in MonochromeIconFactory()
72 mAlphaBitmap = Bitmap.createBitmap(mBitmapSize, mBitmapSize, Config.ALPHA_8); in MonochromeIconFactory()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java113 bitmap = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTile()
172 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
/packages/apps/Launcher3/tests/src/com/android/launcher3/compat/
DTaplPromiseIconUiTest.java104 Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8)); in testPromiseIcon_addedFromEligibleSession()
146 Bitmap.createBitmap(100, 100, Bitmap.Config.ALPHA_8)); in testPromiseIcon_addedArchivedApp()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java494 mFakeImageLoader.setBitmap(uri, createBitmap()); in visiblePreviewTitleAndThumbnail()
760 mFakeImageLoader.setBitmap(uri, createBitmap()); in testFilePlusTextSharing_ExcludeText()
801 mFakeImageLoader.setBitmap(uri, createBitmap()); in testFilePlusTextSharing_RemoveAndAddBackText()
848 mFakeImageLoader.setBitmap(uri, createBitmap()); in testFilePlusTextSharing_TextExclusionDoesNotAffectAlternativeIntent()
985 mFakeImageLoader.setBitmap(uri, createBitmap()); in testEditImageLogs()
1064 mFakeImageLoader.setBitmap(uri, createBitmap()); in testSlowUriMetadata_fallbackToFilePreview()
1090 mFakeImageLoader.setBitmap(imageUri, createBitmap()); in testSendManyFilesWithSmallMetadataDelayAndOneImage_fallbackToFilePreviewUi()
1122 mFakeImageLoader.setBitmap(uri, createBitmap()); in testManyVisibleImagePreview_ScrollableImagePreview()
1207 mFakeImageLoader.setBitmap(uri, createBitmap()); in testImageAndTextPreview()
1236 mFakeImageLoader.setBitmap(uri, createBitmap()); in test_shareImageWithRichText_RichTextIsDisplayed()
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java172 mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8); in SimpleIconFactory()
220 recreateIcon(Bitmap.createBitmap(bitmap), mCanvas); in createUserBadgedIconBitmap()
278 recreateIcon(Bitmap.createBitmap(bitmap), mCanvas); in createAppBadgedIconBitmap()
296 final Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), in maskBitmapToCircle()
343 Bitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888); in createIconBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java452 Bitmap tmp = Bitmap.createBitmap(ret, 0, 0, ret.getWidth(), in doInBackground()
505 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in doInBackground()
526 Bitmap tmp = Bitmap.createBitmap((int) returnRect.width(), in doInBackground()
536 Bitmap tmp = Bitmap.createBitmap(crop, 0, 0, crop.getWidth(), in doInBackground()
625 return Bitmap.createBitmap(image, intCrop.left, intCrop.top, intCrop.width(), in getCroppedImage()

12345678