Searched defs:pathData (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/
H A DPathParser.java78 throw new IllegalArgumentException("Invalid pathData: " + pathString);
129 private static native void nCreatePathFromPathData(long outPathPtr, long pathData); argument
/frameworks/base/core/jni/
H A Dandroid_util_PathParser.cpp45 PathData* pathData = new PathData(); local
46 return reinterpret_cast<jlong>(pathData);
50 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr); local
51 PathData* newPathData = new PathData(*pathData);
57 PathData* pathData = new PathData(); local
59 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength);
62 return reinterpret_cast<jlong>(pathData);
64 delete pathData;
80 PathData* pathData = reinterpret_cast<PathData*>(pathDataHandle); local
81 delete pathData;
97 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr); local
[all...]
H A Dandroid_graphics_drawable_VectorDrawable.cpp273 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr); local
274 path->mutateStagingProperties()->setData(*pathData);
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp31 const PathData pathData; member in struct:android::uirenderer::TestData
257 PathData pathData; local
259 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length);
260 EXPECT_EQ(testData.pathData, pathData);
265 PathData pathData; local
267 PathParser::getPathDataFromAsciiString(&pathData, &result, stringPath.stringPath,
278 VectorDrawableUtils::verbsToPath(&actualPath, testData.pathData);
291 EXPECT_EQ(hasValidData, testData.pathData.verbs.size() > 0);
309 bool canMorph = VectorDrawableUtils::canMorph(fromData.pathData, toDat
[all...]
/frameworks/base/libs/hwui/
H A DPathParser.cpp292 PathData pathData; local
293 getPathDataFromAsciiString(&pathData, result, pathStr, strLen);
298 if (pathData.verbs.size() == 0) {
300 result->failureMessage = "No verbs found in the string for pathData: ";
304 VectorDrawableUtils::verbsToPath(skPath, pathData);
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp186 jbyte* pathData = env->GetByteArrayElements(path, 0); local
192 memcpy(path_name, pathData, pathSize);
195 env->ReleaseByteArrayElements(path, pathData, 0);
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java70 * @param pathData The string representing a path, the same as "d" string in svg file.
73 public static Path createPathFromPathData(String pathData) { argument
75 PathDataNode[] nodes = createNodesFromPathData(pathData);
80 throw new RuntimeException("Error in parsing " + pathData, e);
88 * @param pathData The string representing a path, the same as "d" string in svg file.
91 public static PathDataNode[] createNodesFromPathData(String pathData) { argument
92 if (pathData == null) {
99 while (end < pathData.length()) {
100 end = nextStart(pathData, end);
101 String s = pathData
[all...]
/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java78 /*package*/ static void nCreatePathFromPathData(long outPathPtr, long pathData) { argument
169 * @param pathData The string representing a path, the same as "d" string in svg file.
174 public static PathDataNode[] createNodesFromPathData(@NonNull String pathData) { argument
179 while (end < pathData.length()) {
180 end = nextStart(pathData, end);
181 String s = pathData.substring(start, end).trim();
190 if ((end - start) == 1 && start < pathData.length()) {
191 addNode(list, pathData.charAt(start), new float[0]);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java140 * <dt><code>android:pathData</code></dt>
190 * <dt><code>android:pathData</code></dt>
211 * android:pathData=&quot;M300,70 l 0,-70 70,70 0,0 -70,70z&quot; /&gt;
1591 new Property<VPath, PathParser.PathData>(PathParser.PathData.class, "pathData") {
1633 public void setPathData(PathParser.PathData pathData) { argument
1634 mPathData.setPathData(pathData);
1642 * Clip path, which only has name and pathData.

Completed in 167 milliseconds