HomeSort by relevance Sort by last modified time
    Searched defs:PathPoint (Results 1 - 2 of 2) sorted by null

  /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));
62 * Returns a Collection of PathPoint objects that describe all points in the path.
64 public Collection<PathPoint> getPoints() {
PathPoint.java 20 * location from the previous path location (if any). Any PathPoint holds the information for
24 public class PathPoint {
27 * The possible path operations that describe how to move from a preceding PathPoint to the
28 * location described by this PathPoint.
35 * The location of this PathPoint
40 * The first control point, if any, for a PathPoint of type CURVE
45 * The second control point, if any, for a PathPoint of type CURVE
50 * The motion described by the path to get from the previous PathPoint in an AnimatorPath
51 * to the location of this PathPoint. This can be one of MOVE, LINE, or CURVE.
60 private PathPoint(int operation, float x, float y)
    [all...]

Completed in 43 milliseconds