Home
last modified time | relevance | path

Searched refs:font_file (Results 1 – 5 of 5) sorted by relevance

/system/core/healthd/
Danimation.h40 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()
Dhealthd_draw.cpp50 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()
DAnimationParser.cpp77 field->font_file.assign(&in[start], end - start); in parse_text_field()
Dhealthd_mode_charger.cpp659 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/
DAnimationParser_test.cpp74 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()