summaryrefslogtreecommitdiff
path: root/core/java/android/animation/Keyframe.java
Commit message (Collapse)AuthorAgeFilesLines
* docs: fixing errors found with lint checkkopriva2018-10-091-3/+3
| | | | | | | | | | | | | This covers directories through /app. removed unused import in KeyguardManager.java Test: make ds-docs Bug: 117494359 Change-Id: Ie2536676ae8d3ab9349aa43dc3e3248b618dd143 Exempt-From-Owner-Approval: Docs-only change
* Change Animators to reset values when restarted if their target changesYigit Boyar2014-07-161-7/+33
| | | | | Bug: 15710503 Change-Id: Ib39bf0e13199978ffb389111c225beb30312c965
* Fix clone() for Animators with just a 'to' valueChet Haase2012-09-101-3/+7
| | | | | | | | | | | Previously, clone() on an Animator with only one value would mistakenly think that the clone had a real starting value (which would end up being 0 in the int and float cases). Fix is to set the 'mHasFirstValue' flag appropriately for the clone, based on the state of the cloned animator. Issue #7106442 ObjectAnimator.clone() does not work properly for single parameter Change-Id: I08bf03b7687a65eb613c1671a58e4cbfae66a30e
* optimizing for primitive types in animationsChet Haase2010-11-031-71/+173
| | | | | | | | | | | | | | | | | 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
* New TimeInterpolator interface for android.animation package.Chet Haase2010-10-071-6/+4
| | | | | | | | | | | The new animation package's reliance on the old Interpolator interface (in android.view.animation) was an eyesore. Adding TimeInterpolator, and having the old Interpolator interface extend it, allows the new Animator classes to break the tie to the older animation package completely. However, developers can still use the older Interpolator-based classes, such as AccelerateInterpolator, because they all implicitly extend the new TimeInterpolator class. Change-Id: I41132fa56167ba564f4839113289114d0ea31a92
* Rename several animation classesChet Haase2010-09-081-3/+3
| | | | Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
* Add transition effects for layout changes on ViewGroupsChet Haase2010-09-031-2/+57
| | | | Change-Id: Ibefcca5692450188fbcec608f3f7e36be1213b21
* Make the new android.animation package publicChet Haase2010-07-291-6/+5
| | | | Change-Id: Iff31676f25fc989707a1e17fb172296014a22c27
* Add ability to instantiate PropertyAnimator objects with single "to" value.Chet Haase2010-07-271-0/+19
| | | | Change-Id: I44c57ee175e8a7bcc4532323ef9b4cfbbf58ae32
* Add keyframes to animation framework.Chet Haase2010-07-211-0/+185
Change-Id: I5c8c8037aeeedae1ce7a18200986caf57264772f