Searched refs:lv_color_brightness (Results 1 – 5 of 5) sorted by relevance
181 …rect_dsc.bg_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bg_col… in lv_led_event()183 … lv_color_brightness(rect_dsc.bg_grad.stops[0].color)); in lv_led_event()185 … lv_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()
25 if(lv_color_brightness(bg_color) > 127) { in lv_example_menu_5()
680 uint8_t br = lv_color_brightness(color); in set_px_alpha_generic()
586 static inline uint8_t lv_color_brightness(lv_color_t color) in lv_color_brightness() function
175 if(lv_color_brightness(color) > 128) (*buf) |= (1 << (y % 8));