#include "ui/gfx/animation/linear_animation.h"
#include <math.h>
#include <stdint.h>
#include <algorithm>
#include "base/command_line.h"
#include "base/strings/string_number_conversions.h"
#include "ui/gfx/animation/animation_container.h"
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/gfx/switches.h"
namespace gfx {
static base::TimeDelta CalculateInterval(int frame_rate) { … }
const int LinearAnimation::kDefaultFrameRate = …;
LinearAnimation::LinearAnimation(AnimationDelegate* delegate, int frame_rate)
: … { … }
LinearAnimation::LinearAnimation(base::TimeDelta duration,
int frame_rate,
AnimationDelegate* delegate)
: … { … }
double LinearAnimation::GetCurrentValue() const { … }
void LinearAnimation::SetCurrentValue(double new_value) { … }
void LinearAnimation::End() { … }
void LinearAnimation::SetDuration(base::TimeDelta duration) { … }
void LinearAnimation::Step(base::TimeTicks time_now) { … }
void LinearAnimation::AnimationStarted() { … }
void LinearAnimation::AnimationStopped() { … }
bool LinearAnimation::ShouldSendCanceledFromStop() { … }
}