/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/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(),
|
/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;
|
/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 | 587 SkBitmap cropped; local 588 cropped.setConfig(SkBitmap::kARGB_8888_Config, dst_w, dst_h, 0); 589 cropped.allocPixels(); 590 cropped.eraseARGB(0, 0, 0, 0); 593 SkAutoLockPixels lock_cropped(cropped); 602 uint32* dst_row = cropped.getAddr32(0, y); 613 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);
|
/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...] |
/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;
|
/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...] |