Home | History | Annotate | Download | only in transition

Lines Matching refs:Path

22 import android.graphics.Path;
32 * A PathMotion that takes a Path pattern and applies it to the separation between two points.
33 * The starting point of the Path will be moved to the origin and the end point will be scaled
44 private Path mOriginalPatternPath;
46 private final Path mPatternPath = new Path();
66 Path pattern = PathParser.createPathFromPathData(pathData);
74 * Creates a PatternPathMotion with the Path defining a pattern of motion between two
79 * @param patternPath A Path to be used as a pattern for two-dimensional motion.
81 public PatternPathMotion(Path patternPath) {
86 * Returns the Path defining a pattern of motion between two coordinates.
90 * @return the Path defining a pattern of motion between two coordinates.
92 public Path getPatternPath() {
97 * Sets the Path defining a pattern of motion between two coordinates.
101 * @param patternPath A Path to be used as a pattern for two-dimensional motion.
103 public void setPatternPath(Path patternPath) {
131 public Path getPath(float startX, float startY, float endX, float endY) {
140 Path path = new Path();
141 mPatternPath.transform(mTempMatrix, path);
142 return path;