Searched refs:halfWidth (Results 1 – 2 of 2) sorted by relevance
1179 int halfWidth = width / 2; in checkFrame() local1224 … 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()
861 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRectPoint() local865 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()871 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRectPoint()904 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRect() local908 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()914 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRect()2605 int halfWidth = display.getWidth() / 2; in testGetLocalVisibleRect() local2609 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()2618 assertEquals(halfWidth + 20, rect.right); in testGetLocalVisibleRect()