Summary: Ctors | Methods | Inherited Methods
public
static
final
class
WindowInsetsAnimation.Bounds
extends Object
Class representing the range of an WindowInsetsAnimation
Summary
Public constructors | |
|---|---|
Bounds(Insets lowerBound, Insets upperBound)
|
|
Public methods | |
|---|---|
Insets
|
getLowerBound()
Queries the lower inset bound of the animation. |
Insets
|
getUpperBound()
Queries the upper inset bound of the animation. |
WindowInsetsAnimation.Bounds
|
inset(Insets insets)
Insets both the lower and upper bound by the specified insets. |
String
|
toString()
Returns a string representation of the object. |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Public constructors
Bounds
public Bounds (Insets lowerBound, Insets upperBound)
| Parameters | |
|---|---|
lowerBound |
Insets: This value cannot be null. |
upperBound |
Insets: This value cannot be null. |
Public methods
inset
public WindowInsetsAnimation.Bounds inset (Insets insets)
Insets both the lower and upper bound by the specified insets. This is to be used in
Callback.onStart to indicate that a part of the insets has
been used to offset or clip its children, and the children shouldn't worry about that
part anymore.
| Parameters | |
|---|---|
insets |
Insets: The amount to inset.
This value cannot be null. |
| Returns | |
|---|---|
WindowInsetsAnimation.Bounds |
A copy of this instance inset in the given directions.
This value cannot be null. |