public class ContinuousSort extends RadialSort
RadialSort.Position| Constructor and Description |
|---|
ContinuousSort(long interObjectDelay,
boolean reversed,
RadialSort.Position position)
Establishes the delay between object animations and their starting position based on distance,
delay, and a value from the Position enum
|
| 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 ContinuousSort(long interObjectDelay,
boolean reversed,
RadialSort.Position position)
interObjectDelay - delay between object animationsreversed - flag to indicate if the animation should be reversedposition - enum value of the position the animation should start frompublic java.util.List<SpruceTimedView> getViewListWithTimeOffsets(android.view.ViewGroup parent, java.util.List<android.view.View> children)
SortFunctionparent - 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