Searched refs:latestEvent (Results 1 - 2 of 2) sorted by relevance
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_smooth_processor.cpp | 49 DragMoveEvent latestEvent = currentEvents.back(); in SmoothMoveEvent() local 52 return resampleEvent.has_value() ? resampleEvent.value() : latestEvent; in SmoothMoveEvent() 103 DragMoveEvent latestEvent; in Resample() local 105 if (latestEvent.timestamp < event.timestamp) { in Resample() 106 latestEvent = event; in Resample() 109 if (nanoTimestamp > RESAMPLE_COORD_TIME_THRESHOLD + latestEvent.timestamp) { in Resample() 110 FI_HILOGW("latestEvent is beyond the sampling range, use this this latest event, x:%{private}f, " in Resample() 112 latestEvent.displayX, latestEvent.displayY, latestEvent in Resample() 154 DumpMoveEvent(const std::vector<DragMoveEvent>& history, const std::vector<DragMoveEvent>& current, const DragMoveEvent &historyAvgEvent, const DragMoveEvent ¤tAvgEvent, const DragMoveEvent &latestEvent) DumpMoveEvent() argument [all...] |
/base/msdp/device_status/services/interaction/drag/include/ |
H A D | drag_smooth_processor.h | 47 const DragMoveEvent ¤tAvgEvent, const DragMoveEvent &latestEvent);
|
Completed in 1 milliseconds