Searched refs:anim (Results 1 – 8 of 8) sorted by relevance
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 113 animation anim; in TEST() local 115 EXPECT_TRUE(parse_animation_desc(TEST_ANIMATION, &anim)); in TEST() 123 animation anim; in TEST() local 125 EXPECT_FALSE(parse_animation_desc(TEST_ANIMATION, &anim)); in TEST() 133 animation anim; in TEST() local 135 EXPECT_FALSE(parse_animation_desc(TEST_ANIMATION, &anim)); in TEST() 144 animation anim; in TEST() local 146 EXPECT_FALSE(parse_animation_desc(TEST_ANIMATION, &anim)); in TEST() 159 animation anim; in TEST() local 161 EXPECT_TRUE(parse_animation_desc(TEST_ANIMATION, &anim)); in TEST() [all …]
|
/system/core/healthd/ |
D | healthd_draw.cpp | 26 HealthdDraw::HealthdDraw(animation* anim) in HealthdDraw() argument 36 if (!anim->text_clock.font_file.empty() && in HealthdDraw() 37 (res = gr_init_font(anim->text_clock.font_file.c_str(), in HealthdDraw() 38 &anim->text_clock.font)) < 0) { in HealthdDraw() 41 if (!anim->text_percent.font_file.empty() && in HealthdDraw() 42 (res = gr_init_font(anim->text_percent.font_file.c_str(), in HealthdDraw() 43 &anim->text_percent.font)) < 0) { in HealthdDraw() 121 void HealthdDraw::draw_clock(const animation* anim) { in draw_clock() argument 125 const animation::text_field& field = anim->text_clock; in draw_clock() 150 void HealthdDraw::draw_percent(const animation* anim) { in draw_percent() argument [all …]
|
D | AnimationParser.cpp | 82 bool parse_animation_desc(const std::string& content, animation* anim) { in parse_animation_desc() argument 99 if (sscanf(rest, "%d %d %n%*s%n", &anim->num_cycles, &anim->first_frame_repeats, in parse_animation_desc() 105 anim->animation_file.assign(&rest[start], end - start); in parse_animation_desc() 108 anim->fail_file.assign(rest); in parse_animation_desc() 110 if (!parse_text_field(rest, &anim->text_clock)) { in parse_animation_desc() 115 if (!parse_text_field(rest, &anim->text_percent)) { in parse_animation_desc() 128 if (anim->animation_file.empty() || frames.empty()) { in parse_animation_desc() 134 anim->num_frames = frames.size(); in parse_animation_desc() 135 anim->frames = new animation::frame[frames.size()]; in parse_animation_desc() 136 std::copy(frames.begin(), frames.end(), anim->frames); in parse_animation_desc()
|
D | healthd_draw.h | 30 HealthdDraw(animation* anim); 53 virtual void draw_battery(const animation* anim); 55 virtual void draw_clock(const animation* anim); 57 virtual void draw_percent(const animation* anim);
|
D | healthd_mode_charger.cpp | 265 static void kick_animation(animation* anim) { in kick_animation() argument 266 anim->run = true; in kick_animation() 269 static void reset_animation(animation* anim) { in reset_animation() argument 270 anim->cur_cycle = 0; in reset_animation() 271 anim->cur_frame = 0; in reset_animation() 272 anim->run = false; in reset_animation() 633 animation* anim = init_animation(); in healthd_mode_charger_init() local 634 charger->batt_anim = anim; in healthd_mode_charger_init() 636 ret = res_create_display_surface(anim->fail_file.c_str(), &charger->surf_unknown); in healthd_mode_charger_init() 650 ret = res_create_multi_display_surface(anim->animation_file.c_str(), &scale_count, &scale_fps, in healthd_mode_charger_init() [all …]
|
D | AnimationParser.h | 24 bool parse_animation_desc(const std::string& content, animation* anim);
|
/system/extras/ioblame/ |
D | ioblame-gmail-launch.example | 109 android.anim Reads: 24 KB 175 PID: android.anim
|
D | ioblame-gmail-run.example | 711 android.anim Reads: 16 KB 898 PID: android.anim
|