Class Transition.WidgetState
- java.lang.Object
-
- androidx.constraintlayout.core.state.Transition.WidgetState
-
- Enclosing class:
- Transition
public static class Transition.WidgetState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WidgetState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WidgetFramegetFrame(int type)voidinterpolate(int parentWidth, int parentHeight, float progress, Transition transition)voidsetKeyAttribute(TypedBundle prop)voidsetKeyAttribute(TypedBundle prop, CustomVariable[] custom)Set tge keyAttribute bundle and associated custom attributesvoidsetKeyCycle(TypedBundle prop)voidsetKeyPosition(TypedBundle prop)voidsetPathRelative(Transition.WidgetState widgetState)voidupdate(ConstraintWidget child, int state)
-
-
-
Method Detail
-
setKeyPosition
public void setKeyPosition(TypedBundle prop)
-
setKeyAttribute
public void setKeyAttribute(TypedBundle prop)
-
setKeyAttribute
public void setKeyAttribute(TypedBundle prop, CustomVariable[] custom)
Set tge keyAttribute bundle and associated custom attributes- Parameters:
prop-custom-
-
setKeyCycle
public void setKeyCycle(TypedBundle prop)
-
update
public void update(ConstraintWidget child, int state)
-
getFrame
public WidgetFrame getFrame(int type)
-
interpolate
public void interpolate(int parentWidth, int parentHeight, float progress, Transition transition)
-
setPathRelative
public void setPathRelative(Transition.WidgetState widgetState)
-
-