Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/core/
Dlv_obj_scroll.c690 const lv_area_t * area_tmp; in scroll_area_into_view() local
694 if(snap_y != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
695 else area_tmp = area; in scroll_area_into_view()
700 lv_coord_t top_diff = parent->coords.y1 + ptop - area_tmp->y1 - scroll_value->y; in scroll_area_into_view()
701 lv_coord_t bottom_diff = -(parent->coords.y2 - pbottom - area_tmp->y2 - scroll_value->y); in scroll_area_into_view()
720 act = area_tmp->y1 + y_scroll; in scroll_area_into_view()
725 act = area_tmp->y2 + y_scroll; in scroll_area_into_view()
730 act = lv_area_get_height(area_tmp) / 2 + area_tmp->y1 + y_scroll; in scroll_area_into_view()
737 if(snap_x != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
738 else area_tmp = area; in scroll_area_into_view()
[all …]
Dlv_obj_pos.c799 lv_area_t area_tmp; in lv_obj_invalidate_area() local
800 lv_area_copy(&area_tmp, area); in lv_obj_invalidate_area()
801 bool visible = lv_obj_area_is_visible(obj, &area_tmp); in lv_obj_invalidate_area()
803 if(visible) _lv_inv_area(lv_obj_get_disp(obj), &area_tmp); in lv_obj_invalidate_area()
/lvgl-3.4.0/src/widgets/
Dlv_textarea.c926 lv_area_t area_tmp; in cursor_blink_anim_cb() local
927 lv_area_copy(&area_tmp, &ta->cursor.area); in cursor_blink_anim_cb()
928 area_tmp.x1 += ta->label->coords.x1; in cursor_blink_anim_cb()
929 area_tmp.y1 += ta->label->coords.y1; in cursor_blink_anim_cb()
930 area_tmp.x2 += ta->label->coords.x1; in cursor_blink_anim_cb()
931 area_tmp.y2 += ta->label->coords.y1; in cursor_blink_anim_cb()
932 lv_obj_invalidate_area(obj, &area_tmp); in cursor_blink_anim_cb()
1119 lv_area_t area_tmp; in refr_cursor_area() local
1120 lv_area_copy(&area_tmp, &ta->cursor.area); in refr_cursor_area()
1121 area_tmp.x1 += ta->label->coords.x1; in refr_cursor_area()
[all …]