Searched refs:mRect (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectTest.java | 38 private Rect mRect; field in RectTest 42 mRect = new Rect(); in testConstructor() 44 mRect = new Rect(10, 10, 20, 20); in testConstructor() 46 mRect = new Rect(new Rect(10, 10, 20, 20)); in testConstructor() 51 mRect = new Rect(); in testSet1() 52 mRect.set(1, 2, 3, 4); in testSet1() 53 assertEquals(1, mRect.left); in testSet1() 54 assertEquals(2, mRect.top); in testSet1() 55 assertEquals(3, mRect.right); in testSet1() 56 assertEquals(4, mRect.bottom); in testSet1() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyViewProducerActivity.java | 163 private Rect mRect = new Rect(); field in PixelCopyViewProducerActivity.ColoredGrid 178 mRect.set(BORDER_WIDTH, BORDER_WIDTH, cx, cy); in onDraw() 180 canvas.drawRect(mRect, mPaint); in onDraw() 182 mRect.set(cx, BORDER_WIDTH, getWidth() - BORDER_WIDTH, cy); in onDraw() 184 canvas.drawRect(mRect, mPaint); in onDraw() 186 mRect.set(BORDER_WIDTH, cy, cx, getHeight() - BORDER_WIDTH); in onDraw() 188 canvas.drawRect(mRect, mPaint); in onDraw() 190 mRect.set(cx, cy, getWidth() - BORDER_WIDTH, getHeight() - BORDER_WIDTH); in onDraw() 192 canvas.drawRect(mRect, mPaint); in onDraw()
|