Searched refs:numPoints (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 60 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/legacy/recents/src/com/android/systemui/recents/misc/ |
D | FreePathInterpolator.java | 59 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/ |
D | PathKeyframes.java | 67 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/ |
D | PathInterpolator.java | 164 int numPoints = pointComponents.length / 3; in initPath() local 171 mX = new float[numPoints]; in initPath() 172 mY = new float[numPoints]; in initPath() 176 for (int i = 0; i < numPoints; i++) { in initPath()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | GestureDescriptionTest.java | 201 int numPoints = GestureDescription.getMaxStrokeCount(); in testMaxTouchpoints_shouldHaveValidCoords() local 202 for (int i = 0; i < numPoints; i++) { in testMaxTouchpoints_shouldHaveValidCoords() 213 assertThat(steps.get(0), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(numPoints), in testMaxTouchpoints_shouldHaveValidCoords() 215 assertThat(steps.get(1), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(0), in testMaxTouchpoints_shouldHaveValidCoords() 217 assertThat(steps.get(2), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(0), in testMaxTouchpoints_shouldHaveValidCoords() 218 numEndsOfStroke(numPoints), isAtTime(samplePeriod * 2))); in testMaxTouchpoints_shouldHaveValidCoords() 222 for (int i = 0; i < numPoints; i++) { in testMaxTouchpoints_shouldHaveValidCoords()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 268 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/ |
D | Path.cpp | 445 size_t numPoints = segmentPoints.size(); in approximate() local 446 size_t approximationArraySize = numPoints * 3; in approximate() 451 for (size_t i = 0; i < numPoints; i++) { in approximate()
|