/hardware/qcom/display/msm8909w_3100/sdm/include/private/ |
resource_interface.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst,
|
/hardware/qcom/display/msm8996/sdm/include/private/ |
resource_interface.h | 52 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst,
|
/hardware/qcom/display/msm8998/sdm/include/private/ |
resource_interface.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
JpegImageBackendImageSaver.java | 172 ImageBackend imageBackend, Rect crop) { 176 mCrop = crop; 189 ImageBackend imageBackend, Executor executor, Rect crop) { 193 mCrop = crop;
|
YuvImageBackendImageSaver.java | 176 * @param crop the crop to apply. Note that crop must be done *before* any 180 ImageBackend imageBackend, Rect crop) { 183 mCrop = crop; 192 * @param crop the crop to apply. Note that crop must be done *before* any 198 ImageBackend imageBackend, Rect crop, Executor executor) { 201 mCrop = crop; [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 76 "crop", &cropLeftNew, &cropTopNew, &cropRightNew, &cropBottomNew)) { 213 android_native_rect_t crop; local 214 crop.left = mCropLeft; 215 crop.top = mCropTop; 216 crop.right = mCropRight + 1; 217 crop.bottom = mCropBottom + 1; 218 ALOGV("setting crop: [%d, %d, %d, %d] for size [%zu, %zu]", 219 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight) [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlayMdssRot.cpp | 99 void MdssRot::setCrop(const utils::Dim& crop) { 100 mRotInfo.src_rect.x = crop.x; 101 mRotInfo.src_rect.y = crop.y; 102 mRotInfo.src_rect.w = crop.w; 103 mRotInfo.src_rect.h = crop.h; 134 // For interlaced, crop.h should be 4-aligned
|
/cts/tests/tests/media/src/android/media/cts/ |
ImageReaderDecoderTest.java | 630 Rect crop = image.getCropRect(); local 645 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); 649 area.offset(crop.left, crop.top); 650 area.intersect(crop); 668 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); 753 Rect crop = image.getCropRect(); local 755 int width = crop.width() [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 330 // crop this image and scale it down to the default wallpaper size for 336 RectF crop = getMaxCropRect( local 347 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); 359 // Get the crop 370 // Get the crop 392 // ADJUST CROP WIDTH 393 // Extend the crop all the way to the right, for parallax 416 // ADJUST CROP HEIGHT 596 // Find crop bounds (scaled to original image size) 629 Log.w(LOGTAG, "crop has bad values for full size image") 656 Bitmap crop = null; local [all...] |
/device/google/marlin/camera/QCamera2/HAL/ |
QCameraChannel.cpp | 482 * crop information 483 * @crop_info : crop info as a result of zoom operation [all...] |
/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.cc | 93 // Crop/Format setting could live across session. 98 v4l2_crop crop; local 99 memset(&crop, 0, sizeof(crop)); 101 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 102 crop.c = cropcap.defrect; 103 SetCrop(&crop); 909 bool V4L2Device::GetCrop(v4l2_crop* crop) { 910 if (-1 == DoIoctl(VIDIOC_G_CROP, crop)) { 914 printf("crop: %d, %d, %d, %d\n" [all...] |
/hardware/google/av/codec2/vndk/ |
C2Buffer.cpp | 788 * For blocks' Impl's crop is always the allotted crop, even if it is a sub block. 790 * For views' Impl's crop is the mapped portion - which for now is always the 791 * allotted crop. 796 * Impl's crop is always the or part of the allotted crop of the allocation. 849 const C2Rect crop = mImpl->crop(); local 853 crop, 864 // adjust data pointers to the crop region's top left corner [all...] |
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
WallpaperCropActivity.java | 280 RectF crop = Utils.getMaxCropRect(src.getImageWidth(), src.getImageHeight(), local 282 mCropView.setScale(req.scaleAndOffsetProvider.getScale(wallpaperSize, crop)); 283 mCropView.setParallaxOffset(req.scaleAndOffsetProvider.getParallaxOffset(), crop); local 334 // crop this image and scale it down to the default wallpaper size for 340 RectF crop = Utils.getMaxCropRect( local 347 streamProvider, this, crop, streamProvider.getRotationFromExif(this), 356 // Get the crop 367 // Get the crop 389 // ADJUST CROP WIDTH 390 // Extend the crop all the way to the right, for paralla [all...] |
/frameworks/native/libs/gui/ |
BufferHubProducer.cpp | 258 Rect crop(Rect::EMPTY_RECT); 263 input.deflate(×tamp, &is_auto_timestamp, &dataspace, &crop, &scaling_mode, &transform, 308 // Check input crop is not out of boundary of current buffer. 311 crop.intersect(buffer_rect, &cropped_rect); 312 if (cropped_rect != crop) { 313 ALOGE("queueBuffer: slot %d has out-of-boundary crop.", slot); 323 meta_data.crop_left = crop.left; 324 meta_data.crop_top = crop.top; 325 meta_data.crop_right = crop.right; 326 meta_data.crop_bottom = crop.bottom [all...] |
LayerState.cpp | 40 output.write(crop); 75 input.read(crop); 199 crop = other.crop;
|
/frameworks/native/libs/gui/include/gui/ |
BufferQueueCore.h | 320 : crop(_crop), 326 Rect crop; member in struct:android::BufferQueueCore::SharedBufferCache
|
GLConsumer.h | 141 // Scale the crop down horizontally or vertically such that it has the 143 static Rect scaleDownCrop(const Rect& crop, uint32_t bufferWidth, uint32_t bufferHeight); 306 // one yet, or the EGLDisplay or crop-rect has changed). 327 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop); 342 // mCropRect is the crop rectangle passed to EGL when mEglImage 385 // mCurrentCrop is the crop rectangle that applies to the current texture.
|
LayerState.h | 73 reserved(0), crop(Rect::INVALID_RECT), 104 Rect crop; member in struct:android::layer_state_t
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_utils.h | 181 const hwc_rect_t& crop, const hwc_rect_t& dst, 306 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 416 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags, 420 const ovutils::eTransform& orient, const hwc_rect_t& crop, 429 hwc_rect_t& crop, overlay::Rotator *rot); 431 bool isZoomModeEnabled(hwc_rect_t crop); 432 void updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy); 434 void updateCoordinates(hwc_context_t *ctx, hwc_rect_t& 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
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
BitmapUtil.java | 40 * Does not crop to fit the hinted dimensions. 67 * Also applies a center-crop a la {@link android.widget.ImageView.ScaleType#CENTER_CROP}. 80 LogUtils.w(TAG, t, "BitmapUtils unable to crop image"); 86 * Returns a new Bitmap copy with a center-crop effect a la 97 return crop(src, w, h, 0.5f, 0.5f); 101 * Returns a new Bitmap copy with a crop effect depending on the crop anchor given. 0.5f is like 102 * {@link android.widget.ImageView.ScaleType#CENTER_CROP}. The crop anchor will be be nudged 122 * @param horizontalCenterPercent determines which part of the src to crop from. Range from 0 125 * @param verticalCenterPercent determines which part of the src to crop from. Range from 131 public static Bitmap crop(final Bitmap src, final int w, final int h, method in class:BitmapUtil [all...] |
/external/autotest/client/cros/chameleon/ |
screen_capture.py | 84 image = image.crop(boundary)
|
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 157 public Bitmap takeScreenshot(Rect crop, int rotation) { 165 int width = crop.width(); 166 int height = crop.height(); 167 return SurfaceControl.screenshot(crop, width, height, rotation);
|
/frameworks/native/libs/vr/libdvr/ |
dvr_hardware_composer_client.cpp | 188 frame->frame.layers[layer_index].crop.left, 189 frame->frame.layers[layer_index].crop.top, 190 frame->frame.layers[layer_index].crop.right, 191 frame->frame.layers[layer_index].crop.bottom,
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
DataBuffer.h | 24 typedef struct crop { struct in namespace:android::intel
|