Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DStroke.java28 private ArrayList<Point> mPoints = new ArrayList<>(); field in Stroke
42 if (!mPoints.isEmpty()) { in addPoint()
43 mLength += mPoints.get(mPoints.size() - 1).dist(point); in addPoint()
45 mPoints.add(point); in addPoint()
49 return mPoints.size(); in getCount()
57 return mPoints.get(0).dist(mPoints.get(mPoints.size() - 1)); in getEndPointLength()
69 return mPoints; in getPoints()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java40 Path mPoints = new Path(); field in DrawView
94 canvas.drawPath(mPoints, mPaint1); in onDraw()
95 canvas.drawPath(mPoints, mPaint2); in onDraw()
118 mPoints_backup.addPath(mPoints); in downPoint()
119 mPoints.reset(); in downPoint()
120 mPoints.moveTo(imgPoint[0], imgPoint[1]); in downPoint()
125 mPoints.reset(); in undo()
126 mPoints.addPath(mPoints_backup); in undo()
134 mPoints.lineTo(imgMoveList[i], imgMoveList[i + 1]); in movePoint()
148 mPoints.lineTo(imgPoint[0], imgPoint[1]); in upPoint()
[all …]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java40 Path mPoints = new Path(); field in DrawView
92 canvas.drawPath(mPoints, mPaint1); in onDraw()
93 canvas.drawPath(mPoints, mPaint2); in onDraw()
108 mPoints_backup.addPath(mPoints); in downPoint()
109 mPoints.reset(); in downPoint()
110 mPoints.moveTo(imgPoint[0], imgPoint[1]); in downPoint()
114 mPoints.reset(); in undo()
115 mPoints.addPath(mPoints_backup); in undo()
123 mPoints.lineTo(imgMoveList[i], imgMoveList[i + 1]); in movePoint()
137 mPoints.lineTo(imgPoint[0], imgPoint[1]); in upPoint()
[all …]
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java38 private ScriptField_Point mPoints; field in BallsRS
69 sb.addInput(mPoints.getElement()); in createProgramVertex()
112 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT); in init()
115 smb.addVertexAllocation(mPoints.getAllocation()); in init()
130 mScript.bind_point(mPoints); in init()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DLinesActivity.java63 private final float[] mPoints; field in LinesActivity.LinesView
102 mPoints = new float[] { in LinesView()
135 canvas.drawLines(mPoints, mAlphaPaint); in onDraw()
145 canvas.drawLines(mPoints, mAlphaPaint); in onDraw()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java3739 private final List<Point> mPoints = new ArrayList<>(0);
3927 mPoints.add(new Point(colorSpace, new float[] { r, g, b }, pointColor));
3984 for (final Point point : mPoints) {