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

  /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/chromium_org/ui/base/cursor/
cursor_util.cc 101 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local
103 DCHECK_EQ(frame_width, cropped.width());
104 DCHECK_EQ(frame_height, cropped.height());
106 (*bitmaps)[frame] = cropped;
  /external/chromium_org/remoting/base/
compound_buffer_unittest.cc 60 CompoundBuffer cropped; local
61 cropped.CopyFrom(target_, 0, target_.total_bytes());
62 cropped.CropFront(pos);
63 EXPECT_TRUE(CompareData(cropped, data_->data() + pos,
68 CompoundBuffer cropped; local
69 cropped.CopyFrom(target_, 0, target_.total_bytes());
70 cropped.CropBack(pos);
71 EXPECT_TRUE(CompareData(cropped, data_->data(),
  /external/chromium_org/ui/gfx/
skbitmap_operations_unittest.cc 317 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap(src, 4, 4, local
319 ASSERT_EQ(8, cropped.width());
320 ASSERT_EQ(8, cropped.height());
323 SkAutoLockPixels cropped_lock(cropped);
327 *cropped.getAddr32(x - 4, y - 4));
338 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local
340 ASSERT_EQ(src_w, cropped.width());
341 ASSERT_EQ(src_h, cropped.height());
344 SkAutoLockPixels cropped_lock(cropped);
348 *cropped.getAddr32((x + src_w / 2) % src_w
    [all...]
skbitmap_operations.cc 543 SkBitmap cropped; local
544 cropped.allocN32Pixels(dst_w, dst_h);
547 SkAutoLockPixels lock_cropped(cropped);
556 uint32* dst_row = cropped.getAddr32(0, y);
567 return cropped;
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CropFilter.java 134 Bitmap cropped = Bitmap.createBitmap(outDims[0], outDims[1], config); local
135 Canvas canvas = new Canvas(cropped);
144 outputImage.setBitmap(cropped);
  /external/chromium_org/third_party/WebKit/Source/core/frame/
ImageBitmap.cpp 33 SkBitmap cropped;
34 image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, intersectRect);
35 return BitmapImage::create(NativeImageSkia::create(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...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 345 Bitmap cropped = Bitmap.createBitmap(rect.width(), rect.height(), local
347 Canvas canvas = new Canvas(cropped);
350 return cropped;
  /packages/apps/Settings/src/com/android/settings/users/
EditUserPhotoController.java 241 private void onPhotoCropped(final Uri data, final boolean cropped) {
245 if (cropped) {
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
viewport.js 511 * Obtains CSS transformation that makes the cropped image fit the original
512 * image. The new cropped image that the transformation is applied to fits to
513 * the cropped rectangle in the original image.
  /external/chromium_org/ui/file_manager/file_manager/foreground/js/
thumbnail_loader.js 76 * In percents (0.0 - 1.0), how much area can be cropped to fill an image
88 FILL: 0, // Fill whole box. Image may be cropped.
382 // Cropped area in percents.
  /external/chromium_org/v8/src/
mirror-debugger.js     [all...]

Completed in 869 milliseconds