public class StackViewState extends ViewState
Modifier and Type | Field and Description |
---|---|
boolean |
belowSpeedBump |
int |
clipTopAmount
How much the child overlaps with the previous child on top.
|
boolean |
dark |
boolean |
dimmed |
int |
height |
boolean |
hideSensitive |
boolean |
isBottomClipped
Whether a child in a group is being clipped at the bottom.
|
int |
location
The location this view is currently rendered at.
|
static int |
LOCATION_BOTTOM_STACK_HIDDEN |
static int |
LOCATION_BOTTOM_STACK_PEEKING |
static int |
LOCATION_FIRST_HUN |
static int |
LOCATION_GONE
The view isn't layouted at all.
|
static int |
LOCATION_HIDDEN_TOP |
static int |
LOCATION_MAIN_AREA |
static int |
LOCATION_UNKNOWN |
int |
notGoneIndex
The index of the view, only accounting for views not equal to GONE
|
float |
shadowAlpha |
alpha, gone, hidden, yTranslation, zTranslation
Constructor and Description |
---|
StackViewState() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ViewState viewState) |
public static final int LOCATION_UNKNOWN
public static final int LOCATION_FIRST_HUN
public static final int LOCATION_HIDDEN_TOP
public static final int LOCATION_MAIN_AREA
public static final int LOCATION_BOTTOM_STACK_PEEKING
public static final int LOCATION_BOTTOM_STACK_HIDDEN
public static final int LOCATION_GONE
public int height
public boolean dimmed
public boolean dark
public boolean hideSensitive
public boolean belowSpeedBump
public float shadowAlpha
public int clipTopAmount
public int notGoneIndex
public int location
See LOCATION_
flags.
public boolean isBottomClipped