Searched refs:duration_ (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/ui/compositor/
H A Dfloat_animation_curve_adapter.cc17 duration_(duration) {
21 return duration_.InSecondsF();
29 duration_));
34 if (t >= duration_.InSecondsF())
38 double progress = t / duration_.InSecondsF();
H A Dtransform_animation_curve_adapter.cc17 duration_(duration) {
26 return duration_.InSecondsF();
34 duration_));
40 if (t >= duration_.InSecondsF())
44 double progress = t / duration_.InSecondsF();
86 duration_(duration) {
94 return duration_.InSeconds();
101 duration_));
H A Dfloat_animation_curve_adapter.h32 base::TimeDelta duration_; member in class:ui::FloatAnimationCurveAdapter
H A Dtransform_animation_curve_adapter.h44 base::TimeDelta duration_; member in class:ui::TransformAnimationCurveAdapter
72 base::TimeDelta duration_; member in class:ui::InverseTransformCurveAdapter
/external/chromium_org/ui/gfx/animation/
H A Dlinear_animation.cc36 duration_(TimeDelta::FromMilliseconds(duration)),
51 duration_.InMicroseconds() * (new_value - state_));
67 duration_ = TimeDelta::FromMilliseconds(duration);
68 if (duration_ < timer_interval())
69 duration_ = timer_interval();
77 static_cast<double>(duration_.InMicroseconds());
H A Dlinear_animation.h65 base::TimeDelta duration_; member in class:gfx::LinearAnimation
/external/chromium_org/media/base/
H A Dtext_cue.cc15 duration_(duration),
H A Dtext_cue.h28 base::TimeDelta duration() const { return duration_; }
38 base::TimeDelta duration_; member in class:media::TextCue
H A Ddata_buffer.h54 return duration_;
59 duration_ = duration;
102 base::TimeDelta duration_; member in class:media::DataBuffer
H A Ddecoder_buffer.h76 return duration_;
84 duration_ = duration;
172 base::TimeDelta duration_; member in class:media::DecoderBuffer
H A Daudio_buffer.h103 base::TimeDelta duration() const { return duration_; }
140 base::TimeDelta duration_; member in class:media::AudioBuffer
/external/chromium_org/media/formats/webm/
H A Dwebm_info_parser.cc18 duration_(-1) {
25 duration_ = -1;
67 if (duration_ != -1) {
72 duration_ = val;
H A Dwebm_info_parser.h29 double duration() const { return duration_; }
42 double duration_; member in class:media::WebMInfoParser
/external/chromium_org/ui/views/animation/
H A Dscroll_animator.cc37 duration_(0.0f),
53 duration_ = -v / acceleration_; // in seconds
55 animation_->SetSlideDuration(static_cast<int>(duration_ * 1000));
60 velocity_x_ = velocity_y_ = last_t_ = duration_ = 0.0f;
69 float t = static_cast<float>(animation->GetCurrentValue()) * duration_;
H A Dscroll_animator.h53 float duration_; member in class:views::ScrollAnimator
/external/chromium_org/cc/input/
H A Dpage_scale_animation.h69 base::TimeDelta duration() const { return duration_; }
70 base::TimeTicks end_time() const { return start_time_ + duration_; }
107 base::TimeDelta duration_; member in class:cc::PageScaleAnimation
/external/chromium_org/cc/animation/
H A Dscrollbar_animation_controller.cc19 duration_(duration),
48 float progress = delta.InSecondsF() / duration_.InSecondsF();
/external/chromium_org/cc/test/
H A Danimation_test_common.cc134 : duration_(1.0) {}
137 : duration_(duration) {}
142 return duration_;
154 : duration_(duration) {}
159 return duration_;
188 : duration_(duration), from_(from), to_(to) {}
193 return duration_;
197 time /= duration_;
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Ddtmfsender.cc98 duration_(kDtmfDefaultDurationMs),
154 duration_ = duration;
172 return duration_;
227 if (!provider_->InsertDtmf(track_->id(), code, duration_)) {
231 // Wait for the number of milliseconds specified by |duration_|.
232 tone_gap += duration_;
/external/chromium_org/content/browser/android/
H A Dedge_effect_l.cc104 if (state_ == STATE_PULL_DECAY && current_time - start_time_ < duration_) {
113 duration_ = base::TimeDelta::FromMilliseconds(kPullTimeMs);
149 duration_ = base::TimeDelta::FromMilliseconds(kRecedeTimeMs);
159 duration_ = base::TimeDelta::FromMilliseconds(0.15f + (velocity * 0.02f));
182 const double t = std::min(dt / duration_.InMilliseconds(), 1.);
194 duration_ = base::TimeDelta::FromMilliseconds(kRecedeTimeMs);
205 duration_ = base::TimeDelta::FromMilliseconds(kPullDecayTimeMs);
/external/chromium_org/base/threading/
H A Dwatchdog.h82 const TimeDelta duration_; // How long after start_time_ do we alarm? member in class:base::Watchdog
87 TimeTicks start_time_; // Start of epoch, and alarm after duration_.
/external/chromium_org/chrome/browser/ui/cocoa/
H A Danimatable_image.h35 CGFloat duration_; variable
/external/chromium_org/media/filters/
H A Dfake_demuxer_stream.cc56 duration_ = base::TimeDelta::FromMilliseconds(kDurationMs);
173 video_decoder_config_, current_timestamp_, duration_);
183 buffer->set_duration(duration_);
185 current_timestamp_ += duration_;
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Ddatarate_test.cc40 duration_ = 0.0;
50 duration_ = 0;
106 duration_ = (last_pts_ + 1) * timebase_;
110 / (cfg_.rc_buf_initial_sz / 1000.0 + duration_);
112 file_datarate_ = file_size_in_kb / duration_;
122 double duration_; member in class:__anon12979::DatarateTestLarge
335 duration_ = 0;
381 duration_ = (last_pts_ + 1) * timebase_;
384 effective_datarate_[layer] = (bits_total_[layer] / 1000.0) / duration_;
394 double duration_; member in class:__anon12979::DatarateTestVP9Large
[all...]
/external/chromium_org/ui/gfx/android/
H A Dscroller.cc211 duration_ = duration;
212 duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF();
248 duration_ = GetSplineFlingDuration(velocity);
249 duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF();
288 if (time_passed >= duration_) {
291 curr_time_ = start_time_ + duration_;
338 duration_ = passed + extend;
339 duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF();
359 curr_time_ = start_time_ + duration_;
371 base::TimeDelta Scroller::GetDuration() const { return duration_; }
[all...]

Completed in 525 milliseconds

123