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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DRoundRobinScheduler.java30 private int mLastPos = -1; field in class:RoundRobinScheduler
38 mLastPos = -1;
44 if (mLastPos >= all_filters.size()) mLastPos = -1;
50 if (pos <= mLastPos) {
58 mLastPos = pos;
66 mLastPos = firstNdx;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A DSwipeDetector.java154 private final PointF mLastPos = new PointF(); field in class:SwipeDetector
215 mLastPos.set(mDownPos);
231 ev.getX(newPointerIdx) - (mLastPos.x - mDownPos.x),
232 ev.getY(newPointerIdx) - (mLastPos.y - mDownPos.y));
233 mLastPos.set(ev.getX(newPointerIdx), ev.getY(newPointerIdx));
243 computeVelocity(mDir.getDisplacement(ev, pointerIndex, mLastPos),
253 mLastPos.set(ev.getX(pointerIndex), ev.getY(pointerIndex));

Completed in 108 milliseconds