Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DPathMeasure_Delegate.java105 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() local
106 assert pathMeasure != null; in native_setPath()
116pathMeasure.mOriginalPathIterator = new CachedPathIteratorFactory(pathDelegate.getJavaShape() in native_setPath()
120 pathMeasure.mNativePath = native_path; in native_setPath()
125 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_getLength() local
126 assert pathMeasure != null; in native_getLength()
128 if (pathMeasure.mOriginalPathIterator == null) { in native_getLength()
132 return pathMeasure.mOriginalPathIterator.iterator().getTotalLength(); in native_getLength()
137 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_isClosed() local
138 assert pathMeasure != null; in native_isClosed()
[all …]
/frameworks/base/core/java/android/transition/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
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()
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java264 PathMeasure pathMeasure = new PathMeasure(tempPath, false); in StrokeDescription() local
265 pathMeasure.getPosTan(0, mTapLocation, null); in StrokeDescription()