Lines Matching full:x

19 #define IS_FR(x)       (x >= LV_COORD_MAX - 100)  argument
20 #define IS_CONTENT(x) (x == LV_COORD_MAX - 101) argument
21 #define GET_FR(x) (x - (LV_COORD_MAX - 100)) argument
33 lv_coord_t * x; member
352 /*Calculate the grids absolute x and y coordinates. in grid_update()
357 hint.grid_abs.x = pad_left + cont->coords.x1 - lv_obj_get_scroll_x(cont); in grid_update()
404 calc_out->x, rev); in calc()
420 lv_mem_buf_release(calc->x); in calc_free()
432 c->x = lv_mem_buf_get(sizeof(lv_coord_t) * c->col_num); in calc_cols()
462 lv_coord_t x = col_templ[i]; in calc_cols() local
463 if(IS_FR(x)) { in calc_cols()
464 col_fr_cnt += GET_FR(x); in calc_cols()
466 else if(IS_CONTENT(x)) { in calc_cols()
470 c->w[i] = x; in calc_cols()
471 grid_w += x; in calc_cols()
483 lv_coord_t x = col_templ[i]; in calc_cols() local
484 if(IS_FR(x)) { in calc_cols()
485 lv_coord_t f = GET_FR(x); in calc_cols()
531 lv_coord_t x = row_templ[i]; in calc_rows() local
532 if(IS_FR(x)) { in calc_rows()
533 row_fr_cnt += GET_FR(x); in calc_rows()
535 else if(IS_CONTENT(x)) { in calc_rows()
539 c->h[i] = x; in calc_rows()
540 grid_h += x; in calc_rows()
552 lv_coord_t x = row_templ[i]; in calc_rows() local
553 if(IS_FR(x)) { in calc_rows()
554 lv_coord_t f = GET_FR(x); in calc_rows()
586 lv_coord_t col_x1 = c->x[col_pos]; in item_repos()
587 lv_coord_t col_x2 = c->x[col_pos + col_span - 1] + c->w[col_pos + col_span - 1]; in item_repos()
600 lv_coord_t x; in item_repos() local
608 x = c->x[col_pos]; in item_repos()
612 x = c->x[col_pos]; in item_repos()
617 x = c->x[col_pos] + (col_w - item_w) / 2; in item_repos()
621 x = c->x[col_pos] + col_w - lv_obj_get_width(item); in item_repos()
668 x += tr_x; in item_repos()
671 lv_coord_t diff_x = hint->grid_abs.x + x - item->coords.x1; in item_repos()