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

1 2 3 4 5 6 7 8

  /external/replicaisland/src/com/replica/replicaisland/
OpenGLSystem.java 61 public static final void setTextureCrop(int[] crop) {
63 cropSignature = (crop[0] + crop[1]) << 16;
64 cropSignature |= crop[2] + crop[3];
68 crop, 0);
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/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...]
  /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...]
  /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...]
  /frameworks/native/opengl/tests/finish/
finish.cpp 105 GLint crop[4] = { 0, 512, 512, -512 };
106 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
119 GLint crop[4] = { 0, 1, 1, -1 };
120 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
133 GLint crop[4] = { 0, 512, 512, -512 };
134 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
148 GLint crop[4] = { 0, 1, 1, -1 };
149 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
165 GLint crop[4] = { 0, 512, 512, -512 };
166 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop);
    [all...]
  /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...]
  /hardware/qcom/display/msm8974/libhwcomposer/
hwc_utils.cpp 505 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
508 int& crop_l = crop.left;
509 int& crop_t = crop.top;
510 int& crop_r = crop.right;
511 int& crop_b = crop.bottom;
512 int crop_w = crop.right - crop.left;
513 int crop_h = crop.bottom - crop.top;
739 hwc_rect_t& crop, hwc_rect_t& dst)
891 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
983 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
    [all...]
hwc_ad.h 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
  /frameworks/native/services/surfaceflinger/
Layer.cpp 98 mCurrentState.active.crop.makeInvalid();
239 // this is the crop rectangle that applies to the buffer
241 Rect crop; local
243 // if the buffer crop is defined, we use that
244 crop = mCurrentCrop;
247 crop = mActiveBuffer->getBounds();
249 // if we don't have a buffer yet, we use an empty/invalid crop
250 crop.makeInvalid();
252 return crop;
268 if (!s.active.crop.isEmpty())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMathUtils.java 51 public RectF crop = FilterCropRepresentation.getNil(); field in class:GeometryMathUtils.GeometryHolder
57 crop.set(h.crop);
64 crop = FilterCropRepresentation.getNil();
71 crop.equals(FilterCropRepresentation.getNil()) &&
85 ((crop == null && h.crop == null) || (crop != null && crop.equals(h.crop))) &
305 RectF crop = getTrueCropRect(holder, width, height); local
314 RectF crop = getTrueCropRect(holder, width, height); local
406 RectF crop = new RectF(); local
471 RectF crop = getTrueCropRect(holder, bitmapWidth, bitmapHeight); local
    [all...]
ImageCrop.java 32 import com.android.gallery3d.filtershow.crop.CropDrawingUtils;
33 import com.android.gallery3d.filtershow.crop.CropMath;
34 import com.android.gallery3d.filtershow.crop.CropObject;
88 public void setFilterCropRepresentation(FilterCropRepresentation crop) {
89 mLocalRep = (crop == null) ? new FilterCropRepresentation() : crop;
98 private void internallyUpdateLocalRep(RectF crop, RectF image) {
100 .findNormalizedCrop(crop, (int) image.width(), (int) image.height());
101 mGeometry.crop.set(crop);
    [all...]
  /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...]
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoframe.h 119 // take the nearest-point. The parameter "crop" controls whether to crop this
144 // take the nearest-point. The parameter "crop" controls whether to crop this
148 size_t width, size_t height, bool interpolate, bool crop) const;
155 // nearest-point. The parameter "crop" controls whether to crop this frame to
158 bool interpolate, bool crop) const;
162 // take the nearest-point. The parameter "crop" controls whether to crop thi
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
webrtctexturevideoframe.h 95 size_t width, size_t height, bool interpolate, bool crop) const;
97 bool interpolate, bool crop) const;
99 bool crop) const;
101 bool crop) const;
  /system/core/libpixelflinger/
