Exemple #1
0
 void UpdateLongTapGesture(GestureHandler handler)
 {
     if (handler.Timeout > 0 && handler.Timeout < _gestureLayer.LongTapTimeout)
     {
         _gestureLayer.LongTapTimeout = handler.Timeout;
     }
 }
Exemple #2
0
 void UpdateFlickGesture(GestureHandler handler)
 {
     if (handler.Timeout > _gestureLayer.FlickTimeLimit)
     {
         _gestureLayer.FlickTimeLimit = (int)(handler.Timeout * 1000);
     }
 }
Exemple #3
0
        void UpdateTapGesture(GestureHandler handler)
        {
            RemoveGesture(handler.Recognizer);
            AddGesture(handler.Recognizer);

            if (handler.Timeout > _gestureLayer.DoubleTapTimeout)
            {
                _gestureLayer.DoubleTapTimeout = handler.Timeout;
            }
        }