Home
last modified time | relevance | path

Searched refs:setCrop (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/uirendering/jni/
Dandroid_uirendering_cts_AImageDecoderTest.cpp123 static jint setCrop(JNIEnv*, jobject, jlong decoder_ptr, jint left, jint top, in setCrop() function
294 { "nSetCrop", "(JIIII)I", (void*) setCrop },
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java400 decoder.setCrop(new Rect(1, 1, info.getSize().getWidth() / 2 - 1, in testSetAllocatorDecodeBitmap()
1358 decoder.setCrop(r); in testGetCrop()
1362 decoder.setCrop(r); in testGetCrop()
1392 decoder.setCrop(cropRect); in testCrop()
1445 decoder.setCrop(outCropRect); in testScaleAndCrop()
1576 decoder.setCrop(new Rect(info.getSize().getWidth(), 0, 0, in testInvertCropWidth()
1591 decoder.setCrop(new Rect(0, info.getSize().getWidth(), in testInvertCropHeight()
1605 decoder.setCrop(new Rect(1, 1, 1, 1)); in testEmptyCrop()
1618 decoder.setCrop(new Rect(-1, 0, info.getSize().getWidth(), in testCropNegativeLeft()
1632 decoder.setCrop(new Rect(0, -1, info.getSize().getWidth(), in testCropNegativeTop()
[all …]
DAImageDecoderTest.java770 decoder.setCrop(mCropRect);
/cts/tests/tests/view/src/android/view/cts/util/
DASurfaceControlTestUtils.java110 public static void setCrop(long surfaceControl, Rect crop) { in setCrop() method in ASurfaceControlTestUtils
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAnimatedImageDrawableTest.kt169 decoder.setCrop(Rect(100, 0, 145, 55)) in <lambda>()
DAImageDecoderTest.kt131 private fun setCrop(decoder: Long, rect: Rect): Int = with(rect) { in <lambda>() method
169 assertEquals(setCrop(decoder, this), ANDROID_IMAGE_DECODER_SUCCESS) in <lambda>()
387 setCrop(decoder, rect) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DASurfaceControlTest.java47 import static android.view.cts.util.ASurfaceControlTestUtils.setCrop;
1546 setCrop(surfaceControl, new Rect(0, 0, 50, 50)); in testSurfaceTransaction_setCropSmall()
1575 setCrop(surfaceControl, new Rect(0, 0, 150, 150)); in testSurfaceTransaction_setCropLarge()
1608 setCrop(surfaceControl, new Rect(50, 50, 100, 100)); in testSurfaceTransaction_setCropOffset()
1629 setCrop(surfaceControl, new Rect(-50, -50, 50, 50)); in testSurfaceTransaction_setCropNegative()