Home
last modified time | relevance | path

Searched refs:text_percent (Results 1 – 4 of 4) sorted by relevance

/system/core/healthd/tests/
DAnimationParser_test.cpp175 EXPECT_EQ(21, anim.text_percent.pos_x); in TEST()
176 EXPECT_EQ(22, anim.text_percent.pos_y); in TEST()
177 EXPECT_EQ(23, anim.text_percent.color_r); in TEST()
178 EXPECT_EQ(24, anim.text_percent.color_g); in TEST()
179 EXPECT_EQ(25, anim.text_percent.color_b); in TEST()
180 EXPECT_EQ(26, anim.text_percent.color_a); in TEST()
181 EXPECT_STREQ("test/percent_font", anim.text_percent.font_file.c_str()); in TEST()
/system/core/healthd/
Dhealthd_mode_charger.cpp119 .text_percent = {
351 const animation::text_field& field = anim.text_percent; in draw_percent()
448 if (!anim->text_percent.font_file.empty()) { in init_status_display()
450 gr_init_font(anim->text_percent.font_file.c_str(), &anim->text_percent.font)) < 0) { in init_status_display()
821 battery_animation.text_percent.pos_x, battery_animation.text_percent.pos_y, in init_animation()
822 battery_animation.text_percent.color_r, battery_animation.text_percent.color_g, in init_animation()
823 battery_animation.text_percent.color_b, battery_animation.text_percent.color_a, in init_animation()
824 battery_animation.text_percent.font_file.c_str()); in init_animation()
Danimation.h55 text_field text_percent; member
DAnimationParser.cpp115 if (!parse_text_field(rest, &anim->text_percent)) { in parse_animation_desc()