HomeSort by relevance Sort by last modified time
    Searched defs:crop (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 42 BufferedImage crop = ImageUtils.cropBlank(image, null); local
43 assertNull(crop);
53 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
54 assertNull(crop);
64 BufferedImage crop = ImageUtils.cropBlank(image, null); local
65 assertNotNull(crop);
66 assertEquals(image.getWidth(), crop.getWidth());
67 assertEquals(image.getHeight(), crop.getHeight());
79 BufferedImage crop = ImageUtils.cropBlank(image, null); local
80 assertNotNull(crop);
96 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(0, 0, 100, 100)); local
113 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
128 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
139 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, null); local
154 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
168 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, new Rect(40, 40, 0, 0)); local
    [all...]
  /frameworks/native/include/gui/
CpuConsumer.h 52 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
IGraphicBufferProducer.h 112 const Rect& crop, int scalingMode, uint32_t transform, bool async,
114 : timestamp(timestamp), isAutoTimestamp(isAutoTimestamp), crop(crop),
122 *outCrop = crop;
138 Rect crop; member in struct:android::IGraphicBufferProducer::QueueBufferInput
  /external/replicaisland/src/com/replica/replicaisland/
MotionBlurComponent.java 35 public int[] crop = new int[4]; field in class:MotionBlurComponent.BlurRecord
77 mHistory[mCurrentStep].crop[0] = drawableCrop[0];
78 mHistory[mCurrentStep].crop[1] = drawableCrop[1];
79 mHistory[mCurrentStep].crop[2] = drawableCrop[2];
80 mHistory[mCurrentStep].crop[3] = drawableCrop[3];
100 stepImage.setCrop(record.crop[0], record.crop[1], record.crop[2], -record.crop[3]);
  /packages/apps/Gallery2/jni/filters/
