public static class DividerSnapAlgorithm.SnapTarget extends Object
Modifier and Type | Field and Description |
---|---|
int |
flag |
static int |
FLAG_DISMISS_END
If the divider reaches this value, the right/bottom task should be dismissed
|
static int |
FLAG_DISMISS_START
If the divider reaches this value, the left/top task should be dismissed.
|
static int |
FLAG_NONE |
int |
position
Position of this snap target.
|
int |
taskPosition
Like
position , but used to calculate the task bounds which might be different
from the stack bounds. |
Constructor and Description |
---|
SnapTarget(int position,
int taskPosition,
int flag) |
SnapTarget(int position,
int taskPosition,
int flag,
float distanceMultiplier) |
public static final int FLAG_NONE
public static final int FLAG_DISMISS_START
public static final int FLAG_DISMISS_END
public final int position
public final int taskPosition
position
, but used to calculate the task bounds which might be different
from the stack bounds.public final int flag