Lines Matching defs:oldest
1124 * Find the oldest touch that still has a pointer emulation client.
1126 * Pointer emulation can only be performed for the oldest touch. Otherwise, the
1135 TouchPointInfoPtr oldest = NULL;
1153 if (!oldest) {
1154 oldest = ti;
1158 if (oldest->client_id - ti->client_id < UINT_MAX / 2)
1159 oldest = ti;
1162 return oldest;
1213 * Check the oldest touch to see if it needs to be replayed to its pointer
1225 TouchPointInfoPtr oldest = FindOldestPointerEmulatedTouch(dev);
1227 if (oldest && oldest->listeners[0].state == TOUCH_LISTENER_AWAITING_BEGIN)
1228 TouchPuntToNextOwner(dev, oldest, NULL);