Lines Matching refs:state

34 thumb_state_to_str(enum tp_thumb_state state)
36 switch(state){
52 enum tp_thumb_state state)
56 if (tp->thumb.state == state && tp->thumb.index == index)
62 thumb_state_to_str(tp->thumb.state),
63 thumb_state_to_str(state));
65 tp->thumb.state = state;
72 tp->thumb.state = THUMB_STATE_FINGER;
80 tp->thumb.state = THUMB_STATE_FINGER;
137 (tp->thumb.state == THUMB_STATE_JAILED ||
138 tp->thumb.state == THUMB_STATE_PINCH ||
139 tp->thumb.state == THUMB_STATE_SUPPRESSED ||
140 tp->thumb.state == THUMB_STATE_REVIVED_JAILED ||
141 tp->thumb.state == THUMB_STATE_DEAD));
150 (tp->thumb.state == THUMB_STATE_PINCH ||
151 tp->thumb.state == THUMB_STATE_SUPPRESSED ||
152 tp->thumb.state == THUMB_STATE_DEAD));
161 (tp->thumb.state == THUMB_STATE_JAILED ||
162 tp->thumb.state == THUMB_STATE_SUPPRESSED ||
163 tp->thumb.state == THUMB_STATE_REVIVED_JAILED ||
164 tp->thumb.state == THUMB_STATE_DEAD));
170 if(tp->thumb.state == THUMB_STATE_FINGER ||
171 tp->thumb.state == THUMB_STATE_JAILED ||
172 tp->thumb.state == THUMB_STATE_PINCH ||
184 if(tp->thumb.state == THUMB_STATE_FINGER ||
185 tp->thumb.state == THUMB_STATE_JAILED ||
188 else if (tp->thumb.state != THUMB_STATE_PINCH)
195 if((tp->thumb.state != THUMB_STATE_SUPPRESSED &&
196 tp->thumb.state != THUMB_STATE_PINCH) ||
219 tp->gesture.state == GESTURE_STATE_NONE) {
221 if(tp->thumb.state == THUMB_STATE_PINCH) {
234 if (t->state == TOUCH_END && t->index == tp->thumb.index) {
253 if (t->state == TOUCH_BEGIN && tp_thumb_needs_jail(tp, t)) {
261 if (tp->thumb.state == THUMB_STATE_JAILED &&
264 if (tp->thumb.state == THUMB_STATE_REVIVED_JAILED &&
286 if (t->state == TOUCH_NONE ||
287 t->state == TOUCH_HOVERING)
290 if (t->state == TOUCH_BEGIN)
329 tp->thumb.state == THUMB_STATE_FINGER &&