Searched refs:numPoints (Results 1 - 11 of 11) sorted by last modified time
/frameworks/support/compat/ics/android/support/v4/view/animation/ |
H A D | PathInterpolatorApi14.java | 40 final int numPoints = (int) (pathLength / PRECISION) + 1; 42 mX = new float[numPoints]; 43 mY = new float[numPoints]; 46 for (int i = 0; i < numPoints; ++i) { 47 final float distance = (i * pathLength) / (numPoints - 1);
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatorInflaterCompat.java | 451 final int numPoints = min(MAX_NUM_POINTS, (int) (totalLength / precision) + 1); 453 float[] mX = new float[numPoints]; 454 float[] mY = new float[numPoints]; 458 float step = totalLength / (numPoints - 1); 464 for (int i = 0; i < numPoints; ++i) {
|
H A D | PathInterpolatorCompat.java | 139 final int numPoints = min(MAX_NUM_POINTS, (int) (pathLength / PRECISION) + 1); 141 if (numPoints <= 0) { 145 mX = new float[numPoints]; 146 mY = new float[numPoints]; 149 for (int i = 0; i < numPoints; ++i) { 150 final float distance = (i * pathLength) / (numPoints - 1); 157 if (abs(mX[0]) > EPSILON || abs(mY[0]) > EPSILON || abs(mX[numPoints - 1] - 1) > EPSILON 158 || abs(mY[numPoints - 1] - 1) > EPSILON) { 160 + " start: " + mX[0] + "," + mY[0] + " end:" + mX[numPoints - 1] + "," 161 + mY[numPoints [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | GestureDescriptionTest.java | 201 int numPoints = GestureDescription.getMaxStrokeCount(); 202 for (int i = 0; i < numPoints; i++) { 213 assertThat(steps.get(0), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(numPoints), 215 assertThat(steps.get(1), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(0), 217 assertThat(steps.get(2), allOf(numTouchPointsIs(numPoints), numStartsOfStroke(0), 218 numEndsOfStroke(numPoints), isAtTime(samplePeriod * 2))); 222 for (int i = 0; i < numPoints; i++) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PathInterpolatorBuilder.java | 60 int numPoints = pointComponents.length / 3; 67 mX = new float[numPoints]; 68 mY = new float[numPoints]; 69 mDist = new float[numPoints]; 73 for (int i = 0; i < numPoints; i++) { 97 for (int i = 0; i < numPoints; i++) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | FreePathInterpolator.java | 59 int numPoints = pointComponents.length / 3; 61 mX = new float[numPoints]; 62 mY = new float[numPoints]; 68 for (int i = 0; i < numPoints; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 797 int numPoints = count / 2; local 799 dstBuffer.alloc<TYPE>(numPoints * verticesPerPoint + (numPoints - 1) * 2);
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 265 * @param numPoints the number of points 268 public static float[] temporalSampling(GestureStroke stroke, int numPoints) { argument 269 final float increment = stroke.length / (numPoints - 1); 270 int vectorLength = numPoints * 2;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | PathInterpolator.java | 164 int numPoints = pointComponents.length / 3; 171 mX = new float[numPoints]; 172 mY = new float[numPoints]; 176 for (int i = 0; i < numPoints; i++) {
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 447 size_t numPoints = segmentPoints.size(); local 448 size_t approximationArraySize = numPoints * 3; 453 for (size_t i = 0; i < numPoints; i++) {
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 67 int numPoints = mKeyframeData.length / 3; 71 return interpolateInRange(fraction, numPoints - 2, numPoints - 1); 75 return pointForIndex(numPoints - 1); 79 int high = numPoints - 1;
|
Completed in 1401 milliseconds