Lines Matching refs:tv
184 lv_obj_t * lv_tabview_get_content(lv_obj_t * tv) in lv_tabview_get_content() argument
186 return lv_obj_get_child(tv, 1); in lv_tabview_get_content()
189 lv_obj_t * lv_tabview_get_tab_btns(lv_obj_t * tv) in lv_tabview_get_tab_btns() argument
191 return lv_obj_get_child(tv, 0); in lv_tabview_get_tab_btns()
309 lv_obj_t * tv = lv_obj_get_parent(btns); in btns_value_changed_event_cb() local
311 lv_tabview_set_act(tv, id, LV_ANIM_OFF); in btns_value_changed_event_cb()
319 lv_obj_t * tv = lv_obj_get_parent(cont); in cont_scroll_end_event_cb() local
320 lv_tabview_t * tv_obj = (lv_tabview_t *)tv; in cont_scroll_end_event_cb()
322 lv_tabview_set_act(tv, lv_tabview_get_tab_act(tv), LV_ANIM_OFF); in cont_scroll_end_event_cb()
336 … if(lv_obj_get_style_base_dir(tv, LV_PART_MAIN) == LV_BASE_DIR_RTL) t = -(p.x - w / 2) / w; in cont_scroll_end_event_cb()
346 if(t != lv_tabview_get_tab_act(tv)) new_tab = true; in cont_scroll_end_event_cb()
347 lv_tabview_set_act(tv, t, LV_ANIM_ON); in cont_scroll_end_event_cb()
349 if(new_tab) lv_event_send(tv, LV_EVENT_VALUE_CHANGED, NULL); in cont_scroll_end_event_cb()