97 references to SystemGesture
PresentationCore (96)
System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs (9)
29internal SystemGesture? GenerateStaticGesture(RawStylusInputReport stylusInputReport) 82private SystemGesture? OnTouchUp(RawStylusInputReport stylusInputReport) 111return SystemGesture.TwoFingerTap; 148case SystemGesture.Drag: 149case SystemGesture.RightDrag: 150case SystemGesture.Flick: 162case SystemGesture.Drag: 163case SystemGesture.RightDrag: 164case SystemGesture.Flick:
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (19)
19internal const SystemGesture InternalSystemGestureDoubleTap = (SystemGesture)0x11; 28internal static bool IsValidSystemGesture(SystemGesture systemGesture, bool allowFlick, bool allowDoubleTap) 32case SystemGesture.None: 33case SystemGesture.Tap: 34case SystemGesture.RightTap: 35case SystemGesture.Drag: 36case SystemGesture.RightDrag: 37case SystemGesture.HoldEnter: 38case SystemGesture.HoldLeave: 39case SystemGesture.HoverEnter: 40case SystemGesture.HoverLeave: 41case SystemGesture.TwoFingerTap: 44case SystemGesture.Flick: 96SystemGesture systemGesture, 149SystemGesture systemGesture, 158private void Initialize(SystemGesture systemGesture, int gestureX, int gestureY, int buttonState) 175internal SystemGesture SystemGesture { get { return _id; } } 199SystemGesture _id;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (4)
36SystemGesture systemGesture) : 75SystemGesture systemGesture, 96public SystemGesture SystemGesture 165SystemGesture _id;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
206internal SystemGesture? GenerateStaticGesture(RawStylusInputReport stylusInputReport)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (18)
288SystemGesture gesture = SystemGesture.None; 295gesture = SystemGesture.Tap; 300gesture = SystemGesture.RightTap; 309gesture = SystemGesture.HoldEnter; 313gesture = SystemGesture.HoldLeave; 324if (gesture != SystemGesture.None) 371SystemGesture.Flick, 388SystemGesture gesture = SystemGesture.None; 421gesture = SystemGesture.HoverEnter; 447gesture = SystemGesture.HoverLeave; 454if (gesture != SystemGesture.None) 477private SystemGesture DetectDragOrFlick(UnsafeNativeMethods.INTERACTION_CONTEXT_OUTPUT output) 479SystemGesture gesture = SystemGesture.None; 505gesture = (_firedHold) ? SystemGesture.RightDrag : SystemGesture.Drag;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
323SystemGesture? gesture = rsir.StylusDevice.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir); 1324if (stylusGestureEventArgs.SystemGesture == SystemGesture.Drag 1325|| stylusGestureEventArgs.SystemGesture == SystemGesture.RightDrag) 1337private void GenerateGesture(RawStylusInputReport rawStylusInputReport, SystemGesture gesture)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
863if (report.SystemGesture == SystemGesture.Flick)
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
423(SystemGesture)id, x, y, buttonState);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
138SystemGesture id,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (22)
87SystemGesture systemGesture, 96if (systemGesture == SystemGesture.Tap || 97systemGesture == SystemGesture.RightTap || 98systemGesture == SystemGesture.Drag || 99systemGesture == SystemGesture.RightDrag || 100systemGesture == SystemGesture.HoldEnter || 101systemGesture == SystemGesture.HoldLeave || 102systemGesture == SystemGesture.HoverEnter || 103systemGesture == SystemGesture.HoverLeave || 104systemGesture == SystemGesture.Flick || 106systemGesture == SystemGesture.None) 108Debug.Assert(systemGesture != SystemGesture.None); // We should ever see this as input. 946SystemGesture? systemGesture = tabletDevice.GenerateStaticGesture(stylusInputReport); 958GenerateGesture(stylusInputReport, stylusDevice.LastTapBarrelDown ? SystemGesture.RightTap : SystemGesture.Tap); 1328GenerateGesture(stylusMove.InputReport, SystemGesture.Drag); 1336if (stylusSystemGesture.SystemGesture == SystemGesture.Flick) 1787SystemGesture gesture = gestureArgs.SystemGesture; 1788if (gesture == SystemGesture.Tap || 1789gesture == SystemGesture.Drag) 2552if (systemGestureReport.SystemGesture == SystemGesture.Tap && stylusDevice.InAir) 2791private void GenerateGesture(RawStylusInputReport rawStylusInputReport, SystemGesture gesture)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (16)
1581private void UpdateStateForSystemGesture(SystemGesture gesture, RawStylusSystemGestureInputReport report) 1585case SystemGesture.Tap: 1586case SystemGesture.Drag: 1591case SystemGesture.RightTap: 1592case SystemGesture.RightDrag: 1597case SystemGesture.HoldEnter: 1601case SystemGesture.Flick: 1742if (systemGestureArgs.SystemGesture == SystemGesture.Tap || 1743systemGestureArgs.SystemGesture == SystemGesture.RightTap || 1744systemGestureArgs.SystemGesture == SystemGesture.Drag || 1745systemGestureArgs.SystemGesture == SystemGesture.RightDrag || 1746systemGestureArgs.SystemGesture == SystemGesture.Flick) 1755if (systemGestureArgs.SystemGesture == SystemGesture.Drag || 1756systemGestureArgs.SystemGesture == SystemGesture.RightDrag || 1757systemGestureArgs.SystemGesture == SystemGesture.Flick) 1761if (systemGestureArgs.SystemGesture == SystemGesture.Flick)
PresentationFramework (1)
System\Windows\Controls\ScrollViewer.cs (1)
873_seenTapGesture = e.SystemGesture == SystemGesture.Tap;