Searched refs:stops (Results 1 – 15 of 15) sorted by relevance
/lvgl-3.7.0/examples/styles/ |
D | lv_example_style_2.c | 18 grad.stops[0].color = lv_palette_lighten(LV_PALETTE_GREY, 1); in lv_example_style_2() 19 grad.stops[1].color = lv_palette_main(LV_PALETTE_BLUE); in lv_example_style_2() 22 grad.stops[0].frac = 128; in lv_example_style_2() 23 grad.stops[1].frac = 192; in lv_example_style_2()
|
/lvgl-3.7.0/src/extra/widgets/led/ |
D | lv_led.c | 182 rect_dsc.bg_grad.stops[0].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 183 … lv_color_brightness(rect_dsc.bg_grad.stops[0].color)); in lv_led_event() 184 rect_dsc.bg_grad.stops[1].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 185 … lv_color_brightness(rect_dsc.bg_grad.stops[1].color)); in lv_led_event() 192 …rect_dsc.bg_grad.stops[0].color = lv_color_mix(rect_dsc.bg_grad.stops[0].color, lv_color_black()… in lv_led_event() 193 …rect_dsc.bg_grad.stops[1].color = lv_color_mix(rect_dsc.bg_grad.stops[1].color, lv_color_black()… in lv_led_event()
|
/lvgl-3.7.0/src/draw/ |
D | lv_draw_rect.c | 41 dsc->bg_grad.stops[0].color = lv_color_white(); in lv_draw_rect_dsc_init() 42 dsc->bg_grad.stops[1].color = lv_color_black(); in lv_draw_rect_dsc_init() 43 dsc->bg_grad.stops[1].frac = 0xFF; in lv_draw_rect_dsc_init()
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_gradient.c | 300 int32_t min = (dsc->stops[0].frac * range) >> 8; in lv_gradient_calculate() 302 GRAD_CONV(tmp, dsc->stops[0].color); in lv_gradient_calculate() 306 int32_t max = (dsc->stops[dsc->stops_count - 1].frac * range) >> 8; in lv_gradient_calculate() 308 GRAD_CONV(tmp, dsc->stops[dsc->stops_count - 1].color); in lv_gradient_calculate() 315 int32_t cur = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate() 317 one.full = lv_color_to32(dsc->stops[i - 1].color); in lv_gradient_calculate() 318 two.full = lv_color_to32(dsc->stops[i].color); in lv_gradient_calculate() 319 min = (dsc->stops[i - 1].frac * range) >> 8; in lv_gradient_calculate() 320 max = (dsc->stops[i].frac * range) >> 8; in lv_gradient_calculate()
|
D | lv_draw_sw_gradient.h | 24 #error LVGL needs at least 2 stops for gradients. Please increase the LV_GRADIENT_MAX_STOPS
|
D | lv_draw_sw_rect.c | 116 …lv_color_t bg_color = grad_dir == LV_GRAD_DIR_NONE ? dsc->bg_color : dsc->bg_grad.stops[0].colo… in draw_bg() 117 if(bg_color.full == dsc->bg_grad.stops[1].color.full) grad_dir = LV_GRAD_DIR_NONE; in draw_bg()
|
/lvgl-3.7.0/examples/widgets/canvas/ |
D | lv_example_canvas_1.c | 14 rect_dsc.bg_grad.stops[0].color = lv_palette_main(LV_PALETTE_RED); in lv_example_canvas_1() 15 rect_dsc.bg_grad.stops[1].color = lv_palette_main(LV_PALETTE_BLUE); in lv_example_canvas_1()
|
D | lv_example_canvas_1.py | 10 rect_dsc.bg_grad.stops[0].color = lv.palette_main(lv.PALETTE.RED) 11 rect_dsc.bg_grad.stops[1].color = lv.palette_main(lv.PALETTE.BLUE)
|
/lvgl-3.7.0/src/draw/nxp/vglite/ |
D | lv_draw_vglite_rect.c | 126 uint32_t stops[2]; in lv_gpu_nxp_vglite_draw_bg() local 132 … col32[i].full = lv_color_to32(dsc->bg_grad.stops[i].color); /*Convert color to RGBA8888*/ in lv_gpu_nxp_vglite_draw_bg() 133 stops[i] = dsc->bg_grad.stops[i].frac; in lv_gpu_nxp_vglite_draw_bg() 145 err = vg_lite_set_grad(&gradient, cnt, colors, stops); in lv_gpu_nxp_vglite_draw_bg()
|
D | lv_draw_vglite.c | 426 dsc->bg_color : dsc->bg_grad.stops[0].color; in lv_draw_vglite_bg() 427 if(bg_color.full == dsc->bg_grad.stops[1].color.full) in lv_draw_vglite_bg()
|
/lvgl-3.7.0/src/core/ |
D | lv_obj_draw.c | 69 … draw_dsc->bg_grad.stops[0].color = lv_obj_get_style_bg_color_filtered(obj, part); in lv_obj_init_draw_rect_dsc() 70 … draw_dsc->bg_grad.stops[1].color = lv_obj_get_style_bg_grad_color_filtered(obj, part); in lv_obj_init_draw_rect_dsc() 71 draw_dsc->bg_grad.stops[0].frac = lv_obj_get_style_bg_main_stop(obj, part); in lv_obj_init_draw_rect_dsc() 72 draw_dsc->bg_grad.stops[1].frac = lv_obj_get_style_bg_grad_stop(obj, part); in lv_obj_init_draw_rect_dsc()
|
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 44 lv_gradient_stop_t stops[LV_GRADIENT_MAX_STOPS]; member 51 lv_gradient_stop_t stops[LV_GRADIENT_MAX_STOPS]; member 376 lv_color_to_sdl_color(&dsc->bg_grad.stops[0].color, &bg_color); in draw_bg_color() 961 key.stops[i].frac = grad->stops[i].frac; in rect_grad_frag_key_create() 962 key.stops[i].color = grad->stops[i].color; in rect_grad_frag_key_create() 978 key.stops[i].frac = grad->stops[i].frac; in rect_grad_strip_key_create() 979 key.stops[i].color = grad->stops[i].color; in rect_grad_strip_key_create()
|
/lvgl-3.7.0/src/misc/ |
D | lv_style.h | 156 lv_gradient_stop_t stops[LV_GRADIENT_MAX_STOPS]; /**< A gradient stop array */ member
|
/lvgl-3.7.0/docs/overview/ |
D | scroll.md | 91 If chaining is disabled the propagation stops on the object and the parent(s) won't be scrolled.
|
/lvgl-3.7.0/ |
D | Kconfig | 179 int "Number of stops allowed per gradient." 182 Increase this to allow more stops.
|