Searched refs:max_choice (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/scripts/kconfig/lxdialog/ |
| H A D | menubox.c | 177 int first_item = 0, max_choice; in dialog_menu() local 190 max_choice = MIN(menu_height, item_count()); in dialog_menu() 240 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu() 241 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu() 247 if ((choice >= max_choice)) { in dialog_menu() 248 if (choice >= item_count() - max_choice / 2) in dialog_menu() 249 scroll = first_item = item_count() - max_choice; in dialog_menu() 251 scroll = first_item = choice - max_choice / 2; in dialog_menu() 256 for (i = 0; i < max_choice; i++) { in dialog_menu() 276 i = max_choice; in dialog_menu() [all …]
|
| H A D | checklist.c | 108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local 127 max_choice = MIN(list_height, item_count()); in dialog_checklist() 181 for (i = 0; i < max_choice; i++) { in dialog_checklist() 198 for (i = 0; i < max_choice; i++) { in dialog_checklist() 204 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() 232 if (choice == max_choice - 1) { in dialog_checklist() 238 item_set(scroll + max_choice - 1); in dialog_checklist() 240 max_choice - 1, in dialog_checklist() 247 item_set(scroll + max_choice - 1); in dialog_checklist() 248 print_item(list, max_choice - 1, TRUE); in dialog_checklist()
|
| /OK3568_Linux_fs/buildroot/support/kconfig/lxdialog/ |
| H A D | menubox.c | 190 int first_item = 0, max_choice; in dialog_menu() local 203 max_choice = MIN(menu_height, item_count()); in dialog_menu() 253 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu() 254 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu() 260 if ((choice >= max_choice)) { in dialog_menu() 261 if (choice >= item_count() - max_choice / 2) in dialog_menu() 262 scroll = first_item = item_count() - max_choice; in dialog_menu() 264 scroll = first_item = choice - max_choice / 2; in dialog_menu() 269 for (i = 0; i < max_choice; i++) { in dialog_menu() 289 i = max_choice; in dialog_menu() [all …]
|
| H A D | checklist.c | 121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local 140 max_choice = MIN(list_height, item_count()); in dialog_checklist() 194 for (i = 0; i < max_choice; i++) { in dialog_checklist() 211 for (i = 0; i < max_choice; i++) { in dialog_checklist() 217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() 245 if (choice == max_choice - 1) { in dialog_checklist() 251 item_set(scroll + max_choice - 1); in dialog_checklist() 253 max_choice - 1, in dialog_checklist() 260 item_set(scroll + max_choice - 1); in dialog_checklist() 261 print_item(list, max_choice - 1, TRUE); in dialog_checklist()
|
| /OK3568_Linux_fs/u-boot/scripts/kconfig/lxdialog/ |
| H A D | menubox.c | 178 int first_item = 0, max_choice; in dialog_menu() local 191 max_choice = MIN(menu_height, item_count()); in dialog_menu() 241 if ((scroll <= choice) && (scroll + max_choice > choice) && in dialog_menu() 242 (scroll >= 0) && (scroll + max_choice <= item_count())) { in dialog_menu() 248 if ((choice >= max_choice)) { in dialog_menu() 249 if (choice >= item_count() - max_choice / 2) in dialog_menu() 250 scroll = first_item = item_count() - max_choice; in dialog_menu() 252 scroll = first_item = choice - max_choice / 2; in dialog_menu() 257 for (i = 0; i < max_choice; i++) { in dialog_menu() 277 i = max_choice; in dialog_menu() [all …]
|
| H A D | checklist.c | 109 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local 128 max_choice = MIN(list_height, item_count()); in dialog_checklist() 182 for (i = 0; i < max_choice; i++) { in dialog_checklist() 199 for (i = 0; i < max_choice; i++) { in dialog_checklist() 205 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() 233 if (choice == max_choice - 1) { in dialog_checklist() 239 item_set(scroll + max_choice - 1); in dialog_checklist() 241 max_choice - 1, in dialog_checklist() 248 item_set(scroll + max_choice - 1); in dialog_checklist() 249 print_item(list, max_choice - 1, TRUE); in dialog_checklist()
|
| /OK3568_Linux_fs/buildroot/support/kconfig/patches/ |
| H A D | 16-fix-space-to-de-select-options.patch | 39 i = max_choice; 41 for (i = choice + 1; i < max_choice; i++) {
|