Home
last modified time | relevance | path

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

/external/chromium_org/ui/compositor/
Dlayer_animation_element_unittest.cc53 base::TimeDelta element_duration; in TEST() local
55 &element_duration)); in TEST()
56 EXPECT_EQ(2 * delta, element_duration); in TEST()
155 base::TimeDelta element_duration; in TEST() local
156 EXPECT_TRUE(element->IsFinished(start_time + delta, &element_duration)); in TEST()
157 EXPECT_EQ(delta, element_duration); in TEST()
195 base::TimeDelta element_duration; in TEST() local
197 &element_duration)); in TEST()
198 EXPECT_EQ(2 * delta, element_duration); in TEST()
231 base::TimeDelta element_duration; in TEST() local
[all …]
Dlayer_animation_sequence.cc65 base::TimeDelta element_duration; in Progress() local
68 if (!elements_[current_index]->IsFinished(now, &element_duration)) in Progress()
74 last_start_ += element_duration; in Progress()
120 base::TimeDelta element_duration; in IsFinished() local
123 if (!elements_[current_index]->IsFinished(time, &element_duration)) in IsFinished()
126 current_start += element_duration; in IsFinished()