Home
last modified time | relevance | path

Searched refs:pathData (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_PathParser.cpp45 PathData* pathData = new PathData(); in createEmptyPathData() local
46 return reinterpret_cast<jlong>(pathData); in createEmptyPathData()
50 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr); in createPathData() local
51 PathData* newPathData = new PathData(*pathData); in createPathData()
57 PathData* pathData = new PathData(); in createPathDataFromStringPath() local
59 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength); in createPathDataFromStringPath()
62 return reinterpret_cast<jlong>(pathData); in createPathDataFromStringPath()
64 delete pathData; in createPathDataFromStringPath()
80 PathData* pathData = reinterpret_cast<PathData*>(pathDataHandle); in deletePathData() local
81 delete pathData; in deletePathData()
[all …]
Dandroid_graphics_drawable_VectorDrawable.cpp268 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr); in setPathData() local
269 path->mutateStagingProperties()->setData(*pathData); in setPathData()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp31 const PathData pathData; member
252 PathData pathData; in TEST() local
254 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
255 EXPECT_EQ(testData.pathData, pathData); in TEST()
260 PathData pathData; in TEST() local
262 PathParser::getPathDataFromAsciiString(&pathData, &result, in TEST()
273 VectorDrawableUtils::verbsToPath(&actualPath, testData.pathData); in TEST()
286 EXPECT_EQ(hasValidData, testData.pathData.verbs.size() > 0); in TEST()
304 bool canMorph = VectorDrawableUtils::canMorph(fromData.pathData, toData.pathData); in TEST()
305 if (fromData.pathData == toData.pathData) { in TEST()
[all …]
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java58 String pathData = a.getString(R.styleable.PatternPathMotion_patternPathData); in PatternPathMotion() local
59 if (pathData == null) { in PatternPathMotion()
62 Path pattern = PathParser.createPathFromPathData(pathData); in PatternPathMotion()
/frameworks/support/transition/src/android/support/transition/
DPatternPathMotion.java60 String pathData = TypedArrayUtils.getNamedString(a, (XmlPullParser) attrs, in PatternPathMotion() local
62 if (pathData == null) { in PatternPathMotion()
65 Path pattern = PathParser.createPathFromPathData(pathData); in PatternPathMotion()
/frameworks/base/libs/hwui/
DPathParser.cpp239 PathData pathData; in parseAsciiStringForSkPath() local
240 getPathDataFromAsciiString(&pathData, result, pathStr, strLen); in parseAsciiStringForSkPath()
245 if (pathData.verbs.size() == 0) { in parseAsciiStringForSkPath()
251 VectorDrawableUtils::verbsToPath(skPath, pathData); in parseAsciiStringForSkPath()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java72 public static Path createPathFromPathData(String pathData) { in createPathFromPathData() argument
74 PathDataNode[] nodes = createNodesFromPathData(pathData); in createPathFromPathData()
79 throw new RuntimeException("Error in parsing " + pathData, e); in createPathFromPathData()
90 public static PathDataNode[] createNodesFromPathData(String pathData) { in createNodesFromPathData() argument
91 if (pathData == null) { in createNodesFromPathData()
98 while (end < pathData.length()) { in createNodesFromPathData()
99 end = nextStart(pathData, end); in createNodesFromPathData()
100 String s = pathData.substring(start, end).trim(); in createNodesFromPathData()
109 if ((end - start) == 1 && start < pathData.length()) { in createNodesFromPathData()
110 addNode(list, pathData.charAt(start), new float[0]); in createNodesFromPathData()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java113 String pathData = a.getString(R.styleable.PathInterpolator_pathData); in parseInterpolatorFromTypeArray() local
114 Path path = PathParser.createPathFromPathData(pathData); in parseInterpolatorFromTypeArray()
117 + " from " + pathData); in parseInterpolatorFromTypeArray()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DPathInterpolatorCompat.java82 String pathData = TypedArrayUtils.getNamedString(a, parser, "pathData", in parseInterpolatorFromTypeArray() local
84 Path path = PathParser.createPathFromPathData(pathData); in parseInterpolatorFromTypeArray()
87 + " from " + pathData); in parseInterpolatorFromTypeArray()
DAnimatorInflaterCompat.java390 String pathData = TypedArrayUtils.getNamedString(arrayObjectAnimator, parser, "pathData", in setupObjectAnimator() local
401 if (pathData != null) { in setupObjectAnimator()
417 Path path = PathParser.createPathFromPathData(pathData); in setupObjectAnimator()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DAndroidResources.java50 android.R.attr.name, android.R.attr.fillColor, android.R.attr.pathData,
71 android.R.attr.name, android.R.attr.pathData
DVectorDrawableCompat.java1625 final String pathData = in updateStateFromTypedArray() local
1627 if (pathData != null) { in updateStateFromTypedArray()
1628 mNodes = PathParser.createNodesFromPathData(pathData); in updateStateFromTypedArray()
1747 final String pathData = in updateStateFromTypedArray() local
1749 if (pathData != null) { in updateStateFromTypedArray()
1750 mNodes = PathParser.createNodesFromPathData(pathData); in updateStateFromTypedArray()
/frameworks/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java78 /*package*/ static void nCreatePathFromPathData(long outPathPtr, long pathData) { in nCreatePathFromPathData() argument
174 public static PathDataNode[] createNodesFromPathData(@NonNull String pathData) { in createNodesFromPathData() argument
179 while (end < pathData.length()) { in createNodesFromPathData()
180 end = nextStart(pathData, end); in createNodesFromPathData()
181 String s = pathData.substring(start, end).trim(); in createNodesFromPathData()
190 if ((end - start) == 1 && start < pathData.length()) { in createNodesFromPathData()
191 addNode(list, pathData.charAt(start), new float[0]); in createNodesFromPathData()
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp186 jbyte* pathData = env->GetByteArrayElements(path, 0); in nativeSetActiveGroup() local
192 memcpy(path_name, pathData, pathSize); in nativeSetActiveGroup()
195 env->ReleaseByteArrayElements(path, pathData, 0); in nativeSetActiveGroup()
/frameworks/base/core/java/android/util/
DPathParser.java129 private static native void nCreatePathFromPathData(long outPathPtr, long pathData); in nCreatePathFromPathData() argument
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java498 String pathData = arrayObjectAnimator.getString(R.styleable.PropertyAnimator_pathData); in setupObjectAnimator() local
508 if (pathData != null) { in setupObjectAnimator()
523 Path path = PathParser.createPathFromPathData(pathData); in setupObjectAnimator()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1548 public void setPathData(PathParser.PathData pathData) { in setPathData() argument
1549 mPathData.setPathData(pathData); in setPathData()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt920 field public static final int pathData = 16843781; // 0x1010405
/frameworks/base/api/
Dcurrent.txt983 field public static final int pathData = 16843781; // 0x1010405
Dtest-current.txt983 field public static final int pathData = 16843781; // 0x1010405
Dsystem-current.txt1113 field public static final int pathData = 16843781; // 0x1010405