Searched refs:numSample (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DGesture.java142 public Path toPath(int width, int height, int edge, int numSample) { argument
143 return toPath(null, width, height, edge, numSample);
146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
181 * @param numSample
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample);
H A DGestureStroke.java157 * @param numSample the number of points needed
161 public Path toPath(float width, float height, int numSample) { argument
162 final float[] pts = GestureUtils.temporalSampling(this, numSample);

Completed in 47 milliseconds