Home
last modified time | relevance | path

Searched refs:TicksFromSecondsF (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/cc/animation/
Danimation_unittest.cc16 static base::TimeTicks TicksFromSecondsF(double seconds) { in TicksFromSecondsF() function
38 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(-1.0))); in TEST()
39 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(0.0))); in TEST()
40 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(1.0))); in TEST()
45 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(-1.0))); in TEST()
46 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(0.0))); in TEST()
47 EXPECT_EQ(1, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(1.0))); in TEST()
48 EXPECT_EQ(1, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(2.0))); in TEST()
53 EXPECT_EQ(0, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(0.0))); in TEST()
54 EXPECT_EQ(0.5, anim->TrimTimeToCurrentIteration(TicksFromSecondsF(0.5))); in TEST()
[all …]
Dlayer_animation_controller_unittest.cc26 static base::TimeTicks TicksFromSecondsF(double seconds) { in TicksFromSecondsF() function
34 const TimeTicks kInitialTickTime = TicksFromSecondsF(1.0);
130 const TimeTicks start_time = TicksFromSecondsF(123); in TEST()
1533 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()
1541 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()
1855 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()
1911 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()
1977 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()
1979 ->SetRunState(Animation::Finished, TicksFromSecondsF(0.0)); in TEST()