Home
last modified time | relevance | path

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

/lvgl-3.7.0/examples/scroll/
Dlv_example_scroll_6.c20 lv_coord_t child_y_center = child_a.y1 + lv_area_get_height(&child_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.py17 child_y_center = child_a.y1 + child_a.get_height() // 2
19 diff_y = child_y_center - cont_y_center