Searched refs:font_file (Results 1 – 5 of 5) sorted by relevance
/system/core/healthd/ |
D | animation.h | 40 std::string font_file; member 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() 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()
|
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() 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()
|
D | AnimationParser.cpp | 77 field->font_file.assign(&in[start], end - start); in parse_text_field()
|
D | healthd_mode_charger.cpp | 659 battery_animation.text_clock.color_a, battery_animation.text_clock.font_file.c_str()); in init_animation() 663 battery_animation.text_percent.color_a, battery_animation.text_percent.font_file.c_str()); in init_animation()
|
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 74 EXPECT_STREQ(TEST_FILE_NAME, out.font_file.c_str()); in TEST() 83 EXPECT_STREQ(TEST_FILE_NAME, out.font_file.c_str()); in TEST() 92 EXPECT_STREQ(TEST_FILE_NAME, out.font_file.c_str()); in TEST() 101 EXPECT_STREQ(TEST_FILE_NAME, out.font_file.c_str()); in TEST() 173 EXPECT_STREQ("test/time_font", anim.text_clock.font_file.c_str()); in TEST() 181 EXPECT_STREQ("test/percent_font", anim.text_percent.font_file.c_str()); in TEST()
|