/lvgl-latest/src/core/ |
D | lv_obj_draw.c | 44 draw_dsc->bg_opa = LV_OPA_TRANSP; in lv_obj_init_draw_rect_dsc() 58 if(draw_dsc->bg_opa != LV_OPA_TRANSP) { in lv_obj_init_draw_rect_dsc() 59 draw_dsc->bg_opa = lv_obj_get_style_bg_opa(obj, part); in lv_obj_init_draw_rect_dsc() 60 if(draw_dsc->bg_opa > LV_OPA_MIN) { in lv_obj_init_draw_rect_dsc() 135 if(draw_dsc->bg_opa != LV_OPA_TRANSP) { in lv_obj_init_draw_rect_dsc() 136 draw_dsc->bg_opa = lv_obj_get_style_bg_opa(obj, part); in lv_obj_init_draw_rect_dsc() 137 if(draw_dsc->bg_opa > LV_OPA_MIN) { in lv_obj_init_draw_rect_dsc() 183 draw_dsc->bg_opa = (opa * draw_dsc->bg_opa) >> 8; in lv_obj_init_draw_rect_dsc()
|
D | lv_obj.c | 571 draw_dsc.bg_opa = LV_OPA_TRANSP; in lv_obj_draw() 601 draw_dsc.bg_opa = LV_OPA_TRANSP; in lv_obj_draw() 675 dsc->bg_opa = lv_obj_get_style_bg_opa(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 676 if(dsc->bg_opa > LV_OPA_MIN) { in scrollbar_init_draw_dsc() 706 dsc->bg_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 707 dsc->border_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 708 dsc->shadow_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 711 …if(dsc->bg_opa != LV_OPA_TRANSP || dsc->border_opa != LV_OPA_TRANSP || dsc->shadow_opa != LV_OPA_T… in scrollbar_init_draw_dsc() 719 if(dsc->bg_opa != LV_OPA_TRANSP || dsc->border_opa != LV_OPA_TRANSP) return LV_RES_OK; in scrollbar_init_draw_dsc()
|
D | lv_refr.c | 155 draw_dsc.bg_opa = LV_OPA_20; in lv_obj_redraw() 744 dsc.bg_img_opa = disp_refr->bg_opa; in refr_area_part() 746 dsc.bg_opa = disp_refr->bg_opa; in refr_area_part() 755 dsc.opa = disp_refr->bg_opa; in refr_area_part() 766 dsc.bg_opa = disp_refr->bg_opa; in refr_area_part()
|
/lvgl-latest/examples/widgets/table/ |
D | lv_example_table_1.c | 17 dsc->rect_dsc->bg_opa = LV_OPA_COVER; in draw_part_event_cb() 27 dsc->rect_dsc->bg_opa = LV_OPA_COVER; in draw_part_event_cb()
|
D | lv_example_table_1.py | 13 dsc.rect_dsc.bg_opa = lv.OPA.COVER 22 dsc.rect_dsc.bg_opa = lv.OPA.COVER
|
/lvgl-latest/src/misc/ |
D | lv_color.h | 530 …tic inline void LV_ATTRIBUTE_FAST_MEM lv_color_mix_with_alpha(lv_color_t bg_color, lv_opa_t bg_opa, in lv_color_mix_with_alpha() argument 535 if(fg_opa >= LV_OPA_MAX || bg_opa <= LV_OPA_MIN) { in lv_color_mix_with_alpha() 542 *res_opa = bg_opa; in lv_color_mix_with_alpha() 545 else if(bg_opa >= LV_OPA_MAX) { in lv_color_mix_with_alpha() 559 if(fg_opa != fg_opa_save || bg_opa != bg_opa_save || fg_color.full != fg_color_save.full || in lv_color_mix_with_alpha() 562 bg_opa_save = bg_opa; in lv_color_mix_with_alpha() 567 res_opa_saved = 255 - ((uint16_t)((uint16_t)(255 - fg_opa) * (255 - bg_opa)) >> 8); in lv_color_mix_with_alpha()
|
/lvgl-latest/src/hal/ |
D | lv_hal_disp.c | 209 disp->bg_opa = LV_OPA_TRANSP; in lv_disp_drv_register() 211 disp->bg_opa = LV_OPA_COVER; in lv_disp_drv_register() 699 lv_opa_t bg_opa = buf_px[LV_IMG_PX_SIZE_ALPHA_BYTE - 1]; in set_px_true_color_alpha() local 702 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 707 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 713 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[3]); in set_px_true_color_alpha()
|
/lvgl-latest/src/draw/ |
D | lv_draw_rect.c | 48 dsc->bg_opa = LV_OPA_COVER; in lv_draw_rect_dsc_init()
|
D | lv_draw_rect.h | 37 lv_opa_t bg_opa; member
|
/lvgl-latest/src/extra/widgets/calendar/ |
D | lv_calendar.c | 297 dsc->rect_dsc->bg_opa = LV_OPA_TRANSP; in draw_part_begin_event_cb() 301 dsc->rect_dsc->bg_opa = LV_OPA_TRANSP; in draw_part_begin_event_cb() 307 dsc->rect_dsc->bg_opa = LV_OPA_40; in draw_part_begin_event_cb() 310 dsc->rect_dsc->bg_opa = LV_OPA_70; in draw_part_begin_event_cb()
|
/lvgl-latest/src/widgets/ |
D | lv_bar.c | 433 lv_opa_t bg_opa = draw_rect_dsc.bg_opa; in draw_indic() local 436 draw_rect_dsc.bg_opa = LV_OPA_TRANSP; in draw_indic() 442 draw_rect_dsc.bg_opa = bg_opa; in draw_indic() 493 draw_rect_dsc.bg_opa = LV_OPA_TRANSP; in draw_indic()
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_draw_vglite.c | 362 vglite_dsc.bg_opa = 0; in lv_draw_vglite_rect() 373 vglite_dsc.bg_opa = dsc->bg_opa; in lv_draw_vglite_rect() 376 vglite_dsc.bg_opa = 0; in lv_draw_vglite_rect() 400 if(dsc->bg_opa <= (lv_opa_t)LV_OPA_MIN) in lv_draw_vglite_bg()
|
/lvgl-latest/examples/event/ |
D | lv_example_event_4.c | 35 draw_dsc.bg_opa = LV_OPA_COVER; in event_cb()
|
/lvgl-latest/examples/widgets/canvas/ |
D | lv_example_canvas_1.c | 12 rect_dsc.bg_opa = LV_OPA_COVER; in lv_example_canvas_1()
|
D | lv_example_canvas_1.py | 8 rect_dsc.bg_opa = lv.OPA.COVER
|
/lvgl-latest/tests/src/test_cases/ |
D | test_table.c | 137 dsc->rect_dsc->bg_opa = LV_OPA_COVER; in draw_part_event_cb() 147 dsc->rect_dsc->bg_opa = LV_OPA_COVER; in draw_part_event_cb()
|
/lvgl-latest/src/draw/sdl/ |
D | lv_draw_sdl_bg.c | 83 SDL_SetRenderDrawColor(ctx->renderer, bg_color.r, bg_color.g, bg_color.b, dsc->bg_opa); in draw_bg_color()
|
D | lv_draw_sdl_polygon.c | 94 SDL_SetTextureAlphaMod(texture, draw_dsc->bg_opa); in lv_draw_sdl_polygon()
|
/lvgl-latest/examples/widgets/chart/ |
D | lv_example_chart_7.c | 12 dsc->rect_dsc->bg_opa = (LV_OPA_COVER * dsc->id) / (cnt - 1); in draw_event_cb()
|
D | lv_example_chart_4.c | 36 draw_rect_dsc.bg_opa = LV_OPA_50; in event_cb()
|
D | lv_example_chart_7.py | 14 dsc.rect_dsc.bg_opa = (lv.OPA.COVER * dsc.id) // (cnt - 1)
|
D | lv_example_chart_4.py | 25 draw_rect_dsc.bg_opa = lv.OPA._50
|
D | lv_example_chart_2.py | 28 draw_rect_dsc.bg_opa = lv.OPA._20
|
D | lv_example_chart_8.c | 34 draw_rect_dsc.bg_opa = LV_OPA_COVER; in draw_event_cb()
|
D | lv_example_chart_2.c | 33 draw_rect_dsc.bg_opa = LV_OPA_20; in draw_event_cb()
|