Home
last modified time | relevance | path

Searched refs:PathParser (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/libs/hwui/tests/microbench/
DPathParserBench.cpp34 PathParser::ParseResult result; in BM_PathParser_parseStringPathForSkPath()
36 PathParser::parseAsciiStringForSkPath(&skPath, &result, sPathString, length); in BM_PathParser_parseStringPathForSkPath()
46 PathParser::ParseResult result; in BM_PathParser_parseStringPathForPathData()
48 PathParser::getPathDataFromAsciiString(&outData, &result, sPathString, length); in BM_PathParser_parseStringPathForPathData()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp256 TEST(PathParser, parseStringForData) { in TEST() argument
258 PathParser::ParseResult result; in TEST()
262 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
267 PathParser::ParseResult result; in TEST()
270 PathParser::getPathDataFromAsciiString(&pathData, &result, stringPath.stringPath, in TEST()
286 TEST(PathParser, parseAsciiStringForSkPath) { in TEST() argument
288 PathParser::ParseResult result; in TEST()
292 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
301 PathParser::ParseResult result; in TEST()
303 PathParser::parseAsciiStringForSkPath(&skPath, &result, stringPath.stringPath, in TEST()
/frameworks/base/libs/hwui/
DPathParser.cpp100 static float parseFloat(PathParser::ParseResult* result, const char* startPtr, in parseFloat()
124 static void getFloats(std::vector<float>* outPoints, PathParser::ParseResult* result, in getFloats()
157 void PathParser::validateVerbAndPoints(char verb, size_t points, PathParser::ParseResult* result) { in validateVerbAndPoints()
215 void PathParser::getPathDataFromAsciiString(PathData* data, ParseResult* result, in getPathDataFromAsciiString()
266 void PathParser::dump(const PathData& data) { in dump()
287 void PathParser::parseAsciiStringForSkPath(SkPath* skPath, ParseResult* result, const char* pathStr, in parseAsciiStringForSkPath()
DPathParser.h31 class PathParser {
DVectorDrawable.cpp43 PathParser::ParseResult result; in Path()
45 PathParser::getPathDataFromAsciiString(&data, &result, pathStr, strLength); in Path()
/frameworks/base/core/jni/
Dandroid_util_PathParser.cpp36 PathParser::ParseResult result; in parseStringForPath()
37 PathParser::parseAsciiStringForSkPath(skPath, &result, pathString, strLength); in parseStringForPath()
58 PathParser::ParseResult result; in createPathDataFromStringPath()
59 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength); in createPathDataFromStringPath()
Dandroid_graphics_drawable_VectorDrawable.cpp188 PathParser::ParseResult result; in setPathString()
190 PathParser::getPathDataFromAsciiString(&data, &result, pathString, stringLength); in setPathString()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java33 import android.util.PathParser;
258 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, in evaluate()
263 PathParser.PathData endPathData) { in evaluate()
264 if (!PathParser.interpolatePathData(mPathData, startPathData, endPathData, fraction)) { in evaluate()
298 PathParser.PathData nodesFrom = fromString == null in getPVH()
299 ? null : new PathParser.PathData(fromString); in getPVH()
300 PathParser.PathData nodesTo = toString == null in getPVH()
301 ? null : new PathParser.PathData(toString); in getPVH()
[all …]
DPropertyValuesHolder.java24 import android.util.PathParser;
1084 if (values.startValue instanceof PathParser.PathData) { in getPropertyValues()
1087 values.startValue = new PathParser.PathData((PathParser.PathData) values.startValue); in getPropertyValues()
1090 if (values.endValue instanceof PathParser.PathData) { in getPropertyValues()
1093 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue); in getPropertyValues()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java23 import android.util.PathParser;
34 AdaptiveIconDrawable.sMask = PathParser.createPathFromPathData(pathString); in constructor_after()
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
DAdaptiveIconShapeDrawable.java26 import android.util.PathParser;
55 final Path path = new Path(PathParser.createPathFromPathData( in init()
DAdaptiveOutlineDrawable.java28 import android.util.PathParser;
46 mPath = new Path(PathParser.createPathFromPathData( in AdaptiveOutlineDrawable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt29 import android.util.PathParser in <lambda>()
387 perimeterPath.set(PathParser.createPathFromPathData(pathString)) in <lambda>()
392 errorPerimeterPath.set(PathParser.createPathFromPathData(errorPathString)) in <lambda>()
397 fillMask.set(PathParser.createPathFromPathData(fillMaskString)) in <lambda>()
403 boltPath.set(PathParser.createPathFromPathData(boltPathString)) in <lambda>()
407 plusPath.set(PathParser.createPathFromPathData(plusPathString)) in <lambda>()
DSignalDrawable.java37 import android.util.PathParser;
90 mXPath.set(PathParser.createPathFromPathData(xPathString)); in SignalDrawable()
/frameworks/base/core/java/android/util/
DPathParser.java25 public class PathParser { class
26 static final String LOGTAG = PathParser.class.getSimpleName();
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPathSpecCornerPathRenderer.java24 import android.util.PathParser;
52 Path path = PathParser.createPathFromPathData(pathData); in PathSpecCornerPathRenderer()
/frameworks/base/core/java/android/transition/
DPatternPathMotion.java24 import android.util.PathParser;
62 Path pattern = PathParser.createPathFromPathData(pathData); in PatternPathMotion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraAvailabilityListener.kt24 import android.util.PathParser
138 p = PathParser.createPathFromPathData(spec) in onApplyCameraProtection()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java24 import android.util.PathParser;
114 Path path = PathParser.createPathFromPathData(pathData); in parseInterpolatorFromTypeArray()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java45 import android.util.PathParser;
1608 protected PathParser.PathData mPathData = null;
1613 private static final Property<VPath, PathParser.PathData> PATH_DATA =
1614 new Property<VPath, PathParser.PathData>(PathParser.PathData.class, "pathData") {
1616 public void set(VPath object, PathParser.PathData data) {
1621 public PathParser.PathData get(VPath object) {
1641 mPathData = copy.mPathData == null ? null : new PathParser.PathData(copy.mPathData); in VPath()
1650 public PathParser.PathData getPathData() { in getPathData()
1656 public void setPathData(PathParser.PathData pathData) { in setPathData()
1735 mPathData = new PathParser.PathData(pathDataString); in updateStateFromTypedArray()
[all …]
DAnimatedVectorDrawable.java52 import android.util.PathParser;
1333 if (mTmpValues.endValue instanceof PathParser.PathData && in createRTAnimator()
1389 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue) in createRTAnimatorForPath()
1391 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) in createRTAnimatorForPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleView.java34 import android.util.PathParser;
263 Path iconPath = PathParser.createPathFromPathData( in updateViews()
/frameworks/base/core/java/android/view/
DDisplayCutout.java45 import android.util.PathParser;
668 p = PathParser.createPathFromPathData(spec); in pathAndDisplayCutoutFromSpec()
690 bottomPath = PathParser.createPathFromPathData(bottomSpec); in pathAndDisplayCutoutFromSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java35 import android.util.PathParser;
86 Path path = new Path(PathParser.createPathFromPathData( in QSTileBaseView()
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java32 import android.util.PathParser;
134 Path pathFromDeviceConfig = PathParser.createPathFromPathData( in testGetIconMask_withoutBounds()

12