/// <summary> /// Handles touch down events. /// </summary> /// <param name="e">The motion event arguments.</param> /// <returns><c>true</c> if the event was handled.</returns> private bool OnTouchDownEvent(MotionEvent e) { var args = e.ToTouchEventArgs(Scale); var handled = this.ActualController.HandleTouchStarted(this, args); this.previousTouchPoints = e.GetTouchPoints(Scale); return(handled); }
/// <summary> /// Handles touch released events. /// </summary> /// <param name="e">The motion event arguments.</param> /// <returns><c>true</c> if the event was handled.</returns> private bool OnTouchUpEvent(MotionEvent e) { return(this.ActualController.HandleTouchCompleted(this, e.ToTouchEventArgs(Scale))); }