geometry.c 116 __inline__ void crop(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, int dstHeight, int offsetWidth, int offsetHeight){ function
160 crop(source, srcWidth, srcHeight, destination, dstWidth, dstHeight, offsetWidth, offsetHeight);
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
BitmapUtil.java 36 * Does not crop to fit the hinted dimensions.
63 * Also applies a center-crop a la {@link android.widget.ImageView.ScaleType#CENTER_CROP}.
76 LogUtils.w(PhotoManager.TAG, t, "unable to crop image");
82 * Returns a new Bitmap copy with a center-crop effect a la
93 return crop(src, w, h, 0.5f, 0.5f);
97 * Returns a new Bitmap copy with a crop effect depending on the crop anchor given. 0.5f is like
98 * {@link android.widget.ImageView.ScaleType#CENTER_CROP}. The crop anchor will be be nudged
118 * @param horizontalCenterPercent determines which part of the src to crop from. Range from 0
121 * @param verticalCenterPercent determines which part of the src to crop from. Range from
127 public static Bitmap crop(final Bitmap src, final int w, final int h, method in class:BitmapUtil
    [all...]
  /packages/apps/Camera2/src/com/android/camera/crop/
CropObject.java 17 package com.android.camera.crop;
190 RectF crop = mBoundedRect.getInner(); local
203 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
206 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
209 dx = Math.max(crop.right + dX, crop.left + minWidthHeight
    [all...]
CropView.java 17 package com.android.camera.crop;
115 RectF crop = mCropObj.getInnerBounds(); local
117 if (crop != newCropBounds || containing != newPhotoBounds
188 Log.w(LOGTAG, "crop reset called");
301 // If crop object doesn't exist, create it and update it from master
357 // Draw crop rect and markers
CropDrawingUtils.java 17 package com.android.camera.crop;
CropExtras.java 17 package com.android.camera.crop;
CropMath.java 17 package com.android.camera.crop;
211 * @param photoBounds original bounds containing crop bounds
212 * @param displayBounds final bounds for crop
213 * @return the stretched/scaled/translated crop bounds that fit within displayBounds
GeometryMathUtils.java 17 package com.android.camera.crop;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropObject.java 17 package com.android.gallery3d.filtershow.crop;
192 RectF crop = mBoundedRect.getInner(); local
205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left;
208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top;
211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight
    [all...]
CropView.java 17 package com.android.gallery3d.filtershow.crop;
116 RectF crop = mCropObj.getInnerBounds(); local
118 if (crop != newCropBounds || containing != newPhotoBounds
189 Log.w(LOGTAG, "crop reset called");
302 // If crop object doesn't exist, create it and update it from master
358 // Draw crop rect and markers
CropDrawingUtils.java 17 package com.android.gallery3d.filtershow.crop;
CropExtras.java 17 package com.android.gallery3d.filtershow.crop;
CropMath.java 17 package com.android.gallery3d.filtershow.crop;
213 * @param photoBounds original bounds containing crop bounds
214 * @param displayBounds final bounds for crop
215 * @return the stretched/scaled/translated crop bounds that fit within displayBounds
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestRenderer.java 105 int crop[] = new int[] { 0, 0, 4, 4 }; local
108 GL11Ext.GL_TEXTURE_CROP_RECT_OES, crop, 0);
  /device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
mm_qcamera_display.c 178 common_crop_t *crop = (common_crop_t *) (frame->cropinfo); local
204 if (crop->in2_w != 0 || crop->in2_h != 0) {
206 e->src_rect.x = (crop->out2_w - crop->in2_w + 1) / 2 - 1;
208 e->src_rect.y = (crop->out2_h - crop->in2_h + 1) / 2 - 1;
210 e->src_rect.w = crop->in2_w;
211 e->src_rect.h = crop->in2_h;
460 int v4l2_render(int frame_fd, struct v4l2_buffer *vb, struct v4l2_crop *crop)
517 common_crop_t *crop; local
    [all...]
  /device/lge/mako/camera/mm-camera-interface/
mm_camera_stream.c 230 struct v4l2_crop crop; local
232 memset(&crop, 0, sizeof(crop));
233 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
234 rc = ioctl(stream->fd, VIDIOC_G_CROP, &crop);
237 val->left = crop.c.left;
238 val->top = crop.c.top;
239 val->width = crop.c.width;
240 val->height = crop.c.height;
  /frameworks/native/include/private/gui/
LayerState.h 60 crop.makeInvalid();
85 Rect crop; member in struct:android::layer_state_t
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 485 Rect crop = mST->getCurrentCrop(); local
486 EXPECT_EQ(0, crop.left);
487 EXPECT_EQ(0, crop.top);
488 EXPECT_EQ(4, crop.right);
489 EXPECT_EQ(4, crop.bottom);
613 android_native_rect_t crop; local
614 crop.left = 0;
615 crop.top = 0;
616 crop.right = 5;
617 crop.bottom = 5
    [all...]
  /frameworks/native/opengl/tests/gl_yuvtex/
gl_yuvtex.cpp 151 GLint crop[4] = { 0, 0, yuvTexWidth, yuvTexHeight }; local
152 glTexParameteriv(GL_TEXTURE_EXTERNAL_OES, GL_TEXTURE_CROP_RECT_OES, crop);
  /frameworks/native/services/surfaceflinger/DisplayHardware/
VirtualDisplaySurface.cpp 405 Rect crop; local
409 input.deflate(&timestamp, &isAutoTimestamp, &crop, &scalingMode,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
FilterCropRepresentation.java 29 public static final String SERIALIZATION_NAME = "CROP";
37 public FilterCropRepresentation(RectF crop) {
44 setTextId(R.string.crop);
46 setCrop(crop);
67 FilterCropRepresentation crop = (FilterCropRepresentation) rep; local
68 if (mCrop.bottom != crop.mCrop.bottom
69 || mCrop.left != crop.mCrop.left
70 || mCrop.right != crop.mCrop.right
71 || mCrop.top != crop.mCrop.top) {
85 public void setCrop(RectF crop) {
    [all...]

Completed in 2799 milliseconds

1 2 3 4