Searched refs:text_percent (Results 1 – 5 of 5) sorted by relevance
/system/core/healthd/ |
D | animation.h | 65 if (!text_percent.font_file.empty()) { in set_resource_root() 66 text_percent.font_file = root + text_percent.font_file + ".png"; in set_resource_root() 74 text_field text_percent; member
|
D | healthd_draw.cpp | 54 if (!anim->text_percent.font_file.empty() && in HealthdDraw() 55 (res = gr_init_font(anim->text_percent.font_file.c_str(), &anim->text_percent.font)) < 0) { in HealthdDraw() 179 const animation::text_field& field = anim->text_percent; in draw_percent()
|
D | healthd_mode_charger.cpp | 131 .text_percent = 660 LOGV(" percent: %d %d %d %d %d %d '%s'\n", battery_animation.text_percent.pos_x, in init_animation() 661 battery_animation.text_percent.pos_y, battery_animation.text_percent.color_r, in init_animation() 662 battery_animation.text_percent.color_g, battery_animation.text_percent.color_b, in init_animation() 663 battery_animation.text_percent.color_a, battery_animation.text_percent.font_file.c_str()); in init_animation()
|
D | AnimationParser.cpp | 115 if (!parse_text_field(rest, &anim->text_percent)) { in parse_animation_desc()
|
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 175 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()
|