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()282 return roller->option_cnt / LV_ROLLER_INF_PAGES; in lv_roller_get_option_cnt()735 uint16_t real_id_cnt = roller->option_cnt / LV_ROLLER_INF_PAGES; in inf_normalize()737 roller->sel_opt_id += (LV_ROLLER_INF_PAGES / 2) * real_id_cnt; /*Select the middle page*/ in inf_normalize()[all …]
485 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/ macro
492 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/
778 config LV_ROLLER_INF_PAGES config
1506 #ifndef LV_ROLLER_INF_PAGES1508 #define LV_ROLLER_INF_PAGES CONFIG_LV_ROLLER_INF_PAGES macro1510 #define LV_ROLLER_INF_PAGES 7 /*Number of extra "pages" when the roller is infinite*/ macro