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