Home | History | Annotate | Download | only in gui

Lines Matching full:crop

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;
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] = {
851 mtxMul(mtxBeforeFlipV, crop, xform);
878 const sp<GraphicBuffer>& graphicBuffer, const Rect& crop) {
882 EGL_IMAGE_CROP_LEFT_ANDROID, crop.left,
883 EGL_IMAGE_CROP_TOP_ANDROID, crop.top,
884 EGL_IMAGE_CROP_RIGHT_ANDROID, crop.right,
885 EGL_IMAGE_CROP_BOTTOM_ANDROID, crop.bottom,
888 if (!crop.isValid()) {
889 // No crop rect to set, so terminate the attrib array before the crop.
891 } else if (!isEglImageCroppable(crop)) {
892 // The crop rect is not at the origin, so we can't set the crop on the
928 // The crop is too wide
933 // The crop is too tall
940 ST_LOGV("getCurrentCrop final crop [%d,%d,%d,%d]",