Home
last modified time | relevance | path

Searched refs:mRect (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DRectTest.java24 private Rect mRect; field in RectTest
29 mRect = null; in setUp()
34 mRect = null; in testConstructor()
36 mRect = new Rect(); in testConstructor()
38 mRect = null; in testConstructor()
40 mRect = new Rect(10, 10, 20, 20); in testConstructor()
42 mRect = null; in testConstructor()
45 mRect = new Rect(rect); in testConstructor()
51 mRect = new Rect(); in testSet1()
52 mRect.set(1, 2, 3, 4); in testSet1()
[all …]
DCanvasTest.java54 private final Rect mRect = new Rect(0, 0, 10, 31); field in CanvasTest
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()
928 assertTrue(mCanvas.clipRect(mRect, Op.UNION)); in testClipRect2()
929 assertFalse(mCanvas.clipRect(mRect, Op.XOR)); in testClipRect2()
937 assertTrue(mCanvas.clipRect(mRect)); in testClipRect4()
/cts/tests/tests/view/src/android/view/cts/
DTouchDelegateTest.java39 private Rect mRect; field in TouchDelegateTest
78 mRect = new Rect(); in setUp()
79 mButton.getHitRect(mRect); in setUp()
86 MockTouchDelegate touchDelegate = new MockTouchDelegate(mRect, mButton); in testOnTouchEvent()