Home
last modified time | relevance | path

Searched refs:SQUARE (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathDashPathEffectTest.java40 private static final int SQUARE = 10; field in PathDashPathEffectTest
62 RectF rect = new RectF(0, HEIGHT / 2 - SQUARE, 0, HEIGHT / 2 + SQUARE); in testPathDashPathEffect()
63 for (int i = 0; i <= WIDTH + SQUARE; i += ADVANCE) { in testPathDashPathEffect()
64 rect.left = i - SQUARE; in testPathDashPathEffect()
65 rect.right = i + SQUARE; in testPathDashPathEffect()
89 p.addRect(new RectF(-SQUARE, -SQUARE, SQUARE, SQUARE), Direction.CCW); in shape()
DPaint_CapTest.java37 assertEquals(Cap.SQUARE, Cap.valueOf("SQUARE")); in testValueOf()
48 assertEquals(Cap.SQUARE, actual[2]); in testValues()
58 assertEquals(Cap.SQUARE, p.getStrokeCap()); in testValues()
DPathTest.java59 private static final int SQUARE = 10; field in PathTest
637 actualPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); 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()
670 initialPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffsetWithDestination()
675 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffsetWithDestination()
676 START_Y + OFFSET_Y + SQUARE, Direction.CW); in testPathOffsetWithDestination()
DPaintTest.java314 p.setStrokeCap(Cap.SQUARE); in testAccessStrokeCap()
315 assertEquals(Cap.SQUARE, p.getStrokeCap()); in testAccessStrokeCap()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java84 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT); in testDraw() local
87 arcShape.resize(SQUARE, SQUARE); // half circle in testDraw()
91 for (int i = 0; i < SQUARE; i++) { in testDraw()
96 assertEquals((double) SQUARE / 2 / Math.sqrt(2), count, TOLERANCE); in testDraw()
DOvalShapeTest.java69 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT); in testDraw() local
71 ovalShape.resize(SQUARE, SQUARE); // circle in testDraw()
75 for (int i = 0; i < SQUARE; i++) { in testDraw()
80 assertEquals((double)SQUARE / Math.sqrt(2), count, TOLERANCE); in testDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java170 paint.setStrokeCap(Paint.Cap.SQUARE);
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt16650 enum_constant public static final android.graphics.Paint.Cap SQUARE;