Home
last modified time | relevance | path

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

/aosp14/system/core/healthd/
H A DAnimationParser_test.cpp69 EXPECT_EQ(CENTER_VAL, out.pos_y); in TEST()
78 EXPECT_EQ(TEST_Y, out.pos_y); in TEST()
87 EXPECT_EQ(CENTER_VAL, out.pos_y); in TEST()
96 EXPECT_EQ(TEST_Y, out.pos_y); in TEST()
168 EXPECT_EQ(12, anim.text_clock.pos_y); in TEST()
176 EXPECT_EQ(22, anim.text_percent.pos_y); in TEST()
H A Dhealthd_draw.cpp168 *y = field.pos_y; in determine_xy()
170 if (field.pos_y == CENTER_VAL) { in determine_xy()
172 } else if (field.pos_y >= 0) { in determine_xy()
173 *y = field.pos_y; in determine_xy()
175 *y = screen_height_ + field.pos_y - field.font->char_height; in determine_xy()
H A Danimation.h43 int pos_y; member
H A Dhealthd_mode_charger.cpp128 .pos_y = 0,
140 .pos_y = 0,
730 batt_anim_.text_clock.pos_y, batt_anim_.text_clock.color_r, batt_anim_.text_clock.color_g, in InitAnimation()
734 batt_anim_.text_percent.pos_y, batt_anim_.text_percent.color_r, in InitAnimation()
H A DAnimationParser.cpp56 int* y = &field->pos_y; in parse_text_field()