Searched refs:sourceBitmap (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
D | TinyPlanetFragment.java | 269 Bitmap sourceBitmap = BitmapFactory.decodeStream(is); in createPaddedSourceImage() local 275 int size = previewSize ? getDisplaySize() : sourceBitmap.getWidth(); in createPaddedSourceImage() 276 sourceBitmap = createPaddedBitmap(sourceBitmap, xmp, size); in createPaddedSourceImage() 278 return sourceBitmap; in createPaddedSourceImage() 347 Bitmap sourceBitmap = createPaddedSourceImage(mSourceImageUri, false); in createFinalTinyPlanet() local 348 int width = sourceBitmap.getWidth(); in createFinalTinyPlanet() 349 int height = sourceBitmap.getHeight(); in createFinalTinyPlanet() 355 TinyPlanetNative.process(sourceBitmap, width, height, resultBitmap, in createFinalTinyPlanet() 360 sourceBitmap.recycle(); in createFinalTinyPlanet() 361 sourceBitmap = null; in createFinalTinyPlanet()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 222 final Bitmap sourceBitmap = loadedResource.getBitmap(); in postProcessOnBitmapResourceLoaded() local 225 final RectF source = new RectF(0, 0, sourceBitmap.getWidth(), sourceBitmap.getHeight()); in postProcessOnBitmapResourceLoaded() 228 ImageUtils.drawBitmapWithCircleOnCanvas(sourceBitmap, new Canvas(targetBitmap), source, in postProcessOnBitmapResourceLoaded()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoProcessorTest.java | 41 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap(); in testTransparency() local 43 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); in testTransparency()
|