/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 298 // crop this image and scale it down to the default wallpaper size for 304 RectF crop = getMaxCropRect( local 318 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 329 // Get the crop 341 // Get the crop 354 // ADJUST CROP WIDTH 355 // Extend the crop all the way to the right, for parallax 368 // ADJUST CROP HEIGHT 549 // Find crop bounds (scaled to original image size) 581 Log.w(LOGTAG, "crop has bad values for full size image") 608 Bitmap crop = null; local [all...] |
/frameworks/native/libs/gui/ |
BufferQueue.cpp | 474 Rect crop; local 482 input.deflate(×tamp, &isAutoTimestamp, &crop, &scalingMode, &transform, 535 ST_LOGV("queueBuffer: slot=%d/%llu time=%#llx crop=[%d,%d,%d,%d] " 538 crop.left, crop.top, crop.right, crop.bottom, 544 crop.intersect(bufferRect, &croppedCrop); 545 if (croppedCrop != crop) { 546 ST_LOGE("queueBuffer: crop rect is not contained within the [all...] |
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...] |
Surface.cpp | 280 // Make sure the crop rectangle is entirely inside the buffer. 281 Rect crop; local 282 mCrop.intersect(Rect(buffer->width, buffer->height), &crop); 287 crop, mScalingMode, mTransform, mSwapIntervalZero, fence);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_mdpcomp.cpp | 278 hwc_rect_t crop = layer->sourceCrop; local 283 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 286 int crop_w = crop.right - crop.left; 287 int crop_h = crop.bottom - crop.top; [all...] |
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/msm8974/libhwcomposer/ |
hwc_mdpcomp.cpp | 270 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 275 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 278 int crop_w = crop.right - crop.left; 279 int crop_h = crop.bottom - crop.top; 567 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 568 batchPixelCount += (crop.right - crop.left) * 569 (crop.bottom - crop.top) [all...] |
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...] |
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_mdpcomp.cpp | 273 hwc_rect_t crop = layer->sourceCrop; local 278 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 281 int crop_w = crop.right - crop.left; 282 int crop_h = crop.bottom - crop.top; [all...] |
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...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ |
ExynosVideoDecoder.c | 789 struct v4l2_crop crop; local 804 memset(&crop, 0, sizeof(crop)); 812 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 813 if (exynos_v4l2_g_crop(pCtx->hDec, &crop) != 0) { 821 bufferConf->cropRect.nTop = crop.c.top; 822 bufferConf->cropRect.nLeft = crop.c.left; 823 bufferConf->cropRect.nWidth = crop.c.width; 824 bufferConf->cropRect.nHeight = crop.c.height; [all...] |
/hardware/samsung_slsi/exynos5/libgscaler/ |
exynos_gscaler.c | 639 info->crop.type = info->buf_type; 640 info->crop.c.left = info->crop_left; 641 info->crop.c.top = info->crop_top; 642 info->crop.c.width = info->crop_width; 643 info->crop.c.height = info->crop_height; 645 if (exynos_v4l2_s_crop(fd, &info->crop) < 0) { 1386 struct v4l2_crop crop; local [all...] |
/packages/apps/Camera2/src/com/android/camera/crop/ |
SaveImage.java | 17 package com.android.camera.crop;
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Still.cpp | 1440 common_crop_t crop; local 1721 common_crop_t crop; local [all...] |
/device/lge/mako/camera/ |
QCameraHWI_Still.cpp | 1587 common_crop_t crop; local 1901 common_crop_t crop; local [all...] |
/frameworks/av/services/camera/libcameraservice/device2/ |
Camera2Device.cpp | 1333 android_native_rect_t crop = { left, top, right, bottom }; local [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 74 * <p>Input: {@link Intent#getData} is the URI of the image to crop and set as wallpaper. 75 * <p>Output: RESULT_OK if user decided to crop/set the wallpaper, RESULT_CANCEL otherwise 408 * @param horizontalAlignment A float value between 0 and 1 specifying where to crop the image; 410 * @param verticalAlignment A float value between 0 and 1 specifying where to crop the image; 471 Log.w(TAG, "crop has bad values for full size image"); 487 Bitmap crop = null; local 489 // Do region decoding to get crop bitmap 494 crop = decoder.decodeRegion(roundedTrueCrop, options); 498 if (crop == null) { 499 // BitmapRegionDecoder has failed, try to crop in-memor [all...] |
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 129 * crop off pixels that are blank (meaning they have an alpha value = 0). Note that 134 * crop to continue. This can be used to crop an image where you already 148 * crop off pixels that are blank (meaning they have an alpha value = 0). Note that 153 * crop to continue. This can be used to crop an image where you already 162 public boolean crop(BufferedImage bufferedImage, int x, int y) { 169 return crop(image, filter, initialCrop, imageType); 180 * crop to continue. This can be used to crop an image where you alread 231 boolean crop(BufferedImage image, int x, int y); method in interface:ImageUtils.CropFilter 234 private static BufferedImage crop(BufferedImage image, CropFilter filter, Rect initialCrop, method in class:ImageUtils [all...] |
/bionic/libc/kernel/common/video/ |
dsscomp.h | 210 struct dss2_rect_t crop; member in struct:dss2_ovl_cfg
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_interface2.h | 145 mm_camera_rect_t crop; member in union:__anon2359::__anon2360
|
/external/kernel-headers/original/video/ |
dsscomp.h | 286 * 1) 0 <= crop.x <= crop.x + crop.w <= width 287 * 2) 0 <= crop.y <= crop.y + crop.h <= height 301 * 2) Crop region will be adjusted to the pixel granularity: 303 * not modify the output region. Crop region is for the 330 struct dss2_rect_t crop; /* crop window - in source buffer * member in struct:dss2_ovl_cfg [all...] |
/external/qemu/tcg/ppc/ |
tcg-target.c | 1125 int crop, sh, arg; local 1193 crop = 0; 1199 crop = 0; 1205 crop = CRNOR | BT (7, CR_EQ) | BA (7, CR_LT) | BB (7, CR_LT); 1211 crop = CRNOR | BT (7, CR_EQ) | BA (7, CR_GT) | BB (7, CR_GT); 1214 if (crop) tcg_out32 (s, crop); [all...] |
/external/qemu/tcg/ppc64/ |
tcg-target.c | 1053 int crop, sh, arg; local 1128 crop = 0; 1134 crop = 0; 1140 crop = CRNOR | BT (7, CR_EQ) | BA (7, CR_LT) | BB (7, CR_LT); 1146 crop = CRNOR | BT (7, CR_EQ) | BA (7, CR_GT) | BB (7, CR_GT); 1149 if (crop) tcg_out32 (s, crop); [all...] |