Lines Matching refs:y

44 void lv_obj_set_pos(lv_obj_t * obj, lv_coord_t x, lv_coord_t y)  in lv_obj_set_pos()  argument
49 lv_obj_set_y(obj, y); in lv_obj_set_pos()
66 void lv_obj_set_y(lv_obj_t * obj, lv_coord_t y) in lv_obj_set_y() argument
75 if((res_y == LV_RES_OK && v_y.num != y) || res_y == LV_RES_INV) { in lv_obj_set_y()
76 lv_obj_set_style_y(obj, y, 0); in lv_obj_set_y()
355 lv_coord_t y = 0; in lv_obj_align_to() local
374 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
378 y = btop; in lv_obj_align_to()
382 y = btop; in lv_obj_align_to()
387 y = btop; in lv_obj_align_to()
392 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
396 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
401 y = lv_obj_get_content_height(base) - lv_obj_get_height(obj) + btop; in lv_obj_align_to()
406 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
411 y = lv_obj_get_content_height(base) / 2 - lv_obj_get_height(obj) / 2 + btop; in lv_obj_align_to()
416 y = -lv_obj_get_height(obj); in lv_obj_align_to()
421 y = -lv_obj_get_height(obj); in lv_obj_align_to()
426 y = -lv_obj_get_height(obj); in lv_obj_align_to()
431 y = lv_obj_get_height(base); in lv_obj_align_to()
436 y = lv_obj_get_height(base); in lv_obj_align_to()
441 y = lv_obj_get_height(base); in lv_obj_align_to()
446 y = 0; in lv_obj_align_to()
451 y = lv_obj_get_height(base) / 2 - lv_obj_get_height(obj) / 2; in lv_obj_align_to()
456 y = lv_obj_get_height(base) - lv_obj_get_height(obj); in lv_obj_align_to()
461 y = 0; in lv_obj_align_to()
466 y = lv_obj_get_height(base) / 2 - lv_obj_get_height(obj) / 2; in lv_obj_align_to()
471 y = lv_obj_get_height(base) - lv_obj_get_height(obj); in lv_obj_align_to()
481 y += y_ofs + base->coords.y1 - parent->coords.y1 + lv_obj_get_scroll_top(parent) - ptop; in lv_obj_align_to()
483 lv_obj_set_pos(obj, x, y); in lv_obj_align_to()
616 return p.y; in lv_obj_get_self_height()
636 lv_coord_t y = lv_obj_get_style_y(obj, LV_PART_MAIN); in lv_obj_refr_pos() local
639 lv_obj_move_to(obj, x, y); in lv_obj_refr_pos()
647 if(LV_COORD_IS_PCT(y)) y = (ph * LV_COORD_GET_PCT(y)) / 100; in lv_obj_refr_pos()
659 y += tr_y; in lv_obj_refr_pos()
669 lv_obj_move_to(obj, x, y); in lv_obj_refr_pos()
681 y += ph / 2 - h / 2; in lv_obj_refr_pos()
684 y += ph - h; in lv_obj_refr_pos()
688 y += ph - h; in lv_obj_refr_pos()
692 y += ph - h; in lv_obj_refr_pos()
696 y += ph / 2 - h / 2; in lv_obj_refr_pos()
700 y += ph / 2 - h / 2; in lv_obj_refr_pos()
705 lv_obj_move_to(obj, x, y); in lv_obj_refr_pos()
709 void lv_obj_move_to(lv_obj_t * obj, lv_coord_t x, lv_coord_t y) in lv_obj_move_to() argument
720 y += pad_top + parent->coords.y1; in lv_obj_move_to()
724 y += pad_top + parent->coords.y1 - lv_obj_get_scroll_y(parent); in lv_obj_move_to()
729 y += border_width; in lv_obj_move_to()
735 diff.y = y - obj->coords.y1; in lv_obj_move_to()
740 if(diff.x == 0 && diff.y == 0) return; in lv_obj_move_to()
762 obj->coords.y1 += diff.y; in lv_obj_move_to()
764 obj->coords.y2 += diff.y; in lv_obj_move_to()
766 lv_obj_move_children_by(obj, diff.x, diff.y, false); in lv_obj_move_to()
831 area->y1 = LV_MIN4(p[0].y, p[1].y, p[2].y, p[3].y); in lv_obj_get_transformed_area()
832 area->y2 = LV_MAX4(p[0].y, p[1].y, p[2].y, p[3].y); in lv_obj_get_transformed_area()
1169 .y = lv_obj_get_style_transform_pivot_y(obj, 0) in transform_point()
1175 if(LV_COORD_IS_PCT(pivot.y)) { in transform_point()
1176 pivot.y = (LV_COORD_GET_PCT(pivot.y) * lv_area_get_height(&obj->coords)) / 100; in transform_point()
1180 pivot.y = obj->coords.y1 + pivot.y; in transform_point()