/frameworks/layoutlib/bridge/src/android/graphics/ |
D | PathMeasure_Delegate.java | 105 PathMeasure_Delegate pathMeasure = sManager.getDelegate(native_instance); in native_setPath() local 106 assert pathMeasure != null; in native_setPath() 116 … pathMeasure.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/support/transition/tests/src/android/support/transition/ |
D | PathMotionTest.java | 29 PathMeasure pathMeasure = new PathMeasure(path, false); in assertPathMatches() local 36 assertEquals("Lengths differ", expectedLength, pathMeasure.getLength(), 0.01f); in assertPathMatches() 38 float minLength = Math.min(expectedLength, pathMeasure.getLength()); in assertPathMatches() 48 pathMeasure.getPosTan(along, pos, null); in assertPathMatches() 55 pathNextContour = pathMeasure.nextContour(); in assertPathMatches()
|
/frameworks/base/core/java/android/transition/ |
D | PatternPathMotion.java | 103 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/support/transition/src/android/support/transition/ |
D | PatternPathMotion.java | 103 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/support/compat/java/android/support/v4/view/animation/ |
D | PathInterpolatorApi14.java | 37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); in PathInterpolatorApi14() local 39 final float pathLength = pathMeasure.getLength(); in PathInterpolatorApi14() 48 pathMeasure.getPosTan(distance, position, null /* tangent */); in PathInterpolatorApi14()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | ArcSwipe.java | 97 PathMeasure pathMeasure = new PathMeasure(); in interpolate() local 100 pathMeasure.setPath(path, false); in interpolate() 101 float pathLength = pathMeasure.getLength(); in interpolate() 107 pathMeasure.getPosTan((pathLength * i) / (steps + 2f), res[i - 1], mPathTangent); in interpolate()
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
D | PathInterpolatorCompat.java | 136 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); in initPath() local 138 final float pathLength = pathMeasure.getLength(); in initPath() 151 pathMeasure.getPosTan(distance, position, null /* tangent */); in initPath() 176 if (pathMeasure.nextContour()) { in initPath()
|
D | AnimatorInflaterCompat.java | 449 final PathMeasure pathMeasure = new PathMeasure(path, false); in setupPathMotion() local 465 pathMeasure.getPosTan(currentDistance, position, null); in setupPathMotion() 466 pathMeasure.getPosTan(currentDistance, position, null); in setupPathMotion() 475 pathMeasure.nextContour(); in setupPathMotion()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | GestureDescription.java | 264 PathMeasure pathMeasure = new PathMeasure(tempPath, false); in StrokeDescription() local 265 pathMeasure.getPosTan(0, mTapLocation, null); in StrokeDescription()
|