HomeSort by relevance Sort by last modified time
    Searched defs:cropped (Results 1 - 9 of 9) sorted by null

  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CropFilter.java 133 Bitmap cropped = Bitmap.createBitmap(outDims[0], outDims[1], config); local
134 Canvas canvas = new Canvas(cropped);
143 outputImage.setBitmap(cropped);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
BitmapUtil.java 72 * @return an exactly-sized decoded Bitmap that is center-cropped.
103 * so the entire cropped bitmap will fit inside the src. May return the input bitmap if no
165 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, local
172 cropped.getWidth(), cropped.getHeight());
173 if (DEBUG && (w != cropped.getWidth() || h != cropped.getHeight())) {
177 return cropped;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropObject.java 265 RectF cropped = mBoundedRect.getInner(); local
267 float left = Math.abs(x - cropped.left);
268 float right = Math.abs(x - cropped.right);
269 float top = Math.abs(y - cropped.top);
270 float bottom = Math.abs(y - cropped.bottom);
274 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
275 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) {
278 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top)
279 && ((y - mTouchTolerance) <= cropped.bottom)) {
284 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtils.java 128 * Crops blank pixels from the edges of the image and returns the cropped result. We
132 * @param image the image to be cropped
136 * @return a cropped version of the source image, or null if the whole image was blank
147 * Crops blank pixels from the edges of the image and returns the cropped result. We
151 * @param image the image to be cropped
156 * @return a cropped version of the source image, or null if the whole image was blank
173 * Crops pixels of a given color from the edges of the image and returns the cropped
176 * @param image the image to be cropped
182 * @return a cropped version of the source image, or null if the whole image was blank
194 * Crops pixels of a given color from the edges of the image and returns the cropped
329 BufferedImage cropped = new BufferedImage(width, height, imageType); local
    [all...]
PaletteControl.java 1022 BufferedImage cropped; local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 659 Bitmap cropped = Bitmap.createBitmap(rect.width(), rect.height(), local
661 Canvas canvas = new Canvas(cropped);
664 return cropped;
    [all...]
  /frameworks/base/services/core/java/com/android/server/wallpaper/
WallpaperManagerService.java 617 * Once a new wallpaper has been written via setWallpaper(...), it needs to be cropped
712 Slog.v(TAG, "Downsampling cropped rect with scale " + scale);
717 Bitmap cropped = decoder.decodeRegion(cropHint, scaler); local
720 if (cropped == null) {
734 final Bitmap finalCrop = Bitmap.createScaledBitmap(cropped,
    [all...]
  /prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-0.jar 
android-all-o-preview-4-robolectric-0.jar 

Completed in 300 milliseconds