public class TransitionUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TransitionUtils.BoundsCallback |
Constructor and Description |
---|
TransitionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addTransitions(Transition transition,
java.util.List<Transition> outList,
java.lang.String logContext) |
static void |
applySizeToDrawableForAnimation(Drawable drawable,
int width,
int height) |
static void |
applyXYToDrawableForAnimation(Drawable drawable,
int x,
int y) |
static void |
collectRootBoundsTransitions(TransitionId rootTransitionId,
Transition transition,
AnimatedProperty property,
Transition.RootBoundsTransition outRootBoundsTransition)
Collects info about root component bounds animation, specifically whether it has animations for
width and height also
Transition.TransitionUnit for appear animation if such is
defined. |
static TransitionId |
createTransitionId(java.lang.String transitionKey,
Transition.TransitionKeyType transitionKeyType,
java.lang.String transitionOwnerKey,
java.lang.String transitionGlobalKey) |
static void |
setOwnerKey(Transition transition,
java.lang.String ownerKey) |
public static void applySizeToDrawableForAnimation(Drawable drawable, int width, int height)
public static void applyXYToDrawableForAnimation(Drawable drawable, int x, int y)
public static void collectRootBoundsTransitions(TransitionId rootTransitionId, Transition transition, AnimatedProperty property, Transition.RootBoundsTransition outRootBoundsTransition)
Transition.TransitionUnit
for appear animation if such is
defined.public static TransitionId createTransitionId(java.lang.String transitionKey, Transition.TransitionKeyType transitionKeyType, java.lang.String transitionOwnerKey, java.lang.String transitionGlobalKey)
public static void addTransitions(Transition transition, java.util.List<Transition> outList, java.lang.String logContext)
public static void setOwnerKey(Transition transition, java.lang.String ownerKey)