Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewTest.java609 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRectPoint() local
612 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
623 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRectPoint()
663 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRect() local
666 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
677 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRect()
2064 int halfHeight = display.getHeight() /2; in testGetLocalVisibleRect() local
2067 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2079 assertEquals(halfHeight - 30, rect.bottom); in testGetLocalVisibleRect()