Searched refs:mRect (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RectTest.java | 37 private Rect mRect; field in RectTest 41 mRect = new Rect(); in testConstructor() 43 mRect = new Rect(10, 10, 20, 20); in testConstructor() 45 mRect = new Rect(new Rect(10, 10, 20, 20)); in testConstructor() 50 mRect = new Rect(); in testSet1() 51 mRect.set(1, 2, 3, 4); in testSet1() 52 assertEquals(1, mRect.left); in testSet1() 53 assertEquals(2, mRect.top); in testSet1() 54 assertEquals(3, mRect.right); in testSet1() 55 assertEquals(4, mRect.bottom); in testSet1() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyViewProducerActivity.java | 149 private Rect mRect = new Rect(); field in PixelCopyViewProducerActivity.ColoredGrid 164 mRect.set(BORDER_WIDTH, BORDER_WIDTH, cx, cy); in onDraw() 166 canvas.drawRect(mRect, mPaint); in onDraw() 168 mRect.set(cx, BORDER_WIDTH, getWidth() - BORDER_WIDTH, cy); in onDraw() 170 canvas.drawRect(mRect, mPaint); in onDraw() 172 mRect.set(BORDER_WIDTH, cy, cx, getHeight() - BORDER_WIDTH); in onDraw() 174 canvas.drawRect(mRect, mPaint); in onDraw() 176 mRect.set(cx, cy, getWidth() - BORDER_WIDTH, getHeight() - BORDER_WIDTH); in onDraw() 178 canvas.drawRect(mRect, mPaint); in onDraw()
|