Searched refs:rect2 (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 219 Rect rect2 = new Rect(0, 0, 20, 20); in testUnion() local 227 mRegion.set(rect2); in testUnion() 234 mRegion.set(rect2); in testUnion() 242 mRegion.set(rect2); in testUnion() 250 mRegion.set(rect2); in testUnion() 318 Rect rect2 = new Rect(5, 6, 7, 8); in testGetBounds() local 319 assertFalse(mRegion.getBounds(rect2)); in testGetBounds() 325 Rect rect2 = new Rect(0, 0, 20, 20); in testOp1() local 331 assertDifferenceOp1(rect1, rect2, rect3, rect4, rect5); in testOp1() 332 assertIntersectOp1(rect1, rect2, rect3, rect4, rect5); in testOp1() [all …]
|
D | RectTest.java | 92 Rect rect2; in testIntersects2() local 95 rect2 = new Rect(5, 5, 15, 15); in testIntersects2() 96 assertTrue(Rect.intersects(rect1, rect2)); in testIntersects2() 99 rect2 = new Rect(15, 15, 25, 25); in testIntersects2() 100 assertFalse(Rect.intersects(rect1, rect2)); in testIntersects2() 123 Rect rect2 = new Rect(5, 5, 15, 15); in testSetIntersect() local 127 assertTrue(mRect.setIntersect(rect1, rect2)); in testSetIntersect() 135 assertTrue(mRect.setIntersect(rect1, rect2)); in testSetIntersect()
|
D | YuvImageTest.java | 257 Rect rect1, Rect rect2) { in compressRects() argument 260 boolean sameRect = rect1.equals(rect2) ? true : false; in compressRects() 262 Rect actualRect = new Rect(rect2); in compressRects()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayoutTest.java | 127 Rect rect2 = newForeground.getBounds(); in testSetForegroundGravity() local 129 assertEquals(foreground.getIntrinsicHeight(), rect2.bottom - rect2.top); in testSetForegroundGravity() 130 assertEquals(foreground.getIntrinsicWidth(), rect2.right - rect2.left); in testSetForegroundGravity()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 87 Rect rect2 = mockDrawable.copyBounds(); in testCopyBounds() local 90 assertEquals(100, rect2.bottom); in testCopyBounds() 91 assertEquals(10, rect2.left); in testCopyBounds() 92 assertEquals(100, rect2.right); in testCopyBounds() 93 assertEquals(10, rect2.top); in testCopyBounds()
|
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
D | CtsUiAutomatorTest.java | 710 Rect rect2 = getObjectByText("Button 2").getVisibleBounds(); in testGetVisibleBounds() local 714 rect1.left < rect2.left && rect2.right < rect3.right); in testGetVisibleBounds() 716 rect1.top == rect2.top && rect2.bottom == rect3.bottom); in testGetVisibleBounds()
|