Home
last modified time | relevance | path

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

12345

/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/
DScaledBitmapInfoTest.java14 private static final Bitmap B80x100 = Bitmap.createBitmap(80, 100, Bitmap.Config.RGB_565);
15 private static final Bitmap B960x1440 = Bitmap.createBitmap(960, 1440, Bitmap.Config.RGB_565);
/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/Launcher3/WallpaperPicker/src/com/android/launcher3/
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/Launcher2/src/com/android/launcher2/
DUtilities.java77 return Bitmap.createBitmap(icon, in createIconBitmap()
138 final Bitmap bitmap = Bitmap.createBitmap(textureWidth, textureHeight, in createIconBitmap()
222 final Bitmap disabled = Bitmap.createBitmap(bitmap.getWidth(), bitmap.getHeight(), in drawDisabledBitmap()
DHolographicViewHelper.java74 final Bitmap b = Bitmap.createBitmap( in createOriginalImage()
92 final Bitmap b = Bitmap.createBitmap( in createPressImage()
DWidgetPreviewLoader.java228 unusedBitmap = Bitmap.createBitmap(mPreviewBitmapWidth, mPreviewBitmapHeight, in getPreview()
505 defaultPreview = Bitmap.createBitmap(previewWidth, previewHeight, in generateWidgetPreview()
555 preview = Bitmap.createBitmap(previewWidth, previewHeight, Config.ARGB_8888); in generateWidgetPreview()
626 tempBitmap = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
652 preview = Bitmap.createBitmap(maxWidth, maxHeight, Config.ARGB_8888); in generateShortcutPreview()
/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/ContactsCommon/src/com/android/contacts/common/util/
DBitmapUtil.java105 Bitmap rotated = Bitmap.createBitmap( in getRotatedDrawable()
131 final Bitmap result = Bitmap.createBitmap(targetWidth, targetHeight, in getRoundedBitmap()
/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/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/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/src/com/android/managedprovisioning/
DLogoUtilsTest.java129 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in createSampleBitmap()
150 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); in bitmapFromDrawable()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java128 ? Bitmap.createBitmap(1, length, config) in getBorderLine()
129 : Bitmap.createBitmap(length, 1, config); in getBorderLine()
/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()
DCanvasTexture.java38 Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, mConfig); in onGetBitmap()
/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/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/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/services/Car/car-support-lib/src/android/support/car/app/menu/
DUtils.java28 Bitmap bitmap = Bitmap.createBitmap(metrics, width, height, Bitmap.Config.ARGB_8888); in snapshot()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DPictureDecoder.java52 return Bitmap.createBitmap( in decode()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java177 Bitmap result = Bitmap.createBitmap(dstWidth, dstHeight, src.getConfig()); in createScaledBitmap()
250 mOverlayBitmap = Bitmap.createBitmap( in drawData()
/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()

12345