Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Devent_handler.cpp245 … EventHandler::DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DeliveryTimeAction() argument
257 std::chrono::duration<double> deliveryTime = nowStart - event->GetSendTime(); in DeliveryTimeAction()
263 if ((nowStart - std::chrono::milliseconds(deliveryTimeout)) > event->GetHandleTime()) { in DeliveryTimeAction()
273 …ventHandler::DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DistributeTimeAction() argument
286 std::chrono::duration<double> distributeTime = nowEnd - nowStart; in DistributeTimeAction()
292 if ((nowEnd - std::chrono::milliseconds(distributeTimeout)) > nowStart) { in DistributeTimeAction()
311 InnerEvent::TimePoint nowStart = InnerEvent::Clock::now(); in DistributeEvent() local
312 DeliveryTimeAction(event, nowStart); in DistributeEvent()
322 DistributeTimeAction(event, nowStart); in DistributeEvent()
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_handler.cpp369 … EventHandler::DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DeliveryTimeAction() argument
382 std::chrono::duration<double> deliveryTime = nowStart - event->GetSendTime(); in DeliveryTimeAction()
388 if ((nowStart - std::chrono::milliseconds(deliveryTimeout)) > event->GetHandleTime()) { in DeliveryTimeAction()
398 …ventHandler::DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DistributeTimeAction() argument
412 std::chrono::duration<double> distributeTime = nowEnd - nowStart; in DistributeTimeAction()
418 if ((nowEnd - std::chrono::milliseconds(distributeTimeout)) > nowStart) { in DistributeTimeAction()
468 InnerEvent::TimePoint nowStart = InnerEvent::Clock::now(); in DistributeEvent() local
469 DeliveryTimeAction(event, nowStart); in DistributeEvent()
494 DistributeTimeAction(event, nowStart); in DistributeEvent()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/
H A Devent_handler.h896 void DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
904 void DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
/ohos5.0/base/notification/eventhandler/interfaces/inner_api/
H A Devent_handler.h987 void DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
995 void DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);