Searched refs:Duration (Results 1 - 25 of 56) sorted by path

123

/external/chromium_org/base/debug/
H A Dtask_annotator.cc33 tracked_objects::Duration queue_duration =
/external/chromium_org/base/profiler/
H A Dtracked_time.cc15 Duration::Duration() : ms_(0) {} function in class:tracked_objects::Duration
16 Duration::Duration(int32 duration) : ms_(duration) {} function in class:tracked_objects::Duration
18 Duration& Duration::operator+=(const Duration& other) {
23 Duration Duration::operator+(const Duration
[all...]
H A Dtracked_time.h26 class BASE_EXPORT Duration { // Similar to base::TimeDelta. class in namespace:tracked_objects
28 Duration();
30 Duration& operator+=(const Duration& other);
31 Duration operator+(const Duration& other) const;
33 bool operator==(const Duration& other) const;
34 bool operator!=(const Duration& other) const;
35 bool operator>(const Duration& other) const;
37 static Duration FromMillisecond
[all...]
H A Dtracked_time_unittest.cc21 Duration::FromMilliseconds(kSomeMilliseconds);
39 Duration first = Duration::FromMilliseconds(kFirstMilliseconds);
40 Duration second = Duration::FromMilliseconds(kSecondMilliseconds);
45 Duration sum = first + second;
64 Duration before = now - TrackedTime(ticks_before);
66 Duration after = now - TrackedTime(ticks_after);
100 Duration before = now - TrackedTime(ticks_before);
102 Duration afte
[all...]
/external/chromium_org/base/
H A Dtracked_objects_unittest.cc492 birth, TrackedTime() + Duration::FromMilliseconds(kTimePosted), stopwatch);
/external/chromium_org/cc/animation/
H A Danimation.cc158 iterations_ * curve_->Duration() / std::abs(playback_rate_) <=
195 double start_offset = iteration_start_ * curve_->Duration();
206 if (curve_->Duration() <= 0)
209 double repeated_duration = iterations_ * curve_->Duration();
228 iteration_time = curve_->Duration();
230 iteration_time = fmod(scaled_active_time, curve_->Duration());
236 else if (iteration_time == curve_->Duration())
239 iteration = static_cast<int>(scaled_active_time / curve_->Duration());
249 iteration_time = curve_->Duration() - iteration_time;
H A Danimation_curve.h33 virtual double Duration() const = 0;
H A Dkeyframed_animation_curve.cc175 double KeyframedColorAnimationCurve::Duration() const { function in class:cc::KeyframedColorAnimationCurve
222 double KeyframedFloatAnimationCurve::Duration() const { function in class:cc::KeyframedFloatAnimationCurve
267 double KeyframedTransformAnimationCurve::Duration() const { function in class:cc::KeyframedTransformAnimationCurve
389 double KeyframedFilterAnimationCurve::Duration() const { function in class:cc::KeyframedFilterAnimationCurve
H A Dkeyframed_animation_curve.h126 virtual double Duration() const OVERRIDE;
152 virtual double Duration() const OVERRIDE;
179 virtual double Duration() const OVERRIDE;
212 virtual double Duration() const OVERRIDE;
H A Dlayer_animation_controller_unittest.cc685 ->Duration();
690 controller->GetAnimation(Animation::ScrollOffset)->curve()->Duration());
767 ->Duration();
770 controller->GetAnimation(Animation::ScrollOffset)->curve()->Duration());
829 double duration_in_seconds = curve->Duration();
H A Dscroll_offset_animation_curve.cc85 double ScrollOffsetAnimationCurve::Duration() const { function in class:cc::ScrollOffsetAnimationCurve
H A Dscroll_offset_animation_curve.h31 virtual double Duration() const OVERRIDE;
H A Dscroll_offset_animation_curve_unittest.cc14 TEST(ScrollOffsetAnimationCurveTest, Duration) {
22 EXPECT_DOUBLE_EQ(0.0, curve->Duration());
26 EXPECT_DOUBLE_EQ(0.1, curve->Duration());
30 EXPECT_DOUBLE_EQ(0.15, curve->Duration());
34 EXPECT_DOUBLE_EQ(0.2, curve->Duration());
38 EXPECT_DOUBLE_EQ(0.05, curve->Duration());
42 EXPECT_DOUBLE_EQ(3.0, curve->Duration());
46 EXPECT_DOUBLE_EQ(0.15, curve->Duration());
50 EXPECT_DOUBLE_EQ(2.0, curve->Duration());
54 EXPECT_DOUBLE_EQ(0.05, curve->Duration());
[all...]
/external/chromium_org/cc/blink/
H A Dweb_scroll_offset_animation_curve_impl.cc42 return curve_->Duration();
/external/chromium_org/cc/test/
H A Danimation_test_common.cc141 double FakeFloatAnimationCurve::Duration() const { function in class:cc::FakeFloatAnimationCurve
158 double FakeTransformTransition::Duration() const { function in class:cc::FakeTransformTransition
192 double FakeFloatTransition::Duration() const { function in class:cc::FakeFloatTransition
H A Danimation_test_common.h29 virtual double Duration() const OVERRIDE;
42 virtual double Duration() const OVERRIDE;
62 virtual double Duration() const OVERRIDE;
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_animation.cc519 float end_opacity = curve->GetValue(curve->Duration());
522 double time = curve->Duration() * 0.25;
/external/chromium_org/media/base/
H A Ddata_buffer_unittest.cc79 TEST(DataBufferTest, Duration) {
H A Ddecoder_buffer_queue.cc82 base::TimeDelta DecoderBufferQueue::Duration() { function in class:media::DecoderBufferQueue
H A Ddecoder_buffer_queue.h52 base::TimeDelta Duration();
62 // increasing timestamp order. Used to calculate Duration() while ignoring
H A Ddecoder_buffer_queue_unittest.cc48 EXPECT_EQ(1, queue.Duration().InSeconds());
52 EXPECT_EQ(0, queue.Duration().InSeconds());
55 TEST(DecoderBufferQueueTest, Duration) {
57 EXPECT_EQ(0, queue.Duration().InSeconds());
60 EXPECT_EQ(0, queue.Duration().InSeconds());
63 EXPECT_EQ(1, queue.Duration().InSeconds());
66 EXPECT_EQ(2, queue.Duration().InSeconds());
69 EXPECT_EQ(4, queue.Duration().InSeconds());
72 EXPECT_EQ(3, queue.Duration().InSeconds());
75 EXPECT_EQ(2, queue.Duration()
[all...]
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_unittest.cc550 TEST_P(FFmpegTest, Duration) {
566 << "Duration is off by more than 0.5 seconds.";
/external/chromium_org/media/filters/
H A Dffmpeg_demuxer.cc496 return buffer_queue_.IsEmpty() || buffer_queue_.Duration() < kCapacity;
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfMovieActivationDictionary_autogen.cpp23 SkPdfNativeObject* SkPdfMovieActivationDictionary::Duration(SkPdfNativeDoc* doc) { function in class:SkPdfMovieActivationDictionary
24 SkPdfNativeObject* ret = get("Duration", "");
32 return get("Duration", "") != NULL;
H A DSkPdfMovieActivationDictionary_autogen.h523 SkPdfNativeObject* Duration(SkPdfNativeDoc* doc);

Completed in 400 milliseconds

123