Lines Matching refs:tv
66 lv_obj_t * lv_tileview_add_tile(lv_obj_t * tv, uint8_t col_id, uint8_t row_id, lv_dir_t dir) in lv_tileview_add_tile() argument
73 lv_obj_t * obj = lv_obj_class_create_obj(&lv_tileview_tile_class, tv); in lv_tileview_add_tile()
84 lv_tileview_t * tv = (lv_tileview_t *) obj; in lv_obj_set_tile() local
85 tv->tile_act = (lv_obj_t *)tile; in lv_obj_set_tile()
91 void lv_obj_set_tile_id(lv_obj_t * tv, uint32_t col_id, uint32_t row_id, lv_anim_enable_t anim_en) in lv_obj_set_tile_id() argument
93 lv_obj_update_layout(tv); in lv_obj_set_tile_id()
95 lv_coord_t w = lv_obj_get_content_width(tv); in lv_obj_set_tile_id()
96 lv_coord_t h = lv_obj_get_content_height(tv); in lv_obj_set_tile_id()
102 for(i = 0; i < lv_obj_get_child_cnt(tv); i++) { in lv_obj_set_tile_id()
103 lv_obj_t * tile_obj = lv_obj_get_child(tv, i); in lv_obj_set_tile_id()
107 lv_obj_set_tile(tv, tile_obj, anim_en); in lv_obj_set_tile_id()
117 lv_tileview_t * tv = (lv_tileview_t *) obj; in lv_tileview_get_tile_act() local
118 return tv->tile_act; in lv_tileview_get_tile_act()
158 lv_tileview_t * tv = (lv_tileview_t *) obj; in tileview_event_cb() local
185 tv->tile_act = (lv_obj_t *)tile; in tileview_event_cb()