-
public class FadingEdgesDefaultsThe default values for FadingEdges.
-
-
Field Summary
Fields Modifier and Type Field Description private final DpedgeWidthprivate final DpvisibilityThresholdprivate final EasingvisibilityEasingpublic final static FadingEdgesDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final DpgetEdgeWidth()The width of the fade overlays (in dp). final DpgetVisibilityThreshold()The scroll distance over which the overlays fade in and out (in dp). final EasinggetVisibilityEasing()Used for the fading edges’ fade-in and fade-out animations. -
-
Method Detail
-
getEdgeWidth
final Dp getEdgeWidth()
The width of the fade overlays (in dp).
-
getVisibilityThreshold
final Dp getVisibilityThreshold()
The scroll distance over which the overlays fade in and out (in dp).
-
getVisibilityEasing
final Easing getVisibilityEasing()
Used for the fading edges’ fade-in and fade-out animations. This is a mapping of the degree to which the fading edges’ visibility threshold has been satisfied to the opacity of the fading edges.
-
-
-
-