Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 26) sorted by relevance

12

/system/core/healthd/
DAnimationParser.cpp89 std::vector<animation::frame> frames; in parse_animation_desc() local
121 frames.push_back(std::move(frame)); 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()
Dhealthd_mode_charger.cpp131 .frames = nullptr,
399 const struct animation::frame& frame = anim.frames[anim.cur_frame]; in draw_battery()
496 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time; in update_screen_state()
508 if (batt_anim->cur_level >= batt_anim->frames[i].min_level && in update_screen_state()
509 batt_anim->cur_level <= batt_anim->frames[i].max_level) { in update_screen_state()
516 disp_time = batt_anim->frames[batt_anim->cur_frame].disp_time * in update_screen_state()
549 (batt_anim->cur_level < batt_anim->frames[batt_anim->cur_frame].min_level || in update_screen_state()
550 batt_anim->cur_level > batt_anim->frames[batt_anim->cur_frame].max_level)) { in update_screen_state()
803 battery_animation.frames = default_animation_frames; in init_animation()
826 LOGV(" frame %.2d: %d %d %d\n", i, battery_animation.frames[i].disp_time, in init_animation()
[all …]
Danimation.h59 frame* frames; member
/system/extras/tests/workloads/
Dsystemapps.sh80 frames=$5
118 ((curFrames=curFrames+${frames:=0}))
184 frames=$1
195 ((frames=frames+systemFrames))
204 if [ $frames -eq 0 ]; then
208 ((jankPct=100*janks/frames))
233 computeStats "$app" "$tdiff" "$relaunch" "$directReclaim" "$frames" "$janks" $l90 $l95 $l99
261 frames=$6
269 if [ $frames -gt 0 ]; then
270 ((jankPct=100*janks/frames))
/system/core/libmemunreachable/
DLeak.h36 hash_combine(seed, key.frames[i]);
54 memcmp(lhs.frames, rhs.frames, lhs.num_frames * sizeof(lhs.frames[0])) == 0;
Dbionic.h31 extern ssize_t malloc_backtrace(void* pointer, uintptr_t* frames, size_t frame_count);
DMemUnreachable.cpp162 leak->backtrace.frames, leak->backtrace.max_frames); in GetUnreachableMemory()
465 oss << backtrace_string(backtrace.frames, backtrace.num_frames); in ToString()
/system/media/audio_utils/tests/
Dfifo_tests.cpp78 short *inputBuffer = new short[sfinfoin.frames * sfinfoin.channels]; in main()
79 sf_count_t actualRead = sf_readf_short(sfin, inputBuffer, sfinfoin.frames); in main()
80 if (actualRead != sfinfoin.frames) { in main()
87 short *outputBuffer = new short[sfinfoin.frames * sfinfoin.channels]; in main()
96 size_t framesToWrite = sfinfoin.frames - framesWritten; in main()
97 size_t framesToRead = sfinfoin.frames - framesRead; in main()
Dprimitives_tests.cpp108 size_t frames = size/3; in checkMonotonep24() local
109 for (size_t i = 1; i < frames; ++i) { in checkMonotonep24()
/system/media/audio_utils/
Dconversion.cpp26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument
33 for (size_t i = 0; i < frames; ++i) { in mono_blend()
48 for (size_t i = 0; i < frames; ++i) { in mono_blend()
Dprimitives.c277 void downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) in downmix_to_mono_float_from_stereo_float() argument
279 while (frames--) { in downmix_to_mono_float_from_stereo_float()
285 void upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) in upmix_to_stereo_float_from_mono_float() argument
287 while (frames--) { in upmix_to_stereo_float_from_mono_float()
317 size_t nonZeroStereo32(const int32_t *frames, size_t count) in nonZeroStereo32() argument
321 if (frames[0] != 0 || frames[1] != 0) { in nonZeroStereo32()
324 frames += 2; in nonZeroStereo32()
329 size_t nonZeroStereo16(const int16_t *frames, size_t count) in nonZeroStereo16() argument
333 if (frames[0] != 0 || frames[1] != 0) { in nonZeroStereo16()
336 frames += 2; in nonZeroStereo16()
Dresampler.c239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); in create_resampler() local
240 rsmp->speex_delay_ns = (int32_t)((1000000000 * (int64_t)frames) / rsmp->in_sample_rate); in create_resampler()
241 frames = speex_resampler_get_output_latency(rsmp->speex_resampler); in create_resampler()
242 rsmp->speex_delay_ns += (int32_t)((1000000000 * (int64_t)frames) / rsmp->out_sample_rate); in create_resampler()
Decho_reference.c215 size_t frames = buffer->frame_count; in echo_reference_write() local
216 while (frames--) { in echo_reference_write()
Dtinysndfile.c244 handle->info.frames = handle->remaining; in sf_open_read()
DDoxyfile.orig1344 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
/system/core/healthd/tests/
DAnimationParser_test.cpp185 EXPECT_EQ(10, anim.frames[0].disp_time); in TEST()
186 EXPECT_EQ(20, anim.frames[0].min_level); in TEST()
187 EXPECT_EQ(30, anim.frames[0].max_level); in TEST()
189 EXPECT_EQ(40, anim.frames[1].disp_time); in TEST()
190 EXPECT_EQ(50, anim.frames[1].min_level); in TEST()
191 EXPECT_EQ(60, anim.frames[1].max_level); in TEST()
/system/media/audio_utils/include/audio_utils/
Dconversion.h43 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames,
Dsndfile.h37 sf_count_t frames; member
Dprimitives.h445 size_t nonZeroStereo32(const int32_t *frames, size_t count);
451 size_t nonZeroStereo16(const int16_t *frames, size_t count);
/system/media/alsa_utils/include/
Dalsa_device_proxy.h42 uint64_t *frames, struct timespec *timestamp);
/system/core/libmemunreachable/include/memunreachable/
Dmemunreachable.h48 uintptr_t frames[max_frames]; member
/system/media/alsa_utils/
Dalsa_device_proxy.c180 uint64_t *frames, struct timespec *timestamp) in proxy_get_presentation_position() argument
196 *frames = signed_frames; in proxy_get_presentation_position()
/system/bt/audio_a2dp_hw/
Daudio_a2dp_hw.c632 const size_t frames = bytes / audio_stream_out_frame_size(stream); in out_write() local
633 out->frames_rendered += frames; in out_write()
634 out->frames_presented += frames; in out_write()
826 uint64_t *frames, struct timespec *timestamp) in out_get_presentation_position() argument
831 if (stream == NULL || frames == NULL || timestamp == NULL) in out_get_presentation_position()
838 *frames = out->frames_presented - latency_frames; in out_get_presentation_position()
/system/connectivity/shill/doc/
Dprofile-api.txt99 frames.
Dservice-api.txt1612 does not broadcast its SSID in beacon frames.

12