Home
last modified time | relevance | path

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

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationCallbackTest.java205 new SurfaceControl.Transaction().setCrop(sc, in testTrustedPresentationListener_minFractionDueToCrop()
251 new SurfaceControl.Transaction().setCrop(sc, in testTrustedPresentationListener_enteredExitEntered()
260 new SurfaceControl.Transaction().setCrop(sc, null).apply(); in testTrustedPresentationListener_enteredExitEntered()
DSurfaceControlInputReceiverTests.java550 t.setLayer(mChild, 1).setVisibility(mChild, true).setCrop(mChild, sBounds) in attachChildSc()
606 t.setVisibility(mEmbeddedSc, true).setCrop(mEmbeddedSc, sBounds).reparent( in setup()
DASurfaceControlTest.java53 import static android.view.cts.util.ASurfaceControlTestUtils.setCrop;
1860 setCrop(surfaceControl, new Rect(0, 0, 50, 50)); in testSurfaceTransaction_setCropSmall()
1889 setCrop(surfaceControl, new Rect(0, 0, 150, 150)); in testSurfaceTransaction_setCropLarge()
1922 setCrop(surfaceControl, new Rect(50, 50, 100, 100)); in testSurfaceTransaction_setCropOffset()
1950 setCrop(surfaceControl, new Rect(-50, -50, 50, 50)); in testSurfaceTransaction_setCropNegative()
DSurfaceControlTest.java243 .setCrop(surfaceControl, new Rect(0, 0, in setSourceToDefaultDest()
909 .setCrop(surfaceControl, new Rect(-50, -50, 150, 150)) in testSurfaceTransaction_setCropRect_extraLarge()
944 .setCrop(surfaceControl, new Rect(-50, -50, 50, 50)) in testSurfaceTransaction_setCropRect_badOffset()
974 .setCrop(surfaceControl, new Rect(0, 0, -1, 100)) in testSurfaceTransaction_setCropRect_invalidCropWidth()
1003 .setCrop(surfaceControl, new Rect(0, 0, 100, -1)) in testSurfaceTransaction_setCropRect_invalidCropHeight()
/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.java526 decoder.setCrop(new Rect(1, 1, info.getSize().getWidth() / 2 - 1, in testSetAllocatorDecodeBitmap()
1477 decoder.setCrop(r); in testGetCrop()
1481 decoder.setCrop(r); in testGetCrop()
1511 decoder.setCrop(cropRect); in testCrop()
1564 decoder.setCrop(outCropRect); in testScaleAndCrop()
1695 decoder.setCrop(new Rect(info.getSize().getWidth(), 0, 0, in testInvertCropWidth()
1710 decoder.setCrop(new Rect(0, info.getSize().getWidth(), in testInvertCropHeight()
1724 decoder.setCrop(new Rect(1, 1, 1, 1)); in testEmptyCrop()
1737 decoder.setCrop(new Rect(-1, 0, info.getSize().getWidth(), in testCropNegativeLeft()
1751 decoder.setCrop(new Rect(0, -1, info.getSize().getWidth(), in testCropNegativeTop()
[all …]
DAImageDecoderTest.java866 decoder.setCrop(mCropRect);
/cts/tests/surfacecontrol/src/android/view/cts/util/
DASurfaceControlTestUtils.java112 public static void setCrop(long surfaceControl, Rect crop) { in setCrop() method in ASurfaceControlTestUtils
DEmbeddedSCVHService.java196 new SurfaceControl.Transaction().setVisibility(mSurfaceControl, true).setCrop( in attachEmbeddedSurfaceControl()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DAnimatedImageDrawableTest.kt169 decoder.setCrop(Rect(100, 0, 145, 55)) in <lambda>()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt16161 method public void setCrop(@Nullable android.graphics.Rect);
52279 …method @NonNull public android.view.SurfaceControl.Transaction setCrop(@NonNull android.view.Surfa…