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

Method StartDoubleTapAndHold

libs/drape_frontend/user_event_stream.cpp:1239–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1237}
1238
1239void UserEventStream::StartDoubleTapAndHold(Touch const & touch)
1240{
1241 TEST_CALL(BEGIN_DOUBLE_TAP_AND_HOLD);
1242 ASSERT_EQUAL(m_state, STATE_WAIT_DOUBLE_TAP_HOLD, ());
1243 m_state = STATE_DOUBLE_TAP_HOLD;
1244 m_startDoubleTapAndHold = m_startDragOrg;
1245 if (m_listener)
1246 m_listener->OnScaleStarted();
1247}
1248
1249void UserEventStream::UpdateDoubleTapAndHold(Touch const & touch)
1250{

Callers

nothing calls this directly

Calls 1

OnScaleStartedMethod · 0.45

Tested by

no test coverage detected