Searched refs:resultBitmap (Results 1 – 3 of 3) sorted by relevance
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | BitmapTransformer.java | 40 resultBitmap.eraseColor(Color.BLACK); in applyFillTransformation() 43 int horizontalOffset = (bitmap.getWidth() - resultBitmap.getWidth()) / 2; in applyFillTransformation() 44 int verticalOffset = (bitmap.getHeight() - resultBitmap.getHeight()) / 2; in applyFillTransformation() 50 int pixelArraySize = Math.min(resultBitmap.getWidth(), bitmap.getWidth()) in applyFillTransformation() 51 * Math.min(resultBitmap.getHeight(), bitmap.getHeight()); in applyFillTransformation() 61 Math.min(resultBitmap.getWidth(), bitmap.getWidth()) /* width */, in applyFillTransformation() 62 Math.min(resultBitmap.getHeight(), bitmap.getHeight()) /* height */); in applyFillTransformation() 65 resultBitmap.setPixels( in applyFillTransformation() 71 Math.min(resultBitmap.getWidth(), bitmap.getWidth()) /* width */, in applyFillTransformation() 72 Math.min(resultBitmap.getHeight(), bitmap.getHeight()) /* height */); in applyFillTransformation() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/policy/ |
H A D | DecorViewTest.java | 63 Bitmap resultBitmap = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); in setBackgroundDrawableSameAsSetWindowBackground() local 64 Canvas resCanvas = new Canvas(resultBitmap); in setBackgroundDrawableSameAsSetWindowBackground() 75 resultBitmap.getPixels(resPixels, 0, w, 0, 0, w, h); in setBackgroundDrawableSameAsSetWindowBackground()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
H A D | TinyPlanetFragment.java | 350 Bitmap resultBitmap = Bitmap.createBitmap(outputSize, outputSize, in createFinalTinyPlanet() local 353 TinyPlanetNative.process(sourceBitmap, width, height, resultBitmap, in createFinalTinyPlanet() 362 resultBitmap.compress(CompressFormat.JPEG, 100, jpeg); in createFinalTinyPlanet()
|