/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...] |
/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;
|
/external/skia/src/core/ |
SkImageFilter.cpp | 64 SkIRect* cropped) const { 65 *cropped = imageBounds; 73 if (embiggen || devICropR.fLeft > cropped->fLeft) { 74 cropped->fLeft = devICropR.fLeft; 77 devICropR.fRight = cropped->fLeft + devICropR.width(); 80 if (embiggen || devICropR.fTop > cropped->fTop) { 81 cropped->fTop = devICropR.fTop; 84 devICropR.fBottom = cropped->fTop + devICropR.height(); 87 if (embiggen || devICropR.fRight < cropped->fRight) { 88 cropped->fRight = devICropR.fRight [all...] |
/external/skqp/src/core/ |
SkImageFilter.cpp | 64 SkIRect* cropped) const { 65 *cropped = imageBounds; 73 if (embiggen || devICropR.fLeft > cropped->fLeft) { 74 cropped->fLeft = devICropR.fLeft; 77 devICropR.fRight = cropped->fLeft + devICropR.width(); 80 if (embiggen || devICropR.fTop > cropped->fTop) { 81 cropped->fTop = devICropR.fTop; 84 devICropR.fBottom = cropped->fTop + devICropR.height(); 87 if (embiggen || devICropR.fRight < cropped->fRight) { 88 cropped->fRight = devICropR.fRight [all...] |
/external/skia/gm/ |
xfermodeimagefilter.cpp | 172 sk_sp<SkImageFilter> cropped(SkOffsetImageFilter::Make(0, 0, foreground, &cropRect)); 173 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, cropped, background, nullptr)); 181 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, cropped, nullptr)); 194 cropped, &cropRectFull));
|
/external/skqp/gm/ |
xfermodeimagefilter.cpp | 172 sk_sp<SkImageFilter> cropped(SkOffsetImageFilter::Make(0, 0, foreground, &cropRect)); 173 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, cropped, background, nullptr)); 181 paint.setImageFilter(SkXfermodeImageFilter::Make(mode, background, cropped, nullptr)); 194 cropped, &cropRectFull));
|
/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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PaletteControl.java | 1022 BufferedImage cropped; local [all...] |
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...] |
/external/strace/tests/ |
mq_sendrecv.c | 133 bool cropped) 145 if (cropped) 166 bool cropped) 180 if (cropped)
|
/external/strace/tests-m32/ |
mq_sendrecv.c | 133 bool cropped) 145 if (cropped) 166 bool cropped) 180 if (cropped)
|
/external/strace/tests-mx32/ |
mq_sendrecv.c | 133 bool cropped) 145 if (cropped) 166 bool cropped) 180 if (cropped)
|
/external/skia/bench/ |
BlurImageFilterBench.cpp | 28 // When 'cropped' is set we apply a cropRect to the blurImageFilter. The crop rect is an inset of 64 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, 67 , fIsCropped(cropped)
|
/external/skqp/bench/ |
BlurImageFilterBench.cpp | 28 // When 'cropped' is set we apply a cropRect to the blurImageFilter. The crop rect is an inset of 64 BlurImageFilterBench(SkScalar sigmaX, SkScalar sigmaY, bool small, bool cropped, 67 , fIsCropped(cropped)
|
/external/tensorflow/tensorflow/python/ops/ |
image_ops_impl.py | 695 cropped = array_ops.slice( 703 cropped.set_shape(cropped_shape) 706 cropped = array_ops.squeeze(cropped, squeeze_dims=[0]) 708 return cropped 734 Cropped and/or padded image. 798 cropped = crop_to_bounding_box(image, offset_crop_height, offset_crop_width, 803 resized = pad_to_bounding_box(cropped, offset_pad_height, offset_pad_width, [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
HardwareBitmapTests.java | 259 Bitmap cropped = Bitmap.createBitmap(hardwareBitmap, 7, 7, 30, 30); 260 assertEquals(Bitmap.Config.HARDWARE, cropped.getConfig()); 261 canvas.drawBitmap(cropped, 0, 0, null);
|
/external/skia/include/core/ |
SkImageFilter.h | 111 * Note: imageBounds is in "device" space, as the output cropped rectangle will be, 115 SkIRect* cropped) const;
|
/external/skqp/include/core/ |
SkImageFilter.h | 111 * Note: imageBounds is in "device" space, as the output cropped rectangle will be, 115 SkIRect* cropped) const;
|
/packages/apps/Settings/src/com/android/settings/users/ |
EditUserPhotoController.java | 284 private void onPhotoCropped(final Uri data, final boolean cropped) { 288 if (cropped) {
|
/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...] |
/external/autotest/client/cros/graphics/ |
graphics_utils.py | 545 cropped = image.crop(box) 546 cropped.save(fullpath) [all...] |
/external/ImageMagick/www/api/ |
layer.php | 146 <p>OptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the GIF animation.</p>
|
transform.php | 399 <p>Also if the crop generates a list of images only the first image is resized. And finally if the crop succeeds and the resize failed, you will get a cropped image, as well as a 'false' or 'failed' report.</p>
|
/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...] |
/external/tensorflow/tensorflow/go/op/ |
wrappers.go | [all...] |