Home
last modified time | relevance | path

Searched refs:lv_color_brightness (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/src/extra/widgets/led/
Dlv_led.c181 …rect_dsc.bg_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bg_col… in lv_led_event()
183lv_color_brightness(rect_dsc.bg_grad.stops[0].color)); in lv_led_event()
185lv_color_brightness(rect_dsc.bg_grad.stops[1].color)); in lv_led_event()
186 …rect_dsc.shadow_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.sh… in lv_led_event()
187 …rect_dsc.border_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bo… in lv_led_event()
188 …rect_dsc.outline_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.o… in lv_led_event()
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_5.c25 if(lv_color_brightness(bg_color) > 127) { in lv_example_menu_5()
/lvgl-latest/src/hal/
Dlv_hal_disp.c680 uint8_t br = lv_color_brightness(color); in set_px_alpha_generic()
/lvgl-latest/src/misc/
Dlv_color.h586 static inline uint8_t lv_color_brightness(lv_color_t color) in lv_color_brightness() function
/lvgl-latest/docs/porting/
Ddisplay.md175 if(lv_color_brightness(color) > 128) (*buf) |= (1 << (y % 8));