114 references to RawStylusActions
PresentationCore (114)
System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs (3)
30case RawStylusActions.Down: 34case RawStylusActions.Up: 38case RawStylusActions.SystemGesture:
System\Windows\Input\Stylus\Common\RawStylusActions.cs (13)
73private const RawStylusActions MaxActions = 74RawStylusActions.None | 75RawStylusActions.Activate | 76RawStylusActions.Deactivate | 77RawStylusActions.Down | 78RawStylusActions.Up | 79RawStylusActions.Move | 80RawStylusActions.InAirMove | 81RawStylusActions.InRange | 82RawStylusActions.OutOfRange | 83RawStylusActions.SystemGesture; 85internal static bool IsValid(RawStylusActions action) 87if (action < RawStylusActions.None || action > MaxActions)
System\Windows\Input\Stylus\Common\RawStylusInputReport.cs (6)
26RawStylusActions _actions; 89internal RawStylusActions Actions { get { return _actions; } } 173RawStylusActions actions, 184if (actions != RawStylusActions.InRange) 228RawStylusActions actions, 240if (actions != RawStylusActions.InRange)
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (2)
97RawStylusActions.SystemGesture, 149: base(mode, timestamp, inputSource, penContext, RawStylusActions.SystemGesture, tabletId, stylusDeviceId, Array.Empty<int>())
System\Windows\Input\Stylus\Common\StylusLogic.cs (8)
618internal static RoutedEvent GetPreviewEventFromRawStylusActions(RawStylusActions actions) 624case RawStylusActions.Down: 629case RawStylusActions.Up: 634case RawStylusActions.Move: 639case RawStylusActions.InAirMove: 644case RawStylusActions.InRange: 649case RawStylusActions.OutOfRange: 654case RawStylusActions.SystemGesture:
System\Windows\Input\Stylus\Common\StylusPlugin.cs (7)
84case RawStylusActions.Down: 87case RawStylusActions.Move: 90case RawStylusActions.Up: 140RawStylusActions action, 148case RawStylusActions.Down: 151case RawStylusActions.Move: 154case RawStylusActions.Up:
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (3)
206case RawStylusActions.Down: 224case RawStylusActions.Up: 244case RawStylusActions.Move:
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (1)
342if (rsir.Actions == RawStylusActions.Up
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (2)
373if ((report.Actions & RawStylusActions.Up) != 0 && stylusDevice != null) 397&& ((report.Actions & RawStylusActions.Up) != 0))
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (2)
647InAir ? RawStylusActions.InAirMove : RawStylusActions.Move,
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (11)
233case RawStylusActions.Down: 234case RawStylusActions.Move: 235case RawStylusActions.Up: 424case RawStylusActions.Down: 425case RawStylusActions.Move: 426case RawStylusActions.Up: 504RawStylusActions stylusActions = RawStylusActions.None; 554stylusActions = RawStylusActions.Move; 561stylusActions = RawStylusActions.Down; 568stylusActions = RawStylusActions.Up;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (10)
71ProcessInput(RawStylusActions.Down, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 78ProcessInput(RawStylusActions.Up, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 85ProcessInput(RawStylusActions.Move, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 92ProcessInput(RawStylusActions.InAirMove, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 99ProcessInput(RawStylusActions.InRange, penContext, tabletDeviceId, stylusPointerId, data, timestamp); 106ProcessInput(RawStylusActions.OutOfRange, penContext, tabletDeviceId, stylusPointerId, Array.Empty<int>(), timestamp); 135RawStylusActions actions, 400case RawStylusActions.Down: 401case RawStylusActions.Move: 402case RawStylusActions.Up:
System\Windows\Input\Stylus\Wisp\WispLogic.cs (29)
122RawStylusActions actions, 189if (inputReport.Actions == RawStylusActions.Move) 245if (inputReport.Actions != RawStylusActions.Move) 904if (stylusInputReport.Actions == RawStylusActions.InRange && stylusInputReport.Data == null) 916if (stylusInputReport.Actions == RawStylusActions.SystemGesture && stylusDevice != null) 945if (stylusInputReport.Actions == RawStylusActions.Up) 994case RawStylusActions.SystemGesture: 998case RawStylusActions.OutOfRange: 1003case RawStylusActions.InRange: 1030if (rawStylusInputReport.Actions == RawStylusActions.Down && stylusDevice.Target == null) 1183if (report.Actions == RawStylusActions.Up) 1196if ((report.Actions & RawStylusActions.Up) != 0 && stylusDevice != null) 1229&& ((report.Actions & RawStylusActions.Up) != 0)) 1808RawStylusActions stylusActions = RawStylusActions.None; 1858stylusActions = RawStylusActions.Move; 1865stylusActions = RawStylusActions.Down; 1872stylusActions = RawStylusActions.Up; 2493case RawStylusActions.InRange: 2498case RawStylusActions.InAirMove: 2513case RawStylusActions.Down: 2525case RawStylusActions.Move: 2529case RawStylusActions.Up: 2533case RawStylusActions.SystemGesture: 2550case RawStylusActions.OutOfRange: 2568RawStylusActions.InRange, 2634case RawStylusActions.Down: 2635case RawStylusActions.Move: 2636case RawStylusActions.Up:
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (9)
360InAir ? RawStylusActions.InAirMove : RawStylusActions.Move, 1397Debug.Assert((report.Actions & RawStylusActions.None) == 0); 1440if ((report.Actions & RawStylusActions.Down) != 0 || 1441(report.Actions & RawStylusActions.Move) != 0) 1446if ((report.Actions & RawStylusActions.Down) != 0) 1480if ((report.Actions & RawStylusActions.Up) != 0 || 1481(report.Actions & RawStylusActions.InAirMove) != 0) 1485if ((report.Actions & RawStylusActions.Up) != 0)
System\Windows\InterOp\HwndPointerInputProvider.cs (8)
206private bool ProcessMessage(uint pointerId, RawStylusActions action, int timestamp) 232if (action == RawStylusActions.Move 236action = RawStylusActions.InAirMove; 411handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.InRange, Environment.TickCount); 416handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Move, Environment.TickCount); 421handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Down, Environment.TickCount); 426handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.Up, Environment.TickCount); 434handled = ProcessMessage(GetPointerId(wParam), RawStylusActions.OutOfRange, Environment.TickCount);