[TIMOB-16789] Android: Add animation "curve" support
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-11-30T18:44:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.0.0 |
Components | Android |
Labels | android, animation, parity, transition |
Reporter | Fred Spencer |
Assignee | Joshua Quick |
Created | 2014-03-31T16:16:24.000+0000 |
Updated | 2018-12-03T11:49:10.000+0000 |
Description
Titanium's
Ti.UI.Animation
object supports a "curve" property which can be set to one of the following "easing" type that controls the rate that it animates:
* Ti.UI.ANIMATION_CURVE_EASE_IN
* Ti.UI.ANIMATION_CURVE_EASE_OUT
* Ti.UI.ANIMATION_CURVE_EASE_IN_OUT
* Ti.UI.ANIMATION_CURVE_LINEAR
The above is currently supported on iOS and Windows.
We'd like to add support on Android for parity.
_(Android animations are currently hardcoded to linear.)_
Attachments
File | Date | Size |
---|---|---|
AnimationRestartTest.js | 2018-11-21T03:58:12.000+0000 | 1526 |
AnimationRotateCurveTest.js | 2018-11-21T05:15:07.000+0000 | 1256 |
AnimationScaleTest.js | 2018-11-21T03:40:02.000+0000 | 876 |
AnimationTranslateCurveTest.js | 2018-11-21T05:15:00.000+0000 | 1782 |
PR (master): https://github.com/appcelerator/titanium_mobile/pull/10485
FR Passed. PR merged.
*Closing ticket.* The feature is present in SDK: {noformat} 8.0.0.v20181130132038 {noformat}