/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
Stroke.java | 28 private ArrayList<Point> mPoints = new ArrayList<>(); 42 if (!mPoints.isEmpty()) { 43 mLength += mPoints.get(mPoints.size() - 1).dist(point); 45 mPoints.add(point); 49 return mPoints.size(); 57 return mPoints.get(0).dist(mPoints.get(mPoints.size() - 1)); 69 return mPoints; [all...] |
/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
AnimatorPath.java | 31 ArrayList<PathPoint> mPoints = new ArrayList<PathPoint>(); 41 mPoints.add(PathPoint.moveTo(x, y)); 49 mPoints.add(PathPoint.lineTo(x, y)); 58 mPoints.add(PathPoint.curveTo(c0X, c0Y, c1X, c1Y, x, y)); 65 return mPoints;
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
DrawView.java | 40 Path mPoints = new Path(); 94 canvas.drawPath(mPoints, mPaint1); 95 canvas.drawPath(mPoints, mPaint2); 118 mPoints_backup.addPath(mPoints); 119 mPoints.reset(); 120 mPoints.moveTo(imgPoint[0], imgPoint[1]); 125 mPoints.reset(); 126 mPoints.addPath(mPoints_backup); 134 mPoints.lineTo(imgMoveList[i], imgMoveList[i + 1]); 148 mPoints.lineTo(imgPoint[0], imgPoint[1]) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
Spline.java | 30 private final Vector<ControlPoint> mPoints; 45 mPoints = new Vector<ControlPoint>(); 49 mPoints = new Vector<ControlPoint>(); 50 for (int i = 0; i < spline.mPoints.size(); i++) { 51 ControlPoint p = spline.mPoints.elementAt(i); 53 mPoints.add(newPoint); 58 Collections.sort(mPoints); 99 ControlPoint p = mPoints.elementAt(i); 100 ControlPoint otherPoint = other.mPoints.elementAt(i); 113 if (pick < 0 || pick > mPoints.size() - 1) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
SplineMath.java | 5 double[][] mPoints = new double[6][2]; 8 mPoints = new double[n][2]; 12 mPoints[index][0] = x; 13 mPoints[index][1] = y; 19 double[][] points = new double[mPoints.length][2]; 20 for (int i = 0; i < mPoints.length; i++) { 22 points[i][0] = mPoints[i][0]; 23 points[i][1] = mPoints[i][1]; 81 mDerivatives = solveSystem(mPoints); 83 for (int j = 0; j < mPoints.length - 1; j++) [all...] |
FilterDrawRepresentation.java | 95 public float[] mPoints = new float[20]; 106 mPoints = Arrays.copyOf(copy.mPoints, copy.mPoints.length); 285 mCurrent.mPoints[0] = x; 286 mCurrent.mPoints[1] = y; 293 if ((len+2) > mCurrent.mPoints.length) { 294 mCurrent.mPoints = Arrays.copyOf(mCurrent.mPoints, mCurrent.mPoints.length * 2) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/perf/ |
Timer.java | 77 private final Map<String, ArrayList<PerformancePoint>> mPoints = Maps.newHashMap(); 100 ArrayList<PerformancePoint> values = mPoints.get(tag); 103 mPoints.put(tag, values); 117 ArrayList<PerformancePoint> values = mPoints.get(tag); 138 mPoints.clear(); 149 for (Map.Entry<String, ArrayList<PerformancePoint>> entry : mPoints.entrySet()) {
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 204 private float[] mPoints; 235 if (mPoints == null || mPoints.length < mBytes.length * 4) { 236 mPoints = new float[mBytes.length * 4]; 242 mPoints[i * 4] = mRect.width() * i / (mBytes.length - 1); 243 mPoints[i * 4 + 1] = mRect.height() / 2 245 mPoints[i * 4 + 2] = mRect.width() * (i + 1) / (mBytes.length - 1); 246 mPoints[i * 4 + 3] = mRect.height() / 2 250 canvas.drawLines(mPoints, mForePaint);
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
BallsRS.java | 38 private ScriptField_Point mPoints; 69 sb.addInput(mPoints.getElement()); 112 mPoints = new ScriptField_Point(mRS, PART_COUNT, Allocation.USAGE_SCRIPT); 115 smb.addVertexAllocation(mPoints.getAllocation()); 130 mScript.bind_point(mPoints);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
LinesActivity.java | 63 private final float[] mPoints; 102 mPoints = new float[] { 135 canvas.drawLines(mPoints, mAlphaPaint); 145 canvas.drawLines(mPoints, mAlphaPaint);
|
/external/skia/tools/debugger/ |
SkObjectParser.cpp | 227 SkString* mPoints = new SkString("SkPoints pts[]: "); 229 mPoints->append("("); 230 mPoints->appendScalar(pts[i].fX); 231 mPoints->append(","); 232 mPoints->appendScalar(pts[i].fY); 233 mPoints->append(")"); 235 return mPoints;
|
/frameworks/base/libs/hwui/ |
DisplayListOp.h | [all...] |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/24.4.0-beta3/ |
perflib-24.4.0-beta3.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/24.4.0-beta6/ |
perflib-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/24.5.0/ |
perflib-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0/ |
perflib-25.0.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-alpha1/ |
perflib-25.0.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-alpha3/ |
perflib-25.0.0-alpha3.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-alpha5/ |
perflib-25.0.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-alpha7/ |
perflib-25.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-alpha9/ |
perflib-25.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-beta2/ |
perflib-25.0.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-beta5/ |
perflib-25.0.0-beta5.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-beta6/ |
perflib-25.0.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/perflib/perflib/25.0.0-beta7/ |
perflib-25.0.0-beta7.jar | |