Lines Matching defs:GV
64 GV = _GestureVariation()
66 GV.HORIZONTAL = 'horizontal'
67 GV.VERTICAL = 'vertical'
68 GV.DIAGONAL = 'diagonal'
69 GV.LR = 'left_to_right'
70 GV.RL = 'right_to_left'
71 GV.TB = 'top_to_bottom'
72 GV.BT = 'bottom_to_top'
73 GV.CL = 'center_to_left'
74 GV.CR = 'center_to_right'
75 GV.CT = 'center_to_top'
76 GV.CB = 'center_to_bottom'
77 GV.CUR = 'center_to_upper_right'
78 GV.CUL = 'center_to_upper_left'
79 GV.CLR = 'center_to_lower_right'
80 GV.CLL = 'center_to_lower_left'
81 GV.BLTR = 'bottom_left_to_top_right'
82 GV.BRTL = 'bottom_right_to_top_left'
83 GV.TRBL = 'top_right_to_bottom_left'
84 GV.TLBR = 'top_left_to_bottom_right'
85 GV.HORIZONTAL_DIRECTIONS = [GV.HORIZONTAL, GV.LR, GV.RL, GV.CL, GV.CR]
86 GV.VERTICAL_DIRECTIONS = [GV.VERTICAL, GV.TB, GV.BT, GV.CT, GV.CB]
87 GV.DIAGONAL_DIRECTIONS = [GV.DIAGONAL, GV.BLTR, GV.BRTL, GV.TRBL, GV.TLBR,
88 GV.CUR, GV.CUL, GV.CLR, GV.CLL]
89 GV.GESTURE_DIRECTIONS = (GV.HORIZONTAL_DIRECTIONS + GV.VERTICAL_DIRECTIONS +
90 GV.DIAGONAL_DIRECTIONS)
92 GV.TL = 'top_left'
93 GV.TR = 'top_right'
94 GV.BL = 'bottom_left'
95 GV.BR = 'bottom_right'
96 GV.TS = 'top_side'
97 GV.BS = 'bottom_side'
98 GV.LS = 'left_side'
99 GV.RS = 'right_side'
100 GV.CENTER = 'center'
101 GV.AROUND = 'around'
102 GV.GESTURE_LOCATIONS = [GV.TL, GV.TR, GV.BL, GV.BR, GV.TS, GV.BS, GV.LS, GV.RS,
103 GV.CENTER, GV.AROUND]
105 GV.ZOOM_IN = 'zoom_in'
106 GV.ZOOM_OUT = 'zoom_out'
108 GV.SLOW = 'slow'
109 GV.NORMAL = 'normal'
110 GV.FAST = 'fast'
111 GV.FULL_SPEED = 'full_speed'
112 GV.GESTURE_SPEED = [GV.SLOW, GV.NORMAL, GV.FAST, GV.FULL_SPEED]
114 GV.LOW_FREQUENCY = 'low_frequency'
115 GV.MED_FREQUENCY = 'med_frequency'
116 GV.HIGH_FREQUENCY = 'high_frequency'
119 GV.EXTENDED_FREQUENCIES = ['%dHz' % x for x in range(0, 1000000, 400)]
120 GV.NOISE_FREQUENCY = [GV.LOW_FREQUENCY, GV.MED_FREQUENCY, GV.HIGH_FREQUENCY] + \
121 GV.EXTENDED_FREQUENCIES
123 GV.SQUARE_WAVE = 'square_wave'
124 GV.SINE_WAVE = 'sine_wave'
125 GV.NOISE_WAVEFORM = [GV.SQUARE_WAVE, GV.SINE_WAVE]
127 GV.MAX_AMPLITUDE = 'max_amplitude'
128 GV.HALF_AMPLITUDE = 'half_amplitude'
129 GV.NOISE_AMPLITUDE = [GV.HALF_AMPLITUDE, GV.MAX_AMPLITUDE]
131 GV.SIZE = 'size'
132 size_str = lambda i: GV.SIZE + str(i)
133 GV.SIZE0 = size_str(0)
134 GV.SIZE1 = size_str(1)
135 GV.SIZE2 = size_str(2)
136 GV.SIZE3 = size_str(3)
137 GV.SIZE4 = size_str(4)
138 GV.SIZE5 = size_str(5)
139 GV.SIZE6 = size_str(6)
140 GV.NUMBER_OF_SIZES = 7
141 GV.SIZE_LIST = [size_str(i) for i in range(GV.NUMBER_OF_SIZES)]