1 instantiation of RawMouseActions
PresentationCore (1)
System\Windows\Input\MouseDevice.cs (1)
2032
RawMouseActions actions = new
RawMouseActions
();
219 references to RawMouseActions
PresentationCore (219)
System\Windows\Input\MouseDevice.cs (81)
893
RawMouseActions
.AbsoluteMove,
1161
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1167
if ((rawMouseInputReport.Actions & ~
RawMouseActions
.Activate) != 0)
1176
rawMouseInputReport.Actions & ~
RawMouseActions
.Activate,
1232
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1247
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
1251
if ((rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor)) != 0)
1260
rawMouseInputReport.Actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1273
rawMouseInputReport.Actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor),
1357
RawMouseActions
.Activate,
1389
RawMouseActions
actions = GetNonRedundantActions(e);
1390
RawMouseActions
originalActions = actions;
1398
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1402
actions |=
RawMouseActions
.Activate;
1440
if ((rawMouseInputReport.Actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1449
if ((rawMouseInputReport.Actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1458
if ((rawMouseInputReport.Actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
1690
actions |=
RawMouseActions
.AbsoluteMove;
1698
actions |=
RawMouseActions
.QueryCursor;
1703
if ((rawMouseInputReport.Actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1707
actions |=
RawMouseActions
.VerticalWheelRotate;
1714
if ((rawMouseInputReport.Actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
1718
actions |=
RawMouseActions
.QueryCursor;
1721
ReadOnlySpan<
RawMouseActions
> ButtonPressActions = stackalloc
RawMouseActions
[5]
1723
RawMouseActions
.Button1Press,
1724
RawMouseActions
.Button2Press,
1725
RawMouseActions
.Button3Press,
1726
RawMouseActions
.Button4Press,
1727
RawMouseActions
.Button5Press
1730
ReadOnlySpan<
RawMouseActions
> ButtonReleaseActions = stackalloc
RawMouseActions
[5]
1732
RawMouseActions
.Button1Release,
1733
RawMouseActions
.Button2Release,
1734
RawMouseActions
.Button3Release,
1735
RawMouseActions
.Button4Release,
1736
RawMouseActions
.Button5Release
1886
RawMouseActions
actions = GetNonRedundantActions(e);
1894
if ((actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
1901
if ((actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1921
if ((actions &
RawMouseActions
.Button1Press) ==
RawMouseActions
.Button1Press)
1930
if ((actions &
RawMouseActions
.Button1Release) ==
RawMouseActions
.Button1Release)
1939
if ((actions &
RawMouseActions
.Button2Press) ==
RawMouseActions
.Button2Press)
1948
if ((actions &
RawMouseActions
.Button2Release) ==
RawMouseActions
.Button2Release)
1957
if ((actions &
RawMouseActions
.Button3Press) ==
RawMouseActions
.Button3Press)
1966
if ((actions &
RawMouseActions
.Button3Release) ==
RawMouseActions
.Button3Release)
1975
if ((actions &
RawMouseActions
.Button4Press) ==
RawMouseActions
.Button4Press)
1984
if ((actions &
RawMouseActions
.Button4Release) ==
RawMouseActions
.Button4Release)
1993
if ((actions &
RawMouseActions
.Button5Press) ==
RawMouseActions
.Button5Press)
2002
if ((actions &
RawMouseActions
.Button5Release) ==
RawMouseActions
.Button5Release)
2012
if ((actions &
RawMouseActions
.AbsoluteMove) ==
RawMouseActions
.AbsoluteMove)
2021
if ((actions &
RawMouseActions
.QueryCursor) ==
RawMouseActions
.QueryCursor)
2030
private
RawMouseActions
GetNonRedundantActions(NotifyInputEventArgs e)
2032
RawMouseActions
actions = new RawMouseActions();
2039
actions = (
RawMouseActions
) o;
System\Windows\Input\RawMouseInputReport.cs (48)
49
RawMouseActions
actions,
56
throw new System.ComponentModel.InvalidEnumArgumentException("actions", (int)actions, typeof(
RawMouseActions
));
69
public
RawMouseActions
Actions {get {return _actions;}}
93
internal static bool IsValidRawMouseActions(
RawMouseActions
actions)
95
if (actions ==
RawMouseActions
.None)
98
if (((
RawMouseActions
.AttributesChanged |
RawMouseActions
.Activate |
RawMouseActions
.Deactivate |
99
RawMouseActions
.RelativeMove |
RawMouseActions
.AbsoluteMove |
RawMouseActions
.VirtualDesktopMove |
100
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release |
101
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release |
102
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release |
103
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release |
104
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release |
105
RawMouseActions
.VerticalWheelRotate |
RawMouseActions
.HorizontalWheelRotate |
106
RawMouseActions
.CancelCapture |
107
RawMouseActions
.QueryCursor) & actions) == actions)
109
if (!(((
RawMouseActions
.Deactivate & actions) == actions &&
RawMouseActions
.Deactivate != actions ) ||
110
(((
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release) & actions) == (
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release)) ||
111
(((
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release) & actions) == (
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release)) ||
112
(((
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release) & actions) == (
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release)) ||
113
(((
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release) & actions) == (
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release)) ||
114
(((
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release) & actions) == (
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release))))
122
private
RawMouseActions
_actions;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
220
if ((rawMouseInputReport.Actions &
RawMouseActions
.Activate) ==
RawMouseActions
.Activate)
233
case
RawMouseActions
.AbsoluteMove:
249
case
RawMouseActions
.CancelCapture:
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
521
if ((mouseInputReport.Actions &
RawMouseActions
.Deactivate) !=
RawMouseActions
.Deactivate)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (42)
491
RawMouseActions
actions = mouseInputReport.Actions;
505
if ((actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
553
else if ((actions &
RawMouseActions
.CancelCapture) != 0)
575
else if ((actions &
RawMouseActions
.Activate) != 0)
608
RawMouseActions
.Activate, // Only let activate happen.
627
else if ((actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor |
628
RawMouseActions
.Button1Press |
RawMouseActions
.Button1Release |
629
RawMouseActions
.Button2Press |
RawMouseActions
.Button2Release)) != 0)
633
if ((actions &
RawMouseActions
.Button1Press) != 0 && CurrentStylusDevice != null &&
712
if ((actions & (
RawMouseActions
.Button1Press |
RawMouseActions
.Button2Press)) == 0)
722
if ((actions &
RawMouseActions
.Button1Press) != 0 && CurrentStylusDevice != null &&
750
if ((actions & (
RawMouseActions
.Button1Press |
RawMouseActions
.Button2Press)) == 0)
757
else if ((actions & ~(
RawMouseActions
.AbsoluteMove |
RawMouseActions
.QueryCursor)) == 0)
824
Debug.Assert((actions & ~(
RawMouseActions
.Button3Press |
RawMouseActions
.Button3Release |
825
RawMouseActions
.Button4Press |
RawMouseActions
.Button4Release |
826
RawMouseActions
.Button5Press |
RawMouseActions
.Button5Release |
827
RawMouseActions
.VerticalWheelRotate |
828
RawMouseActions
.HorizontalWheelRotate)) == 0);
1286
RawMouseActions
.Deactivate,
1733
RawMouseActions
actions = stylusDevice.GetMouseActionsFromStylusEventAndPlaybackCachedDown(stagingItem.Input.RoutedEvent, stylusArgs);
1735
if (actions !=
RawMouseActions
.None)
1753
actions |=
RawMouseActions
.Activate;
1825
if ((mouseInputReport.Actions &
RawMouseActions
.Deactivate) !=
RawMouseActions
.Deactivate)
1956
internal bool UpdateMouseButtonState(
RawMouseActions
actions)
1962
case
RawMouseActions
.Button1Press:
1970
case
RawMouseActions
.Button1Release:
1978
case
RawMouseActions
.Button2Press:
1986
case
RawMouseActions
.Button2Release:
2821
RawMouseActions
actions =
RawMouseActions
.AbsoluteMove;
2828
actions |=
RawMouseActions
.Activate;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (11)
1671
RawMouseActions
actions = _fLeftButtonDownTrigger ?
RawMouseActions
.Button1Press :
RawMouseActions
.Button2Press;
1683
actions |=
RawMouseActions
.Activate;
1733
internal
RawMouseActions
GetMouseActionsFromStylusEventAndPlaybackCachedDown(RoutedEvent stylusEvent, StylusEventArgs stylusArgs)
1776
return
RawMouseActions
.AbsoluteMove;
1793
return
RawMouseActions
.AbsoluteMove;
1804
RawMouseActions
actions = _fLeftButtonDownTrigger ?
1805
RawMouseActions
.Button1Release :
1806
RawMouseActions
.Button2Release;
1819
return
RawMouseActions
.None;
System\Windows\InterOp\HwndMouseInputProvider.cs (31)
168
RawMouseActions
.AbsoluteMove,
448
RawMouseActions
.AbsoluteMove,
477
RawMouseActions
.VerticalWheelRotate,
502
RawMouseActions
.Button1Press,
521
RawMouseActions
.Button1Release,
539
RawMouseActions
.Button2Press,
556
RawMouseActions
.Button2Release,
574
RawMouseActions
.Button3Press,
591
RawMouseActions
.Button3Release,
605
RawMouseActions
actions = 0;
608
actions =
RawMouseActions
.Button4Press;
612
actions =
RawMouseActions
.Button5Press;
633
RawMouseActions
actions = 0;
636
actions =
RawMouseActions
.Button4Release;
640
actions =
RawMouseActions
.Button5Release;
742
RawMouseActions
.CancelCapture,
983
RawMouseActions
.Deactivate,
1224
RawMouseActions
actions,
1245
actions =
RawMouseActions
.Deactivate;
1253
if((actions &
RawMouseActions
.Deactivate) ==
RawMouseActions
.Deactivate)
1260
else if((actions &
RawMouseActions
.CancelCapture) ==
RawMouseActions
.CancelCapture)
1264
else if(!_active && (actions &
RawMouseActions
.VerticalWheelRotate) ==
RawMouseActions
.VerticalWheelRotate)
1333
actions |=
RawMouseActions
.Activate;
1350
if((actions &
RawMouseActions
.AbsoluteMove) == 0)
1354
actions |=
RawMouseActions
.AbsoluteMove;
1365
if ((actions &
RawMouseActions
.AbsoluteMove) != 0)
1384
if((actions & (
RawMouseActions
.AbsoluteMove |
RawMouseActions
.Activate)) != 0)