summaryrefslogtreecommitdiff
path: root/core/java/android/transition/ArcMotion.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in calculating path in ArcMotionGeorge Mount2018-02-071-2/+8
| | | | | | | | | | | | | | Bug: 73077523 When the path is perfectly horizontal, ArcMotion was calculating a Path that had NaN values. This corrects that problem by special casing horizontal and vertical paths. Test: manual with app that discovered the problem Test: manual with test app Test: I30d51206194e3c68ea145d3a81e05a461c4e0ca8 Change-Id: Ic1a70b79290847726fc7994d1224fd77024e0610
* Make ArcMotion material spec compliantBen Weiss2017-01-051-66/+60
| | | | | | | | | | Upwards and downwards paths are now curved in the same direction, applying "gravity" to objects as they move around. Test: CTS I40a5df051711fd719806cd88d87eeed68565d73d Change-Id: I9e5323655dc7901393f90bb1ea2f393ca64b77ff
* Fix ArcMotion path creation in some quadrants.George Mount2016-03-091-8/+19
| | | | | | | | | | Bug 27577177 When ArcMotion created paths in some quadrants, the control points were placed in the wrong place, making a non-circular arc instead of an arc of a circle. Change-Id: Ie842524c09385038fb1f991b877b01ee5e740f20
* Fix @code escapesNeil Fuller2015-12-021-5/+4
| | | | | | | | | The body of {@code} must not be HTML escaped. This is one of several changes that fix the source in conjunction with a doclava fix. Bug: 25757239 Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
* Remove usages of FloatMathNeil Fuller2015-02-121-2/+1
| | | | | Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: Iec8fb663ed54eb967050f6ff25a36ba534204c4d
* API Review: Improve javadoc.George Mount2014-09-051-3/+3
| | | | | | | Bug 17189781 Also rename PatternMotion to PatternPathMotion Change-Id: I1c4dcbdd65e33cf9de1504277e31f9f7ede0380d
* Add curved motion to Transitions.George Mount2014-06-301-0/+272
Bug 15197527 Added two public PathMotions: PatternMotion and ArcMotion. ArcMotion is the algorithm provided by UX. PatternMotion provides a mechanism for using a Path as a pattern. Change-Id: Ie57fd5f4e62269acc1164eced39853a12c52bd77