Searched refs:PathData (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.h31 ANDROID_API static bool canMorph(const PathData& morphFrom, const PathData& morphTo);
32 ANDROID_API static bool interpolatePathData(PathData* outData, const PathData& morphFrom,
33 const PathData& morphTo, float fraction);
34 ANDROID_API static void verbsToPath(SkPath* outPath, const PathData& data);
35 static void interpolatePaths(PathData* outPathData, const PathData& from, const PathData& to,
H A DVectorDrawableUtils.cpp39 bool VectorDrawableUtils::canMorph(const PathData& morphFrom, const PathData& morphTo) {
53 bool VectorDrawableUtils::interpolatePathData(PathData* outData, const PathData& morphFrom,
54 const PathData& morphTo, float fraction) {
65 void VectorDrawableUtils::verbsToPath(SkPath* outPath, const PathData& data) {
88 void VectorDrawableUtils::interpolatePaths(PathData* outData,
89 const PathData& from, const PathData& to, float fraction) {
/frameworks/base/core/jni/
H A Dandroid_util_PathParser.cpp45 PathData* pathData = new PathData();
50 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr);
51 PathData* newPathData = new PathData(*pathData);
57 PathData* pathData = new PathData();
72 PathData* outPathData = reinterpret_cast<PathData*>(outPathDataPt
[all...]
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp109 PathData* startData = reinterpret_cast<PathData*>(startValuePtr);
110 PathData* endData = reinterpret_cast<PathData*>(endValuePtr);
H A Dandroid_graphics_drawable_VectorDrawable.cpp184 PathData data;
268 PathData* pathData = reinterpret_cast<PathData*>(pathDataPtr);
/frameworks/base/core/java/android/util/
H A DPathParser.java39 * Interpret PathData as path commands and insert the commands to the given path.
41 * @param data The source PathData to be converted.
44 public static void createPathFromPathData(Path outPath, PathData data) {
49 * @param pathDataFrom The source path represented in PathData
50 * @param pathDataTo The target path represented in PathData
53 public static boolean canMorph(PathData pathDataFrom, PathData pathDataTo) {
58 * PathData class is a wrapper around the native PathData object, which contains
60 * associated with each verb stored in PathData
63 public static class PathData { class in class:PathParser
65 public PathData() { method in class:PathParser.PathData
69 public PathData(PathData data) { method in class:PathParser.PathData
73 public PathData(String pathString) { method in class:PathParser.PathData
[all...]
/frameworks/base/libs/hwui/
H A DPathParser.h44 ANDROID_API static void getPathDataFromAsciiString(PathData* outData, ParseResult* result,
46 static void dump(const PathData& data);
H A DPropertyValuesHolder.h95 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue,
96 PathData* endValue)
103 PathData mPathData;
104 PathData mStartValue;
105 PathData mEndValue;
H A DPathParser.cpp165 void PathParser::getPathDataFromAsciiString(PathData* data, ParseResult* result,
217 void PathParser::dump(const PathData& data) {
239 PathData pathData;
H A DVectorDrawable.h724 typedef VectorDrawable::Path::Data PathData; typedef in namespace:android::uirenderer
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp31 const PathData pathData;
244 static bool hasSameVerbs(const PathData& from, const PathData& to) {
252 PathData pathData;
260 PathData pathData;
319 PathData outData;
330 PathData toPathData = fromData.pathData;
334 const PathData& fromPathData = fromData.pathData;
335 PathData outData;
/frameworks/base/libs/hwui/tests/microbench/
H A DPathParserBench.cpp43 PathData outData;
/frameworks/base/core/java/android/animation/
H A DAnimatorInflater.java258 private static class PathDataEvaluator implements TypeEvaluator<PathParser.PathData> {
259 private final PathParser.PathData mPathData = new PathParser.PathData();
262 public PathParser.PathData evaluate(float fraction, PathParser.PathData startPathData,
263 PathParser.PathData endPathData) {
298 PathParser.PathData nodesFrom = fromString == null
299 ? null : new PathParser.PathData(fromString);
300 PathParser.PathData nodesTo = toString == null
301 ? null : new PathParser.PathData(toStrin
[all...]
H A DPropertyValuesHolder.java1085 if (values.startValue instanceof PathParser.PathData) {
1086 // PathData evaluator returns the same mutable PathData object when query fraction,
1088 values.startValue = new PathParser.PathData((PathParser.PathData) values.startValue);
1091 if (values.endValue instanceof PathParser.PathData) {
1092 // PathData evaluator returns the same mutable PathData object when query fraction,
1094 values.endValue = new PathParser.PathData((PathParser.PathData) value
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java1291 protected PathParser.PathData mPathData = null;
1303 mPathData = copy.mPathData == null ? null : new PathParser.PathData(copy.mPathData);
1312 public PathParser.PathData getPathData() {
1318 public void setPathData(PathParser.PathData pathData) {
1392 mPathData = new PathParser.PathData(pathDataString);
1556 mPathData = new PathParser.PathData(pathString);
H A DAnimatedVectorDrawable.java1073 if (mTmpValues.endValue instanceof PathParser.PathData &&
1081 throw new IllegalArgumentException("ClipPath only supports PathData " +
1135 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue)
1137 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue)
1170 mTmpValues.type + ". Only float, int or PathData value is " +
/frameworks/base/
H A Dcompiled-classes-phone4160 android.util.PathParser$PathData

Completed in 1413 milliseconds