Home | History | Annotate | Download | only in animation

Lines Matching refs:Part

21   // Defines part of the animation. Each part consists of the following:
23 // time_ms: the time of the part.
24 // start_time_ms: the amount of time to offset this part by when calculating
29 // can adjust the start/end for different effects. For example, to run a part
32 struct Part {
33 Part() : time_ms(0), start_time_ms(0), end_time_ms(0), type(Tween::ZERO) {}
34 Part(int time_ms, Tween::Type type)
46 typedef std::vector<Part> Parts;
59 // determined from the tween type of the current part.
62 // Returns the index of the current part.
71 // Returns the part containing the specified time. |time_ms| is reset to be
72 // relative to the part containing the time and |part_index| the index of the
73 // part.
74 const Part& GetPart(int* time_ms, size_t* part_index);
85 // Index of the current part.