Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java30 private final Vector<ControlPoint> mPoints; field in Spline
45 mPoints = new Vector<ControlPoint>(); in Spline()
49 mPoints = new Vector<ControlPoint>(); in Spline()
50 for (int i = 0; i < spline.mPoints.size(); i++) { in Spline()
51 ControlPoint p = spline.mPoints.elementAt(i); in Spline()
53 mPoints.add(newPoint); in Spline()
58 Collections.sort(mPoints); in Spline()
99 ControlPoint p = mPoints.elementAt(i); in sameValues()
100 ControlPoint otherPoint = other.mPoints.elementAt(i); in sameValues()
113 if (pick < 0 || pick > mPoints.size() - 1) { in movePoint()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java95 public float[] mPoints = new float[20]; field in FilterDrawRepresentation.StrokeData
106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); in StrokeData()
285 mCurrent.mPoints[0] = x; in startNewSection()
286 mCurrent.mPoints[1] = y; in startNewSection()
293 if ((len+2) > mCurrent.mPoints.length) { in addPoint()
294 mCurrent.mPoints = Arrays.copyOf(mCurrent.mPoints, mCurrent.mPoints.length * 2); in addPoint()
296 mCurrent.mPoints[len] = x; in addPoint()
297 mCurrent.mPoints[len + 1] = y; in addPoint()
338 writer.value(mark.mPoints[j]); in serializeRepresentation()
371 if ((count + 1) > stroke.mPoints.length) { in deSerializeRepresentation()
[all …]
DSplineMath.java5 double[][] mPoints = new double[6][2]; field in SplineMath
8 mPoints = new double[n][2]; in SplineMath()
12 mPoints[index][0] = x; in setPoint()
13 mPoints[index][1] = y; in setPoint()
19 double[][] points = new double[mPoints.length][2]; in calculatetCurve()
20 for (int i = 0; i < mPoints.length; i++) { in calculatetCurve()
22 points[i][0] = mPoints[i][0]; in calculatetCurve()
23 points[i][1] = mPoints[i][1]; in calculatetCurve()
81 mDerivatives = solveSystem(mPoints); in getValue()
83 for (int j = 0; j < mPoints.length - 1; j++) { in getValue()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/perf/
DTimer.java77 private final Map<String, ArrayList<PerformancePoint>> mPoints = Maps.newHashMap(); field in Timer
100 ArrayList<PerformancePoint> values = mPoints.get(tag); in start()
103 mPoints.put(tag, values); in start()
117 ArrayList<PerformancePoint> values = mPoints.get(tag); in pause()
138 mPoints.clear(); in clear()
149 for (Map.Entry<String, ArrayList<PerformancePoint>> entry : mPoints.entrySet()) { in dumpResults()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskTest.java340 private final LinkedList<Point> mPoints; field in GridSizeMigrationTaskTest.MultiStepMigrationTaskVerifier
345 mPoints = new LinkedList<>(); in MultiStepMigrationTaskVerifier()
347 mPoints.add(new Point(points[i], points[i + 1])); in MultiStepMigrationTaskVerifier()
353 assertEquals(sourceSize, mPoints.poll()); in runStepTask()
354 assertEquals(nextSize, mPoints.poll()); in runStepTask()
359 assertTrue(mPoints.isEmpty()); in assertCompleted()