Home
last modified time | relevance | path

Searched refs:resample_time (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/ui/events/gesture_detection/
Dmotion_event_buffer.cc131 base::TimeTicks resample_time) { in ResampleMotionEvent() argument
138 DCHECK(time0 <= resample_time); in ResampleMotionEvent()
140 const float alpha = (resample_time - time0).InMillisecondsF() / in ResampleMotionEvent()
154 MotionEvent::ACTION_MOVE, resample_time, pointer)); in ResampleMotionEvent()
285 const MotionEvent* TryResample(base::TimeTicks resample_time, in TryResample() argument
291 DCHECK(resample_time < next->GetEventTime()); in TryResample()
305 if (resample_time > max_predict) { in TryResample()
310 (resample_time - time1).InMilliseconds(), in TryResample()
313 resample_time = max_predict; in TryResample()
337 ResampleMotionEvent(*event0, *event1, resample_time).release()); in TryResample()