Home
last modified time | relevance | path

Searched refs:cont_y_center (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.c10 lv_coord_t cont_y_center = cont_a.y1 + lv_area_get_height(&cont_a) / 2; in scroll_event_cb() local
22 lv_coord_t diff_y = child_y_center - cont_y_center; in scroll_event_cb()
Dlv_example_scroll_6.py7 cont_y_center = cont_a.y1 + cont_a.get_height() // 2
19 diff_y = child_y_center - cont_y_center