duration_ 144 ash/drag_drop/drag_drop_controller_unittest.cc Step(start_time() + base::TimeDelta::FromMilliseconds(duration_)); duration_ 148 ash/drag_drop/drag_drop_controller_unittest.cc int duration_; duration_ 47 ash/wm/window_animations_unittest.cc base::TimeDelta duration() { return duration_; } duration_ 53 ash/wm/window_animations_unittest.cc duration_ = animator_->GetTransitionDuration(); duration_ 63 ash/wm/window_animations_unittest.cc base::TimeDelta duration_; duration_ 137 base/debug/trace_event_android.cc WriteEvent(duration_.ToInternalValue() == -1 ? 'B' : 'E', duration_ 488 base/debug/trace_event_impl.cc : duration_(TimeDelta::FromInternalValue(-1)), duration_ 506 base/debug/trace_event_impl.cc duration_ = other.duration_; duration_ 539 base/debug/trace_event_impl.cc duration_ = TimeDelta::FromInternalValue(-1); duration_ 613 base/debug/trace_event_impl.cc duration_ = TimeDelta::FromInternalValue(-1); duration_ 621 base/debug/trace_event_impl.cc DCHECK(duration_.ToInternalValue() == -1); duration_ 622 base/debug/trace_event_impl.cc duration_ = now - timestamp_; duration_ 723 base/debug/trace_event_impl.cc int64 duration = duration_.ToInternalValue(); duration_ 139 base/debug/trace_event_impl.h TimeDelta duration() const { return duration_; } duration_ 164 base/debug/trace_event_impl.h TimeDelta duration_; duration_ 46 base/threading/watchdog.cc duration_(duration), duration_ 132 base/threading/watchdog.cc remaining_duration = watchdog_->duration_ - duration_ 82 base/threading/watchdog.h const TimeDelta duration_; // How long after start_time_ do we alarm? duration_ 29 cc/animation/scroll_offset_animation_curve.cc duration_(0.0), duration_ 46 cc/animation/scroll_offset_animation_curve.cc duration_ = std::sqrt(max_delta)/kDurationDivisor; duration_ 53 cc/animation/scroll_offset_animation_curve.cc if (t >= duration_) duration_ 56 cc/animation/scroll_offset_animation_curve.cc double progress = timing_function_->GetValue(t / duration_); duration_ 64 cc/animation/scroll_offset_animation_curve.cc return duration_; duration_ 77 cc/animation/scroll_offset_animation_curve.cc curve_clone->duration_ = duration_; duration_ 38 cc/animation/scroll_offset_animation_curve.h double duration_; duration_ 70 cc/input/page_scale_animation.cc duration_(0.0), duration_ 81 cc/input/page_scale_animation.cc duration_ = duration; duration_ 100 cc/input/page_scale_animation.cc duration_ = duration; duration_ 195 cc/input/page_scale_animation.cc const double normalized_time = (time - start_time_) / duration_; duration_ 66 cc/input/page_scale_animation.h double duration() const { return duration_; } duration_ 67 cc/input/page_scale_animation.h double end_time() const { return start_time_ + duration_; } duration_ 104 cc/input/page_scale_animation.h double duration_; duration_ 134 cc/test/animation_test_common.cc : duration_(1.0) {} duration_ 137 cc/test/animation_test_common.cc : duration_(duration) {} duration_ 142 cc/test/animation_test_common.cc return duration_; duration_ 154 cc/test/animation_test_common.cc : duration_(duration) {} duration_ 159 cc/test/animation_test_common.cc return duration_; duration_ 187 cc/test/animation_test_common.cc : duration_(duration), from_(from), to_(to) {} duration_ 192 cc/test/animation_test_common.cc return duration_; duration_ 196 cc/test/animation_test_common.cc time /= duration_; duration_ 34 cc/test/animation_test_common.h double duration_; duration_ 53 cc/test/animation_test_common.h double duration_; duration_ 67 cc/test/animation_test_common.h double duration_; duration_ 35 chrome/browser/ui/cocoa/animatable_image.h CGFloat duration_; duration_ 22 components/policy/core/common/cloud/rate_limiter.cc duration_(duration), duration_ 35 components/policy/core/common/cloud/rate_limiter.cc const base::TimeTicks period_start = now - duration_; duration_ 47 components/policy/core/common/cloud/rate_limiter.h const base::TimeDelta duration_; duration_ 23 components/policy/core/common/cloud/rate_limiter_unittest.cc duration_(base::TimeDelta::FromHours(1)), duration_ 26 components/policy/core/common/cloud/rate_limiter_unittest.cc duration_, duration_ 41 components/policy/core/common/cloud/rate_limiter_unittest.cc const base::TimeDelta duration_; duration_ 66 components/policy/core/common/cloud/rate_limiter_unittest.cc clock_->Advance(duration_); duration_ 73 components/policy/core/common/cloud/rate_limiter_unittest.cc const base::TimeDelta delta = duration_ / 2; duration_ 105 components/policy/core/common/cloud/rate_limiter_unittest.cc while (total_delta < duration_) { duration_ 159 content/browser/android/edge_effect.cc if (state_ == STATE_PULL_DECAY && current_time - start_time_ < duration_) { duration_ 168 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kPullTime); duration_ 218 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kRecedeTime); duration_ 228 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(0.15f + (velocity * 0.02f)); duration_ 263 content/browser/android/edge_effect.cc const double t = std::min(dt / duration_.InMilliseconds(), 1.); duration_ 276 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kRecedeTime); duration_ 292 content/browser/android/edge_effect.cc duration_ = base::TimeDelta::FromMilliseconds(kPullDecayTime); duration_ 76 content/browser/android/edge_effect.h base::TimeDelta duration_; duration_ 80 content/child/child_thread.cc : duration_(duration) {} duration_ 84 content/child/child_thread.cc base::PlatformThread::Sleep(duration_); duration_ 89 content/child/child_thread.cc const base::TimeDelta duration_; duration_ 384 content/renderer/media/android/webmediaplayer_android.cc if (duration_ == media::kInfiniteDuration()) duration_ 387 content/renderer/media/android/webmediaplayer_android.cc return duration_.InSecondsF(); duration_ 571 content/renderer/media/android/webmediaplayer_android.cc if (!ignore_metadata_duration_change_ && duration_ != duration) { duration_ 572 content/renderer/media/android/webmediaplayer_android.cc duration_ = duration; duration_ 606 content/renderer/media/android/webmediaplayer_android.cc OnTimeUpdate(duration_); duration_ 789 content/renderer/media/android/webmediaplayer_android.cc duration_ = duration; duration_ 316 content/renderer/media/android/webmediaplayer_android.h base::TimeDelta duration_; duration_ 165 content/renderer/media/mock_peer_connection_impl.cc duration_(0), duration_ 180 content/renderer/media/mock_peer_connection_impl.cc duration_ = duration; duration_ 190 content/renderer/media/mock_peer_connection_impl.cc virtual int duration() const OVERRIDE { return duration_; } duration_ 200 content/renderer/media/mock_peer_connection_impl.cc int duration_; duration_ 123 media/base/android/media_player_bridge.cc duration_ = duration; duration_ 221 media/base/android/media_player_bridge.cc duration_ = duration; duration_ 226 media/base/android/media_player_bridge.cc player_id(), duration_, width_, height_, success); duration_ 300 media/base/android/media_player_bridge.cc return duration_; duration_ 368 media/base/android/media_player_bridge.cc duration_ = GetDuration(); duration_ 381 media/base/android/media_player_bridge.cc player_id(), duration_, width_, height_, true); duration_ 427 media/base/android/media_player_bridge.cc if (time > duration_) duration_ 428 media/base/android/media_player_bridge.cc time = duration_; duration_ 156 media/base/android/media_player_bridge.h base::TimeDelta duration_; duration_ 145 media/base/android/media_source_player.cc return duration_ < duration_ 208 media/base/android/media_source_player.cc return duration_; duration_ 310 media/base/android/media_source_player.cc duration_ = base::TimeDelta::FromMilliseconds(configs.duration_ms); duration_ 311 media/base/android/media_source_player.cc clock_.SetDuration(duration_); duration_ 332 media/base/android/media_source_player.cc player_id(), duration_, width_, height_, true); duration_ 376 media/base/android/media_source_player.cc duration_ = duration; duration_ 377 media/base/android/media_source_player.cc clock_.SetDuration(duration_); duration_ 905 media/base/android/media_source_player.cc player_id(), duration_, width_, height_, true); duration_ 199 media/base/android/media_source_player.h base::TimeDelta duration_; duration_ 250 media/base/audio_buffer.cc double offset = static_cast<double>(duration_.InMicroseconds()) * duration_ 255 media/base/audio_buffer.cc duration_ -= offset_as_time; duration_ 268 media/base/audio_buffer.cc double offset = static_cast<double>(duration_.InMicroseconds()) * duration_ 272 media/base/audio_buffer.cc duration_ -= offset_as_time; duration_ 104 media/base/audio_buffer.h base::TimeDelta duration() const { return duration_; } duration_ 110 media/base/audio_buffer.h void set_duration(base::TimeDelta duration) { duration_ = duration; } duration_ 147 media/base/audio_buffer.h base::TimeDelta duration_; duration_ 54 media/base/audio_video_metadata_extractor.cc duration_(-1), duration_ 86 media/base/audio_video_metadata_extractor.cc duration_ = static_cast<double>(format_context->duration) / AV_TIME_BASE; duration_ 120 media/base/audio_video_metadata_extractor.cc return duration_; duration_ 62 media/base/audio_video_metadata_extractor.h int duration_; duration_ 55 media/base/clock.cc if (duration_ == kNoTimestamp()) duration_ 85 media/base/clock.cc duration_ = duration; duration_ 101 media/base/clock.cc if (duration_ == kNoTimestamp()) duration_ 103 media/base/clock.cc return std::max(std::min(time, duration_), base::TimeDelta()); duration_ 112 media/base/clock.cc if (duration_ == kNoTimestamp()) duration_ 114 media/base/clock.cc return duration_; duration_ 134 media/base/clock.cc duration_ = kNoTimestamp(); duration_ 124 media/base/clock.h base::TimeDelta duration_; duration_ 54 media/base/data_buffer.h return duration_; duration_ 59 media/base/data_buffer.h duration_ = duration; duration_ 102 media/base/data_buffer.h base::TimeDelta duration_; duration_ 82 media/base/decoder_buffer.cc << " duration: " << duration_.InMicroseconds() duration_ 75 media/base/decoder_buffer.h return duration_; duration_ 80 media/base/decoder_buffer.h duration_ = duration; duration_ 162 media/base/decoder_buffer.h base::TimeDelta duration_; duration_ 15 media/base/text_cue.cc duration_(duration), duration_ 28 media/base/text_cue.h base::TimeDelta duration() const { return duration_; } duration_ 38 media/base/text_cue.h base::TimeDelta duration_; duration_ 132 media/ffmpeg/ffmpeg_unittest.cc duration_ = std::max(duration_, duration); duration_ 140 media/ffmpeg/ffmpeg_unittest.cc duration_ = std::max(duration_, duration); duration_ 349 media/ffmpeg/ffmpeg_unittest.cc int64 duration() { return duration_; } duration_ 392 media/ffmpeg/ffmpeg_unittest.cc int64 duration_; duration_ 984 media/filters/chunk_demuxer.cc duration_(kNoTimestamp()), duration_ 1191 media/filters/chunk_demuxer.cc return itr->second->GetBufferedRanges(duration_, state_ == ENDED); duration_ 1283 media/filters/chunk_demuxer.cc source_state_map_[id]->Remove(start, end, duration_); duration_ 1293 media/filters/chunk_demuxer.cc if (duration_ == kNoTimestamp()) duration_ 1298 media/filters/chunk_demuxer.cc if (duration_ == kInfiniteDuration()) duration_ 1304 media/filters/chunk_demuxer.cc return duration_.InSecondsF(); duration_ 1339 media/filters/chunk_demuxer.cc duration_ = duration_td; duration_ 1340 media/filters/chunk_demuxer.cc host_->SetDuration(duration_); duration_ 1344 media/filters/chunk_demuxer.cc itr->second->OnSetDuration(duration_); duration_ 1499 media/filters/chunk_demuxer.cc if (duration != TimeDelta() && duration_ == kNoTimestamp()) duration_ 1510 media/filters/chunk_demuxer.cc if (duration_ == kNoTimestamp()) duration_ 1511 media/filters/chunk_demuxer.cc duration_ = kInfiniteDuration(); duration_ 1562 media/filters/chunk_demuxer.cc DCHECK(duration_ != new_duration); duration_ 1564 media/filters/chunk_demuxer.cc duration_ = new_duration; duration_ 1571 media/filters/chunk_demuxer.cc if (new_duration <= duration_) duration_ 1575 media/filters/chunk_demuxer.cc << duration_.InSecondsF() << " -> " << new_duration.InSecondsF(); duration_ 1594 media/filters/chunk_demuxer.cc if (max_duration < duration_) duration_ 1612 media/filters/chunk_demuxer.cc ranges_list.push_back(itr->second->GetBufferedRanges(duration_, ended)); duration_ 357 media/filters/chunk_demuxer.h base::TimeDelta duration_; duration_ 44 media/filters/fake_demuxer_stream.cc duration_(base::TimeDelta::FromMilliseconds(kDurationMs)), duration_ 152 media/filters/fake_demuxer_stream.cc video_decoder_config_, current_timestamp_, duration_); duration_ 162 media/filters/fake_demuxer_stream.cc buffer->set_duration(duration_); duration_ 163 media/filters/fake_demuxer_stream.cc current_timestamp_ += duration_; duration_ 73 media/filters/fake_demuxer_stream.h base::TimeDelta duration_; duration_ 75 media/filters/ffmpeg_demuxer.cc duration_ = ConvertStreamTimestamp(stream->time_base, stream->duration); duration_ 239 media/filters/ffmpeg_demuxer.cc return duration_; duration_ 124 media/filters/ffmpeg_demuxer.h base::TimeDelta duration_; duration_ 84 media/filters/video_renderer_impl_unittest.cc duration_ = base::TimeDelta::FromMilliseconds(duration_ms); duration_ 178 media/filters/video_renderer_impl_unittest.cc duration_.InMicroseconds()); duration_ 284 media/filters/video_renderer_impl_unittest.cc DCHECK_LE(time_.InMicroseconds(), duration_.InMicroseconds()); duration_ 301 media/filters/video_renderer_impl_unittest.cc return duration_; duration_ 355 media/filters/video_renderer_impl_unittest.cc base::TimeDelta duration_; duration_ 25 media/formats/webm/webm_info_parser.cc duration_ = -1; duration_ 67 media/formats/webm/webm_info_parser.cc if (duration_ != -1) { duration_ 72 media/formats/webm/webm_info_parser.cc duration_ = val; duration_ 28 media/formats/webm/webm_info_parser.h double duration() const { return duration_; } duration_ 40 media/formats/webm/webm_info_parser.h double duration_; duration_ 47 third_party/libwebp/demux/demux.c int duration_; duration_ 314 third_party/libwebp/demux/demux.c frame->duration_ = ReadLE24s(mem); duration_ 865 third_party/libwebp/demux/demux.c iter->duration = fragment->duration_; duration_ 21 ui/compositor/float_animation_curve_adapter.cc return duration_.InSecondsF(); duration_ 29 ui/compositor/float_animation_curve_adapter.cc duration_)); duration_ 34 ui/compositor/float_animation_curve_adapter.cc if (t >= duration_.InSecondsF()) duration_ 38 ui/compositor/float_animation_curve_adapter.cc double progress = t / duration_.InSecondsF(); duration_ 32 ui/compositor/float_animation_curve_adapter.h base::TimeDelta duration_; duration_ 645 ui/compositor/layer_animation_element.cc duration_(GetEffectiveDuration(duration)), duration_ 657 ui/compositor/layer_animation_element.cc duration_(element.duration_), duration_ 696 ui/compositor/layer_animation_element.cc if ((duration_ > base::TimeDelta()) && (elapsed < duration_)) duration_ 697 ui/compositor/layer_animation_element.cc t = elapsed.InMillisecondsF() / duration_.InMillisecondsF(); duration_ 720 ui/compositor/layer_animation_element.cc if (elapsed >= duration_ + queueing_delay) { duration_ 721 ui/compositor/layer_animation_element.cc *total_duration = duration_ + queueing_delay; duration_ 201 ui/compositor/layer_animation_element.h base::TimeDelta duration() const { return duration_; } duration_ 232 ui/compositor/layer_animation_element.h const base::TimeDelta duration_; duration_ 26 ui/compositor/transform_animation_curve_adapter.cc return duration_.InSecondsF(); duration_ 34 ui/compositor/transform_animation_curve_adapter.cc duration_)); duration_ 40 ui/compositor/transform_animation_curve_adapter.cc if (t >= duration_.InSecondsF()) duration_ 44 ui/compositor/transform_animation_curve_adapter.cc double progress = t / duration_.InSecondsF(); duration_ 92 ui/compositor/transform_animation_curve_adapter.cc return duration_.InSeconds(); duration_ 99 ui/compositor/transform_animation_curve_adapter.cc duration_)); duration_ 43 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration_; duration_ 70 ui/compositor/transform_animation_curve_adapter.h base::TimeDelta duration_; duration_ 211 ui/gfx/android/scroller.cc duration_ = duration; duration_ 212 ui/gfx/android/scroller.cc duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF(); duration_ 248 ui/gfx/android/scroller.cc duration_ = GetSplineFlingDuration(velocity); duration_ 249 ui/gfx/android/scroller.cc duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF(); duration_ 288 ui/gfx/android/scroller.cc if (time_passed >= duration_) { duration_ 291 ui/gfx/android/scroller.cc curr_time_ = start_time_ + duration_; duration_ 338 ui/gfx/android/scroller.cc duration_ = passed + extend; duration_ 339 ui/gfx/android/scroller.cc duration_seconds_reciprocal_ = 1.0 / duration_.InSecondsF(); duration_ 359 ui/gfx/android/scroller.cc curr_time_ = start_time_ + duration_; duration_ 371 ui/gfx/android/scroller.cc base::TimeDelta Scroller::GetDuration() const { return duration_; } duration_ 128 ui/gfx/android/scroller.h base::TimeDelta duration_; duration_ 36 ui/gfx/animation/linear_animation.cc duration_(TimeDelta::FromMilliseconds(duration)), duration_ 51 ui/gfx/animation/linear_animation.cc duration_.InMicroseconds() * (new_value - state_)); duration_ 67 ui/gfx/animation/linear_animation.cc duration_ = TimeDelta::FromMilliseconds(duration); duration_ 68 ui/gfx/animation/linear_animation.cc if (duration_ < timer_interval()) duration_ 69 ui/gfx/animation/linear_animation.cc duration_ = timer_interval(); duration_ 77 ui/gfx/animation/linear_animation.cc static_cast<double>(duration_.InMicroseconds()); duration_ 65 ui/gfx/animation/linear_animation.h base::TimeDelta duration_; duration_ 37 ui/views/animation/scroll_animator.cc duration_(0.0f), duration_ 53 ui/views/animation/scroll_animator.cc duration_ = -v / acceleration_; // in seconds duration_ 55 ui/views/animation/scroll_animator.cc animation_->SetSlideDuration(static_cast<int>(duration_ * 1000)); duration_ 60 ui/views/animation/scroll_animator.cc velocity_x_ = velocity_y_ = last_t_ = duration_ = 0.0f; duration_ 69 ui/views/animation/scroll_animator.cc float t = static_cast<float>(animation->GetCurrentValue()) * duration_; duration_ 53 ui/views/animation/scroll_animator.h float duration_;