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.java752 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRectPoint() local
755 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
767 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRectPoint()
809 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRect() local
812 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
824 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRect()
2350 int halfHeight = display.getHeight() /2; in testGetLocalVisibleRect() local
2353 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2366 assertEquals(halfHeight - 30, rect.bottom); in testGetLocalVisibleRect()