97 references to SystemGesture
PresentationCore (96)
System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs (9)
26internal SystemGesture? GenerateStaticGesture(RawStylusInputReport stylusInputReport) 79private SystemGesture? OnTouchUp(RawStylusInputReport stylusInputReport) 108return SystemGesture.TwoFingerTap; 145case SystemGesture.Drag: 146case SystemGesture.RightDrag: 147case SystemGesture.Flick: 159case SystemGesture.Drag: 160case SystemGesture.RightDrag: 161case SystemGesture.Flick:
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (19)
15internal const SystemGesture InternalSystemGestureDoubleTap = (SystemGesture)0x11; 24internal static bool IsValidSystemGesture(SystemGesture systemGesture, bool allowFlick, bool allowDoubleTap) 28case SystemGesture.None: 29case SystemGesture.Tap: 30case SystemGesture.RightTap: 31case SystemGesture.Drag: 32case SystemGesture.RightDrag: 33case SystemGesture.HoldEnter: 34case SystemGesture.HoldLeave: 35case SystemGesture.HoverEnter: 36case SystemGesture.HoverLeave: 37case SystemGesture.TwoFingerTap: 40case SystemGesture.Flick: 92SystemGesture systemGesture, 145SystemGesture systemGesture, 154private void Initialize(SystemGesture systemGesture, int gestureX, int gestureY, int buttonState) 171internal SystemGesture SystemGesture { get { return _id; } } 195SystemGesture _id;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (4)
31SystemGesture systemGesture) : 70SystemGesture systemGesture, 91public SystemGesture SystemGesture 160SystemGesture _id;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
199internal SystemGesture? GenerateStaticGesture(RawStylusInputReport stylusInputReport)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (18)
272SystemGesture gesture = SystemGesture.None; 279gesture = SystemGesture.Tap; 284gesture = SystemGesture.RightTap; 293gesture = SystemGesture.HoldEnter; 297gesture = SystemGesture.HoldLeave; 308if (gesture != SystemGesture.None) 355SystemGesture.Flick, 372SystemGesture gesture = SystemGesture.None; 405gesture = SystemGesture.HoverEnter; 431gesture = SystemGesture.HoverLeave; 438if (gesture != SystemGesture.None) 461private SystemGesture DetectDragOrFlick(UnsafeNativeMethods.INTERACTION_CONTEXT_OUTPUT output) 463SystemGesture gesture = SystemGesture.None; 489gesture = (_firedHold) ? SystemGesture.RightDrag : SystemGesture.Drag;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
306SystemGesture? gesture = rsir.StylusDevice.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir); 1307if (stylusGestureEventArgs.SystemGesture == SystemGesture.Drag 1308|| stylusGestureEventArgs.SystemGesture == SystemGesture.RightDrag) 1320private void GenerateGesture(RawStylusInputReport rawStylusInputReport, SystemGesture gesture)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
855if (report.SystemGesture == SystemGesture.Flick)
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
410(SystemGesture)id, x, y, buttonState);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
116SystemGesture id,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (22)
78SystemGesture systemGesture, 87if (systemGesture == SystemGesture.Tap || 88systemGesture == SystemGesture.RightTap || 89systemGesture == SystemGesture.Drag || 90systemGesture == SystemGesture.RightDrag || 91systemGesture == SystemGesture.HoldEnter || 92systemGesture == SystemGesture.HoldLeave || 93systemGesture == SystemGesture.HoverEnter || 94systemGesture == SystemGesture.HoverLeave || 95systemGesture == SystemGesture.Flick || 97systemGesture == SystemGesture.None) 99Debug.Assert(systemGesture != SystemGesture.None); // We should ever see this as input. 937SystemGesture? systemGesture = tabletDevice.GenerateStaticGesture(stylusInputReport); 949GenerateGesture(stylusInputReport, stylusDevice.LastTapBarrelDown ? SystemGesture.RightTap : SystemGesture.Tap); 1319GenerateGesture(stylusMove.InputReport, SystemGesture.Drag); 1327if (stylusSystemGesture.SystemGesture == SystemGesture.Flick) 1778SystemGesture gesture = gestureArgs.SystemGesture; 1779if (gesture == SystemGesture.Tap || 1780gesture == SystemGesture.Drag) 2543if (systemGestureReport.SystemGesture == SystemGesture.Tap && stylusDevice.InAir) 2782private void GenerateGesture(RawStylusInputReport rawStylusInputReport, SystemGesture gesture)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (16)
1578private void UpdateStateForSystemGesture(SystemGesture gesture, RawStylusSystemGestureInputReport report) 1582case SystemGesture.Tap: 1583case SystemGesture.Drag: 1588case SystemGesture.RightTap: 1589case SystemGesture.RightDrag: 1594case SystemGesture.HoldEnter: 1598case SystemGesture.Flick: 1739if (systemGestureArgs.SystemGesture == SystemGesture.Tap || 1740systemGestureArgs.SystemGesture == SystemGesture.RightTap || 1741systemGestureArgs.SystemGesture == SystemGesture.Drag || 1742systemGestureArgs.SystemGesture == SystemGesture.RightDrag || 1743systemGestureArgs.SystemGesture == SystemGesture.Flick) 1752if (systemGestureArgs.SystemGesture == SystemGesture.Drag || 1753systemGestureArgs.SystemGesture == SystemGesture.RightDrag || 1754systemGestureArgs.SystemGesture == SystemGesture.Flick) 1758if (systemGestureArgs.SystemGesture == SystemGesture.Flick)
PresentationFramework (1)
System\Windows\Controls\ScrollViewer.cs (1)
865_seenTapGesture = e.SystemGesture == SystemGesture.Tap;