Modifier and Type | Field and Description |
---|---|
float |
alpha |
float |
dimAlpha |
static Property<View,Rect> |
LTRB |
RectF |
rect |
float |
scale |
float |
translationZ |
float |
viewOutlineAlpha |
boolean |
visible |
Constructor and Description |
---|
TaskViewTransform() |
Modifier and Type | Method and Description |
---|---|
void |
applyToTaskView(TaskView v,
ArrayList<Animator> animators,
AnimationProps animation,
boolean allowShadows)
Applies this transform to a view.
|
void |
copyFrom(TaskViewTransform other)
Copies the transform state from another
TaskViewTransform . |
void |
fillIn(TaskView tv)
Fills int this transform from the state of the given TaskView.
|
boolean |
hasAlphaChangedFrom(float v)
Convenience functions to compare against current property values
|
boolean |
hasRectChangedFrom(View v) |
boolean |
hasScaleChangedFrom(float v) |
boolean |
hasTranslationZChangedFrom(float v) |
boolean |
isSame(TaskViewTransform other) |
void |
reset()
Resets the current transform.
|
static void |
reset(TaskView v)
Reset the transform on a view.
|
String |
toString()
Returns a string representation of the object.
|
public float translationZ
public float scale
public float alpha
public float dimAlpha
public float viewOutlineAlpha
public boolean visible
public RectF rect
public void fillIn(TaskView tv)
public void copyFrom(TaskViewTransform other)
TaskViewTransform
.public boolean isSame(TaskViewTransform other)
public void reset()
public boolean hasAlphaChangedFrom(float v)
public boolean hasScaleChangedFrom(float v)
public boolean hasTranslationZChangedFrom(float v)
public boolean hasRectChangedFrom(View v)
public void applyToTaskView(TaskView v, ArrayList<Animator> animators, AnimationProps animation, boolean allowShadows)
public static void reset(TaskView v)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())