/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 29 import android.graphics.Path; 52 new Path(); in testConstructor() 55 new Path(new Path()); in testConstructor() 60 Path path = new Path(); in testAddRect1() 63 path.addRect(rect, Path.Direction.CW); in testAddRect1() 69 Path path = new Path(); in testAddRect2() 71 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 77 Path path = new Path(); in testMoveTo() 83 Path path = new Path(); in testSet() 85 Path path1 = new Path(); in testSet() [all …]
|
D | PathMeasureTest.java | 24 import android.graphics.Path; 25 import android.graphics.Path.Direction; 38 private Path mPath; 42 mPath = new Path(); in setup() 51 Path path = new Path(); in testConstructor() 75 mPath.addRect(1f, 2f, 3f, 4f, Path.Direction.CW); in testGetPosTan() 85 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); in testNextContour() 93 mPath.addRect(1, 2, 3, 4, Path.Direction.CW); in testGetLength() 100 Path circle = new Path(); in testIsClosed() 108 Path line = new Path(); in testIsClosed() [all …]
|
D | PathDashPathEffectTest.java | 26 import android.graphics.Path; 27 import android.graphics.Path.Direction; 79 private static Path path() { in path() 80 Path p = new Path(); in path() 86 private static Path shape() { in shape() 87 Path p = new Path(); in shape()
|
D | CornerPathEffectTest.java | 28 import android.graphics.Path; 50 Path path = new Path(); in testCornerPathEffect() 70 Path expectedPath = new Path(); in testCornerPathEffect()
|
D | SumPathEffectTest.java | 29 import android.graphics.Path; 30 import android.graphics.Path.Direction; 52 Path path = new Path(); in testSumPathEffect()
|
D | Canvas_EdgeTypeTest.java | 22 import android.graphics.Path; 50 c.quickReject(new Path(), EdgeType.AA); in testValues() 51 c.quickReject(new Path(), EdgeType.BW); in testValues()
|
D | ComposePathEffectTest.java | 26 import android.graphics.Path; 48 Path path = new Path(); in testComposePathEffect()
|
D | DashPathEffectTest.java | 27 import android.graphics.Path; 55 Path path = new Path(); in testDashPathEffect()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 19 import android.graphics.Path; 28 private Path mNominalPath; 32 mNominalPath = new Path(); in setUp() 54 Path negativeStartXPath = new Path(); in testCreateStroke_negativeStartX_shouldThrow() 65 Path negativeStartYPath = new Path(); in testCreateStroke_negativeStartY_shouldThrow() 76 Path negativeEndXPath = new Path(); in testCreateStroke_negativeEndX_shouldThrow() 87 Path negativeEndYPath = new Path(); in testCreateStroke_negativeEndY_shouldThrow() 98 Path emptyPath = new Path(); in testCreateStroke_withEmptyPath_shouldThrow() 107 Path multiContourPath = new Path(); in testCreateStroke_pathWithMultipleContours_shouldThrow() 140 Path path = new Path(); in testAddStroke_allowUpToMaxPaths() [all …]
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | PatternPathMotionTest.java | 20 import android.graphics.Path; 33 Path pattern = new Path(); in testStraightPath() 40 Path expected = new Path(); in testStraightPath() 49 Path pattern = new Path(); in testCurve() 55 Path expected = new Path(); in testCurve() 63 Path pattern = new Path(); in testSetPatternPath()
|
D | ArcMotionTest.java | 20 import android.graphics.Path; 36 Path expected = arcWithPoint(0, 100, 100, 0, 100, 100); in test90Quadrants() 37 Path path = arcMotion.getPath(0, 100, 100, 0); in test90Quadrants() 58 Path expected; in test345Triangles() 59 Path path; in test345Triangles() 94 private static Path arcWithPoint(float startX, float startY, float endX, float endY, in arcWithPoint() 100 Path path = new Path(); in arcWithPoint() 116 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle() 117 Path path = arcMotion.getPath(0, 100, 100, 0); in testMaximumAngle() 129 Path expected = arcWithPoint(0, 0, 100, 50, ex, ey); in testMinimumHorizontalAngle() [all …]
|
D | PathMotionTest.java | 21 import android.graphics.Path; 25 public static void assertPathMatches(Path expectedPath, Path path) { in assertPathMatches()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PathTests.java | 5 import android.graphics.Path; 30 Path path = new Path(); in testTextPathWithOffset() 42 final Path path = new Path(); in testPathApproximate_circle() 43 path.addCircle(45, 45, 40, Path.Direction.CW); in testPathApproximate_circle() 49 final Path path = new Path(); in testPathApproximate_rect() 50 path.addRect(5, 5, 85, 85, Path.Direction.CW); in testPathApproximate_rect() 56 final Path path = new Path(); in testPathApproximate_quads() 67 final Path path = new Path(); in testPathApproximate_cubics() 76 private void verifyPathApproximation(Path path, int goldenResourceId) { in verifyPathApproximation()
|
D | PathClippingTests.java | 24 import android.graphics.Path; 65 Path path = new Path(); 66 path.addCircle(30, 30, 50, Path.Direction.CW); 67 path.addCircle(30, 30, 30, Path.Direction.CCW); 79 Path path1 = new Path(); 80 path1.addCircle(30, 30, 50, Path.Direction.CW); 82 Path path2 = new Path(); 83 path2.addCircle(30, 30, 30, Path.Direction.CW); 157 Path path = new Path(); in testPathScale() 159 TEST_WIDTH / 4, Path.Direction.CW); in testPathScale() [all …]
|
D | ViewClippingTests.java | 7 import android.graphics.Path; 117 Path mPath = new Path(); in testOvalOutlineClip() 122 Path.Direction.CW); in testOvalOutlineClip()
|
D | CanvasStateTests.java | 25 import android.graphics.Path; 66 Path rectPath = new Path(); in testClipPathReturnValues() 67 rectPath.addRect(0, 0, 20, 20, Path.Direction.CW); in testClipPathReturnValues()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconMaskTest.java | 26 import android.graphics.Path; 27 import android.graphics.Path.Direction; 51 private Path mMask = new Path(); 52 private Path mSafeZone = new Path(); 142 private boolean isCircle(Path maskPath) { in isCircle() 143 Path circle101 = new Path(); in isCircle() 145 Path circle99 = new Path(); in isCircle() 147 circle99.op(maskPath, Path.Op.DIFFERENCE); in isCircle() 149 maskPath.op(circle101, Path.Op.DIFFERENCE); in isCircle()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | PathShapeTest.java | 29 import android.graphics.Path; 47 new PathShape(new Path(), 1f, 5f); in testConstructor() 49 new PathShape(new Path(), -1f, -1f); in testConstructor() 59 Path path = new Path(); in testDraw() 103 PathShape pathShape = new PathShape(new Path(), 1f, 5f); in testClone() 121 shape = new PathShape(new Path(), 0, 0); in testGetOutline()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | CircleClipFrameLayout.java | 21 import android.graphics.Path; 26 final Path mClipPath = new Path(); 48 mClipPath.addOval(0, 0, getWidth(), getHeight(), Path.Direction.CW); in dispatchDraw()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 22 import android.graphics.Path; 53 Path emptyPath = emptyStroke.getPath(); in testGetPath_singlePoint() 63 Path linePath = lineStroke.getPath(); in testGetPath_line() 75 Path linePath = lineStroke.toPath(LineGestureStrokeHelper.LINE_END_POINT, in testToPath_line() 92 Path linePath = lineStroke.toPath(LineGestureStrokeHelper.LINE_MIDWAY_POINT, in testToPath_boundedLine()
|
D | GestureTest.java | 20 import android.graphics.Path; 92 Path myPath = new Path(); in testToPathPath() 93 Path generatedPath = mGesture.toPath(myPath); in testToPathPath()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | AccuracyPath.java | 16 package com.android.cts.verifier.sensors.sixdof.Utils.Path; 21 public class AccuracyPath extends Path {
|
D | Path.java | 16 package com.android.cts.verifier.sensors.sixdof.Utils.Path; 24 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Waypoint; 31 public abstract class Path { class
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/ |
D | Test.java | 27 import com.android.cts.verifier.sensors.sixdof.Utils.Path.AccuracyPath; 28 import com.android.cts.verifier.sensors.sixdof.Utils.Path.Path; 29 import com.android.cts.verifier.sensors.sixdof.Utils.Path.ReferencePath; 30 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Waypoint; 51 protected Path mTestPath;
|
D | ComplexMovementTest.java | 22 import com.android.cts.verifier.sensors.sixdof.Utils.Path.ComplexMovementPath; 23 import com.android.cts.verifier.sensors.sixdof.Utils.Path.ReferencePath; 24 import com.android.cts.verifier.sensors.sixdof.Utils.Path.PathUtilityClasses.Ring;
|