Searched refs:halfWidth (Results 1 – 2 of 2) sorted by relevance
1181 int halfWidth = width / 2; in checkFrame() local1226 … 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()
993 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRectPoint() local997 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRectPoint()1003 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRectPoint()1036 int halfWidth = display.getWidth() / 2; in testGetGlobalVisibleRect() local1040 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetGlobalVisibleRect()1046 assertEquals(rect.left + halfWidth, rect.right); in testGetGlobalVisibleRect()2773 int halfWidth = display.getWidth() / 2; in testGetLocalVisibleRect() local2777 new LinearLayout.LayoutParams(halfWidth, halfHeight); in testGetLocalVisibleRect()2786 assertEquals(halfWidth + 20, rect.right); in testGetLocalVisibleRect()