public class MotionPaths implements Comparable


This is used to capture and play back path of the layout. It is used to set the bounds of the view (view.layout(l, t, r, b))

Summary

Constants

static final int
static final boolean
DEBUG = false
static final boolean
OLD_WAY = false
static final int
static final int
SCREEN = 2
static final String
TAG = "MotionPaths"

Public fields

String

Public constructors

MotionPaths(
    int parentWidth,
    int parentHeight,
    MotionKeyPosition c,
    MotionPaths startTimePoint,
    MotionPaths endTimePoint
)

takes the new keyPosition

Public methods

void
int
void
void

Constants

CARTESIAN

Added in 1.1.0
public static final int CARTESIAN = 0

DEBUG

Added in 1.1.0
public static final boolean DEBUG = false

OLD_WAY

Added in 1.1.0
public static final boolean OLD_WAY = false

PERPENDICULAR

Added in 1.1.0
public static final int PERPENDICULAR = 1

SCREEN

Added in 1.1.0
public static final int SCREEN = 2

TAG

Added in 1.1.0
public static final String TAG = "MotionPaths"

Public fields

mId

Added in 1.1.0
public String mId

Public constructors

MotionPaths

Added in 1.1.0
public MotionPaths()

MotionPaths

Added in 1.1.0
public MotionPaths(
    int parentWidth,
    int parentHeight,
    MotionKeyPosition c,
    MotionPaths startTimePoint,
    MotionPaths endTimePoint
)

takes the new keyPosition

Public methods

applyParameters

Added in 1.1.0
public void applyParameters(MotionWidget c)

compareTo

Added in 1.1.0
public int compareTo(MotionPaths o)

configureRelativeTo

Added in 1.1.0
public void configureRelativeTo(Motion toOrbit)

setupRelative

Added in 1.1.0
public void setupRelative(Motion mc, MotionPaths relative)