Lines Matching refs:indev_act

58 #define indev_act LV_GLOBAL_DEFAULT()->indev_active  macro
213 indev_act = indev; in lv_indev_read()
268 indev_act = NULL; in lv_indev_read()
291 return indev_act; in lv_indev_active()
807 if(send_event(LV_EVENT_PRESSED, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
815 if(send_event(LV_EVENT_CANCEL, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
828 if(send_event(LV_EVENT_PRESSING, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
837 if(send_event(LV_EVENT_LONG_PRESSED, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
848 if(send_event(LV_EVENT_LONG_PRESSED_REPEAT, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
876 if(send_event(LV_EVENT_RELEASED, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
882 if(send_event(LV_EVENT_CLICKED, indev_act) == LV_RESULT_INVALID) return; in indev_keypad_proc()
940 if(send_event(LV_EVENT_PRESSED, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
958 if(send_event(LV_EVENT_CANCEL, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
977 lv_indev_send_event(indev_act, LV_EVENT_LONG_PRESSED, indev_obj_act); in indev_encoder_proc()
978 if(indev_reset_check(indev_act)) return; in indev_encoder_proc()
995 lv_obj_send_event(indev_obj_act, LV_EVENT_LONG_PRESSED, indev_act); in indev_encoder_proc()
996 if(indev_reset_check(indev_act)) return; in indev_encoder_proc()
1010 … if(send_event(LV_EVENT_LONG_PRESSED_REPEAT, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
1040 if(send_event(LV_EVENT_RELEASED, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
1048 if(send_event(LV_EVENT_CLICKED, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
1057 if(send_event(LV_EVENT_RELEASED, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
1059 if(send_event(LV_EVENT_CLICKED, indev_act) == LV_RESULT_INVALID) return; in indev_encoder_proc()
1182 lv_display_t * disp = indev_act->disp; in indev_proc_press()
1230 lv_obj_send_event(last_obj, LV_EVENT_PRESS_LOST, indev_act); in indev_proc_press()
1257 if(send_event(LV_EVENT_HOVER_OVER, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1259 if(send_event(LV_EVENT_PRESSED, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1262 if(indev_act->wait_until_release) return; in indev_proc_press()
1265 indev_click_focus(indev_act); in indev_proc_press()
1286 lv_indev_send_event(indev, LV_EVENT_GESTURE, indev_act); in indev_proc_press()
1294 if(send_event(LV_EVENT_GESTURE, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1298 if(send_event(LV_EVENT_PRESSING, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1302 if(indev_act->wait_until_release) return; in indev_proc_press()
1320 if(lv_tick_elaps(indev->pr_timestamp) > indev_act->long_press_time) { in indev_proc_press()
1322 if(send_event(LV_EVENT_LONG_PRESSED, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1333 if(lv_tick_elaps(indev->longpr_rep_timestamp) > indev_act->long_press_repeat_time) { in indev_proc_press()
1335 … if(send_event(LV_EVENT_LONG_PRESSED_REPEAT, indev_act) == LV_RESULT_INVALID) return; in indev_proc_press()
1369 lv_obj_send_event(indev->pointer.act_obj, LV_EVENT_PRESS_LOST, indev_act); in indev_proc_release()
1387 lv_indev_send_event(indev, LV_EVENT_GESTURE, indev_act); in indev_proc_release()
1396 if(send_event(LV_EVENT_GESTURE, indev_act) == LV_RESULT_INVALID) return; in indev_proc_release()
1400 if(send_event(LV_EVENT_RELEASED, indev_act) == LV_RESULT_INVALID) return; in indev_proc_release()
1408 if(send_event(LV_EVENT_CLICKED, indev_act) == LV_RESULT_INVALID) return; in indev_proc_release()
1411 lv_obj_send_event(scroll_obj, LV_EVENT_SCROLL_THROW_BEGIN, indev_act); in indev_proc_release()
1479 lv_result_t res = send_event(LV_EVENT_SHORT_CLICKED, indev_act); in indev_proc_short_click()
1487 return send_event(LV_EVENT_SINGLE_CLICKED, indev_act); in indev_proc_short_click()
1489 return send_event(LV_EVENT_DOUBLE_CLICKED, indev_act); in indev_proc_short_click()
1491 return send_event(LV_EVENT_TRIPLE_CLICKED, indev_act); in indev_proc_short_click()
1601 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_DEFOCUSED, indev_act); in indev_click_focus()
1604 lv_obj_send_event(indev_obj_act, LV_EVENT_FOCUSED, indev_act); in indev_click_focus()
1613 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_DEFOCUSED, indev_act); in indev_click_focus()
1621 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_DEFOCUSED, indev_act); in indev_click_focus()
1626 lv_obj_send_event(indev->pointer.last_pressed, LV_EVENT_LEAVE, indev_act); in indev_click_focus()
1638 lv_obj_send_event(indev_obj_act, LV_EVENT_FOCUSED, indev_act); in indev_click_focus()
1663 if((LV_ABS(indev->pointer.vect.x) < indev_act->gesture_min_velocity) && in indev_gesture()
1664 (LV_ABS(indev->pointer.vect.y) < indev_act->gesture_min_velocity)) { in indev_gesture()
1673 if((LV_ABS(indev->pointer.gesture_sum.x) > indev_act->gesture_limit) || in indev_gesture()
1674 (LV_ABS(indev->pointer.gesture_sum.y) > indev_act->gesture_limit)) { in indev_gesture()
1691 lv_obj_send_event(gesture_obj, LV_EVENT_GESTURE, indev_act); in indev_gesture()
1694 lv_indev_send_event(indev_act, LV_EVENT_GESTURE, gesture_obj); in indev_gesture()
1695 if(indev_reset_check(indev_act)) return; in indev_gesture()
1734 if(indev_act == indev) indev_obj_act = NULL; in indev_reset_core()
1770 lv_indev_t * indev = indev_act; in send_event()