Searched refs:newPoint (Results 1 – 3 of 3) sorted by relevance
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CbGeoUtilsTest.java | 131 newPoint(0.0, 0.0), newPoint(0.0, 100.0)); in testDistanceFromSegmentToPerpendicularPoint() 132 double dX = seg.distance(newPoint(50.0, 50)); in testDistanceFromSegmentToPerpendicularPoint() 135 double dY = seg.distance(newPoint(0.0, 200.0)); in testDistanceFromSegmentToPerpendicularPoint() 143 new CbGeoUtils.LineSegment(newPoint(0.0, 0.0), in testDistanceFromSegmentToAngledPoint() 144 newPoint(0.0, 100.0)); in testDistanceFromSegmentToAngledPoint() 147 double upperLeftDistanceSegment = seg.distance(newPoint(-50.0, -50.0)); in testDistanceFromSegmentToAngledPoint() 150 double bottomRightDistanceSegment = seg.distance(newPoint(50.0, 150)); in testDistanceFromSegmentToAngledPoint() 238 private CbGeoUtils.Point newPoint(double x, double y) { in newPoint() method in CbGeoUtilsTest
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputTestsBase.java | 339 final Point newPoint = getXY(stringToGesture.codePointAt(i)); in gesture() local 344 pointers.addPointer(oldPoint.x + ((newPoint.x - oldPoint.x) * j) / STEPS, in gesture() 345 oldPoint.y + ((newPoint.y - oldPoint.y) * j) / STEPS, in gesture() 348 oldPoint.x = newPoint.x; in gesture() 349 oldPoint.y = newPoint.y; in gesture()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | Spline.java | 52 ControlPoint newPoint = new ControlPoint(p); in Spline() local 53 mPoints.add(newPoint); in Spline() 55 mCurrentControlPoint = newPoint; in Spline()
|