Home
last modified time | relevance | path

Searched refs:sourceBitmap (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetFragment.java267 Bitmap sourceBitmap = BitmapFactory.decodeStream(is); in createPaddedSourceImage() local
273 int size = previewSize ? getDisplaySize() : sourceBitmap.getWidth(); in createPaddedSourceImage()
274 sourceBitmap = createPaddedBitmap(sourceBitmap, xmp, size); in createPaddedSourceImage()
276 return sourceBitmap; in createPaddedSourceImage()
345 Bitmap sourceBitmap = createPaddedSourceImage(mSourceImageUri, false); in createFinalTinyPlanet() local
346 int width = sourceBitmap.getWidth(); in createFinalTinyPlanet()
347 int height = sourceBitmap.getHeight(); in createFinalTinyPlanet()
353 TinyPlanetNative.process(sourceBitmap, width, height, resultBitmap, in createFinalTinyPlanet()
358 sourceBitmap.recycle(); in createFinalTinyPlanet()
359 sourceBitmap = null; in createFinalTinyPlanet()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageRequest.java222 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/
DPhotoProcessorTest.java41 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap(); in testTransparency() local
43 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); in testTransparency()