public class CircularPropagation extends VisibilityPropagation
android.transition.Explode.| Constructor and Description |
|---|
CircularPropagation() |
| Modifier and Type | Method and Description |
|---|---|
long |
getStartDelay(android.view.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.
|
captureValues, getPropagationProperties, getViewVisibility, getViewX, getViewYpublic void setPropagationSpeed(float propagationSpeed)
propagationSpeed of 1 means that a View centered farthest from
the epicenter and View centered at the epicenter will have a difference
in start delay of approximately the duration of the Transition. A speed of 2 means the
start delay difference will be approximately half of the duration of the transition. A
value of 0 is illegal, but negative values will invert the propagation.propagationSpeed - The speed at which propagation occurs, relative to the duration
of the transition. A speed of 4 means it works 4 times as fast
as the duration of the transition. May not be 0.public long getStartDelay(android.view.ViewGroup sceneRoot,
Transition transition,
TransitionValues startValues,
TransitionValues endValues)
TransitionPropagationgetStartDelay in class TransitionPropagationsceneRoot - The root of the View hierarchy running the transition.transition - The transition that created the AnimatorstartValues - The values for a specific target in the start scene.endValues - The values for the target in the end scene.transition. The
delay will be offset by the minimum delay of all TransitionPropagations
used in the Transition so that the smallest delay will be 0. Returned values may be
negative.