Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp48 [](SkPath* outPath) { in __anon20dd05c90102()
49 outPath->moveTo(2, 22); in __anon20dd05c90102()
50 outPath->rLineTo(20, 0); in __anon20dd05c90102()
51 outPath->rLineTo(1, -2000); in __anon20dd05c90102()
52 outPath->close(); in __anon20dd05c90102()
53 outPath->moveTo(2, 22); in __anon20dd05c90102()
69 [](SkPath* outPath) { in __anon20dd05c90202()
70 outPath->moveTo(1.0, 1.0); in __anon20dd05c90202()
71 outPath->rMoveTo(2.0, 2.0); in __anon20dd05c90202()
72 outPath->rLineTo(3.0, 3.0); in __anon20dd05c90202()
[all …]
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp35 void addCommand(SkPath* outPath, char previousCmd,
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()
250 void PathResolver::addCommand(SkPath* outPath, char previousCmd, in addCommand() argument
260 outPath->close(); in addCommand()
268 outPath->moveTo(currentX, currentY); in addCommand()
309 outPath->rLineTo(points->at(k + 0), points->at(k + 1)); in addCommand()
311 outPath->rMoveTo(points->at(k + 0), points->at(k + 1)); in addCommand()
323 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/libs/hwui/
DVectorDrawable.cpp116 void Path::getStagingPath(SkPath* outPath) { in getStagingPath() argument
117 outPath->reset(); in getStagingPath()
118 VectorDrawableUtils::verbsToPath(outPath, mStagingProperties.getData()); in getStagingPath()
134 static void applyTrim(SkPath* outPath, const SkPath& inPath, float trimPathStart, float trimPathEnd, in applyTrim() argument
137 *outPath = inPath; in applyTrim()
140 outPath->reset(); in applyTrim()
151 measure.getSegment(start, len, outPath, true); in applyTrim()
153 measure.getSegment(0, end, outPath, true); in applyTrim()
156 measure.getSegment(start, end, outPath, true); in applyTrim()
175 void FullPath::getStagingPath(SkPath* outPath) { in getStagingPath() argument
[all …]
DPathParser.h42 ANDROID_API static void parseAsciiStringForSkPath(SkPath* outPath, ParseResult* result,
DVectorDrawable.h189 virtual void getStagingPath(SkPath* outPath);
383 void getStagingPath(SkPath* outPath) override;
/frameworks/base/tools/aapt2/link/
DLink.cpp134 static bool copyFileToArchive(io::IFile* file, const std::string& outPath, in copyFileToArchive() argument
160 context->getDiagnostics()->note(DiagMessage() << "writing " << outPath << " to archive"); in copyFileToArchive()
163 if (writer->startEntry(outPath, compressionFlags)) { in copyFileToArchive()
171 context->getDiagnostics()->error(DiagMessage() << "failed to write file " << outPath); in copyFileToArchive()
731 std::string outPath = mOptions.generateJavaClassPath.value(); in writeJavaFile() local
732 file::appendPath(&outPath, file::packageToPath(util::utf16ToUtf8(outPackage))); in writeJavaFile()
733 if (!file::mkdirs(outPath)) { in writeJavaFile()
735 DiagMessage() << "failed to create directory '" << outPath << "'"); in writeJavaFile()
739 file::appendPath(&outPath, "R.java"); in writeJavaFile()
741 std::ofstream fout(outPath, std::ofstream::binary); in writeJavaFile()
[all …]
/frameworks/base/core/java/android/util/
DPathParser.java44 public static void createPathFromPathData(Path outPath, PathData data) { in createPathFromPathData() argument
45 nCreatePathFromPathData(outPath.mNativePath, data.mNativePathData); in createPathFromPathData()
/frameworks/base/tools/aapt2/util/
DFiles.cpp159 std::string outPath; in packageToPath() local
161 appendPath(&outPath, part); in packageToPath()
163 return outPath; in packageToPath()
/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.java844 String outPath = outFile.getCanonicalPath(); in onRestoreFile() local
845 if (outPath.startsWith(basePath + File.separatorChar)) { in onRestoreFile()
846 if (DEBUG) Log.i(TAG, "[" + domain + " : " + path + "] mapped to " + outPath); in onRestoreFile()
852 Log.e(TAG, "Cross-domain restore attempt: " + outPath); in onRestoreFile()