HomeSort by relevance Sort by last modified time
    Searched refs:Movement (Results 1 - 2 of 2) sorted by null

  /frameworks/base/include/androidfw/
VelocityTracker.h 78 // Adds movement information for a set of pointers.
80 // are included in the movement.
85 // Adds movement information for all pointers in a MotionEvent, including historical samples.
90 // insufficient movement information for the pointer.
101 // Gets a bitset containing all pointer ids from the most recent movement.
175 struct Movement {
190 Movement mMovements[HISTORY_SIZE];
253 struct Movement {
264 Movement mMovements[HISTORY_SIZE];
  /frameworks/base/libs/androidfw/
VelocityTracker.cpp 271 // Clear all pointers on down before adding the new movement.
275 // Start a new movement trace for a pointer that just went down.
288 // pointer movement. We also want to preserve the last known velocity of the pointers.
294 // before adding the movement.
383 Movement& movement = mMovements[mIndex]; local
384 movement.eventTime = eventTime;
385 movement.idBits = idBits;
388 movement.positions[i] = positions[i];
562 // Iterate over movement samples in reverse time order and collect samples
839 Movement& movement = mMovements[mIndex]; local
894 const Movement& movement = mMovements[index]; local
    [all...]

Completed in 245 milliseconds