Lines Matching refs:scale
658 lv_meter_scale_t * scale; in analytics_create() local
662 scale = lv_meter_add_scale(meter1); in analytics_create()
663 lv_meter_set_scale_range(meter1, scale, 0, 100, 270, 90); in analytics_create()
664 lv_meter_set_scale_ticks(meter1, scale, 0, 0, 0, lv_color_black()); in analytics_create()
671 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_BLUE), 0); in analytics_create()
678 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_RED), -20); in analytics_create()
686 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_GREEN), -40); in analytics_create()
695 scale = lv_meter_add_scale(meter2); in analytics_create()
696 lv_meter_set_scale_range(meter2, scale, 0, 100, 360, 90); in analytics_create()
697 lv_meter_set_scale_ticks(meter2, scale, 0, 0, 0, lv_color_black()); in analytics_create()
700 meter2_indic[0] = lv_meter_add_arc(meter2, scale, 20, lv_palette_main(LV_PALETTE_RED), -10); in analytics_create()
704 meter2_indic[1] = lv_meter_add_arc(meter2, scale, 30, lv_palette_main(LV_PALETTE_BLUE), 0); in analytics_create()
708 meter2_indic[2] = lv_meter_add_arc(meter2, scale, 10, lv_palette_main(LV_PALETTE_GREEN), -20); in analytics_create()
727 scale = lv_meter_add_scale(meter3); in analytics_create()
728 lv_meter_set_scale_range(meter3, scale, 10, 60, 220, 360 - 220); in analytics_create()
729 lv_meter_set_scale_ticks(meter3, scale, 21, 3, 17, lv_color_white()); in analytics_create()
730 lv_meter_set_scale_major_ticks(meter3, scale, 4, 4, 22, lv_color_white(), 15); in analytics_create()
732 indic = lv_meter_add_arc(meter3, scale, 10, lv_palette_main(LV_PALETTE_RED), 0); in analytics_create()
736 …indic = lv_meter_add_scale_lines(meter3, scale, lv_palette_darken(LV_PALETTE_RED, 3), lv_palette_d… in analytics_create()
741 indic = lv_meter_add_arc(meter3, scale, 12, lv_palette_main(LV_PALETTE_BLUE), 0); in analytics_create()
745 indic = lv_meter_add_scale_lines(meter3, scale, lv_palette_darken(LV_PALETTE_BLUE, 3), in analytics_create()
750 indic = lv_meter_add_arc(meter3, scale, 10, lv_palette_main(LV_PALETTE_GREEN), 0); in analytics_create()
754 indic = lv_meter_add_scale_lines(meter3, scale, lv_palette_darken(LV_PALETTE_GREEN, 3), in analytics_create()
759 indic = lv_meter_add_needle_line(meter3, scale, 4, lv_palette_darken(LV_PALETTE_GREY, 4), -25); in analytics_create()