Searched refs:halfHeight (Results 1 – 2 of 2) sorted by relevance
705 int halfHeight = DEFAULT_LAYOUT_HEIGHT / 2; in testSurfaceTransaction_setSourceRect()706 if (x < halfWidth && y < halfHeight) { in testSurfaceTransaction_setSourceRect()708 } else if (x >= halfWidth && y < halfHeight) { in testSurfaceTransaction_setSourceRect()710 } else if (x < halfWidth && y >= halfHeight) { in testSurfaceTransaction_setSourceRect()738 int halfHeight = DEFAULT_LAYOUT_HEIGHT / 2; in testSurfaceTransaction_setSourceRect_smallCentered()739 if (x < halfWidth && y < halfHeight) { in testSurfaceTransaction_setSourceRect_smallCentered()741 } else if (x >= halfWidth && y < halfHeight) { in testSurfaceTransaction_setSourceRect_smallCentered()743 } else if (x < halfWidth && y >= halfHeight) { in testSurfaceTransaction_setSourceRect_smallCentered()769 int halfHeight = DEFAULT_LAYOUT_HEIGHT / 2; in testSurfaceTransaction_setSourceRect_small()770 if (y < halfHeight) { in testSurfaceTransaction_setSourceRect_small()[all …]
1002 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRectPoint() local1005 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()1012 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRectPoint()1045 int halfHeight = display.getHeight() /2; in testGetGlobalVisibleRect() local1048 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()1055 assertEquals(rect.top + halfHeight, rect.bottom); in testGetGlobalVisibleRect()2841 int halfHeight = display.getHeight() /2; in testGetLocalVisibleRect() local2844 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()2854 assertEquals(halfHeight - 30, rect.bottom); in testGetLocalVisibleRect()