Home | History | Annotate | Download | only in gesture

Lines Matching refs:Path

22 import android.graphics.Path;
125 public Path toPath() {
129 public Path toPath(Path path) {
130 if (path == null) path = new Path();
136 path.addPath(strokes.get(i).getPath());
139 return path;
142 public Path toPath(int width, int height, int edge, int numSample) {
146 public Path toPath(Path path, int width, int height, int edge, int numSample) {
147 if (path == null) path = new Path();
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
156 return path;
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample);
205 canvas.drawPath(path, paint);
234 final Path path = toPath();
236 path.computeBounds(bounds, true);
243 path.offset(-bounds.left + (width - bounds.width() * scale) / 2.0f,
249 canvas.drawPath(path, paint);