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.cc67 base::TimeDelta element_duration; in Progress() local
70 if (!elements_[current_index]->IsFinished(now, &element_duration)) in Progress()
76 last_start_ += element_duration; in Progress()
122 base::TimeDelta element_duration; in IsFinished() local
125 if (!elements_[current_index]->IsFinished(time, &element_duration)) in IsFinished()
128 current_start += element_duration; in IsFinished()