Home
last modified time | relevance | path

Searched refs:actualPath (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java44 Path actualPath = new Path(); in testPathOffset() local
45 actualPath.addRect(START_X, START_Y, START_X + SQUARE, START_Y + SQUARE, Direction.CW); in testPathOffset()
46 assertTrue(actualPath.isSimplePath); in testPathOffset()
47 actualPath.offset(OFFSET_X, OFFSET_Y); in testPathOffset()
48 assertTrue(actualPath.isSimplePath); in testPathOffset()
54 assertPaths(actualPath, expectedPath); in testPathOffset()
62 Path actualPath = new Path(); in testPathOffsetWithDestination() local
64 assertTrue(actualPath.isSimplePath); in testPathOffsetWithDestination()
65 initialPath.offset(OFFSET_X, OFFSET_Y, actualPath); in testPathOffsetWithDestination()
66 assertTrue(actualPath.isSimplePath); in testPathOffsetWithDestination()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java62 final Path actualPath = new Path(); in testGetCursorPathSegments() local
63 setupLayoutAndGetCursorPath(actualPath); in testGetCursorPathSegments()
77 assertArrayEquals(expectedPath.approximate(0f), actualPath.approximate(0f), 0f); in testGetCursorPathSegments()
89 final Path actualPath = new Path(); in testGetCursorPath_whenShiftIsPressed() local
90 setupLayoutAndGetCursorPath(actualPath); in testGetCursorPath_whenShiftIsPressed()
117 assertArrayEquals(expectedPath.approximate(0f), actualPath.approximate(0f), 0f); in testGetCursorPath_whenShiftIsPressed()
129 final Path actualPath = new Path(); in testGetCursorPath_whenAltIsPressed() local
130 setupLayoutAndGetCursorPath(actualPath); in testGetCursorPath_whenAltIsPressed()
156 assertArrayEquals(expectedPath.approximate(0f), actualPath.approximate(0f), 0f); in testGetCursorPath_whenAltIsPressed()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp280 SkPath actualPath; in TEST() local
281 VectorDrawableUtils::verbsToPath(&actualPath, testData.pathData); in TEST()
282 EXPECT_EQ(expectedPath, actualPath); in TEST()
291 SkPath actualPath; in TEST() local
292 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
297 EXPECT_EQ(expectedPath, actualPath); in TEST()
/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java130 final String actualPath = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) in testDataIsInCe() local
132 assertEquals(expectedPath, actualPath); in testDataIsInCe()