/lvgl-3.5.0/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-3.5.0/src/core/ |
D | lv_obj_draw.c | 45 draw_dsc->bg_opa = LV_OPA_TRANSP; in lv_obj_init_draw_rect_dsc() 59 if(draw_dsc->bg_opa != LV_OPA_TRANSP) { in lv_obj_init_draw_rect_dsc() 60 draw_dsc->bg_opa = lv_obj_get_style_bg_opa(obj, part); in lv_obj_init_draw_rect_dsc() 61 if(draw_dsc->bg_opa > LV_OPA_MIN) { in lv_obj_init_draw_rect_dsc() 136 if(draw_dsc->bg_opa != LV_OPA_TRANSP) { in lv_obj_init_draw_rect_dsc() 137 draw_dsc->bg_opa = lv_obj_get_style_bg_opa(obj, part); in lv_obj_init_draw_rect_dsc() 138 if(draw_dsc->bg_opa > LV_OPA_MIN) { in lv_obj_init_draw_rect_dsc() 186 draw_dsc->bg_opa = (opa * draw_dsc->shadow_opa) >> 8; in lv_obj_init_draw_rect_dsc()
|
D | lv_obj.c | 548 draw_dsc.bg_opa = LV_OPA_TRANSP; in lv_obj_draw() 578 draw_dsc.bg_opa = LV_OPA_TRANSP; in lv_obj_draw() 652 dsc->bg_opa = lv_obj_get_style_bg_opa(obj, LV_PART_SCROLLBAR); in scrollbar_init_draw_dsc() 653 if(dsc->bg_opa > LV_OPA_MIN) { in scrollbar_init_draw_dsc() 683 dsc->bg_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 684 dsc->border_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 685 dsc->shadow_opa = (dsc->bg_opa * opa) >> 8; in scrollbar_init_draw_dsc() 688 …if(dsc->bg_opa != LV_OPA_TRANSP || dsc->border_opa != LV_OPA_TRANSP || dsc->shadow_opa != LV_OPA_T… in scrollbar_init_draw_dsc() 696 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 | 154 draw_dsc.bg_opa = LV_OPA_20; in lv_obj_redraw() 660 dsc.bg_img_opa = disp_refr->bg_opa; in refr_area_part() 662 dsc.bg_opa = disp_refr->bg_opa; in refr_area_part() 671 dsc.opa = disp_refr->bg_opa; in refr_area_part() 682 dsc.bg_opa = disp_refr->bg_opa; in refr_area_part()
|
/lvgl-3.5.0/src/misc/ |
D | lv_color.h | 531 …ATTRIBUTE_FAST_MEM static inline void lv_color_mix_with_alpha(lv_color_t bg_color, lv_opa_t bg_opa, in lv_color_mix_with_alpha() argument 536 if(fg_opa >= LV_OPA_MAX || bg_opa <= LV_OPA_MIN) { in lv_color_mix_with_alpha() 543 *res_opa = bg_opa; in lv_color_mix_with_alpha() 546 else if(bg_opa >= LV_OPA_MAX) { in lv_color_mix_with_alpha() 560 if(fg_opa != fg_opa_save || bg_opa != bg_opa_save || fg_color.full != fg_color_save.full || in lv_color_mix_with_alpha() 563 bg_opa_save = bg_opa; in lv_color_mix_with_alpha() 568 res_opa_saved = 255 - ((uint16_t)((uint16_t)(255 - fg_opa) * (255 - bg_opa)) >> 8); in lv_color_mix_with_alpha()
|
/lvgl-3.5.0/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-3.5.0/src/hal/ |
D | lv_hal_disp.c | 203 disp->bg_opa = LV_OPA_TRANSP; in lv_disp_drv_register() 205 disp->bg_opa = LV_OPA_COVER; in lv_disp_drv_register() 692 lv_opa_t bg_opa = buf_px[LV_IMG_PX_SIZE_ALPHA_BYTE - 1]; in set_px_true_color_alpha() local 695 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 700 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 706 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[3]); in set_px_true_color_alpha()
|
/lvgl-3.5.0/src/extra/widgets/calendar/ |
D | lv_calendar.c | 298 dsc->rect_dsc->bg_opa = LV_OPA_TRANSP; in draw_part_begin_event_cb() 302 dsc->rect_dsc->bg_opa = LV_OPA_TRANSP; in draw_part_begin_event_cb() 308 dsc->rect_dsc->bg_opa = LV_OPA_40; in draw_part_begin_event_cb() 311 dsc->rect_dsc->bg_opa = LV_OPA_70; in draw_part_begin_event_cb()
|
/lvgl-3.5.0/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-3.5.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite.c | 321 vglite_dsc.bg_opa = 0; in lv_draw_vglite_rect() 332 vglite_dsc.bg_opa = dsc->bg_opa; in lv_draw_vglite_rect() 335 vglite_dsc.bg_opa = 0; in lv_draw_vglite_rect() 359 if(dsc->bg_opa <= (lv_opa_t)LV_OPA_MIN) in lv_draw_vglite_bg()
|
/lvgl-3.5.0/examples/event/ |
D | lv_example_event_4.c | 35 draw_dsc.bg_opa = LV_OPA_COVER; in event_cb()
|
/lvgl-3.5.0/examples/widgets/canvas/ |
D | lv_example_canvas_1.c | 13 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-3.5.0/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-3.5.0/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 | 92 SDL_SetTextureAlphaMod(texture, draw_dsc->bg_opa); in lv_draw_sdl_polygon()
|
/lvgl-3.5.0/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 | 37 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_8.py | 36 draw_rect_dsc.bg_opa = lv.OPA.COVER
|