Searched refs:FromSecondsD (Results 1 – 4 of 4) sorted by relevance
1103 TimeDelta::FromSecondsD(2.3) == TimeDelta::FromMilliseconds(2300), ""); in TEST()1114 EXPECT_EQ(TimeDelta::FromSecondsD(13.1).InSeconds(), 13); in TEST()1115 EXPECT_EQ(TimeDelta::FromSecondsD(13.1).InSecondsF(), 13.1); in TEST()1325 EXPECT_TRUE(TimeDelta::FromSecondsD(std::numeric_limits<double>::infinity()) in TEST()1334 TimeDelta::FromSecondsD(max_d / Time::kMicrosecondsPerSecond + 1) in TEST()1349 TimeDelta::FromSecondsD(min_d / Time::kMicrosecondsPerSecond - 1) in TEST()
121 static constexpr TimeDelta FromSecondsD(double secs);754 constexpr TimeDelta TimeDelta::FromSecondsD(double secs) { in FromSecondsD() function
226 return Time(kTimeTToMicrosecondsOffset) + TimeDelta::FromSecondsD(dt); in FromDoubleT()
59 return base::TimeDelta::FromSecondsD(1.0 / frames_per_second); in GetFrameTime()