Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/core/
Dlv_obj_scroll.c692 const lv_area_t * area_tmp; in scroll_area_into_view() local
696 if(snap_y != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
697 else area_tmp = area; in scroll_area_into_view()
702 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
703 lv_coord_t bottom_diff = -(parent->coords.y2 - pbottom - area_tmp->y2 - scroll_value->y); in scroll_area_into_view()
722 act = area_tmp->y1 + y_scroll; in scroll_area_into_view()
727 act = area_tmp->y2 + y_scroll; in scroll_area_into_view()
732 act = lv_area_get_height(area_tmp) / 2 + area_tmp->y1 + y_scroll; in scroll_area_into_view()
739 if(snap_x != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
740 else area_tmp = area; in scroll_area_into_view()
[all …]
Dlv_obj_pos.c841 lv_area_t area_tmp; in lv_obj_invalidate_area() local
842 lv_area_copy(&area_tmp, area); in lv_obj_invalidate_area()
843 if(!lv_obj_area_is_visible(obj, &area_tmp)) return; in lv_obj_invalidate_area()
845 _lv_inv_area(lv_obj_get_disp(obj), &area_tmp); in lv_obj_invalidate_area()
/lvgl-3.7.0/src/widgets/
Dlv_textarea.c935 lv_area_t area_tmp; in cursor_blink_anim_cb() local
936 lv_area_copy(&area_tmp, &ta->cursor.area); in cursor_blink_anim_cb()
937 area_tmp.x1 += ta->label->coords.x1; in cursor_blink_anim_cb()
938 area_tmp.y1 += ta->label->coords.y1; in cursor_blink_anim_cb()
939 area_tmp.x2 += ta->label->coords.x1; in cursor_blink_anim_cb()
940 area_tmp.y2 += ta->label->coords.y1; in cursor_blink_anim_cb()
941 lv_obj_invalidate_area(obj, &area_tmp); in cursor_blink_anim_cb()
1112 lv_area_t area_tmp; in refr_cursor_area() local
1113 lv_area_copy(&area_tmp, &ta->cursor.area); in refr_cursor_area()
1114 area_tmp.x1 += ta->label->coords.x1; in refr_cursor_area()
[all …]