belongs to Maven artifact com.android.support:transition:28.0.0-alpha1
SidePropagation
public
class
SidePropagation
extends VisibilityPropagation
java.lang.Object | |||
↳ | android.support.transition.TransitionPropagation | ||
↳ | android.support.transition.VisibilityPropagation | ||
↳ | android.support.transition.SidePropagation |
A TransitionPropagation
that propagates based on the distance to the side
and, orthogonally, the distance to epicenter. If the transitioning View is visible in
the start of the transition, then it will transition sooner when closer to the side and
later when farther. If the view is not visible in the start of the transition, then
it will transition later when closer to the side and sooner when farther from the edge.
This is the default TransitionPropagation used with Slide
.
Summary
Public constructors | |
---|---|
SidePropagation()
|
Public methods | |
---|---|
long
|
getStartDelay(ViewGroup sceneRoot, Transition transition, TransitionValues startValues, TransitionValues endValues)
Called by Transition to alter the Animator start delay. |
void
|
setPropagationSpeed(float propagationSpeed)
Sets the speed at which transition propagation happens, relative to the duration of the Transition. |
void
|
setSide(int side)
Sets the side that is used to calculate the transition propagation. |
Inherited methods | |
---|---|
![]()
android.support.transition.VisibilityPropagation
| |
![]()
android.support.transition.TransitionPropagation
| |
![]()
java.lang.Object
|