/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 67 * @return an exactly-sized decoded Bitmap that is center-cropped. 98 * so the entire cropped bitmap will fit inside the src. May return the input bitmap if no 160 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, local 167 cropped.getWidth(), cropped.getHeight()); 168 if (DEBUG && (w != cropped.getWidth() || h != cropped.getHeight())) { 172 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...] |
/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/base/cursor/ |
cursor_loader_x11.cc | 198 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local 200 DCHECK_EQ(frame_width, cropped.width()); 201 DCHECK_EQ(frame_height, cropped.height()); 203 XcursorImage* x_image = SkBitmapToXcursorImage(&cropped, hotpoint);
|
/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/ui/gfx/ |
skbitmap_operations_unittest.cc | 327 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap(src, 4, 4, local 329 ASSERT_EQ(8, cropped.width()); 330 ASSERT_EQ(8, cropped.height()); 333 SkAutoLockPixels cropped_lock(cropped); 337 *cropped.getAddr32(x - 4, y - 4)); 348 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local 350 ASSERT_EQ(src_w, cropped.width()); 351 ASSERT_EQ(src_h, cropped.height()); 354 SkAutoLockPixels cropped_lock(cropped); 358 *cropped.getAddr32((x + src_w / 2) % src_w [all...] |
skbitmap_operations.cc | 576 SkBitmap cropped; local 577 cropped.allocN32Pixels(dst_w, dst_h); 578 cropped.eraseARGB(0, 0, 0, 0); 581 SkAutoLockPixels lock_cropped(cropped); 590 uint32* dst_row = cropped.getAddr32(0, y); 601 return 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/file_manager/foreground/js/media/ |
media_util.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...] |