public final class

ModifiersBuilders.DefaultContentTransitions

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.DefaultContentTransitions

Overview

Prebuilt default objects for animated visibility transition animations.

Summary

Methods
public static ModifiersBuilders.EnterTransitionfadeIn()

Enter content transition animation that fades in element when entering the layout, from fully invisible to fully visible.

public static ModifiersBuilders.EnterTransitionfadeInSlideIn(int slideDirection)

Enter content transition animation that fades in element when entering the layout, from fully invisible to fully visible and slides it in into its position from the parent edge in the given direction.

public static ModifiersBuilders.ExitTransitionfadeOut()

Exit content transition animation that fades out element when exiting the layout, from fully visible to fully invisible.

public static ModifiersBuilders.ExitTransitionfadeOutSlideOut(int slideDirection)

Exit content transition animation that fades out element when exiting the layout, from fully visible to fully invisible and slides it out from its position to the parent edge in the given direction.

public static ModifiersBuilders.EnterTransitionslideIn(int slideDirection)

Enter content transition animation that slides in element when entering the layout into its position from the parent edge in the given direction.

public static ModifiersBuilders.ExitTransitionslideOut(int slideDirection)

Exit content transition animation that slides out element when exiting the layout from its position to the parent edge in the given direction.

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

Methods

public static ModifiersBuilders.EnterTransition fadeIn()

Enter content transition animation that fades in element when entering the layout, from fully invisible to fully visible.

public static ModifiersBuilders.EnterTransition slideIn(int slideDirection)

Enter content transition animation that slides in element when entering the layout into its position from the parent edge in the given direction.

public static ModifiersBuilders.EnterTransition fadeInSlideIn(int slideDirection)

Enter content transition animation that fades in element when entering the layout, from fully invisible to fully visible and slides it in into its position from the parent edge in the given direction.

Parameters:

slideDirection: The direction for sliding in part of transition.

public static ModifiersBuilders.ExitTransition fadeOut()

Exit content transition animation that fades out element when exiting the layout, from fully visible to fully invisible.

public static ModifiersBuilders.ExitTransition slideOut(int slideDirection)

Exit content transition animation that slides out element when exiting the layout from its position to the parent edge in the given direction.

public static ModifiersBuilders.ExitTransition fadeOutSlideOut(int slideDirection)

Exit content transition animation that fades out element when exiting the layout, from fully visible to fully invisible and slides it out from its position to the parent edge in the given direction.

Parameters:

slideDirection: The direction for sliding in part of transition.