Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DEncodeDecodeTest.java1181 int halfWidth = width / 2; in checkFrame() local
1226 … testU = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2)) & 0xff; in checkFrame()
1227 … testV = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2) + 1) & 0xff; in checkFrame()
1231 testU = frameData.get(off + width*height + (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
1232 testV = frameData.get(off + width*height + halfWidth * (height / 2) + in checkFrame()
1233 (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java993 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRectPoint() local
997 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
1003 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRectPoint()
1036 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRect() local
1040 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
1046 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRect()
2773 int halfWidth = display.getWidth() / 2; in testGetLocalVisibleRect() local
2777 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2786 assertEquals(halfWidth + 20, rect.right); in testGetLocalVisibleRect()