MCPcopy Create free account
hub / github.com/comaps/comaps / UserEventStream

Method UserEventStream

libs/drape_frontend/user_event_stream.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147UserEventStream::UserEventStream()
148 : m_state(STATE_EMPTY)
149 , m_animationSystem(AnimationSystem::Instance())
150 , m_startDragOrg(m2::PointD::Zero())
151 , m_startDoubleTapAndHold(m2::PointD::Zero())
152 , m_dragThreshold(math::Pow2(VisualParams::Instance().GetDragThreshold()))
153{}
154
155void UserEventStream::AddEvent(drape_ptr<UserEvent> && event)
156{

Callers

nothing calls this directly

Calls 3

ZeroFunction · 0.85
Pow2Function · 0.85
GetDragThresholdMethod · 0.80

Tested by

no test coverage detected