Home
last modified time | relevance | path

Searched refs:cropRect (Results 1 – 4 of 4) 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.cpp182 jobject cropRect = NULL; in getNativeImage() local
184 cropRect = env->CallObjectMethod(image, gFields.methodCrop); in getNativeImage()
185 area = cropRect; in getNativeImage()
197 if (cropRect != NULL) { in getNativeImage()
198 env->DeleteLocalRef(cropRect); in getNativeImage()
199 cropRect = NULL; in getNativeImage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java1359 public Rect cropRect; in testCrop() field in Listener
1373 cropRect = new Rect(quarterWidth, quarterHeight, in testCrop()
1375 decoder.setCrop(cropRect); in testCrop()
1394 assertEquals(l.cropRect.width(), drawable.getIntrinsicWidth()); in testCrop()
1395 assertEquals(l.cropRect.height(), drawable.getIntrinsicHeight()); in testCrop()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1946 MeteringRectangle[] requestRegions, Rect cropRect){ in getExpectedOutputRegion() argument
1952 resultRect.setIntersect(requestRect, cropRect)); in getExpectedOutputRegion()