Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/animation/
DPathKeyframes.java66 int numPoints = mKeyframeData.length / 3; in getValue() local
70 return interpolateInRange(fraction, numPoints - 2, numPoints - 1); in getValue()
74 return pointForIndex(numPoints - 1); in getValue()
78 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.cpp460 size_t numPoints = segmentPoints.size(); in approximate() local
461 size_t approximationArraySize = numPoints * 3; in approximate()
466 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()
834 int numPoints = count / 2; in tessellatePoints() local