public class HeaderTransformState extends TransformState
mTransformedView
Constructor and Description |
---|
HeaderTransformState() |
Modifier and Type | Method and Description |
---|---|
void |
initFrom(View view) |
static HeaderTransformState |
obtain() |
void |
prepareFadeIn() |
void |
recycle() |
protected void |
reset() |
void |
setVisible(boolean visible,
boolean force) |
void |
transformViewFrom(TransformState otherState,
float transformationAmount)
Transforms the
TransformState.mTransformedView from the given transformviewstate |
boolean |
transformViewTo(TransformState otherState,
float transformationAmount)
Transforms the
TransformState.mTransformedView to the given transformviewstate |
abortTransformation, appear, createFrom, disappear, getLaidOutLocationOnScreen, getLocationOnScreen, getTransformationStartScaleX, getTransformationStartScaleY, getTransformationStartX, getTransformationStartY, getTransformedView, resetTransformedView, sameAs, setClippingDeactivated, setTransformationEndX, setTransformationEndY, setTransformationStartX, setTransformationStartY, transformScale, transformViewFullyFrom, transformViewFullyTo, transformViewVerticalFrom, transformViewVerticalFrom, transformViewVerticalTo, transformViewVerticalTo
public void initFrom(View view)
initFrom
in class TransformState
public boolean transformViewTo(TransformState otherState, float transformationAmount)
TransformState
TransformState.mTransformedView
to the given transformviewstatetransformViewTo
in class TransformState
otherState
- the state to transform fromtransformationAmount
- how much to transformpublic void transformViewFrom(TransformState otherState, float transformationAmount)
TransformState
TransformState.mTransformedView
from the given transformviewstatetransformViewFrom
in class TransformState
otherState
- the state to transform fromtransformationAmount
- how much to transformpublic static HeaderTransformState obtain()
public void recycle()
recycle
in class TransformState
protected void reset()
reset
in class TransformState
public void setVisible(boolean visible, boolean force)
setVisible
in class TransformState
public void prepareFadeIn()
prepareFadeIn
in class TransformState