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.cpp69 if (!anim->text_clock.font_file.empty() && in HealthdDraw()
70 (res = gr_init_font(anim->text_clock.font_file.c_str(), &anim->text_clock.font)) < 0) { in HealthdDraw()
73 if (!anim->text_percent.font_file.empty() && in HealthdDraw()
74 (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.cpp652 batt_anim_.text_clock.font_file.c_str()); in InitAnimation()
656 batt_anim_.text_percent.color_a, batt_anim_.text_percent.font_file.c_str()); in InitAnimation()
/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()