| 1161 | } |
| 1162 | |
| 1163 | bool UserEventStream::DetectDoubleTap(Touch const & touch) |
| 1164 | { |
| 1165 | if (m_state != STATE_WAIT_DOUBLE_TAP || m_touchTimer.ElapsedMilliseconds() > kDoubleTapPauseMs) |
| 1166 | return false; |
| 1167 | |
| 1168 | m_state = STATE_WAIT_DOUBLE_TAP_HOLD; |
| 1169 | return true; |
| 1170 | } |
| 1171 | |
| 1172 | void UserEventStream::PerformDoubleTap(Touch const & touch) |
| 1173 | { |
nothing calls this directly
no test coverage detected