Searched refs:clipRect (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | InfrastructureTests.java | 75 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()
|
D | CanvasStateTests.java | 42 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()
|
D | PictureTest.java | 54 canvas.clipRect(sOffsetRect); in testPictureRespectsClip()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasTest.java | 915 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 …]
|
D | PictureTest.java | 80 canvas.clipRect(mClipRect, Op.REPLACE); in createImbalance()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | CanvasClientView.java | 59 canvas.clipRect(0, 0, ActivityTestBase.TEST_WIDTH, ActivityTestBase.TEST_HEIGHT); in onDraw()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 1422 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()
|