Home
last modified time | relevance | path

Searched refs:nowStart (Results 1 - 2 of 2) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Devent_handler.cpp245 void 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 void EventHandler::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()
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/
H A Devent_handler.h894 * @param nowStart Dotting before distribution.
896 void DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
902 * @param nowStart Dotting before distribution.
904 void DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);

Completed in 3 milliseconds