Home
last modified time | relevance | path

Searched refs:w_obj (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_cont.c444 lv_coord_t w_obj = lv_obj_get_width(cont); in lv_cont_layout_pretty() local
465 if(w_row + lv_obj_get_width(child_rc) > w_obj) { in lv_cont_layout_pretty()
501 lv_coord_t pad = (w_obj - w_row) / 3; in lv_cont_layout_pretty()
508 lv_coord_t new_opad = (w_obj - w_row) / (obj_num - 1); in lv_cont_layout_pretty()
539 lv_coord_t w_obj = lv_obj_get_width(lv_obj_get_child(cont, NULL)); in lv_cont_layout_grid() local
542 uint16_t obj_row = (w_fit) / (w_obj + style->body.padding.inner); /*Obj. num. in a row*/ in lv_cont_layout_grid()
545 x_ofs = w_obj + (w_fit - (obj_row * w_obj)) / (obj_row - 1); in lv_cont_layout_grid()
547 x_ofs = w_tot / 2 - w_obj / 2; in lv_cont_layout_grid()

Completed in 3 milliseconds