Searched defs:duration (Results 76 - 100 of 169) sorted by relevance

1234567

/external/linux-tools-perf/util/
H A Dsvghelper.c153 static char *time_to_string(u64 duration) argument
159 if (duration < 1000) /* less than 1 usec */
162 if (duration < 1000 * 1000) { /* less than 1 msec */
163 sprintf(text, "%4.1f us", duration / 1000.0);
166 sprintf(text, "%4.1f ms", duration / 1000.0 / 1000);
/external/skia/src/animator/
H A DSkAnimateActive.cpp143 SkMSec duration = animate->dur; local
148 duration = state.fSteps ? state.fSteps * SK_MSec1 : 1;
157 // duration = value.fOperand.fS32 * SK_MSec1;
161 state.fDuration = duration;
162 SkMSec maxTime = state.fBegin + duration;
376 SkMSec duration = fState[index].fDuration; local
385 interpolator.setKeyFrame(1, duration, from, animate->blend[0]);
390 interpolator.setKeyFrame(entry, entry * duration / (entries - 1), from,
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_ota.c321 EAS_U32 duration; local
454 /* fetch note duration */
457 duration = pData->tick * (0x20 >> temp);
459 /* fetch note duration modifier */
468 duration += duration >> 1;
472 duration += (duration >> 1) + (duration >> 2);
476 duration
[all...]
H A Deas_imelody.c875 EAS_I32 duration; local
883 /* get the duration */
884 if (!IMY_GetDuration(pEASData->hwInstData, pData, &duration))
896 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMY_PlayNote: Start note %d, duration %d\n", pData->note, duration); */ }
904 pData->restTicks = duration >> 4;
911 pData->restTicks = duration >> 1;
916 pData->restTicks = duration >> 4;
921 pData->time += duration - pData->restTicks;
947 EAS_I32 duration; local
985 EAS_I32 duration; local
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_ota.c321 EAS_U32 duration; local
454 /* fetch note duration */
457 duration = pData->tick * (0x20 >> temp);
459 /* fetch note duration modifier */
468 duration += duration >> 1;
472 duration += (duration >> 1) + (duration >> 2);
476 duration
[all...]
H A Deas_imelody.c875 EAS_I32 duration; local
883 /* get the duration */
884 if (!IMY_GetDuration(pEASData->hwInstData, pData, &duration))
896 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMY_PlayNote: Start note %d, duration %d\n", pData->note, duration); */ }
904 pData->restTicks = duration >> 4;
911 pData->restTicks = duration >> 1;
916 pData->restTicks = duration >> 4;
921 pData->time += duration - pData->restTicks;
947 EAS_I32 duration; local
985 EAS_I32 duration; local
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_ota.c321 EAS_U32 duration; local
454 /* fetch note duration */
457 duration = pData->tick * (0x20 >> temp);
459 /* fetch note duration modifier */
468 duration += duration >> 1;
472 duration += (duration >> 1) + (duration >> 2);
476 duration
[all...]
H A Deas_imelody.c884 EAS_I32 duration; local
892 /* get the duration */
893 if (!IMY_GetDuration(pEASData->hwInstData, pData, &duration))
905 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMY_PlayNote: Start note %d, duration %d\n", pData->note, duration); */ }
913 pData->restTicks = duration >> 4;
920 pData->restTicks = duration >> 1;
925 pData->restTicks = duration >> 4;
930 pData->time += duration - pData->restTicks;
956 EAS_I32 duration; local
994 EAS_I32 duration; local
[all...]
/external/webkit/Source/WebCore/html/shadow/
H A DMediaControlElements.cpp697 void MediaControlTimelineElement::setDuration(float duration) argument
699 setAttribute(maxAttr, String::number(isfinite(duration) ? duration : 0));
/external/webkit/Source/WebCore/platform/animation/
H A DAnimation.h91 double duration() const { return m_duration; } function in class:WebCore::Animation
/external/webkit/Source/WebCore/platform/graphics/avfoundation/
H A DMediaPlayerPrivateAVFoundation.cpp278 float MediaPlayerPrivateAVFoundation::duration() const function in class:WebCore::MediaPlayerPrivateAVFoundation
285 LOG(Media, "MediaPlayerPrivateAVFMac::duration(%p) - caching %f", this, m_cachedDuration);
297 if (time > duration())
298 time = duration();
385 float dur = duration();
482 m_networkState = (maxLoaded == duration()) ? MediaPlayer::Loaded : MediaPlayer::Loading;
567 // For some media files, reported duration is estimated and updated as media is loaded
568 // so report duration changed when the estimate is upated.
569 float dur = duration();
612 // Hang onto the current time and use it as duration fro
[all...]
/external/webkit/Source/WebCore/platform/graphics/qt/
H A DMediaPlayerPrivatePhonon.cpp277 if (position > duration())
278 position = duration();
288 float MediaPlayerPrivatePhonon::duration() const function in class:WebCore::MediaPlayerPrivatePhonon
293 float duration = m_mediaObject->totalTime() / 1000.0f; local
295 if (duration == 0.0f) // We are streaming
296 duration = std::numeric_limits<float>::infinity();
298 LOG(Media, "MediaPlayerPrivatePhonon::duration() --> %f", duration);
299 return duration;
H A DMediaPlayerPrivateQt.cpp317 float MediaPlayerPrivateQt::duration() const function in class:WebCore::MediaPlayerPrivateQt
322 float duration = m_mediaPlayer->duration() / 1000.0f; local
325 if (duration <= 0.0f)
326 duration = std::numeric_limits<float>::infinity();
328 return duration;
/external/webkit/Source/WebCore/svg/
H A DSVGAnimationElement.cpp379 static inline double solveEpsilon(double duration) { return 1 / (200 * duration); } argument
397 SMILTime duration = simpleDuration();
398 if (!duration.isFinite())
399 duration = 100.0;
400 return narrowPrecisionToFloat(bezier.solve(percent, solveEpsilon(duration.value())));
/external/guava/guava/src/com/google/common/collect/
H A DMapMaker.java435 MapMaker expiration(long duration, TimeUnit unit) { argument
436 return expireAfterWrite(duration, unit);
440 * Specifies that each entry should be automatically removed from the map once a fixed duration
443 * <p>When {@code duration} is zero, elements can be successfully added to the map, but are
453 * @param duration the length of time after an entry is created that it should be automatically
455 * @param unit the unit that {@code duration} is expressed in
456 * @throws IllegalArgumentException if {@code duration} is negative
464 MapMaker expireAfterWrite(long duration, TimeUnit unit) { argument
465 checkExpiration(duration, unit);
466 this.expireAfterWriteNanos = unit.toNanos(duration);
475 checkExpiration(long duration, TimeUnit unit) argument
513 expireAfterAccess(long duration, TimeUnit unit) argument
[all...]
/external/libvpx/vp8/
H A Dvp8_cx_iface.c593 unsigned long duration,
606 /* Convert duration parameter from stream timebase to microseconds */
607 duration_us = (uint64_t)duration * 1000000
611 /* If the deadline is more that the duration this frame is to be shown,
652 unsigned long duration,
661 pick_quickcompress_mode(ctx, duration, deadline);
741 dst_end_time_stamp = (pts + duration) * 10000000 * ctx->cfg.g_timebase.num / ctx->cfg.g_timebase.den;
780 pkt.data.frame.duration =
795 // Invisible frames have no duration.
799 pkt.data.frame.duration
592 pick_quickcompress_mode(vpx_codec_alg_priv_t *ctx, unsigned long duration, unsigned long deadline) argument
649 vp8e_encode(vpx_codec_alg_priv_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument
1191 api1_encode(vpx_codec_alg_priv_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument
[all...]
/external/libvpx/vpx/
H A Dvpx_encoder.h135 unsigned long duration; /**< duration to show frame member in struct:vpx_codec_cx_pkt::__anon8265::__anon8266
679 * \param[in] duration Duration to show frame, in timebase units.
693 unsigned long duration,
/external/srec/srec/include/
H A Dsrec.h72 frameID duration[MAX_HMM]; /* frames observed for this hmm state, todo: pack into char! */ member in struct:fsmarc_token_t
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DMediaPlayerPrivateAndroid.cpp162 m_currentTime = duration();
236 if (m_currentTime == duration())
324 void onPrepared(int duration, int width, int height) argument
326 m_duration = duration / 1000.0f;
533 void onPrepared(int duration, int width, int height) argument
535 // Android media player gives us a duration of 0 for a live
536 // stream, so in that case set the real duration to infinity.
538 // get an audio clip with a duration of 0s as we'll get the
540 if (duration > 0) {
541 m_duration = duration / 1000.
562 OnPrepared(JNIEnv* env, jobject obj, int duration, int width, int height, int pointer) argument
[all...]
/external/webkit/Source/WebKit/chromium/src/
H A DWebMediaPlayerClientImpl.cpp294 float WebMediaPlayerClientImpl::duration() const function in class:WebKit::WebMediaPlayerClientImpl
297 return m_webMediaPlayer->duration();
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DFullscreenVideoController.cpp450 float FullscreenVideoController::duration() const function in class:FullscreenVideoController
452 return m_mediaElement ? m_mediaElement->duration() : 0;
473 setCurrentTime(gtk_range_get_value(GTK_RANGE(m_timeHScale))*duration() / 100);
504 float mediaDuration(duration());
/external/bluetooth/bluedroid/stack/btm/
H A Dbtm_ble_gap.c97 tBTM_STATUS BTM_BleObserve(BOOLEAN start, UINT8 duration, argument
127 if (duration != 0)
130 btu_start_timer (&p_inq->inq_timer_ent, BTU_TTYPE_BLE_INQUIRY, duration);
982 BTM_TRACE_EVENT1 ("start timer for limited disc mode duration=%d (30 secs)", BTM_BLE_GAP_LIM_TOUT);
1096 ** If the duration is zero, the periodic inquiry mode is cancelled.
1113 tBTM_STATUS btm_ble_start_inquiry (UINT8 mode, UINT8 duration) argument
1134 if (duration != 0)
1137 btu_start_timer (&p_inq->inq_timer_ent, BTU_TTYPE_BLE_INQUIRY, duration);
/external/chromium/base/
H A Dtracked_objects.cc30 void DeathData::RecordDeath(const TimeDelta& duration) { argument
32 life_duration_ += duration;
33 int64 milliseconds = duration.InMilliseconds();
201 "<li><b>duration</b> Duration in ms from construction to descrution."
294 const TimeDelta& duration) {
304 it->second.RecordDeath(duration);
309 death_map_[&lifetimes].RecordDeath(duration);
951 key_map["duration"] = AVERAGE_DURATION;
293 TallyADeath(const Births& lifetimes, const TimeDelta& duration) argument
/external/chromium/chrome/browser/ui/views/
H A Dstatus_bubble_views.cc144 void StartFade(double start, double end, int duration);
252 int duration) {
257 SetDuration(duration);
250 StartFade(double start, double end, int duration) argument
/external/chromium/net/http/
H A Dhttp_network_transaction.cc850 // we need to be cautious about incorrectly logging the duration across the
1062 base::TimeDelta duration = base::Time::Now() - local
1064 if (60 < duration.InMinutes())
1069 UMA_HISTOGRAM_LONG_TIMES("Net.Transaction_Latency", duration);
1070 UMA_HISTOGRAM_CLIPPED_TIMES("Net.Transaction_Latency_Under_10", duration,

Completed in 1066 milliseconds

1234567