Searched refs:nanoTimestamp (Results 1 - 7 of 7) sorted by relevance
/base/msdp/device_status/services/interaction/drag/src/ |
H A D | drag_smooth_processor.cpp | 40 DragMoveEvent DragSmoothProcessor::SmoothMoveEvent(uint64_t nanoTimestamp, uint64_t vSyncPeriod) in SmoothMoveEvent() argument 42 resampleTimeStamp_ = nanoTimestamp - vSyncPeriod + ONE_MS_IN_NS; in SmoothMoveEvent() 64 const std::vector<DragMoveEvent>& current, uint64_t nanoTimestamp) in GetResampleEvent() 66 auto event = Resample(history, current, nanoTimestamp); in GetResampleEvent() 67 DragMoveEvent nearestEvent = GetNearestEvent(current, nanoTimestamp); in GetResampleEvent() 71 DragMoveEvent DragSmoothProcessor::GetNearestEvent(const std::vector<DragMoveEvent>& events, uint64_t nanoTimestamp) in GetNearestEvent() argument 76 if (event.timestamp == nanoTimestamp) { in GetNearestEvent() 80 if (event.timestamp > nanoTimestamp) { in GetNearestEvent() 81 if (event.timestamp - nanoTimestamp < gap) { in GetNearestEvent() 82 gap = event.timestamp - nanoTimestamp; in GetNearestEvent() 63 GetResampleEvent(const std::vector<DragMoveEvent>& history, const std::vector<DragMoveEvent>& current, uint64_t nanoTimestamp) GetResampleEvent() argument 95 Resample(const std::vector<DragMoveEvent>& history, const std::vector<DragMoveEvent>& current, uint64_t nanoTimestamp) Resample() argument 121 GetInterpolatedEvent(const DragMoveEvent &historyAvgEvent, const DragMoveEvent ¤tAvgEvent, uint64_t nanoTimestamp) GetInterpolatedEvent() argument [all...] |
H A D | drag_vsync_station.cpp | 151 void DragVSyncStation::OnVSyncInner(uint64_t nanoTimestamp) in OnVSyncInner() argument 160 (*callback.second)(nanoTimestamp); in OnVSyncInner() 165 void DragVSyncStation::OnVSync(uint64_t nanoTimestamp, void *client) in OnVSync() argument 169 vSyncClient->OnVSyncInner(nanoTimestamp); in OnVSync()
|
H A D | drag_drawing.cpp | 1218 void DragDrawing::FlushDragPosition(uint64_t nanoTimestamp) in FlushDragPosition() argument 1222 rsUiDirector_->SetTimeStamp(nanoTimestamp, RENDER_THREAD_NAME); in FlushDragPosition() 1226 DragMoveEvent event = dragSmoothProcessor_.SmoothMoveEvent(nanoTimestamp, in FlushDragPosition() 1255 frameCallback_ = std::make_shared<DragFrameCallback>([this](uint64_t nanoTimestamp) { in OnDragMove() 1256 this->FlushDragPosition(nanoTimestamp); in OnDragMove()
|
/base/msdp/device_status/services/interaction/drag/include/ |
H A D | drag_smooth_processor.h | 37 DragMoveEvent SmoothMoveEvent(uint64_t nanoTimestamp, uint64_t vSyncPeriod); 42 const DragMoveEvent ¤tAvgEvent, uint64_t nanoTimestamp); 44 const std::vector<DragMoveEvent>& current, uint64_t nanoTimestamp); 48 DragMoveEvent GetNearestEvent(const std::vector<DragMoveEvent>& events, uint64_t nanoTimestamp); 51 const std::vector<DragMoveEvent>& current, uint64_t nanoTimestamp);
|
H A D | drag_vsync_station.h | 43 void OnVSyncInner(uint64_t nanoTimestamp); 44 static void OnVSync(uint64_t nanoTimestamp, void *client);
|
H A D | drag_drawing.h | 370 void FlushDragPosition(uint64_t nanoTimestamp);
|
/base/web/webview/ohos_adapter/graphic_adapter/include/ |
H A D | vsync_adapter_impl.h | 48 void VsyncCallbackInner(int64_t nanoTimestamp);
|
Completed in 8 milliseconds