6 Commits

Author SHA1 Message Date
hunterstich
8b863d32be [Motion] Update ScaleProvider to use growing/shrinking naming. Fix MaterialSharedAxis isForward getter naming.
PiperOrigin-RevId: 313217150
(cherry picked from commit 56b33909ee3651e74120bc89e95af534dc546f1c)
2020-05-27 15:13:12 -04:00
dniz
2d3e20f118 [Motion] Remove TransitionValues params from VisibilityAnimatorProvider interface methods
PiperOrigin-RevId: 309763088
(cherry picked from commit 04c93ea5bb1fd5b9a4510329429e3c9cce9f2294)
2020-05-27 14:54:06 -04:00
hunterstich
f817305b76 [Motion] Make public transition classes final which are not meant to be subclassed.
PiperOrigin-RevId: 308711224
(cherry picked from commit dc7d3a5d4d902b686578e6180b7f0d2b4f20b938)
2020-05-27 14:52:44 -04:00
dniz
e33c6d5067 [Motion] Update transitions to be based on androidx and add transitions platform subpackage to support Activities, Windows, etc.
PiperOrigin-RevId: 308651633
(cherry picked from commit cd36c2f5e77461b26f4723a765e11e6bf16a2a86)
2020-05-27 14:52:44 -04:00
hunterstich
148938ca84 [Motion] Update MaterialFadeThrough and MaterialFade to use MaterialVisibility and remove context param.
This updaes the remaining transitions to compose themselves of two animators instead of two visibility transitions. This also removes the context parameter from MaterialFadeThrough, MaterialFade and MaterialSharedAxis' constructors.

PiperOrigin-RevId: 303332658
2020-03-27 11:40:38 -04:00
hunterstich
5b07d02c8e Refactor MaterialSharedAxis to be composed of two animators.
Resolves https://github.com/material-components/material-components-android/issues/1047#issuecomment-594966218

PiperOrigin-RevId: 301619025
2020-03-18 17:37:50 -04:00