public final class

ModifiersBuilders.SlideInTransition

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.SlideInTransition

Overview

The sliding in animation for content transition of an element and its children.

Summary

Methods
public static ModifiersBuilders.SlideInTransitionfromProto(ModifiersProto.SlideInTransition proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public AnimationParameterBuilders.AnimationSpecgetAnimationSpec()

Gets the animation parameters for duration, delay, etc.

public intgetDirection()

Gets the slide direction used for slide animations on any element, from the specified point to its destination in the layout.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public ModifiersBuilders.SlideBoundgetInitialSlideBound()

Gets the initial offset for animation.

public ModifiersProto.SlideInTransitiontoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods

public int getDirection()

Gets the slide direction used for slide animations on any element, from the specified point to its destination in the layout. If not set, defaults to horizontal from left to the right.

public ModifiersBuilders.SlideBound getInitialSlideBound()

Gets the initial offset for animation. By default the transition starts from the left parent boundary for horizontal orientation and from the top for vertical orientation. Note that sliding from the screen boundaries can only be achieved if all parent's sizes are big enough to accommodate it.

Gets the animation parameters for duration, delay, etc.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()