Home
last modified time | relevance | path

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

/lvgl-3.6.0/src/core/
Dlv_obj_scroll.c696 const lv_area_t * area_tmp; in scroll_area_into_view() local
700 if(snap_y != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
701 else area_tmp = area; in scroll_area_into_view()
706 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
707 lv_coord_t bottom_diff = -(parent->coords.y2 - pbottom - area_tmp->y2 - scroll_value->y); in scroll_area_into_view()
726 act = area_tmp->y1 + y_scroll; in scroll_area_into_view()
731 act = area_tmp->y2 + y_scroll; in scroll_area_into_view()
736 act = lv_area_get_height(area_tmp) / 2 + area_tmp->y1 + y_scroll; in scroll_area_into_view()
743 if(snap_x != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
744 else area_tmp = area; in scroll_area_into_view()
[all …]
Dlv_obj_pos.c844 lv_area_t area_tmp; in lv_obj_invalidate_area() local
845 lv_area_copy(&area_tmp, area); in lv_obj_invalidate_area()
846 if(!lv_obj_area_is_visible(obj, &area_tmp)) return; in lv_obj_invalidate_area()
848 _lv_inv_area(lv_obj_get_disp(obj), &area_tmp); in lv_obj_invalidate_area()
/lvgl-3.6.0/src/widgets/
Dlv_textarea.c937 lv_area_t area_tmp; in cursor_blink_anim_cb() local
938 lv_area_copy(&area_tmp, &ta->cursor.area); in cursor_blink_anim_cb()
939 area_tmp.x1 += ta->label->coords.x1; in cursor_blink_anim_cb()
940 area_tmp.y1 += ta->label->coords.y1; in cursor_blink_anim_cb()
941 area_tmp.x2 += ta->label->coords.x1; in cursor_blink_anim_cb()
942 area_tmp.y2 += ta->label->coords.y1; in cursor_blink_anim_cb()
943 lv_obj_invalidate_area(obj, &area_tmp); in cursor_blink_anim_cb()
1114 lv_area_t area_tmp; in refr_cursor_area() local
1115 lv_area_copy(&area_tmp, &ta->cursor.area); in refr_cursor_area()
1116 area_tmp.x1 += ta->label->coords.x1; in refr_cursor_area()
[all …]