Lines Matching refs:id
29 * and {@link #getYVelocity(int)} to retrieve the velocity for each pointer id.
45 private static native float nativeGetXVelocity(int ptr, int id);
46 private static native float nativeGetYVelocity(int ptr, int id);
47 private static native boolean nativeGetEstimator(int ptr, int id, Estimator outEstimator);
180 * @param id Which pointer's velocity to return.
183 public float getXVelocity(int id) {
184 return nativeGetXVelocity(mPtr, id);
191 * @param id Which pointer's velocity to return.
194 public float getYVelocity(int id) {
195 return nativeGetYVelocity(mPtr, id);
205 * @param id Which pointer's velocity to return.
212 public boolean getEstimator(int id, Estimator outEstimator) {
216 return nativeGetEstimator(mPtr, id, outEstimator);