Searched refs:rect2 (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 231 Rect rect2 = new Rect(0, 0, 20, 20); in testUnion() local 237 mRegion.set(rect2); in testUnion() 244 mRegion.set(rect2); in testUnion() 252 mRegion.set(rect2); in testUnion() 260 mRegion.set(rect2); in testUnion() 323 Rect rect2 = new Rect(5, 6, 7, 8); in testGetBounds() local 324 assertFalse(mRegion.getBounds(rect2)); in testGetBounds() 330 Rect rect2 = new Rect(0, 0, 20, 20); in testOp1() local 336 verifyDifferenceOp1(rect1, rect2, rect3, rect4, rect5); in testOp1() 337 verifyIntersectOp1(rect1, rect2, rect3, rect4, rect5); in testOp1() [all …]
|
D | RectTest.java | 89 Rect rect2; in testIntersects2() local 92 rect2 = new Rect(5, 5, 15, 15); in testIntersects2() 93 assertTrue(Rect.intersects(rect1, rect2)); in testIntersects2() 96 rect2 = new Rect(15, 15, 25, 25); in testIntersects2() 97 assertFalse(Rect.intersects(rect1, rect2)); in testIntersects2() 119 Rect rect2 = new Rect(5, 5, 15, 15); in testSetIntersect() local 123 assertTrue(mRect.setIntersect(rect1, rect2)); in testSetIntersect() 131 assertTrue(mRect.setIntersect(rect1, rect2)); in testSetIntersect()
|
D | YuvImageTest.java | 251 Rect rect1, Rect rect2) { in compressRects() argument 254 boolean sameRect = rect1.equals(rect2) ? true : false; in compressRects() 256 Rect actualRect = new Rect(rect2); in compressRects()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayoutTest.java | 134 Rect rect2 = newForeground.getBounds(); in testSetForegroundGravity() local 136 assertEquals(foreground.getIntrinsicHeight(), rect2.bottom - rect2.top); in testSetForegroundGravity() 137 assertEquals(foreground.getIntrinsicWidth(), rect2.right - rect2.left); in testSetForegroundGravity()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 113 Rect rect2 = mockDrawable.copyBounds(); in testCopyBounds() local 116 assertEquals(100, rect2.bottom); in testCopyBounds() 117 assertEquals(10, rect2.left); in testCopyBounds() 118 assertEquals(100, rect2.right); in testCopyBounds() 119 assertEquals(10, rect2.top); in testCopyBounds()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 298 final Rect rect2 = new Rect(2, 2, 20, 20); in populateTouchDelegateTargetMap() local 301 targetMap.put(new Region(rect2), new View(getContext())); in populateTouchDelegateTargetMap()
|