Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DInfrastructureTests.java75 final Rect clipRect = new Rect(0, 0, 50, 50); in testViewInitializer() local
79 view.setClipBounds(clipRect); in testViewInitializer()
84 .runWithVerifier(new RectVerifier(Color.WHITE, Color.RED, clipRect)); in testViewInitializer()
DCanvasStateTests.java42 boolean isNonEmpty = canvas.clipRect(0, 0, 20, 20); in testClipRectReturnValues()
45 isNonEmpty = canvas.clipRect(0, 40, 20, 60); in testClipRectReturnValues()
114 canvas.clipRect(0, 0, 20, 20); in testQuickReject()
DPictureTest.java54 canvas.clipRect(sOffsetRect); in testPictureRespectsClip()
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java915 assertFalse(mCanvas.clipRect(mRectF, Op.DIFFERENCE)); in testClipRect1()
916 assertFalse(mCanvas.clipRect(mRectF, Op.INTERSECT)); in testClipRect1()
917 assertTrue(mCanvas.clipRect(mRectF, Op.REPLACE)); in testClipRect1()
918 assertFalse(mCanvas.clipRect(mRectF, Op.REVERSE_DIFFERENCE)); in testClipRect1()
919 assertTrue(mCanvas.clipRect(mRectF, Op.UNION)); in testClipRect1()
920 assertFalse(mCanvas.clipRect(mRectF, Op.XOR)); in testClipRect1()
924 assertFalse(mCanvas.clipRect(mRect, Op.DIFFERENCE)); in testClipRect2()
925 assertFalse(mCanvas.clipRect(mRect, Op.INTERSECT)); in testClipRect2()
926 assertTrue(mCanvas.clipRect(mRect, Op.REPLACE)); in testClipRect2()
927 assertFalse(mCanvas.clipRect(mRect, Op.REVERSE_DIFFERENCE)); in testClipRect2()
[all …]
DPictureTest.java80 canvas.clipRect(mClipRect, Op.REPLACE); in createImbalance()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DCanvasClientView.java59 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java1422 public boolean clipRect(int left, int top, int right, int bottom) { in clipRect() method in ViewGroupTest.MockCanvas
1427 return super.clipRect(left, top, right, bottom); in clipRect()