Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java65 private static final int OFFSET_Y = 40; 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()
642 START_Y + OFFSET_Y + SQUARE, Direction.CW); 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()
[all …]
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DASurfaceControlTestActivity.java68 private static final int OFFSET_Y = 100; field in ASurfaceControlTestActivity
106 mLayoutParams.topMargin = OFFSET_Y; in onCreate()
278 int color = bitmap.getPixel(x + OFFSET_X, y + OFFSET_Y); in getNumMatchingPixels()