Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java71 final Path expectedPath = new Path(); in testGetCursorPathSegments() local
73 expectedPath.moveTo(h1, top); in testGetCursorPathSegments()
74 expectedPath.lineTo(h1, bottom); in testGetCursorPathSegments()
77 assertArrayEquals(expectedPath.approximate(0f), actualPath.approximate(0f), 0f); in testGetCursorPathSegments()
102 final Path expectedPath = new Path(); in testGetCursorPath_whenShiftIsPressed() local
104 expectedPath.moveTo(h1, top); in testGetCursorPath_whenShiftIsPressed()
105 expectedPath.lineTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
107 expectedPath.moveTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
108 expectedPath.lineTo(h1 - dist, bottom + dist); in testGetCursorPath_whenShiftIsPressed()
110 expectedPath.moveTo(h1 - dist, bottom + dist - 0.5f); in testGetCursorPath_whenShiftIsPressed()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DPathOffsetTest.java50 Path expectedPath = new Path(); in testPathOffset() local
51 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffset()
54 assertPaths(actualPath, expectedPath); in testPathOffset()
68 Path expectedPath = new Path(); in testPathOffsetWithDestination() local
69 expectedPath.addRect(START_X + OFFSET_X, START_Y + OFFSET_Y, START_X + OFFSET_X + SQUARE, in testPathOffsetWithDestination()
72 assertPaths(actualPath, expectedPath); in testPathOffsetWithDestination()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestVirtualDisplay.cpp84 std::ostringstream expectedPath; in writeBuffersToFile() local
90 expectedPath << DIR_NAME << "/expected-" << name << ".png"; in writeBuffersToFile()
93 if (!mExpectedBuffer.writeBufferToFile(expectedPath.str()) || in writeBuffersToFile()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp278 SkPath expectedPath; in TEST() local
279 testData.skPathLamda(&expectedPath); in TEST()
282 EXPECT_EQ(expectedPath, actualPath); in TEST()
295 SkPath expectedPath; in TEST() local
296 testData.skPathLamda(&expectedPath); in TEST()
297 EXPECT_EQ(expectedPath, actualPath); in TEST()