/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...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 303 // crop this image and scale it down to the default wallpaper size for 309 RectF crop = getMaxCropRect( local 323 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 335 // Get the crop 346 // Get the crop 368 // ADJUST CROP WIDTH 369 // Extend the crop all the way to the right, for parallax 392 // ADJUST CROP HEIGHT 573 // Find crop bounds (scaled to original image size) 606 Log.w(LOGTAG, "crop has bad values for full size image") 633 Bitmap crop = null; local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 310 // crop this image and scale it down to the default wallpaper size for 316 RectF crop = getMaxCropRect( local 330 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 342 // Get the crop 353 // Get the crop 366 // ADJUST CROP WIDTH 367 // Extend the crop all the way to the right, for parallax 390 // ADJUST CROP HEIGHT 571 // Find crop bounds (scaled to original image size) 604 Log.w(LOGTAG, "crop has bad values for full size image") 631 Bitmap crop = null; local [all...] |
/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...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
webrtctexturevideoframe.h | 88 size_t width, size_t height, bool interpolate, bool crop) const; 90 bool interpolate, bool crop) const; 92 bool crop) const; 94 bool crop) const;
|
/external/chromium_org/third_party/skia/include/effects/ |
SkPictureImageFilter.h | 22 * Refs the passed-in picture. rect can be used to crop or expand the destination rect when
|
SkRectShaderImageFilter.h | 25 * If NULL or a given crop edge is not specified, the source
|
/external/skia/include/effects/ |
SkPictureImageFilter.h | 22 * Refs the passed-in picture. rect can be used to crop or expand the destination rect when
|
/hardware/samsung_slsi/exynos5/include/ |
exynos_rotator.h | 79 * image left crop size[in] 82 * image top crop size[in] 125 * image left crop size[in] 128 * image top crop size[in]
|
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);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
Wallpaper.java | 31 import com.android.gallery3d.filtershow.crop.CropActivity; 32 import com.android.gallery3d.filtershow.crop.CropExtras; 111 // ignored; fallthru to existing crop activity 113 // ignored; fallthru to existing crop activity
|
/hardware/samsung_slsi/exynos5/libv4l2/ |
exynos_v4l2.c | 607 int exynos_v4l2_cropcap(int fd, struct v4l2_cropcap *crop) 618 if (!crop) { 619 ALOGE("%s: crop is NULL", __func__); 623 if (__v4l2_check_buf_type(crop->type) == false) { 628 ret = ioctl(fd, VIDIOC_CROPCAP, crop); 639 int exynos_v4l2_g_crop(int fd, struct v4l2_crop *crop) 650 if (!crop) { 651 ALOGE("%s: crop is NULL", __func__); 655 if (__v4l2_check_buf_type(crop->type) == false) { 660 ret = ioctl(fd, VIDIOC_G_CROP, crop); [all...] |
/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;
|
/frameworks/native/include/private/gui/ |
LayerState.h | 60 crop.makeInvalid(); 85 Rect crop; member in struct:android::layer_state_t
|
/frameworks/native/libs/gui/ |
LayerState.cpp | 40 output.write(crop); 60 input.read(crop);
|
GLConsumer.cpp | 115 static bool isEglImageCroppable(const Rect& crop) { 116 return hasEglAndroidImageCrop() && (crop.left == 0 && crop.top == 0); 318 // different crop rect, so we'll need to recreate the EGLImage if 624 Rect crop; local 807 // crop rectangle we may need to shrink it by 2 texels in each 810 // are subsampled we may need to shrink the crop region by a whole 844 float crop[16] = { local 851 mtxMul(mtxBeforeFlipV, crop, xform); 878 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) { [all...] |
/hardware/qcom/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;
|
/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/omap4xxx/hwc/ |
hwc.c | 219 c->width, c->height, c->crop.x, c->crop.y, 220 c->crop.w, c->crop.h, 444 oc->crop.w = oc->win.w = width; 445 oc->crop.h = oc->win.h = height; 483 /* crop */ 484 oc->crop.x = layer->sourceCrop.left; 485 oc->crop.y = layer->sourceCrop.top; 486 oc->crop.w = WIDTH(layer->sourceCrop) 597 } crop, win; local [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 502 // Source crop measurements 541 testPrintI(" HScale Best Source Crop: %s", 556 testPrintI(" VScale Best Source Crop: %s", 910 // Source crop minimum width 916 // Source crop frame min width 926 testPrintE("Failed to locate source crop min width"); 930 // Source crop minimum height 945 testPrintE("Failed to locate source crop min height"); 949 // Source crop maximum width 964 testPrintE("Failed to locate source crop max width") [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 72 * <p>Input: {@link Intent#getData} is the URI of the image to crop and set as wallpaper. 73 * <p>Output: RESULT_OK if user decided to crop/set the wallpaper, RESULT_CANCEL otherwise 404 * @param horizontalAlignment A float value between 0 and 1 specifying where to crop the image; 406 * @param verticalAlignment A float value between 0 and 1 specifying where to crop the image; 467 Log.w(TAG, "crop has bad values for full size image"); 483 Bitmap crop = null; local 485 // Do region decoding to get crop bitmap 490 crop = decoder.decodeRegion(roundedTrueCrop, options); 494 if (crop == null) { 495 // BitmapRegionDecoder has failed, try to crop in-memor [all...] |
/system/core/include/system/ |
window.h | 322 /* the window is clipped to the size of the buffer's crop rectangle; pixels 323 * outside the crop rectangle are treated as if they are completely 618 * native_window_set_crop(..., crop) 620 * Depending on the scaling mode, a buffer's crop region is scaled and/or 621 * cropped to match the surface's size. This function sets the crop in 624 * The specified crop region applies to all buffers queued after it is called. 626 * If 'crop' is NULL, subsequently queued buffers won't be cropped. 628 * An error is returned if for instance the crop region is invalid, out of the 633 android_native_rect_t const * crop) 635 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); [all...] |
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 824 if ((p_thumb_dim->crop.width == 0) || (p_thumb_dim->crop.height == 0)) { 825 p_thumb_dim->crop.width = p_thumb_dim->src_dim.width; 826 p_thumb_dim->crop.height = p_thumb_dim->src_dim.height; 829 /* check crop boundary */ 830 if ((p_thumb_dim->crop.width + p_thumb_dim->crop.left > p_thumb_dim->src_dim.width) || 831 (p_thumb_dim->crop.height + p_thumb_dim->crop.top > p_thumb_dim->src_dim.height)) { 832 CDBG_ERROR("%s:%d] invalid crop boundary (%d, %d) offset (%d, %d) out of (%d, %d)" [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
mm_jpeg.c | 824 if ((p_thumb_dim->crop.width == 0) || (p_thumb_dim->crop.height == 0)) { 825 p_thumb_dim->crop.width = p_thumb_dim->src_dim.width; 826 p_thumb_dim->crop.height = p_thumb_dim->src_dim.height; 829 /* check crop boundary */ 830 if ((p_thumb_dim->crop.width + p_thumb_dim->crop.left > p_thumb_dim->src_dim.width) || 831 (p_thumb_dim->crop.height + p_thumb_dim->crop.top > p_thumb_dim->src_dim.height)) { 832 CDBG_ERROR("%s:%d] invalid crop boundary (%d, %d) offset (%d, %d) out of (%d, %d)" [all...] |
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
change_picture_options.html | 12 <div id="user-image-stream-crop">
|