Searched refs:LV_ROLLER_INF_PAGES (Results 1 – 5 of 5) sorted by relevance
123 char * opt_extra = lv_mem_buf_get(opt_len * LV_ROLLER_INF_PAGES); in lv_roller_set_options()125 for(i = 0; i < LV_ROLLER_INF_PAGES; i++) { in lv_roller_set_options()129 opt_extra[opt_len * LV_ROLLER_INF_PAGES - 1] = '\0'; in lv_roller_set_options()133 roller->sel_opt_id = ((LV_ROLLER_INF_PAGES / 2) + 0) * roller->option_cnt; in lv_roller_set_options()135 roller->option_cnt = roller->option_cnt * LV_ROLLER_INF_PAGES; in lv_roller_set_options()164 uint32_t real_option_cnt = roller->option_cnt / LV_ROLLER_INF_PAGES; in lv_roller_set_selected()216 uint16_t real_id_cnt = roller->option_cnt / LV_ROLLER_INF_PAGES; in lv_roller_get_selected()280 return roller->option_cnt / LV_ROLLER_INF_PAGES; in lv_roller_get_option_cnt()731 uint16_t real_id_cnt = roller->option_cnt / LV_ROLLER_INF_PAGES; in inf_normalize()733 roller->sel_opt_id += (LV_ROLLER_INF_PAGES / 2) * real_id_cnt; /*Select the middle page*/ in inf_normalize()[all …]
488 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/ macro
500 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/
789 config LV_ROLLER_INF_PAGES config
1526 #ifndef LV_ROLLER_INF_PAGES1528 #define LV_ROLLER_INF_PAGES CONFIG_LV_ROLLER_INF_PAGES macro1530 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/ macro