public class StackScrollAlgorithm extends Object
.NotificationStackScrollLayout
which can be queried for .stack.StackScrollState
Constructor and Description |
---|
StackScrollAlgorithm(Context context) |
Modifier and Type | Method and Description |
---|---|
static boolean |
canChildBeDismissed(View v) |
int |
getBottomStackSlowDownLength() |
void |
getStackScrollState(AmbientState ambientState,
StackScrollState resultState) |
void |
initView(Context context) |
void |
setIsExpanded(boolean isExpanded) |
public StackScrollAlgorithm(Context context)
public void initView(Context context)
public int getBottomStackSlowDownLength()
public void getStackScrollState(AmbientState ambientState, StackScrollState resultState)
public static boolean canChildBeDismissed(View v)
public void setIsExpanded(boolean isExpanded)