Lines Matching refs: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
364 hint.grid_abs.x = pad_left + cont->coords.x1 - lv_obj_get_scroll_x(cont); in grid_update()
411 calc_out->x, rev); in calc()
427 lv_mem_buf_release(calc->x); in calc_free()
439 c->x = lv_mem_buf_get(sizeof(lv_coord_t) * c->col_num); in calc_cols()
469 lv_coord_t x = col_templ[i]; in calc_cols() local
470 if(IS_FR(x)) { in calc_cols()
471 col_fr_cnt += GET_FR(x); in calc_cols()
473 else if(IS_CONTENT(x)) { in calc_cols()
477 c->w[i] = x; in calc_cols()
478 grid_w += x; in calc_cols()
490 lv_coord_t x = col_templ[i]; in calc_cols() local
491 if(IS_FR(x)) { in calc_cols()
492 lv_coord_t f = GET_FR(x); in calc_cols()
538 lv_coord_t x = row_templ[i]; in calc_rows() local
539 if(IS_FR(x)) { in calc_rows()
540 row_fr_cnt += GET_FR(x); in calc_rows()
542 else if(IS_CONTENT(x)) { in calc_rows()
546 c->h[i] = x; in calc_rows()
547 grid_h += x; in calc_rows()
560 lv_coord_t x = row_templ[i]; in calc_rows() local
561 if(IS_FR(x)) { in calc_rows()
562 lv_coord_t f = GET_FR(x); in calc_rows()
593 lv_coord_t col_x1 = c->x[col_pos]; in item_repos()
594 lv_coord_t col_x2 = c->x[col_pos + col_span - 1] + c->w[col_pos + col_span - 1]; in item_repos()
608 lv_coord_t x; in item_repos() local
616 x = c->x[col_pos]; in item_repos()
620 x = c->x[col_pos]; in item_repos()
625 x = c->x[col_pos] + (col_w - item_w) / 2; in item_repos()
629 x = c->x[col_pos] + col_w - lv_obj_get_width(item); in item_repos()
676 x += tr_x; in item_repos()
679 lv_coord_t diff_x = hint->grid_abs.x + x - item->coords.x1; in item_repos()