summaryrefslogtreecommitdiff
path: root/core/java/android/animation/IntKeyframeSet.java
Commit message (Collapse)AuthorAgeFilesLines
* Simplify KeyframeSet to avoid caching.George Mount2016-06-081-26/+0
| | | | | | | Bug 27367940 Change-Id: I76426def5d4b46c0a0ba534fd952f6c41725c74a
* Fix per-keyframe interpolatorsDoris Liu2015-03-301-3/+4
| | | | | | | | | Support different interpolators on every keyframe by running interpolators on proportional duration instead of raw fraction. Bug: 19928396 Change-Id: Ifb8c3a3b56785582cd6b0121d7bfb44534866300
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-1/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* Added a generic configuration and theme based cacheYigit Boyar2014-10-231-1/+2
| | | | | | | | For now, only animators use it but we can consider migrating drawable cache to it as well. Bug: 17456416 Change-Id: I571b96856805edb171f0fc52e6bff5a365f46b70
* Use optimized Keyframes for Path animations.George Mount2014-08-291-2/+7
| | | | | | Bug 17005728 Change-Id: I2e109ed1a3e768e1e0286fc3950516f16509e591
* Change Animators to reset values when restarted if their target changesYigit Boyar2014-07-161-0/+5
| | | | | Bug: 15710503 Change-Id: Ib39bf0e13199978ffb389111c225beb30312c965
* Fix when >2 keyframes suppliedChet Haase2011-02-111-3/+3
| | | | | | | | | | | | | | 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
* Remove obsolete DoubleEvaluatorChet Haase2011-01-161-2/+2
| | | | Change-Id: I4407468599061ff35c68589988fb1e897de28c69
* optimizing for primitive types in animationsChet Haase2010-11-031-0/+133
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