Home
last modified time | relevance | path

Searched full:else (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/lvgl-latest/src/
Dlv_conf_internal.h40 #else
41 … #include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
68 #else
77 #else
88 #else
98 #else
107 #else
120 #else
129 #else
138 #else
[all …]
/lvgl-latest/src/draw/
Dlv_draw_mask.c124 else if(res == LV_DRAW_MASK_RES_CHANGED) changed = true; in lv_draw_mask_apply()
160 else if(res == LV_DRAW_MASK_RES_CHANGED) changed = true; in lv_draw_mask_apply_ids()
221 else { in lv_draw_mask_free_param()
226 else if(pdsc->type == LV_DRAW_MASK_TYPE_POLYGON) { in lv_draw_mask_free_param()
270 else { in lv_draw_mask_is_any()
274 else { in lv_draw_mask_is_any()
347 else { in lv_draw_mask_line_points_init()
364 else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_RIGHT) param->inv = 1; in lv_draw_mask_line_points_init()
365 else if(param->cfg.side == LV_DRAW_MASK_LINE_SIDE_TOP) { in lv_draw_mask_line_points_init()
367 else param->inv = 0; in lv_draw_mask_line_points_init()
[all …]
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h535 #else
548 #else
715 #else
725 #else
741 #else
761 #else
1065 #else
1081 #else
1178 #else
1198 #else in stbtt__buf_get8()
[all …]
/lvgl-latest/src/draw/arm2d/
Dlv_gpu_arm2d.c161 #else
430 #else
513 else if(dsc->mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask = NULL; in lv_draw_arm2d_blend()
514 else mask = dsc->mask_buf; in lv_draw_arm2d_blend()
538 else { in lv_draw_arm2d_blend()
565 else { in lv_draw_arm2d_fill_colour()
568 #else in lv_draw_arm2d_fill_colour()
579 else { in lv_draw_arm2d_fill_colour()
590 else { in lv_draw_arm2d_fill_colour()
593 #else in lv_draw_arm2d_fill_colour()
[all …]
/lvgl-latest/src/core/
Dlv_obj_style.c200 else if(layer_type != LV_LAYER_TYPE_NONE) { in lv_obj_refresh_style()
250 else { in lv_obj_get_style_prop()
259 else { in lv_obj_get_style_prop()
263 else { in lv_obj_get_style_prop()
410 else if(lv_style_get_prop(style, LV_STYLE_PAD_BOTTOM, &v)) layout_diff = true; in _lv_obj_style_state_compare()
411 else if(lv_style_get_prop(style, LV_STYLE_PAD_LEFT, &v)) layout_diff = true; in _lv_obj_style_state_compare()
412 else if(lv_style_get_prop(style, LV_STYLE_PAD_RIGHT, &v)) layout_diff = true; in _lv_obj_style_state_compare()
413 else if(lv_style_get_prop(style, LV_STYLE_PAD_COLUMN, &v)) layout_diff = true; in _lv_obj_style_state_compare()
414 else if(lv_style_get_prop(style, LV_STYLE_PAD_ROW, &v)) layout_diff = true; in _lv_obj_style_state_compare()
415 else if(lv_style_get_prop(style, LV_STYLE_LAYOUT, &v)) layout_diff = true; in _lv_obj_style_state_compare()
[all …]
Dlv_indev.c56 #else
96 else if(indev_act->driver->type == LV_INDEV_TYPE_ENCODER && data.enc_diff) { in lv_indev_read_timer_cb()
103 else if(indev_act->driver->type == LV_INDEV_TYPE_KEYPAD) { in lv_indev_read_timer_cb()
106 else if(indev_act->driver->type == LV_INDEV_TYPE_ENCODER) { in lv_indev_read_timer_cb()
109 else if(indev_act->driver->type == LV_INDEV_TYPE_BUTTON) { in lv_indev_read_timer_cb()
130 else { in lv_indev_enable()
168 else { in lv_indev_reset()
232 else { in lv_indev_get_point()
247 else in lv_indev_get_key()
325 *else return NULL*/ in lv_indev_search_obj()
[all …]
Dlv_obj.c167 else { in lv_init()
351 else return NULL; in lv_obj_get_group()
524 else if(code == LV_EVENT_DRAW_MAIN) { in lv_obj_draw()
583 else if(code == LV_EVENT_DRAW_POST) { in lv_obj_draw()
686 else { in scrollbar_init_draw_dsc()
699 else { in scrollbar_init_draw_dsc()
715 else { in scrollbar_init_draw_dsc()
718 #else in scrollbar_init_draw_dsc()
720 else return LV_RES_INV; in scrollbar_init_draw_dsc()
733 else if(code == LV_EVENT_RELEASED) { in lv_obj_event()
[all …]
Dlv_refr.c92 #else
120 else { in lv_refr_now()
170 else { in lv_obj_redraw()
254 else { /*If no place for the area add the screen*/ in _lv_inv_area()
298 * This is done before refreshing in case refreshing invalidates something else. in _lv_disp_refr_timer()
303 else { in _lv_disp_refr_timer()
385 else { in _lv_disp_refr_timer()
393 else { in _lv_disp_refr_timer()
403 else { in _lv_disp_refr_timer()
646 else { in refr_area()
[all …]
/lvgl-latest/src/extra/libs/png/
Dlodepng.c66 platform if needed. Everything else in the code calls these. Pass
92 #else /*LODEPNG_COMPILE_ALLOCATORS*/
103 #else
112 #else
238 else return 0; /*error: not enough memory*/ in uivector_resize()
276 else return 0; /*error: not enough memory*/ in ucvector_resize()
431 } else { in writeBits()
497 } else { in ensureBits9()
514 } else { in ensureBits17()
532 } else { in ensureBits25()
[all …]
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_blend.c80 else *dest_buf = lv_color_mix(color, *dest_buf, *mask); \
87 else dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], *mask_tmp_x); \
114 else if(dsc->mask_res == LV_DRAW_MASK_RES_FULL_COVER) mask = NULL; in lv_draw_sw_blend_basic()
115 else mask = dsc->mask_buf; in lv_draw_sw_blend_basic()
128 else { in lv_draw_sw_blend_basic()
143 else { in lv_draw_sw_blend_basic()
162 else { in lv_draw_sw_blend_basic()
172 else { in lv_draw_sw_blend_basic()
177 else if(disp->driver->screen_transp) { in lv_draw_sw_blend_basic()
181 else { in lv_draw_sw_blend_basic()
[all …]
Dlv_draw_sw_rect.c135 #else in draw_bg()
186 else in draw_bg()
202 else if(dither_mode == LV_DITHER_ERR_DIFF) in draw_bg()
289 else { in draw_bg()
354 else { in draw_bg_img()
375 else { in draw_bg_img()
390 else { in draw_bg_img()
487 else { in draw_shadow()
499 #else in draw_shadow()
556 else simple_sub = simple; in draw_shadow()
[all …]
/lvgl-latest/tests/unity/
Dunity.c13 #else
34 #else
89 else if (*pch == 13) in UnityPrintChar()
95 else if (*pch == 10) in UnityPrintChar()
101 else in UnityPrintChar()
167 else if (*pch == 13) in UnityPrintLen()
173 else if (*pch == 10) in UnityPrintLen()
179 else in UnityPrintLen()
204 else if (number == 13) in UnityPrintNumberByStyle()
210 else if (number == 10) in UnityPrintNumberByStyle()
[all …]
/lvgl-latest/src/extra/themes/default/
Dlv_theme_default.c200 else return lv_color_mix(lv_palette_lighten(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb()
659 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_theme_default_init()
660 else disp_size = DISP_LARGE; in lv_theme_default_init()
713 else if(lv_obj_check_type(lv_obj_get_parent(parent), &lv_tabview_class)) { in theme_apply()
729else if(lv_obj_get_index(obj) == 1 && lv_obj_check_type(lv_obj_get_parent(obj), &lv_win_class)) { in theme_apply()
750 else if(lv_obj_check_type(obj, &lv_btn_class)) { in theme_apply()
774 else if(lv_obj_check_type(obj, &lv_line_class)) { in theme_apply()
780 else if(lv_obj_check_type(obj, &lv_btnmatrix_class)) { in theme_apply()
835 else if(lv_obj_check_type(obj, &lv_bar_class)) { in theme_apply()
846 else if(lv_obj_check_type(obj, &lv_slider_class)) { in theme_apply()
[all …]
/lvgl-latest/src/widgets/
Dlv_slider.c128 else if(code == LV_EVENT_PRESSED) { in lv_slider_event()
136 else if(type == LV_SLIDER_MODE_RANGE) { in lv_slider_event()
147else if((base_dir != LV_BASE_DIR_RTL && p.x < slider->left_knob_area.x1) || (base_dir == LV_BASE_D… in lv_slider_event()
151 else { in lv_slider_event()
161 else { in lv_slider_event()
167 else { in lv_slider_event()
171 else if(p.y > slider->left_knob_area.y2) { in lv_slider_event()
174 else { in lv_slider_event()
184 else { in lv_slider_event()
192 else if(code == LV_EVENT_PRESSING && slider->value_to_set != NULL) { in lv_slider_event()
[all …]
Dlv_label.c106 #else in lv_label_set_text()
113 else { in lv_label_set_text()
129 #else in lv_label_set_text()
207 else in lv_label_set_long_mode()
240 #else in lv_label_set_text_sel_start()
254 #else in lv_label_set_text_sel_end()
360 else { in lv_label_get_letter_pos()
371 #else in lv_label_get_letter_pos()
386 else if(align == LV_TEXT_ALIGN_RIGHT) { in lv_label_get_letter_pos()
454 #else in lv_label_get_letter_on()
[all …]
Dlv_dropdown.c133 #else in lv_dropdown_set_options()
149 #else in lv_dropdown_set_options()
213 #else in lv_dropdown_add_option()
246 #else in lv_dropdown_add_option()
383 else { in lv_dropdown_get_selected_str()
495 else { in lv_dropdown_open()
501 else if(dropdown->dir == LV_DIR_TOP) { in lv_dropdown_open()
508 else { in lv_dropdown_open()
520else if(dir == LV_DIR_TOP) lv_obj_align_to(dropdown->list, dropdown_obj, LV_ALIGN_OUT_TOP_LEFT, … in lv_dropdown_open()
521else if(dir == LV_DIR_LEFT) lv_obj_align_to(dropdown->list, dropdown_obj, LV_ALIGN_OUT_LEFT_TOP, … in lv_dropdown_open()
[all …]
Dlv_arc.c102else if(new_delta < old_delta) inv_arc_area(obj, arc->indic_angle_start, start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
103else if(old_delta < new_delta) inv_arc_area(obj, start, arc->indic_angle_start, LV_PART_INDICATOR); in lv_arc_set_start_angle()
125 else if(new_delta < old_delta) inv_arc_area(obj, end, arc->indic_angle_end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
126 else if(old_delta < new_delta) inv_arc_area(obj, arc->indic_angle_end, end, LV_PART_INDICATOR); in lv_arc_set_end_angle()
155 else if(new_delta < old_delta) inv_arc_area(obj, arc->bg_angle_start, start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
156 else if(old_delta < new_delta) inv_arc_area(obj, start, arc->bg_angle_start, LV_PART_MAIN); in lv_arc_set_bg_start_angle()
177 else if(new_delta < old_delta) inv_arc_area(obj, end, arc->bg_angle_end, LV_PART_MAIN); in lv_arc_set_bg_end_angle()
178 else if(old_delta < new_delta) inv_arc_area(obj, arc->bg_angle_end, end, LV_PART_MAIN); in lv_arc_set_bg_end_angle()
456 else { in lv_arc_event()
505 else angle = deg_range; in lv_arc_event()
[all …]
Dlv_textarea.c291 else { in lv_textarea_set_text()
327 else { in lv_textarea_set_placeholder_text()
428 else { in lv_textarea_set_password_mode()
449 else { in lv_textarea_set_password_bullet()
485 else { in lv_textarea_set_one_line()
528 #else in lv_textarea_set_text_selection()
575 else { in lv_textarea_get_text()
588 else return ""; in lv_textarea_get_placeholder_text()
634 /*If the textarea's font has the bullet character use it else fallback to "*"*/ in lv_textarea_get_password_bullet()
676 else { in lv_textarea_text_is_selected()
[all …]
Dlv_table.c183 #else in lv_table_set_cell_value_fmt()
472 else return (table->cell_data[cell]->ctrl & ctrl) == ctrl; in lv_table_has_cell_ctrl()
564 else if(code == LV_EVENT_GET_SELF_SIZE) { in lv_table_event()
576 else if(code == LV_EVENT_PRESSED || code == LV_EVENT_PRESSING) { in lv_table_event()
587 else if(code == LV_EVENT_RELEASED) { in lv_table_event()
602 else if(code == LV_EVENT_FOCUSED) { in lv_table_event()
605 else if(code == LV_EVENT_KEY) { in lv_table_event()
621 else if(c == LV_KEY_RIGHT) col++; in lv_table_event()
622 else if(c == LV_KEY_UP) row--; in lv_table_event()
623 else if(c == LV_KEY_DOWN) row++; in lv_table_event()
[all …]
Dlv_btnmatrix.c429 else if(code == LV_EVENT_SIZE_CHANGED) { in lv_btnmatrix_event()
432 else if(code == LV_EVENT_PRESSED) { in lv_btnmatrix_event()
451 else { in lv_btnmatrix_event()
467 else if(code == LV_EVENT_PRESSING) { in lv_btnmatrix_event()
500 else if(code == LV_EVENT_RELEASED) { in lv_btnmatrix_event()
508 else { in lv_btnmatrix_event()
528 else if(code == LV_EVENT_LONG_PRESSED_REPEAT) { in lv_btnmatrix_event()
539 else if(code == LV_EVENT_PRESS_LOST) { in lv_btnmatrix_event()
543 else if(code == LV_EVENT_FOCUSED) { in lv_btnmatrix_event()
564 else { in lv_btnmatrix_event()
[all …]
/lvgl-latest/src/extra/themes/basic/
Dlv_theme_basic.c188 else if(lv_obj_check_type(lv_obj_get_parent(parent), &lv_tabview_class)) { in theme_apply()
202else if(lv_obj_get_index(obj) == 1 && lv_obj_check_type(lv_obj_get_parent(obj), &lv_win_class)) { in theme_apply()
212 else if(lv_obj_check_type(obj, &lv_btn_class)) { in theme_apply()
218 else if(lv_obj_check_type(obj, &lv_btnmatrix_class)) { in theme_apply()
237 else if(lv_obj_check_type(obj, &lv_bar_class)) { in theme_apply()
244 else if(lv_obj_check_type(obj, &lv_slider_class)) { in theme_apply()
252 else if(lv_obj_check_type(obj, &lv_table_class)) { in theme_apply()
259 else if(lv_obj_check_type(obj, &lv_checkbox_class)) { in theme_apply()
266 else if(lv_obj_check_type(obj, &lv_switch_class)) { in theme_apply()
273 else if(lv_obj_check_type(obj, &lv_chart_class)) { in theme_apply()
[all …]
/lvgl-latest/src/extra/themes/mono/
Dlv_theme_mono.c215 else if(lv_obj_check_type(lv_obj_get_parent(parent), &lv_tabview_class)) { in theme_apply()
231else if(lv_obj_get_index(obj) == 1 && lv_obj_check_type(lv_obj_get_parent(obj), &lv_win_class)) { in theme_apply()
242 else if(lv_obj_check_type(obj, &lv_btn_class)) { in theme_apply()
253 else if(lv_obj_check_type(obj, &lv_btnmatrix_class)) { in theme_apply()
290 else if(lv_obj_check_type(obj, &lv_bar_class)) { in theme_apply()
299 else if(lv_obj_check_type(obj, &lv_slider_class)) { in theme_apply()
311 else if(lv_obj_check_type(obj, &lv_table_class)) { in theme_apply()
323 else if(lv_obj_check_type(obj, &lv_checkbox_class)) { in theme_apply()
335 else if(lv_obj_check_type(obj, &lv_switch_class)) { in theme_apply()
350 else if(lv_obj_check_type(obj, &lv_chart_class)) { in theme_apply()
[all …]
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c102 else if(LV_HOR_RES < 720) disp_size = DISP_MEDIUM; in lv_demo_widgets()
103 else disp_size = DISP_LARGE; in lv_demo_widgets()
113 #else in lv_demo_widgets()
118 #else in lv_demo_widgets()
122 else if(disp_size == DISP_MEDIUM) { in lv_demo_widgets()
126 #else in lv_demo_widgets()
131 #else in lv_demo_widgets()
135 else { /* disp_size == DISP_SMALL */ in lv_demo_widgets()
139 #else in lv_demo_widgets()
144 #else in lv_demo_widgets()
[all …]
/lvgl-latest/src/misc/
Dlv_printf.c224 else if((base == 16U) && (flags & FLAGS_UPPERCASE) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
227 else if((base == 2U) && (len < PRINTF_NTOA_BUFFER_SIZE)) { in _ntoa_format()
239 else if(flags & FLAGS_PLUS) { in _ntoa_format()
242 else if(flags & FLAGS_SPACE) { in _ntoa_format()
333 #else in _ftoa()
368 else if(diff < 0.5) { in _ftoa()
370 else if((frac == 0U) || (frac & 1U)) { in _ftoa()
383 else { in _ftoa()
425 else if(flags & FLAGS_PLUS) { in _ftoa()
428 else if(flags & FLAGS_SPACE) { in _ftoa()
[all …]
/lvgl-latest/demos/music/
Dlv_demo_music_main.c28 #else
130 #else in _lv_demo_music_main_create()
183 # else in _lv_demo_music_main_create()
202 #else in _lv_demo_music_main_create()
309 else { in _lv_demo_music_album_next()
313 else { in _lv_demo_music_album_next()
321 else { in _lv_demo_music_album_next()
385 #else in create_cont()
424 #else in create_cont()
459 #else in create_wave_images()
[all …]

12345678910>>...12