Home
last modified time | relevance | path

Searched refs:PathParser (Results 1 – 25 of 42) 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.cpp262 TEST(PathParser, parseStringForData) { in TEST() argument
264 PathParser::ParseResult result; in TEST()
268 PathParser::getPathDataFromAsciiString(&pathData, &result, testData.pathString, length); in TEST()
273 PathParser::ParseResult result; in TEST()
276 PathParser::getPathDataFromAsciiString(&pathData, &result, stringPath.stringPath, in TEST()
292 TEST(PathParser, parseAsciiStringForSkPath) { in TEST() argument
294 PathParser::ParseResult result; in TEST()
298 PathParser::parseAsciiStringForSkPath(&actualPath, &result, testData.pathString, length); in TEST()
307 PathParser::ParseResult result; in TEST()
309 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 {
/frameworks/base/libs/hwui/jni/
Dandroid_util_PathParser.cpp34 PathParser::ParseResult result; in parseStringForPath()
35 PathParser::parseAsciiStringForSkPath(skPath, &result, pathString, strLength); in parseStringForPath()
56 PathParser::ParseResult result; in createPathDataFromStringPath()
57 PathParser::getPathDataFromAsciiString(pathData, &result, pathString, strLength); in createPathDataFromStringPath()
/frameworks/base/core/java/android/animation/
DAnimatorInflater.java33 import android.util.PathParser;
261 private static class PathDataEvaluator implements TypeEvaluator<PathParser.PathData> {
262 private final PathParser.PathData mPathData = new PathParser.PathData();
265 public PathParser.PathData evaluate(float fraction, PathParser.PathData startPathData, in evaluate()
266 PathParser.PathData endPathData) { in evaluate()
267 if (!PathParser.interpolatePathData(mPathData, startPathData, endPathData, fraction)) { in evaluate()
301 PathParser.PathData nodesFrom = fromString == null in getPVH()
302 ? null : new PathParser.PathData(fromString); in getPVH()
303 PathParser.PathData nodesTo = toString == null in getPVH()
304 ? 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/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.java30 import android.util.PathParser;
83 mPath = new Path(PathParser.createPathFromPathData( in init()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt29 import android.util.PathParser in <lambda>()
389 perimeterPath.set(PathParser.createPathFromPathData(pathString)) in <lambda>()
394 errorPerimeterPath.set(PathParser.createPathFromPathData(errorPathString)) in <lambda>()
399 fillMask.set(PathParser.createPathFromPathData(fillMaskString)) in <lambda>()
405 boltPath.set(PathParser.createPathFromPathData(boltPathString)) in <lambda>()
409 plusPath.set(PathParser.createPathFromPathData(plusPathString)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraProtectionLoader.kt23 import android.util.PathParser
93 PathParser.createPathFromPathData(pathString.trim()) in loadCameraProtectionInfoList()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java26 import android.util.PathParser;
113 p = PathParser.createPathFromPathData(spec); in oldMethodParsingSpec()
135 bottomPath = PathParser.createPathFromPathData(bottomSpec); in oldMethodParsingSpec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDrawable.kt26 import android.util.PathParser in <lambda>()
97 PathShape(PathParser.createPathFromPathData(fpPath), 72f, 72f) in context()
/frameworks/base/core/java/android/util/
DPathParser.java26 public class PathParser { class
27 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/decor/
DScreenDecorCommand.kt21 import android.util.PathParser
161 PathParser.createPathFromPathData(this) in toRoundedCornerDebugModel()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DGraphicsUtils.java34 import androidx.core.graphics.PathParser;
108 Path path = PathParser.createPathFromPathData( in getShapePath()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java29 import android.util.PathParser;
116 Path path = PathParser.createPathFromPathData(pathData); in parseInterpolatorFromTypeArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DAccessorizedBatteryDrawable.kt29 import android.util.PathParser in <lambda>()
214 shieldPath.set(PathParser.createPathFromPathData(shieldPathString)) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleOverflow.kt28 import android.util.PathParser
152 PathParser.createPathFromPathData( in updateBtnTheme()
DBadgedImageView.java29 import android.util.PathParser;
143 Path iconPath = PathParser.createPathFromPathData( in initialize()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java46 import android.util.PathParser;
1605 protected PathParser.PathData mPathData = null;
1610 private static final Property<VPath, PathParser.PathData> PATH_DATA =
1611 new Property<VPath, PathParser.PathData>(PathParser.PathData.class, "pathData") {
1613 public void set(VPath object, PathParser.PathData data) {
1618 public PathParser.PathData get(VPath object) {
1638 mPathData = copy.mPathData == null ? null : new PathParser.PathData(copy.mPathData); in VPath()
1647 public PathParser.PathData getPathData() { in getPathData()
1653 public void setPathData(PathParser.PathData pathData) { in setPathData()
1732 mPathData = new PathParser.PathData(pathDataString); in updateStateFromTypedArray()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryLayersDrawable.kt27 import android.util.PathParser
327 PathParser.createPathFromPathData( in newBatteryDrawable()
/frameworks/base/core/java/android/view/
DDisplayShape.java30 import android.util.PathParser;
329 final Path path = PathParser.createPathFromPathData(shape.mDisplayShapeSpec); in getPath()

12