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

1 2

  /gdk/samples/PhotoEditor/src/com/android/photoeditor/filters/
CropFilter.java 24 * Crop filter applied to the image.
40 dst.crop((int) (src.width() * bounds.left), (int) (src.height() * bounds.top),
  /frameworks/native/include/gui/
CpuConsumer.h 51 Rect crop; member in struct:android::CpuConsumer::LockedBuffer
ISurfaceTexture.h 92 const Rect& crop, int scalingMode, uint32_t transform,
94 : timestamp(timestamp), crop(crop), scalingMode(scalingMode),
100 *outCrop = crop;
116 Rect crop; member in struct:android::ISurfaceTexture::QueueBufferInput
  /gdk/samples/PhotoEditor/src/com/android/photoeditor/
Photo.java 71 public void crop(int left, int top, int width, int height) { method in class:Photo
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 41 BufferedImage crop = ImageUtils.cropBlank(image, null); local
42 assertNull(crop);
52 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
53 assertNull(crop);
63 BufferedImage crop = ImageUtils.cropBlank(image, null); local
64 assertNotNull(crop);
65 assertEquals(image.getWidth(), crop.getWidth());
66 assertEquals(image.getHeight(), crop.getHeight());
78 BufferedImage crop = ImageUtils.cropBlank(image, null); local
79 assertNotNull(crop);
95 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(0, 0, 100, 100)); local
112 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); local
127 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
138 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, null); local
153 BufferedImage crop = ImageUtils.cropColor(image, 0xFF00FF00, null); local
167 BufferedImage crop = ImageUtils.cropColor(image, 0xFFFF0000, new Rect(40, 40, 0, 0)); local
    [all...]
  /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/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterGeometry.java 73 RectF crop = mGeometry.getCropBounds(bitmap); local
74 if (crop.width() > 0 && crop.height() > 0)
75 crop.roundOut(cropBounds);
  /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);
  /frameworks/native/include/private/gui/
LayerState.h 61 crop.makeInvalid();
86 Rect crop; member in struct:android::layer_state_t
  /frameworks/native/libs/gui/tests/
SurfaceTextureClient_test.cpp 456 Rect crop = mST->getCurrentCrop(); local
457 EXPECT_EQ(0, crop.left);
458 EXPECT_EQ(0, crop.top);
459 EXPECT_EQ(4, crop.right);
460 EXPECT_EQ(4, crop.bottom);
585 android_native_rect_t crop; local
586 crop.left = 0;
587 crop.top = 0;
588 crop.right = 5;
589 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/
LayerBase.h 69 Rect crop; member in struct:android::LayerBase::Geometry
71 return (w==rhs.w && h==rhs.h && crop==rhs.crop);
116 bool setCrop(const Rect& crop);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageGeometry.java 247 Path crop = new Path(); local
248 crop.moveTo(points[0], points[1]);
249 crop.lineTo(points[2], points[3]);
250 crop.lineTo(points[4], points[5]);
251 crop.lineTo(points[6], points[7]);
252 crop.close();
253 canvas.drawPath(crop, paint);
254 return crop;
477 RectF crop = getLocalCropBounds(); local
479 float[] corners = getCornersFromRect(crop);
    [all...]
  /sdk/assetstudio/src/com/android/assetstudiolib/
LauncherIconGenerator.java 80 if (launcherOptions.crop) {
131 public boolean crop = true; field in class:LauncherIconGenerator.LauncherOptions
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizardState.java 88 public boolean crop; field in class:CreateAssetSetWizardState
  /frameworks/av/services/camera/libcameraservice/
CameraHardwareInterface.h 627 android_native_rect_t crop; local
628 crop.left = left;
629 crop.top = top;
630 crop.right = right;
631 crop.bottom = bottom;
632 return native_window_set_crop(a, &crop);
  /frameworks/base/cmds/bootanimation/
BootAnimation.cpp 119 GLint crop[4] = { 0, h, w, -h }; local
147 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
178 GLint crop[4] = { 0, h, w, -h }; local
212 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
  /hardware/libhardware/tests/camera2/
camera2_utils.cpp 552 android_native_rect_t crop = { left, top, right, bottom }; local
553 return native_window_set_crop(a, &crop);
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
ExynosVideoDecoder.c 750 struct v4l2_crop crop; local
765 memset(&crop, 0, sizeof(crop));
773 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
774 if (exynos_v4l2_g_crop(pCtx->hDec, &crop) != 0) {
782 bufferConf->cropRect.nTop = crop.c.top;
783 bufferConf->cropRect.nLeft = crop.c.left;
784 bufferConf->cropRect.nWidth = crop.c.width;
785 bufferConf->cropRect.nHeight = crop.c.height;
    [all...]
  /hardware/samsung_slsi/exynos5/libgscaler/
exynos_gsc_utils.h 116 struct v4l2_crop crop; member in struct:gsc_info
  /hardware/samsung_slsi/exynos5/librotator/
exynos_rotator.c 80 struct v4l2_crop crop; member in struct:rotator_info
461 // crop
463 info->crop.type = info->buf_type;
464 if (exynos_v4l2_g_crop(fd, &info->crop) < 0) {
469 if (info->crop_left != info->crop.c.left ||
470 info->crop_top != info->crop.c.top ||
471 info->crop_width != info->crop.c.width ||
472 info->crop_height != info->crop.c.height) {
473 ALOGV("%s::crop is different..", __func__);
493 ALOGV("%s::fmt, crop is same with old-one, so skip s_fmt crop..", __func__)
    [all...]
  /hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
OMX_JpegEncoder.c 1522 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local
    [all...]
  /hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
OMX_VPP.c 692 /* crop */
1507 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local
1643 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java 376 int[] crop = new int[4]; local
377 crop[0] = cropU;
378 crop[1] = cropV;
379 crop[2] = cropW;
380 crop[3] = cropH;
381 mCrop = crop;

Completed in 1614 milliseconds

1 2