void UpdateLongTapGesture(GestureHandler handler) { if (_gestureLayer == null) { return; } if (handler.Timeout > 0 && handler.Timeout < _gestureLayer.LongTapTimeout) { _gestureLayer.LongTapTimeout = handler.Timeout; } }
void UpdateFlickGesture(GestureHandler handler) { if (_gestureLayer == null) { return; } if (handler.Timeout > _gestureLayer.FlickTimeLimit) { _gestureLayer.FlickTimeLimit = (int)(handler.Timeout * 1000); } }
void UpdateTapGesture(GestureHandler handler) { if (handler == null) { return; } RemoveGesture(handler.Recognizer); AddGesture(handler.Recognizer); if (_gestureLayer == null) { return; } if (handler.Timeout > _gestureLayer.DoubleTapTimeout) { _gestureLayer.DoubleTapTimeout = handler.Timeout; } }