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