History log of /frameworks/base/core/java/android/animation/IntKeyframeSet.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
750e12e18f7ce9654cadf11b9e933afb29b59311 12-Feb-2011 Chet Haase <chet@google.com> Fix when >2 keyframes supplied

When there are more than two keyframes, we treat each keyframe
interval as its own separate period during which to calculate animated
values. To do this, we calculate an intervaleFraction from the overall
elapsed fraction of the entire animation. This intervalFraction is then
used to calculate the animated values in that interval.

However, we failed to actually use the intervalFraction in some code
paths, using the overall fraction instead. This caused a jumping behavior
because we were incorrectly calculating the values during the intervals.

Change-Id: Ia052e1e8b5130ff450ee20c0a3581e3de42399e1
/frameworks/base/core/java/android/animation/IntKeyframeSet.java
b2ab04ffb6894f399d5c9ceb15f64eb17b654426 16-Jan-2011 Chet Haase <chet@google.com> Remove obsolete DoubleEvaluator

Change-Id: I4407468599061ff35c68589988fb1e897de28c69
/frameworks/base/core/java/android/animation/IntKeyframeSet.java
7c608f25d494c8a0a671e7373efbb47ca635367e 23-Oct-2010 Chet Haase <chet@google.com> optimizing for primitive types in animations

The animator classes caused autoboxing by converting primitive types (by far
the most typical types used in animations) to be converted to their
Object equivalents because of various APIs that required Object
(like getValue() to get the animated value). This change creates
factory methods on some classes instead of the former constructors
so that we can create and return private type-specific subclasses
which operate directly on the primitive types instead.

In particular, float and int are natively supported by the animators
now. Support in the APIs for double and long was removed because it
seemed like these less common types did not justify the extra
baggage of the added API and code.

Change-Id: I6008a3883e3d6dd5225005f45f112af148e5a4ea
/frameworks/base/core/java/android/animation/IntKeyframeSet.java