Home
last modified time | relevance | path

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

/system/core/healthd/tests/
DAnimationParser_test.cpp68 EXPECT_EQ(CENTER_VAL, out.pos_x); in TEST()
77 EXPECT_EQ(CENTER_VAL, out.pos_x); in TEST()
86 EXPECT_EQ(TEST_X, out.pos_x); in TEST()
95 EXPECT_EQ(TEST_X, out.pos_x); in TEST()
167 EXPECT_EQ(11, anim.text_clock.pos_x); in TEST()
175 EXPECT_EQ(21, anim.text_percent.pos_x); in TEST()
/system/core/healthd/
Dhealthd_draw.cpp119 *x = field.pos_x; in determine_xy()
122 if (field.pos_x == CENTER_VAL) { in determine_xy()
124 } else if (field.pos_x >= 0) { in determine_xy()
125 *x = field.pos_x; in determine_xy()
127 *x = screen_width_ + field.pos_x - str_len_px - kSplitOffset; in determine_xy()
Danimation.h41 int pos_x; member
Dhealthd_mode_charger.cpp121 .pos_x = 0,
133 .pos_x = 0,
656 LOGV(" clock: %d %d %d %d %d %d '%s'\n", battery_animation.text_clock.pos_x, in init_animation()
660 LOGV(" percent: %d %d %d %d %d %d '%s'\n", battery_animation.text_percent.pos_x, in init_animation()
DAnimationParser.cpp55 int* x = &field->pos_x; in parse_text_field()