Home
last modified time | relevance | path

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

1234567

/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/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/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/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/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java200 bitmap = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888); in drawableToBitmap()
202 bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(), in drawableToBitmap()
213 Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), in getRoundCroppedBitmap()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java32 Bitmap result = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createSoftwareBitmap()
46 return Bitmap.createBitmap(picture); in createHardwareBitmap()
/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/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/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/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/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()
/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/WallpaperPicker/src/com/android/wallpaperpicker/
DDrawableTileSource.java78 Bitmap b = Bitmap.createBitmap((int) width, (int) height, Bitmap.Config.ARGB_8888); in getPreview()
92 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java66 ? Bitmap.createBitmap(1, length, config) in getBorderLine()
67 : Bitmap.createBitmap(length, 1, config); in getBorderLine()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DBitmapUtil.java165 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, in crop()
203 Bitmap output = Bitmap.createBitmap(targetSize, targetSize, Bitmap.Config.ARGB_8888); in frameBitmapInCircle()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java350 Bitmap resultBitmap = Bitmap.createBitmap(outputSize, outputSize, in createFinalTinyPlanet()
403 mResultBitmap = Bitmap.createBitmap(mPreviewSizePx, mPreviewSizePx, in onSizeChanged()
467 paddedBitmap = Bitmap.createBitmap( in createPaddedBitmap()
/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLogoUtilsTest.java119 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createSampleBitmap()
140 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in bitmapFromDrawable()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java135 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
174 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java127 ? Bitmap.createBitmap(1, length, config) in getBorderLine()
128 : Bitmap.createBitmap(length, 1, config); in getBorderLine()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorHueView.java84 mBitmap = Bitmap.createBitmap(256, 2, Bitmap.Config.ARGB_8888); in ColorHueView()
196 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); in makeCheckPaint()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java49 Bitmap.createBitmap(imageViewDimensions.x, imageViewDimensions.y, Config.ARGB_8888); in getPlaceholderDrawable()
315 return Bitmap.createBitmap( in doInBackground()
DStreamableAsset.java289 bitmap = Bitmap.createBitmap( in doInBackground()
354 bitmap = Bitmap.createBitmap( in doInBackground()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java397 bitmap = Bitmap.createBitmap(width, bitmapHeight, Bitmap.Config.ARGB_8888); in combine()
406 bitmap = Bitmap.createBitmap(bitmapWidth, height, Bitmap.Config.ARGB_8888); in combine()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageDraw.java199 Bitmap bitmap = Bitmap.createBitmap(colors, 16, 16, Bitmap.Config.ARGB_8888); in makeCheckedPaint()
228 Bitmap result = Bitmap.createBitmap(dstWidth, dstHeight, src.getConfig()); in createScaledBitmap()

1234567