Home
last modified time | relevance | path

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

/ohos5.0/base/msdp/device_status/services/interaction/drag/include/
H A Ddrag_smooth_processor.h27 struct DragMoveEvent { struct
36 void InsertEvent(const DragMoveEvent &event);
41 std::optional<DragMoveEvent> GetInterpolatedEvent(const DragMoveEvent &historyAvgEvent,
43 std::optional<DragMoveEvent> Resample(const std::vector<DragMoveEvent>& history,
46 const std::vector<DragMoveEvent>& current, const DragMoveEvent &historyAvgEvent,
47 const DragMoveEvent &currentAvgEvent, const DragMoveEvent &latestEvent);
48 DragMoveEvent GetNearestEvent(const std::vector<DragMoveEvent>& events, uint64_t nanoTimestamp);
49 DragMoveEvent GetAvgCoordinate(const std::vector<DragMoveEvent>& events);
50 std::optional<DragMoveEvent> GetResampleEvent(const std::vector<DragMoveEvent>& history,
52 std::vector<DragMoveEvent> moveEvents_;
[all …]
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_smooth_processor.cpp63 std::optional<DragMoveEvent> DragSmoothProcessor::GetResampleEvent(const std::vector<DragMoveEvent>… in GetResampleEvent()
71 DragMoveEvent DragSmoothProcessor::GetNearestEvent(const std::vector<DragMoveEvent>& events, uint64… in GetNearestEvent()
73 DragMoveEvent nearestEvent; in GetNearestEvent()
95 std::optional<DragMoveEvent> DragSmoothProcessor::Resample(const std::vector<DragMoveEvent>& histor… in Resample()
103 DragMoveEvent latestEvent; in Resample()
121 std::optional<DragMoveEvent> DragSmoothProcessor::GetInterpolatedEvent(const DragMoveEvent &history… in GetInterpolatedEvent()
135 DragMoveEvent event; in GetInterpolatedEvent()
155 const std::vector<DragMoveEvent>& current, const DragMoveEvent &historyAvgEvent, in DumpMoveEvent()
156 const DragMoveEvent &currentAvgEvent, const DragMoveEvent &latestEvent) in DumpMoveEvent()
174 DragMoveEvent DragSmoothProcessor::GetAvgCoordinate(const std::vector<DragMoveEvent>& events) in GetAvgCoordinate()
[all …]
H A Ddrag_drawing.cpp1054 DragMoveEvent event = dragSmoothProcessor_.SmoothMoveEvent(nanoTimestamp, in FlushDragPosition()
1070 DragMoveEvent event = { in OnDragMove()