public class InlineSort extends CorneredSort
CorneredSort.Corner| Constructor and Description |
|---|
InlineSort(long interObjectDelay,
boolean reversed,
CorneredSort.Corner corner)
Animate child views from side to side (based on the provided corner parameter).
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDistanceBetweenPoints(android.graphics.PointF left,
android.graphics.PointF right)
Find the double value of the distance between two points.
|
java.util.List<SpruceTimedView> |
getViewListWithTimeOffsets(android.view.ViewGroup parent,
java.util.List<android.view.View> children)
Get a list of SpruceTimedView
|
getDistancePointpublic InlineSort(long interObjectDelay,
boolean reversed,
CorneredSort.Corner corner)
interObjectDelay - long delay between objectsreversed - boolean indicating if the selection is reversedcorner - Corner value to start frompublic java.util.List<SpruceTimedView> getViewListWithTimeOffsets(android.view.ViewGroup parent, java.util.List<android.view.View> children)
SortFunctiongetViewListWithTimeOffsets in class CorneredSortparent - ViewGroup parent of the collection of child viewschildren - List of views to be animatedpublic double getDistanceBetweenPoints(android.graphics.PointF left,
android.graphics.PointF right)
euclideanDistance method.left - PointFright - PointF