public class AnimSpec extends Object implements Serializable
| Constructor and Description |
|---|
AnimSpec(int prio,
int durMillis,
float easeIn,
float easeOut) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDurationMillis() |
int |
getDurationMillis(int defMillis) |
float |
getEaseIn() |
float |
getEaseOut() |
int |
getPriority() |
public static final AnimSpec DEF
public AnimSpec(int prio,
int durMillis,
float easeIn,
float easeOut)
prio - The animation priority. When added with the general animation priority of the layout the animation will
be done if the resulting value is > 0.durMillis - Duration in milliseconds. <=0 means default value should be used and > 0 is the number of milliseaseIn - 0 is linear (no ease). 1 is max ease. Always clamped between these values.easeOut - 0 is linear (no ease). 1 is max ease. Always clamped between these values.public int getPriority()
public int getDurationMillis(int defMillis)
defMillis - Default used if the millis in the spec is set to "default".public int getDurationMillis()
public float getEaseIn()
public float getEaseOut()
Copyright © 2007–2021. All rights reserved.