Lines Matching refs:history
253 free(ti->history); in TouchFreeTouchPoint()
254 ti->history = NULL; in TouchFreeTouchPoint()
382 if (ti->history) in TouchEventHistoryAllocate()
385 ti->history = calloc(TOUCH_HISTORY_SIZE, sizeof(*ti->history)); in TouchEventHistoryAllocate()
387 if (ti->history) in TouchEventHistoryAllocate()
389 return ti->history != NULL; in TouchEventHistoryAllocate()
395 free(ti->history); in TouchEventHistoryFree()
396 ti->history = NULL; in TouchEventHistoryFree()
412 if (!ti->history) in TouchEventHistoryPush()
433 ti->history[ti->history_elements++] = *ev; in TouchEventHistoryPush()
447 if (!ti->history) in TouchEventHistoryReplay()
450 TouchDeliverDeviceClassesChangedEvent(ti, ti->history[0].time, resource); in TouchEventHistoryReplay()
453 DeviceEvent *ev = &ti->history[i]; in TouchEventHistoryReplay()