Searched refs:OFFSET_X (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 64 private static final int OFFSET_X = 30; field in PathTest 638 actualPath.offset(OFFSET_X, OFFSET_Y); in testPathOffset() 641 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffset() 652 actualPath.offset(OFFSET_X, OFFSET_Y); in testPathOffset2() 653 actualPath.lineTo(OFFSET_X + 20, OFFSET_Y); in testPathOffset2() 657 expectedPath.moveTo(OFFSET_X, OFFSET_Y); in testPathOffset2() 658 expectedPath.lineTo(OFFSET_X + 20, OFFSET_Y); in testPathOffset2() 672 initialPath.offset(OFFSET_X, OFFSET_Y, actualPath); in testPathOffsetWithDestination() 675 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffsetWithDestination()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ASurfaceControlTestActivity.java | 67 private static final int OFFSET_X = 100; field in ASurfaceControlTestActivity 107 mLayoutParams.leftMargin = OFFSET_X; in onCreate() 278 int color = bitmap.getPixel(x + OFFSET_X, y + OFFSET_Y); in getNumMatchingPixels()
|