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.java1179 int halfWidth = width / 2; in checkFrame() local
1224 … testU = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2)) & 0xff; in checkFrame()
1225 … testV = frameData.get(off + width*height + 2*(y/2) * halfWidth + 2*(x/2) + 1) & 0xff; in checkFrame()
1229 testU = frameData.get(off + width*height + (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
1230 testV = frameData.get(off + width*height + halfWidth * (height / 2) + in checkFrame()
1231 (y/2) * halfWidth + (x/2)) & 0xff; in checkFrame()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java861 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRectPoint() local
865 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()
871 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRectPoint()
904 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRect() local
908 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()
914 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRect()
2605 int halfWidth = display.getWidth() / 2; in testGetLocalVisibleRect() local
2609 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()
2618 assertEquals(halfWidth + 20, rect.right); in testGetLocalVisibleRect()