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.java994 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRectPoint() local
997 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
1004 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRectPoint()
1037 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRect() local
1040 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
1047 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRect()
2774 int halfHeight = display.getHeight() /2; in testGetLocalVisibleRect() local
2777 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2787 assertEquals(halfHeight - 30, rect.bottom); in testGetLocalVisibleRect()