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.java862 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRectPoint() local
865 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
872 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRectPoint()
905 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRect() local
908 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
915 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRect()
2606 int halfHeight = display.getHeight() /2; in testGetLocalVisibleRect() local
2609 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2619 assertEquals(halfHeight - 30, rect.bottom); in testGetLocalVisibleRect()