Searched refs:cropRect (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | CodecImage.java | 142 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/ |
D | codec-utils-jni.cpp | 182 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/ |
D | ImageDecoderTest.java | 1359 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/ |
D | CameraTestUtils.java | 1946 MeteringRectangle[] requestRegions, Rect cropRect){ in getExpectedOutputRegion() argument 1952 resultRect.setIntersect(requestRect, cropRect)); in getExpectedOutputRegion()
|