114 references to RawStylusActions
PresentationCore (114)
System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs (3)
33case RawStylusActions.Down: 37case RawStylusActions.Up: 41case RawStylusActions.SystemGesture:
System\Windows\Input\Stylus\Common\RawStylusActions.cs (13)
75private const RawStylusActions MaxActions = 76RawStylusActions.None | 77RawStylusActions.Activate | 78RawStylusActions.Deactivate | 79RawStylusActions.Down | 80RawStylusActions.Up | 81RawStylusActions.Move | 82RawStylusActions.InAirMove | 83RawStylusActions.InRange | 84RawStylusActions.OutOfRange | 85RawStylusActions.SystemGesture; 87internal static bool IsValid(RawStylusActions action) 89if (action < RawStylusActions.None || action > MaxActions)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (6)
36RawStylusActions _actions; 99internal RawStylusActions Actions { get { return _actions; } } 183RawStylusActions actions, 194if (actions != RawStylusActions.InRange) 238RawStylusActions actions, 250if (actions != RawStylusActions.InRange)
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (2)
101RawStylusActions.SystemGesture, 153: base(mode, timestamp, inputSource, penContext, RawStylusActions.SystemGesture, tabletId, stylusDeviceId, Array.Empty<int>())
System\Windows\Input\Stylus\Common\StylusLogic.cs (8)
628internal static RoutedEvent GetPreviewEventFromRawStylusActions(RawStylusActions actions) 634case RawStylusActions.Down: 639case RawStylusActions.Up: 644case RawStylusActions.Move: 649case RawStylusActions.InAirMove: 654case RawStylusActions.InRange: 659case RawStylusActions.OutOfRange: 664case RawStylusActions.SystemGesture:
System\Windows\Input\Stylus\Common\StylusPlugin.cs (7)
96case RawStylusActions.Down: 99case RawStylusActions.Move: 102case RawStylusActions.Up: 152RawStylusActions action, 160case RawStylusActions.Down: 163case RawStylusActions.Move: 166case RawStylusActions.Up:
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (3)
226case RawStylusActions.Down: 244case RawStylusActions.Up: 264case RawStylusActions.Move:
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (1)
358if (rsir.Actions == RawStylusActions.Up
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
390if ((report.Actions & RawStylusActions.Up) != 0 && stylusDevice != null) 414&& ((report.Actions & RawStylusActions.Up) != 0))
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
655InAir ? RawStylusActions.InAirMove : RawStylusActions.Move,
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (11)
245case RawStylusActions.Down: 246case RawStylusActions.Move: 247case RawStylusActions.Up: 436case RawStylusActions.Down: 437case RawStylusActions.Move: 438case RawStylusActions.Up: 516RawStylusActions stylusActions = RawStylusActions.None; 566stylusActions = RawStylusActions.Move; 573stylusActions = RawStylusActions.Down; 580stylusActions = RawStylusActions.Up;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (10)
93ProcessInput(RawStylusActions.Down, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 100ProcessInput(RawStylusActions.Up, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 107ProcessInput(RawStylusActions.Move, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 114ProcessInput(RawStylusActions.InAirMove, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 121ProcessInput(RawStylusActions.InRange, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 128ProcessInput(RawStylusActions.OutOfRange, penContext, tabletDeviceId, stylusPointerId, Array.Empty<int>(), timestamp); 157RawStylusActions actions, 422case RawStylusActions.Down: 423case RawStylusActions.Move: 424case RawStylusActions.Up:
System\Windows\Input\Stylus\Wisp\WispLogic.cs (29)
131RawStylusActions actions, 198if (inputReport.Actions == RawStylusActions.Move) 254if (inputReport.Actions != RawStylusActions.Move) 913if (stylusInputReport.Actions == RawStylusActions.InRange && stylusInputReport.Data == null) 925if (stylusInputReport.Actions == RawStylusActions.SystemGesture && stylusDevice != null) 954if (stylusInputReport.Actions == RawStylusActions.Up) 1003case RawStylusActions.SystemGesture: 1007case RawStylusActions.OutOfRange: 1012case RawStylusActions.InRange: 1039if (rawStylusInputReport.Actions == RawStylusActions.Down && stylusDevice.Target == null) 1192if (report.Actions == RawStylusActions.Up) 1205if ((report.Actions & RawStylusActions.Up) != 0 && stylusDevice != null) 1238&& ((report.Actions & RawStylusActions.Up) != 0)) 1817RawStylusActions stylusActions = RawStylusActions.None; 1867stylusActions = RawStylusActions.Move; 1874stylusActions = RawStylusActions.Down; 1881stylusActions = RawStylusActions.Up; 2502case RawStylusActions.InRange: 2507case RawStylusActions.InAirMove: 2522case RawStylusActions.Down: 2534case RawStylusActions.Move: 2538case RawStylusActions.Up: 2542case RawStylusActions.SystemGesture: 2559case RawStylusActions.OutOfRange: 2577RawStylusActions.InRange, 2643case RawStylusActions.Down: 2644case RawStylusActions.Move: 2645case RawStylusActions.Up:
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (9)
363InAir ? RawStylusActions.InAirMove : RawStylusActions.Move, 1400Debug.Assert((report.Actions & RawStylusActions.None) == 0); 1443if ((report.Actions & RawStylusActions.Down) != 0 || 1444(report.Actions & RawStylusActions.Move) != 0) 1449if ((report.Actions & RawStylusActions.Down) != 0) 1483if ((report.Actions & RawStylusActions.Up) != 0 || 1484(report.Actions & RawStylusActions.InAirMove) != 0) 1488if ((report.Actions & RawStylusActions.Up) != 0)
System\Windows\InterOp\HwndPointerInputProvider.cs (8)
211private bool ProcessMessage(uint pointerId, RawStylusActions action, int timestamp) 237if (action == RawStylusActions.Move 241action = RawStylusActions.InAirMove; 416handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.InRange, Environment.TickCount); 421handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Move, Environment.TickCount); 426handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Down, Environment.TickCount); 431handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Up, Environment.TickCount); 439handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.OutOfRange, Environment.TickCount);