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

Method PerformDoubleTap

libs/drape_frontend/user_event_stream.cpp:1172–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170}
1171
1172void UserEventStream::PerformDoubleTap(Touch const & touch)
1173{
1174 ASSERT_EQUAL(m_state, STATE_WAIT_DOUBLE_TAP_HOLD, ());
1175 m_state = STATE_EMPTY;
1176 if (m_listener)
1177 m_listener->OnDoubleTap(m2::PointD(touch.m_location));
1178}
1179
1180bool UserEventStream::DetectForceTap(Touch const & touch)
1181{

Callers

nothing calls this directly

Calls 1

OnDoubleTapMethod · 0.45

Tested by

no test coverage detected