Home
last modified time | relevance | path

Searched refs:numPoints (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v4/donut/android/support/v4/view/animation/
DPathInterpolatorDonut.java40 final int numPoints = (int) (pathLength / PRECISION) + 1; in PathInterpolatorDonut() local
42 mX = new float[numPoints]; in PathInterpolatorDonut()
43 mY = new float[numPoints]; in PathInterpolatorDonut()
46 for (int i = 0; i < numPoints; ++i) { in PathInterpolatorDonut()
47 final float distance = (i * pathLength) / (numPoints - 1); in PathInterpolatorDonut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPathInterpolatorBuilder.java60 int numPoints = pointComponents.length / 3; in initPath() local
67 mX = new float[numPoints]; in initPath()
68 mY = new float[numPoints]; in initPath()
69 mDist = new float[numPoints]; in initPath()
73 for (int i = 0; i < numPoints; i++) { in initPath()
97 for (int i = 0; i < numPoints; i++) { in initPath()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DFreePathInterpolator.java59 int numPoints = pointComponents.length / 3; in initPath() local
61 mX = new float[numPoints]; in initPath()
62 mY = new float[numPoints]; in initPath()
68 for (int i = 0; i < numPoints; i++) { in initPath()
/frameworks/base/core/java/android/animation/
DPathKeyframes.java67 int numPoints = mKeyframeData.length / 3; in getValue() local
71 return interpolateInRange(fraction, numPoints - 2, numPoints - 1); in getValue()
75 return pointForIndex(numPoints - 1); in getValue()
79 int high = numPoints - 1; in getValue()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java160 int numPoints = pointComponents.length / 3; in initPath() local
167 mX = new float[numPoints]; in initPath()
168 mY = new float[numPoints]; in initPath()
172 for (int i = 0; i < numPoints; i++) { in initPath()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java268 public static float[] temporalSampling(GestureStroke stroke, int numPoints) { in temporalSampling() argument
269 final float increment = stroke.length / (numPoints - 1); in temporalSampling()
270 int vectorLength = numPoints * 2; in temporalSampling()
/frameworks/base/core/jni/android/graphics/
DPath.cpp452 size_t numPoints = segmentPoints.size(); in approximate() local
453 size_t approximationArraySize = numPoints * 3; in approximate()
458 for (size_t i = 0; i < numPoints; i++) { in approximate()
/frameworks/base/libs/hwui/
DPathTessellator.cpp797 int numPoints = count / 2; in instanceVertices() local
799 dstBuffer.alloc<TYPE>(numPoints * verticesPerPoint + (numPoints - 1) * 2); in instanceVertices()