Searched refs:text_clock (Results 1 – 5 of 5) sorted by relevance
/system/core/healthd/ |
D | animation.h | 62 if (!text_clock.font_file.empty()) { in set_resource_root() 63 text_clock.font_file = root + text_clock.font_file + ".png"; in set_resource_root() 73 text_field text_clock; member
|
D | healthd_draw.cpp | 50 if (!anim->text_clock.font_file.empty() && in HealthdDraw() 51 (res = gr_init_font(anim->text_clock.font_file.c_str(), &anim->text_clock.font)) < 0) { in HealthdDraw() 145 const animation::text_field& field = anim->text_clock; in draw_clock()
|
D | healthd_mode_charger.cpp | 119 .text_clock = 656 LOGV(" clock: %d %d %d %d %d %d '%s'\n", battery_animation.text_clock.pos_x, in init_animation() 657 battery_animation.text_clock.pos_y, battery_animation.text_clock.color_r, in init_animation() 658 battery_animation.text_clock.color_g, battery_animation.text_clock.color_b, in init_animation() 659 battery_animation.text_clock.color_a, battery_animation.text_clock.font_file.c_str()); in init_animation()
|
D | AnimationParser.cpp | 110 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc()
|
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 167 EXPECT_EQ(11, anim.text_clock.pos_x); in TEST() 168 EXPECT_EQ(12, anim.text_clock.pos_y); in TEST() 169 EXPECT_EQ(13, anim.text_clock.color_r); in TEST() 170 EXPECT_EQ(14, anim.text_clock.color_g); in TEST() 171 EXPECT_EQ(15, anim.text_clock.color_b); in TEST() 172 EXPECT_EQ(16, anim.text_clock.color_a); in TEST() 173 EXPECT_STREQ("test/time_font", anim.text_clock.font_file.c_str()); in TEST()
|