Home
last modified time | relevance | path

Searched refs:cropRect (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DCodecImage.java142 public void setCropRect(Rect cropRect) { in setCropRect() argument
143 if (cropRect != null) { in setCropRect()
144 cropRect = new Rect(cropRect); // make a copy in setCropRect()
145 cropRect.intersect(0, 0, getWidth(), getHeight()); in setCropRect()
147 mCropRect = cropRect; in setCropRect()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp175 jobject cropRect = NULL; in getNativeImage() local
177 cropRect = env->CallObjectMethod(image, gFields.methodCrop); in getNativeImage()
178 area = cropRect; in getNativeImage()
190 if (cropRect != NULL) { in getNativeImage()
191 env->DeleteLocalRef(cropRect); in getNativeImage()
192 cropRect = NULL; in getNativeImage()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1769 MeteringRectangle[] requestRegions, Rect cropRect){ in getExpectedOutputRegion() argument
1775 resultRect.setIntersect(requestRect, cropRect)); in getExpectedOutputRegion()