Home
last modified time | relevance | path

Searched refs:outPath (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp47 [](SkPath* outPath) { in __anon6c41bec80102()
48 outPath->moveTo(2, 22); in __anon6c41bec80102()
49 outPath->rLineTo(20, 0); in __anon6c41bec80102()
50 outPath->rLineTo(1, -2000); in __anon6c41bec80102()
51 outPath->close(); in __anon6c41bec80102()
52 outPath->moveTo(2, 22); in __anon6c41bec80102()
71 [](SkPath* outPath) { in __anon6c41bec80202()
72 outPath->moveTo(1.0, 1.0); in __anon6c41bec80202()
73 outPath->rMoveTo(2.0, 2.0); in __anon6c41bec80202()
74 outPath->rLineTo(3.0, 3.0); in __anon6c41bec80202()
[all …]
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp35 void addCommand(SkPath* outPath, char previousCmd, char cmd, const std::vector<float>* points,
65 void VectorDrawableUtils::verbsToPath(SkPath* outPath, const PathData& data) { in verbsToPath() argument
69 outPath->reset(); in verbsToPath()
72 resolver.addCommand(outPath, previousCommand, data.verbs[i], &data.points, start, in verbsToPath()
100 void PathResolver::addCommand(SkPath* outPath, char previousCmd, char cmd, in addCommand() argument
109 outPath->close(); in addCommand()
117 outPath->moveTo(currentX, currentY); in addCommand()
158 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
160 outPath->rMoveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
172 outPath->lineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
[all …]
DVectorDrawableUtils.h34 ANDROID_API static void verbsToPath(SkPath* outPath, const PathData& data);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java145 Path outPath) { in createThumbnailPath() argument
146 outPath.reset(); in createThumbnailPath()
147 outPath.moveTo(outerLeft, outerTop); in createThumbnailPath()
148 outPath.lineTo(outerRight, outerTop); in createThumbnailPath()
149 outPath.lineTo(outerRight, outerBottom - mCornerRadius); in createThumbnailPath()
150 outPath.arcTo(outerRight - 2 * mCornerRadius, outerBottom - 2 * mCornerRadius, outerRight, in createThumbnailPath()
152 outPath.lineTo(outerLeft + mCornerRadius, outerBottom); in createThumbnailPath()
153 outPath.arcTo(outerLeft, outerBottom - 2 * mCornerRadius, outerLeft + 2 * mCornerRadius, in createThumbnailPath()
155 outPath.lineTo(outerLeft, outerTop); in createThumbnailPath()
156 outPath.close(); in createThumbnailPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableOutlineView.java169 float topRoundness, float bottomRoundness, Path outPath) { in getRoundedRectPath() argument
170 outPath.reset(); in getRoundedRectPath()
177 outPath.moveTo(left, top + topRoundness); in getRoundedRectPath()
178 outPath.quadTo(left, top, left + topRoundnessX, top); in getRoundedRectPath()
179 outPath.lineTo(right - topRoundnessX, top); in getRoundedRectPath()
180 outPath.quadTo(right, top, right, top + topRoundness); in getRoundedRectPath()
182 outPath.moveTo(left, top); in getRoundedRectPath()
183 outPath.lineTo(right, top); in getRoundedRectPath()
186 outPath.lineTo(right, bottom - bottomRoundness); in getRoundedRectPath()
187 outPath.quadTo(right, bottom, right - bottomRoundnessX, bottom); in getRoundedRectPath()
[all …]
/frameworks/base/libs/hwui/
DVectorDrawable.cpp81 static void applyTrim(SkPath* outPath, const SkPath& inPath, float trimPathStart, float trimPathEnd, in applyTrim() argument
84 *outPath = inPath; in applyTrim()
87 outPath->reset(); in applyTrim()
98 measure.getSegment(start, len, outPath, true); in applyTrim()
100 measure.getSegment(0, end, outPath, true); in applyTrim()
103 measure.getSegment(start, end, outPath, true); in applyTrim()
112 SkPath* outPath; in getUpdatedPath() local
117 outPath = tempStagingPath; in getUpdatedPath()
123 outPath = &mTrimmedSkPath; in getUpdatedPath()
125 outPath = &mSkPath; in getUpdatedPath()
[all …]
DPathParser.h41 ANDROID_API static void parseAsciiStringForSkPath(SkPath* outPath, ParseResult* result,
/frameworks/base/core/java/android/util/
DPathParser.java46 public static void createPathFromPathData(Path outPath, PathData data) { in createPathFromPathData() argument
47 nCreatePathFromPathData(outPath.mNativePath, data.mNativePathData); in createPathFromPathData()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.h116 bool startFile(const std::string &outPath, const std::string &outFileName,
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java919 String outPath = outFile.getCanonicalPath(); in onRestoreFile() local
920 if (outPath.startsWith(basePath + File.separatorChar)) { in onRestoreFile()
921 if (DEBUG) Log.i(TAG, "[" + domain + " : " + path + "] mapped to " + outPath); in onRestoreFile()
927 Log.e(TAG, "Cross-domain restore attempt: " + outPath); in onRestoreFile()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp55 std::string *outPath) { in findFileInDirs() argument
57 *outPath = std::string(*searchDirs) + "/" + fileName; in findFileInDirs()
59 if (stat(outPath->c_str(), &fileStat) == 0 && in findFileInDirs()