#include "ui/gfx/animation/multi_animation.h"
#include <numeric>
#include "base/check_op.h"
#include "base/notreached.h"
#include "ui/gfx/animation/animation_delegate.h"
namespace gfx {
static base::TimeDelta TotalTime(const MultiAnimation::Parts& parts) { … }
constexpr base::TimeDelta MultiAnimation::kDefaultTimerInterval;
MultiAnimation::MultiAnimation(const Parts& parts,
base::TimeDelta timer_interval)
: … { … }
MultiAnimation::~MultiAnimation() = default;
double MultiAnimation::GetCurrentValue() const { … }
void MultiAnimation::Step(base::TimeTicks time_now) { … }
void MultiAnimation::SetStartTime(base::TimeTicks start_time) { … }
const MultiAnimation::Part& MultiAnimation::GetPart(base::TimeDelta* time,
size_t* part_index) { … }
}