Home
last modified time | relevance | path

Searched refs:mPathMeasure (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java203 private PathMeasure mPathMeasure; field in GestureDescription.StrokeDescription
235 mPathMeasure = new PathMeasure(path, false); in StrokeDescription()
236 if (mPathMeasure.getLength() == 0) { in StrokeDescription()
244 if (mPathMeasure.nextContour()) { in StrokeDescription()
251 mPathMeasure.setPath(mPath, false); in StrokeDescription()
285 return mPathMeasure.getLength(); in getLength()
297 return mPathMeasure.getPosTan(getLength(), pos, null); in getPosForTime()
300 return mPathMeasure.getPosTan(length, pos, null); in getPosForTime()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1030 private PathMeasure mPathMeasure; field in VectorDrawable_Delegate.VPathRenderer_Delegate
1109 if (mPathMeasure == null) { in drawPath()
1110 mPathMeasure = new PathMeasure(); in drawPath()
1112 mPathMeasure.setPath(mPath, false); in drawPath()
1114 float len = mPathMeasure.getLength(); in drawPath()
1119 mPathMeasure.getSegment(start, len, path, true); in drawPath()
1120 mPathMeasure.getSegment(0f, end, path, true); in drawPath()
1122 mPathMeasure.getSegment(start, end, path, true); in drawPath()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1070 private PathMeasure mPathMeasure; field in VectorDrawableCompat.VPathRenderer
1190 if (mPathMeasure == null) { in drawPath()
1191 mPathMeasure = new PathMeasure(); in drawPath()
1193 mPathMeasure.setPath(mPath, false); in drawPath()
1195 float len = mPathMeasure.getLength(); in drawPath()
1200 mPathMeasure.getSegment(start, len, path, true); in drawPath()
1201 mPathMeasure.getSegment(0f, end, path, true); in drawPath()
1203 mPathMeasure.getSegment(start, end, path, true); in drawPath()