/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
BitmapUtil.java | 68 * @return an exactly-sized decoded Bitmap that is center-cropped. 99 * so the entire cropped bitmap will fit inside the src. May return the input bitmap if no 161 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m, local 168 cropped.getWidth(), cropped.getHeight()); 169 if (DEBUG && (w != cropped.getWidth() || h != cropped.getHeight())) { 173 return cropped;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
CropObject.java | 263 RectF cropped = mBoundedRect.getInner(); local 265 float left = Math.abs(x - cropped.left); 266 float right = Math.abs(x - cropped.right); 267 float top = Math.abs(y - cropped.top); 268 float bottom = Math.abs(y - cropped.bottom); 272 if ((left <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) 273 && ((y - mTouchTolerance) <= cropped.bottom) && (left < right)) { 276 else if ((right <= mTouchTolerance) && ((y + mTouchTolerance) >= cropped.top) 277 && ((y - mTouchTolerance) <= cropped.bottom)) { 282 if ((top <= mTouchTolerance) && ((x + mTouchTolerance) >= cropped.left [all...] |
/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 | 196 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local 198 DCHECK_EQ(frame_width, cropped.width()); 199 DCHECK_EQ(frame_height, cropped.height()); 201 XcursorImage* x_image = SkBitmapToXcursorImage(&cropped, hotpoint);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
ImageBitmap.cpp | 30 SkBitmap cropped; local 31 image->nativeImageForCurrentFrame()->bitmap().extractSubset(&cropped, cropRect); 32 return BitmapImage::create(NativeImageSkia::create(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/ui/gfx/ |
skbitmap_operations_unittest.cc | 328 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap(src, 4, 4, local 330 ASSERT_EQ(8, cropped.width()); 331 ASSERT_EQ(8, cropped.height()); 334 SkAutoLockPixels cropped_lock(cropped); 338 *cropped.getAddr32(x - 4, y - 4)); 349 SkBitmap cropped = SkBitmapOperations::CreateTiledBitmap( local 351 ASSERT_EQ(src_w, cropped.width()); 352 ASSERT_EQ(src_h, cropped.height()); 355 SkAutoLockPixels cropped_lock(cropped); 359 *cropped.getAddr32((x + src_w / 2) % src_w [all...] |
skbitmap_operations.cc | 588 SkBitmap cropped; local 589 cropped.setConfig(SkBitmap::kARGB_8888_Config, dst_w, dst_h, 0); 590 cropped.allocPixels(); 591 cropped.eraseARGB(0, 0, 0, 0); 594 SkAutoLockPixels lock_cropped(cropped); 603 uint32* dst_row = cropped.getAddr32(0, y); 614 return 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/ |
RestrictedProfileSettings.java | 449 private void onPhotoCropped(final Uri data, final boolean cropped) { 453 if (cropped) {
|
/external/chromium_org/chrome/browser/resources/file_manager/js/media/ |
media_util.js | 63 * In percents (0.0 - 1.0), how much area can be cropped to fill an image 75 FILL: 0, // Fill whole box. Image may be cropped. 356 // Cropped area in percents.
|
/external/chromium_org/v8/src/ |
mirror-debugger.js | [all...] |
/external/v8/src/ |
mirror-debugger.js | [all...] |