Home
last modified time | relevance | path

Searched refs:bounds1 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityWindowInfoTest.java99 Rect bounds1 = new Rect(); in areWindowsEqual() local
101 w1.getBoundsInScreen(bounds1); in areWindowsEqual()
103 equality &= bounds1.equals(bounds2); in areWindowsEqual()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java975 Rect bounds1 = new Rect(); in testGetTextBounds() local
977 p.getTextBounds(text1, 0, text1.length(), bounds1); in testGetTextBounds()
981 assertEquals(bounds1, bounds2); in testGetTextBounds()
986 assertEquals(bounds1, bounds2); in testGetTextBounds()
990 assertEquals(bounds1.left, bounds2.left); in testGetTextBounds()
991 assertTrue(bounds2.right > bounds1.right); in testGetTextBounds()
996 assertTrue(bounds2.right > bounds1.right); in testGetTextBounds()
997 assertTrue(bounds2.bottom - bounds2.top > bounds1.bottom - bounds1.top); in testGetTextBounds()