Home
last modified time | relevance | path

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

/GUIX-v6.2.1/common/src/
Dgx_horizontal_list_scroll.c202 INT page_size; in _gx_horizontal_list_scroll() local
217page_size = (list -> gx_horizontal_list_child_width * list -> gx_horizontal_list_child_count); in _gx_horizontal_list_scroll()
219 if (!page_size) in _gx_horizontal_list_scroll()
227 num_pages = (amount + page_size) / page_size; in _gx_horizontal_list_scroll()
231 num_pages = (amount - page_size) / page_size; in _gx_horizontal_list_scroll()
238 amount -= (num_pages * page_size); in _gx_horizontal_list_scroll()
Dgx_vertical_list_scroll.c201 INT page_size; in _gx_vertical_list_scroll() local
216 page_size = (list -> gx_vertical_list_child_height * list -> gx_vertical_list_child_count); in _gx_vertical_list_scroll()
218 if (!page_size) in _gx_vertical_list_scroll()
226 num_pages = (amount + page_size) / page_size; in _gx_vertical_list_scroll()
230 num_pages = (amount - page_size) / page_size; in _gx_vertical_list_scroll()
237 amount -= (num_pages * page_size); in _gx_vertical_list_scroll()