raster.cpp 146 GGLint gglBitBlit(GGLContext* con, int tmu, GGLint crop[4], GGLint where[4])
168 const GGLint Wcr = crop[2];
169 const GGLint Hcr = crop[3];
173 const GGLint Ucr = crop[0];
174 const GGLint Vcr = crop[1];
190 const GGLint Ucr = crop[0] << 16;
191 const GGLint Vcr = crop[1] << 16;
192 const GGLint Wcr = crop[2] << 16;
193 const GGLint Hcr = crop[3] << 16;
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_utils.cpp 544 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
547 int& crop_l = crop.left;
548 int& crop_t = crop.top;
549 int& crop_r = crop.right;
550 int& crop_b = crop.bottom;
551 int crop_w = crop.right - crop.left;
552 int crop_h = crop.bottom - crop.top;
772 hwc_rect_t& crop, hwc_rect_t& dst)
938 hwc_rect_t crop = layer->sourceCrop; local
1019 hwc_rect_t crop = layer->sourceCrop; local
    [all...]
  /hardware/qcom/display/msm8x26/libhwcomposer/
hwc_utils.cpp 504 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
507 int& crop_l = crop.left;
508 int& crop_t = crop.top;
509 int& crop_r = crop.right;
510 int& crop_b = crop.bottom;
511 int crop_w = crop.right - crop.left;
512 int crop_h = crop.bottom - crop.top;
733 hwc_rect_t& crop, hwc_rect_t& dst)
898 hwc_rect_t crop = layer->sourceCrop; local
965 hwc_rect_t crop = layer->sourceCrop; local
    [all...]
  /frameworks/native/include/gui/
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
  /hardware/samsung_slsi/exynos5/include/
exynos_v4l2.h 80 int exynos_v4l2_cropcap(int fd, struct v4l2_cropcap *crop);
82 int exynos_v4l2_g_crop(int fd, struct v4l2_crop *crop);
84 int exynos_v4l2_s_crop(int fd, struct v4l2_crop *crop);
112 int exynos_subdev_g_crop(int fd, struct v4l2_subdev_crop *crop);
114 int exynos_subdev_s_crop(int fd, struct v4l2_subdev_crop *crop);
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/
SoftAVC.cpp 232 bool SoftAVC::handleCropRectEvent(const CropParams *crop) {
233 if (mCropLeft != crop->cropLeftOffset ||
234 mCropTop != crop->cropTopOffset ||
235 mCropWidth != crop->cropOutWidth ||
236 mCropHeight != crop->cropOutHeight) {
237 mCropLeft = crop->cropLeftOffset;
238 mCropTop = crop->cropTopOffset;
239 mCropWidth = crop->cropOutWidth;
240 mCropHeight = crop->cropOutHeight;
SoftAVC.h 78 bool handleCropRectEvent(const CropParams* crop);
  /device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpeg_test.c 238 p_job_params->main_dim.crop.top = 0;
239 p_job_params->main_dim.crop.left = 0;
240 p_job_params->main_dim.crop.width = p_obj->width;
241 p_job_params->main_dim.crop.height = p_obj->height;
248 p_job_params->thumb_dim.crop.top = 0;
249 p_job_params->thumb_dim.crop.left = 0;
250 p_job_params->thumb_dim.crop.width = p_obj->width;
251 p_job_params->thumb_dim.crop.height = p_obj->height;
  /external/chromium/third_party/libjingle/source/talk/session/phone/
mediachannel.h 299 // take the nearest-point. The parameter "crop" controls whether to crop this
304 bool interpolate, bool crop) const = 0;
311 // nearest-point. The parameter "crop" controls whether to crop this frame to
314 bool interpolate, bool crop) const = 0;
318 // take the nearest-point. The parameter "crop" controls whether to crop this
321 bool crop) const = 0;
325 // just take the nearest-point. The parameter "crop" controls whether to cro
    [all...]
  /frameworks/native/include/private/gui/
LayerState.h 60 crop.makeInvalid();
85 Rect crop; member in struct:android::layer_state_t

Completed in 735 milliseconds

1 2 3 4 5 6 7 8