Home
last modified time | relevance | path

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

/frameworks/support/transition/api14/android/support/transition/
DPathProperty.java38 private final PathMeasure mPathMeasure; field in PathProperty
47 mPathMeasure = new PathMeasure(path, false); in PathProperty()
48 mPathLength = mPathMeasure.getLength(); in PathProperty()
59 mPathMeasure.getPosTan(mPathLength * fraction, mPosition, null); in set()
/frameworks/support/wear/src/android/support/wear/widget/
DCurvingLayoutCallback.java35 private final PathMeasure mPathMeasure; field in CurvingLayoutCallback
53 mPathMeasure = new PathMeasure(); in CurvingLayoutCallback()
79 mPathMeasure.getPosTan(mYScrollProgress * mPathLength, mPathPoints, mPathTangent); in onLayoutFinished()
150 mPathMeasure.setPath(mCurvePath, false);
151 mPathLength = mPathMeasure.getLength();
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java210 private PathMeasure mPathMeasure; field in GestureDescription.StrokeDescription
258 mPathMeasure = new PathMeasure(path, false); in StrokeDescription()
259 if (mPathMeasure.getLength() == 0) { in StrokeDescription()
267 if (mPathMeasure.nextContour()) { in StrokeDescription()
274 mPathMeasure.setPath(mPath, false); in StrokeDescription()
365 return mPathMeasure.getLength(); in getLength()
377 return mPathMeasure.getPosTan(getLength(), pos, null); in getPosForTime()
380 return mPathMeasure.getPosTan(length, pos, null); in getPosForTime()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DVectorDrawable_Delegate.java1057 private PathMeasure mPathMeasure; field in VectorDrawable_Delegate.VPathRenderer_Delegate
1144 if (mPathMeasure == null) { in drawPath()
1145 mPathMeasure = new PathMeasure(); in drawPath()
1147 mPathMeasure.setPath(mPath, false); in drawPath()
1149 float len = mPathMeasure.getLength(); in drawPath()
1154 mPathMeasure.getSegment(start, len, path, true); in drawPath()
1155 mPathMeasure.getSegment(0f, end, path, true); in drawPath()
1157 mPathMeasure.getSegment(start, end, path, true); in drawPath()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DVectorDrawableCompat.java1077 private PathMeasure mPathMeasure; field in VectorDrawableCompat.VPathRenderer
1197 if (mPathMeasure == null) { in drawPath()
1198 mPathMeasure = new PathMeasure(); in drawPath()
1200 mPathMeasure.setPath(mPath, false); in drawPath()
1202 float len = mPathMeasure.getLength(); in drawPath()
1207 mPathMeasure.getSegment(start, len, path, true); in drawPath()
1208 mPathMeasure.getSegment(0f, end, path, true); in drawPath()
1210 mPathMeasure.getSegment(start, end, path, true); in drawPath()