OLD | NEW |
1 // A diagram of the state machine found in gesture_sequence.cc | 1 // A diagram of the state machine found in gesture_sequence.cc |
2 // To generate a pdf: | 2 // To generate a pdf: |
3 // dot -Tpdf -ooutput.pdf gestures.dot | 3 // dot -Tpdf -ooutput.pdf gestures.dot |
4 // | 4 // |
5 // If you alter this diagram, please update: | 5 // If you alter this diagram, please update: |
6 // sites.google.com/a/chromium.org/dev/developers/design-documents/aura/gesture-
recognizer | 6 // sites.google.com/a/chromium.org/dev/developers/design-documents/aura/gesture-
recognizer |
7 | 7 |
8 digraph G { | 8 digraph G { |
9 ratio = 1; | 9 ratio = 1; |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 GS_PENDING_SYNTHETIC_CLICK -> GS_PENDING_SYNTHETIC_CLICK [label= "M0\n S0"]; | 22 GS_PENDING_SYNTHETIC_CLICK -> GS_PENDING_SYNTHETIC_CLICK [label= "M0\n S0"]; |
23 GS_PENDING_SYNTHETIC_CLICK -> GS_NO_GESTURE [label= "C0\n R0"]; | 23 GS_PENDING_SYNTHETIC_CLICK -> GS_NO_GESTURE [label= "C0\n R0"]; |
24 } | 24 } |
25 | 25 |
26 GS_SCROLL -> GS_SCROLL [label= "M0"]; | 26 GS_SCROLL -> GS_SCROLL [label= "M0"]; |
27 GS_SCROLL -> GS_NO_GESTURE [label= "C0\n R0\n"]; | 27 GS_SCROLL -> GS_NO_GESTURE [label= "C0\n R0\n"]; |
28 GS_PENDING_SYNTHETIC_CLICK -> GS_PINCH [label= "D1"]; | 28 GS_PENDING_SYNTHETIC_CLICK -> GS_PINCH [label= "D1"]; |
29 GS_SCROLL -> GS_PINCH [label= "D1"]; | 29 GS_SCROLL -> GS_PINCH [label= "D1"]; |
30 GS_PINCH -> GS_PINCH [label= "M0\n M1"]; | 30 GS_PINCH -> GS_PINCH [label= "M0\n M1"]; |
31 GS_PINCH -> GS_SCROLL [label= "C0\n R0\n C1\n R1"]; | 31 GS_PINCH -> GS_SCROLL [label= "C0\n R0\n C1\n R1"]; |
| 32 |
| 33 GS_PINCH -> GS_PENDING_THREE_FINGER_SWIPE [label= "D2"]; |
| 34 GS_PENDING_THREE_FINGER_SWIPE -> GS_PINCH [label= "C0\n R0\n C1\n R1\n C2\n R2"]
; |
| 35 GS_PENDING_THREE_FINGER_SWIPE -> GS_PENDING_THREE_FINGER_SWIPE [label= "M0\n M1\
n M2"]; |
32 } | 36 } |
OLD | NEW |