public interface

ModifiersProto.SlideInTransitionOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.SlideInTransitionOrBuilder

Subclasses:

ModifiersProto.SlideInTransition, ModifiersProto.SlideInTransition.Builder

Summary

Methods
public AnimationParameterProto.AnimationSpecgetAnimationSpec()

 The animation parameters for duration, delay, etc.

public ModifiersProto.SlideDirectiongetDirection()

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

public intgetDirectionValue()

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

public ModifiersProto.SlideBoundgetInitialSlideBound()

 The initial offset for animation.

public booleanhasAnimationSpec()

 The animation parameters for duration, delay, etc.

public booleanhasInitialSlideBound()

 The initial offset for animation.

Methods

public int getDirectionValue()

 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.
 
.androidx.wear.protolayout.proto.SlideDirection direction = 1;

Returns:

The enum numeric value on the wire for direction.

public ModifiersProto.SlideDirection getDirection()

 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.
 
.androidx.wear.protolayout.proto.SlideDirection direction = 1;

Returns:

The direction.

public boolean hasInitialSlideBound()

 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.
 
.androidx.wear.protolayout.proto.SlideBound initial_slide_bound = 2;

Returns:

Whether the initialSlideBound field is set.

public ModifiersProto.SlideBound getInitialSlideBound()

 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.
 
.androidx.wear.protolayout.proto.SlideBound initial_slide_bound = 2;

Returns:

The initialSlideBound.

public boolean hasAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

Returns:

Whether the animationSpec field is set.

public AnimationParameterProto.AnimationSpec getAnimationSpec()

 The animation parameters for duration, delay, etc.
 
.androidx.wear.protolayout.expression.proto.AnimationSpec animation_spec = 3;

Returns:

The animationSpec.