97 references to SystemGesture
PresentationCore (96)
System\Windows\Input\Stylus\Common\MultiTouchSystemGestureLogic.cs (9)
26
internal
SystemGesture
? GenerateStaticGesture(RawStylusInputReport stylusInputReport)
79
private
SystemGesture
? OnTouchUp(RawStylusInputReport stylusInputReport)
108
return
SystemGesture
.TwoFingerTap;
145
case
SystemGesture
.Drag:
146
case
SystemGesture
.RightDrag:
147
case
SystemGesture
.Flick:
159
case
SystemGesture
.Drag:
160
case
SystemGesture
.RightDrag:
161
case
SystemGesture
.Flick:
System\Windows\Input\Stylus\Common\RawStylusSystemGestureInputReport.cs (19)
15
internal const
SystemGesture
InternalSystemGestureDoubleTap = (
SystemGesture
)0x11;
24
internal static bool IsValidSystemGesture(
SystemGesture
systemGesture, bool allowFlick, bool allowDoubleTap)
28
case
SystemGesture
.None:
29
case
SystemGesture
.Tap:
30
case
SystemGesture
.RightTap:
31
case
SystemGesture
.Drag:
32
case
SystemGesture
.RightDrag:
33
case
SystemGesture
.HoldEnter:
34
case
SystemGesture
.HoldLeave:
35
case
SystemGesture
.HoverEnter:
36
case
SystemGesture
.HoverLeave:
37
case
SystemGesture
.TwoFingerTap:
40
case
SystemGesture
.Flick:
92
SystemGesture
systemGesture,
145
SystemGesture
systemGesture,
154
private void Initialize(
SystemGesture
systemGesture, int gestureX, int gestureY, int buttonState)
171
internal
SystemGesture
SystemGesture { get { return _id; } }
195
SystemGesture
_id;
System\Windows\Input\Stylus\Common\StylusSystemGestureEventArgs.cs (4)
31
SystemGesture
systemGesture) :
70
SystemGesture
systemGesture,
91
public
SystemGesture
SystemGesture
160
SystemGesture
_id;
System\Windows\Input\Stylus\Common\TabletDeviceBase.cs (1)
199
internal
SystemGesture
? GenerateStaticGesture(RawStylusInputReport stylusInputReport)
System\Windows\Input\Stylus\Pointer\PointerInteractionEngine.cs (18)
272
SystemGesture
gesture =
SystemGesture
.None;
279
gesture =
SystemGesture
.Tap;
284
gesture =
SystemGesture
.RightTap;
293
gesture =
SystemGesture
.HoldEnter;
297
gesture =
SystemGesture
.HoldLeave;
308
if (gesture !=
SystemGesture
.None)
355
SystemGesture
.Flick,
372
SystemGesture
gesture =
SystemGesture
.None;
405
gesture =
SystemGesture
.HoverEnter;
431
gesture =
SystemGesture
.HoverLeave;
438
if (gesture !=
SystemGesture
.None)
461
private
SystemGesture
DetectDragOrFlick(UnsafeNativeMethods.INTERACTION_CONTEXT_OUTPUT output)
463
SystemGesture
gesture =
SystemGesture
.None;
489
gesture = (_firedHold) ?
SystemGesture
.RightDrag :
SystemGesture
.Drag;
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (4)
306
SystemGesture
? gesture = rsir.StylusDevice.TabletDevice.TabletDeviceImpl.GenerateStaticGesture(rsir);
1307
if (stylusGestureEventArgs.SystemGesture ==
SystemGesture
.Drag
1308
|| stylusGestureEventArgs.SystemGesture ==
SystemGesture
.RightDrag)
1320
private void GenerateGesture(RawStylusInputReport rawStylusInputReport,
SystemGesture
gesture)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
855
if (report.SystemGesture ==
SystemGesture
.Flick)
System\Windows\Input\Stylus\Wisp\PenContext.cs (1)
410
(
SystemGesture
)id, x, y, buttonState);
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
116
SystemGesture
id,
System\Windows\Input\Stylus\Wisp\WispLogic.cs (22)
78
SystemGesture
systemGesture,
87
if (systemGesture ==
SystemGesture
.Tap ||
88
systemGesture ==
SystemGesture
.RightTap ||
89
systemGesture ==
SystemGesture
.Drag ||
90
systemGesture ==
SystemGesture
.RightDrag ||
91
systemGesture ==
SystemGesture
.HoldEnter ||
92
systemGesture ==
SystemGesture
.HoldLeave ||
93
systemGesture ==
SystemGesture
.HoverEnter ||
94
systemGesture ==
SystemGesture
.HoverLeave ||
95
systemGesture ==
SystemGesture
.Flick ||
97
systemGesture ==
SystemGesture
.None)
99
Debug.Assert(systemGesture !=
SystemGesture
.None); // We should ever see this as input.
937
SystemGesture
? systemGesture = tabletDevice.GenerateStaticGesture(stylusInputReport);
949
GenerateGesture(stylusInputReport, stylusDevice.LastTapBarrelDown ?
SystemGesture
.RightTap :
SystemGesture
.Tap);
1319
GenerateGesture(stylusMove.InputReport,
SystemGesture
.Drag);
1327
if (stylusSystemGesture.SystemGesture ==
SystemGesture
.Flick)
1778
SystemGesture
gesture = gestureArgs.SystemGesture;
1779
if (gesture ==
SystemGesture
.Tap ||
1780
gesture ==
SystemGesture
.Drag)
2543
if (systemGestureReport.SystemGesture ==
SystemGesture
.Tap && stylusDevice.InAir)
2782
private void GenerateGesture(RawStylusInputReport rawStylusInputReport,
SystemGesture
gesture)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (16)
1578
private void UpdateStateForSystemGesture(
SystemGesture
gesture, RawStylusSystemGestureInputReport report)
1582
case
SystemGesture
.Tap:
1583
case
SystemGesture
.Drag:
1588
case
SystemGesture
.RightTap:
1589
case
SystemGesture
.RightDrag:
1594
case
SystemGesture
.HoldEnter:
1598
case
SystemGesture
.Flick:
1739
if (systemGestureArgs.SystemGesture ==
SystemGesture
.Tap ||
1740
systemGestureArgs.SystemGesture ==
SystemGesture
.RightTap ||
1741
systemGestureArgs.SystemGesture ==
SystemGesture
.Drag ||
1742
systemGestureArgs.SystemGesture ==
SystemGesture
.RightDrag ||
1743
systemGestureArgs.SystemGesture ==
SystemGesture
.Flick)
1752
if (systemGestureArgs.SystemGesture ==
SystemGesture
.Drag ||
1753
systemGestureArgs.SystemGesture ==
SystemGesture
.RightDrag ||
1754
systemGestureArgs.SystemGesture ==
SystemGesture
.Flick)
1758
if (systemGestureArgs.SystemGesture ==
SystemGesture
.Flick)
PresentationFramework (1)
System\Windows\Controls\ScrollViewer.cs (1)
865
_seenTapGesture = e.SystemGesture ==
SystemGesture
.Tap;