Home
last modified time | relevance | path

Searched refs:pathMeasure (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/layoutlib/bridge/src/android/graphics/
H A DPathMeasure_Delegate.java104 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() local
105 assert pathMeasure != null; in native_setPath()
119 pathMeasure.mNativePath = native_path; in native_setPath()
124 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getLength() local
125 assert pathMeasure != null; in native_getLength()
127 if (pathMeasure.mOriginalPathIterator == null) { in native_getLength()
131 return pathMeasure.mOriginalPathIterator.iterator().getTotalLength(); in native_getLength()
136 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_isClosed() local
137 assert pathMeasure != null; in native_isClosed()
139 Path_Delegate path = Path_Delegate.getDelegate(pathMeasure.mNativePath); in native_isClosed()
[all …]
/aosp12/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java103 PathMeasure pathMeasure = new PathMeasure(patternPath, false); in setPatternPath() local
104 float length = pathMeasure.getLength(); in setPatternPath()
106 pathMeasure.getPosTan(length, pos, null); in setPatternPath()
109 pathMeasure.getPosTan(0, pos, null); in setPatternPath()
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/compat/
H A DPathInterpolatorCompat.java44 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); in PathInterpolatorBase() local
46 final float pathLength = pathMeasure.getLength(); in PathInterpolatorBase()
55 pathMeasure.getPosTan(distance, position, null /* tangent */); in PathInterpolatorBase()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DPerimeterPathGuide.java280 PathMeasure pathMeasure = new PathMeasure(); in computeRegions() local
282 pathMeasure.setPath(mRegions[i].path, false); in computeRegions()
283 mRegions[i].absoluteLength = pathMeasure.getLength(); in computeRegions()
/aosp12/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java299 PathMeasure pathMeasure = new PathMeasure(tempPath, false); in StrokeDescription() local
300 pathMeasure.getPosTan(0, mTapLocation, null); in StrokeDescription()