Lines Matching refs:guess
145 lv_obj_t * guess = NULL; in gridnav_event_cb() local
155 guess = find_chid(obj, dsc->focused_obj, FIND_RIGHT); in gridnav_event_cb()
156 if(guess == NULL) { in gridnav_event_cb()
158 guess = find_chid(obj, dsc->focused_obj, FIND_NEXT_ROW_FIRST_ITEM); in gridnav_event_cb()
159 if(guess == NULL) guess = find_first_focusable(obj); in gridnav_event_cb()
175 guess = find_chid(obj, dsc->focused_obj, FIND_LEFT); in gridnav_event_cb()
176 if(guess == NULL) { in gridnav_event_cb()
178 guess = find_chid(obj, dsc->focused_obj, FIND_PREV_ROW_LAST_ITEM); in gridnav_event_cb()
179 if(guess == NULL) guess = find_last_focusable(obj); in gridnav_event_cb()
195 guess = find_chid(obj, dsc->focused_obj, FIND_BOTTOM); in gridnav_event_cb()
196 if(guess == NULL) { in gridnav_event_cb()
198 guess = find_chid(obj, dsc->focused_obj, FIND_FIRST_ROW); in gridnav_event_cb()
214 guess = find_chid(obj, dsc->focused_obj, FIND_TOP); in gridnav_event_cb()
215 if(guess == NULL) { in gridnav_event_cb()
217 guess = find_chid(obj, dsc->focused_obj, FIND_LAST_ROW); in gridnav_event_cb()
231 if(guess && guess != dsc->focused_obj) { in gridnav_event_cb()
234 lv_obj_add_state(guess, LV_STATE_FOCUSED | LV_STATE_FOCUS_KEY); in gridnav_event_cb()
235 lv_obj_send_event(guess, LV_EVENT_FOCUSED, lv_indev_active()); in gridnav_event_cb()
236 lv_obj_scroll_to_view(guess, LV_ANIM_ON); in gridnav_event_cb()
237 dsc->focused_obj = guess; in gridnav_event_cb()
295 lv_obj_t * guess = NULL; in find_chid() local
350 if(guess == NULL || in find_chid()
352 guess = child; in find_chid()
357 return guess; in find_chid()