1 instantiation of RawMouseActions
PresentationCore (1)
System\Windows\Input\MouseDevice.cs (1)
2041
RawMouseActions actions = new
RawMouseActions
();
219 references to RawMouseActions
PresentationCore (219)
System\Windows\Input\MouseDevice.cs (81)
902
RawMouseActions
.AbsoluteMove,
1170
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1176
if ((rawMouseInputReport.Actions & ~
RawMouseActions
.Activate) != 0)
1185
rawMouseInputReport.Actions & ~
RawMouseActions
.Activate,
1241
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1256
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
1260
if ((rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor)) != 0)
1269
rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1282
rawMouseInputReport.Actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1366
RawMouseActions
.Activate,
1398
RawMouseActions
actions = GetNonRedundantActions(e);
1399
RawMouseActions
originalActions = actions;
1407
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1411
actions |=
RawMouseActions
.Activate;
1449
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1458
if ((rawMouseInputReport.Actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1467
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
1699
actions |=
RawMouseActions
.AbsoluteMove;
1707
actions |=
RawMouseActions
.QueryCursor;
1712
if ((rawMouseInputReport.Actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1716
actions |=
RawMouseActions
.VerticalWheelRotate;
1723
if ((rawMouseInputReport.Actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
1727
actions |=
RawMouseActions
.QueryCursor;
1730
ReadOnlySpan<
RawMouseActions
> ButtonPressActions = stackalloc
RawMouseActions
[5]
1732
RawMouseActions
.Button1Press,
1733
RawMouseActions
.Button2Press,
1734
RawMouseActions
.Button3Press,
1735
RawMouseActions
.Button4Press,
1736
RawMouseActions
.Button5Press
1739
ReadOnlySpan<
RawMouseActions
> ButtonReleaseActions = stackalloc
RawMouseActions
[5]
1741
RawMouseActions
.Button1Release,
1742
RawMouseActions
.Button2Release,
1743
RawMouseActions
.Button3Release,
1744
RawMouseActions
.Button4Release,
1745
RawMouseActions
.Button5Release
1895
RawMouseActions
actions = GetNonRedundantActions(e);
1903
if ((actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1910
if ((actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1930
if ((actions &
RawMouseActions
.Button1Press) ==
RawMouseActions
.Button1Press)
1939
if ((actions &
RawMouseActions
.Button1Release) ==
RawMouseActions
.Button1Release)
1948
if ((actions &
RawMouseActions
.Button2Press) ==
RawMouseActions
.Button2Press)
1957
if ((actions &
RawMouseActions
.Button2Release) ==
RawMouseActions
.Button2Release)
1966
if ((actions &
RawMouseActions
.Button3Press) ==
RawMouseActions
.Button3Press)
1975
if ((actions &
RawMouseActions
.Button3Release) ==
RawMouseActions
.Button3Release)
1984
if ((actions &
RawMouseActions
.Button4Press) ==
RawMouseActions
.Button4Press)
1993
if ((actions &
RawMouseActions
.Button4Release) ==
RawMouseActions
.Button4Release)
2002
if ((actions &
RawMouseActions
.Button5Press) ==
RawMouseActions
.Button5Press)
2011
if ((actions &
RawMouseActions
.Button5Release) ==
RawMouseActions
.Button5Release)
2021
if ((actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
2030
if ((actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
2039
private
RawMouseActions
GetNonRedundantActions(NotifyInputEventArgs e)
2041
RawMouseActions
actions = new RawMouseActions();
2048
actions = (
RawMouseActions
) o;
System\Windows\Input\RawMouseInputReport.cs (48)
55
RawMouseActions
actions,
62
throw new System.ComponentModel.InvalidEnumArgumentException("actions", (int)actions, typeof(
RawMouseActions
));
75
public
RawMouseActions
Actions {get {return _actions;}}
99
internal static bool IsValidRawMouseActions(
RawMouseActions
actions)
101
if (actions ==
RawMouseActions
.None)
104
if (((
RawMouseActions
.AttributesChanged |
RawMouseActions
.Activate |
RawMouseActions
.Deactivate |
105
RawMouseActions
.RelativeMove |
RawMouseActions
.AbsoluteMove |
RawMouseActions
.VirtualDesktopMove |
106
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release |
107
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release |
108
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release |
109
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release |
110
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release |
111
RawMouseActions
.VerticalWheelRotate |
RawMouseActions
.HorizontalWheelRotate |
112
RawMouseActions
.CancelCapture |
113
RawMouseActions
.QueryCursor) & actions) == actions)
115
if (!(((
RawMouseActions
.Deactivate & actions) == actions &&
RawMouseActions
.Deactivate != actions ) ||
116
(((
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release) & actions) == (
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release)) ||
117
(((
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release) & actions) == (
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release)) ||
118
(((
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release) & actions) == (
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release)) ||
119
(((
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release) & actions) == (
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release)) ||
120
(((
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release) & actions) == (
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release))))
128
private
RawMouseActions
_actions;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
237
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
250
case
RawMouseActions
.AbsoluteMove:
266
case
RawMouseActions
.CancelCapture:
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
533
if ((mouseInputReport.Actions &
RawMouseActions
.Deactivate) !=
RawMouseActions
.Deactivate)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (42)
500
RawMouseActions
actions = mouseInputReport.Actions;
514
if ((actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
562
else if ((actions &
RawMouseActions
.CancelCapture) != 0)
584
else if ((actions &
RawMouseActions
.Activate) != 0)
617
RawMouseActions
.Activate, // Only let activate happen.
636
else if ((actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor |
637
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release |
638
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release)) != 0)
642
if ((actions &
RawMouseActions
.Button1Press) != 0 && CurrentStylusDevice != null &&
721
if ((actions & (
RawMouseActions
.Button1Press |
RawMouseActions
.Button2Press)) == 0)
731
if ((actions &
RawMouseActions
.Button1Press) != 0 && CurrentStylusDevice != null &&
759
if ((actions & (
RawMouseActions
.Button1Press |
RawMouseActions
.Button2Press)) == 0)
766
else if ((actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor)) == 0)
833
Debug.Assert((actions & ~(
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release |
834
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release |
835
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release |
836
RawMouseActions
.VerticalWheelRotate |
837
RawMouseActions
.HorizontalWheelRotate)) == 0);
1295
RawMouseActions
.Deactivate,
1742
RawMouseActions
actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.RoutedEvent, stylusArgs);
1744
if (actions !=
RawMouseActions
.None)
1762
actions |=
RawMouseActions
.Activate;
1834
if ((mouseInputReport.Actions &
RawMouseActions
.Deactivate) !=
RawMouseActions
.Deactivate)
1965
internal bool UpdateMouseButtonState(
RawMouseActions
actions)
1971
case
RawMouseActions
.Button1Press:
1979
case
RawMouseActions
.Button1Release:
1987
case
RawMouseActions
.Button2Press:
1995
case
RawMouseActions
.Button2Release:
2830
RawMouseActions
actions =
RawMouseActions
.AbsoluteMove;
2837
actions |=
RawMouseActions
.Activate;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (11)
1674
RawMouseActions
actions = _fLeftButtonDownTrigger ?
RawMouseActions
.Button1Press :
RawMouseActions
.Button2Press;
1686
actions |=
RawMouseActions
.Activate;
1736
internal
RawMouseActions
GetMouseActionsFromStylusEventAndPlaybackCachedDown(RoutedEvent stylusEvent, StylusEventArgs stylusArgs)
1779
return
RawMouseActions
.AbsoluteMove;
1796
return
RawMouseActions
.AbsoluteMove;
1807
RawMouseActions
actions = _fLeftButtonDownTrigger ?
1808
RawMouseActions
.Button1Release :
1809
RawMouseActions
.Button2Release;
1822
return
RawMouseActions
.None;
System\Windows\InterOp\HwndMouseInputProvider.cs (31)
172
RawMouseActions
.AbsoluteMove,
452
RawMouseActions
.AbsoluteMove,
481
RawMouseActions
.VerticalWheelRotate,
506
RawMouseActions
.Button1Press,
525
RawMouseActions
.Button1Release,
543
RawMouseActions
.Button2Press,
560
RawMouseActions
.Button2Release,
578
RawMouseActions
.Button3Press,
595
RawMouseActions
.Button3Release,
609
RawMouseActions
actions = 0;
612
actions =
RawMouseActions
.Button4Press;
616
actions =
RawMouseActions
.Button5Press;
637
RawMouseActions
actions = 0;
640
actions =
RawMouseActions
.Button4Release;
644
actions =
RawMouseActions
.Button5Release;
746
RawMouseActions
.CancelCapture,
987
RawMouseActions
.Deactivate,
1228
RawMouseActions
actions,
1249
actions =
RawMouseActions
.Deactivate;
1257
if((actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1264
else if((actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1268
else if(!_active && (actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1337
actions |=
RawMouseActions
.Activate;
1354
if((actions &
RawMouseActions
.AbsoluteMove) == 0)
1358
actions |=
RawMouseActions
.AbsoluteMove;
1369
if ((actions &
RawMouseActions
.AbsoluteMove) != 0)
1388
if((actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.Activate)) != 0)