Unit |
|
Boolean |
Returns true if this widget should be used in a barrier
|
Unit |
Connect a given anchor of this widget to another anchor of a target widget
|
Unit |
Connect the given anchors together (the from anchor should be owned by this widget)
|
Unit |
Connect a given anchor of this widget to another anchor of a target widget
|
Unit |
Set a circular constraint
|
Unit |
Create all the system variables for this widget
|
Unit |
|
Unit |
|
ConstraintAnchor! |
Given a type of anchor, returns the corresponding anchor.
|
ArrayList<ConstraintAnchor!>! |
Return the array of anchors of this widget
|
Int |
Return the baseline distance relative to the top of the widget
|
Float |
Return the percentage bias that is used when two opposite connections exist of the same strength in a particular orientation.
|
Int |
Return the bottom position of the widget
|
Any! |
Return the companion widget.
|
Int |
Accessor for the skip value
|
String! |
Returns the name of this widget (used for debug purposes)
|
ConstraintWidget.DimensionBehaviour! |
Get the widget's DimensionBehaviour in an specific orientation.
|
Float |
Return the current ratio of this widget
|
Int |
Return the current side on which ratio will be applied
|
Boolean |
|
Int |
Return the height of the widget
|
Float |
Return the horizontal percentage bias that is used when two opposite connections exist of the same strength.
|
ConstraintWidget! |
if in a horizontal chain return the left most widget in the chain.
|
Int |
get the chain starting from this widget to be packed.
|
ConstraintWidget.DimensionBehaviour! |
Accessor for the horizontal dimension behaviour
|
Int |
Returns all the horizontal margin of the widget.
|
Int |
|
Int |
|
Int |
Return the left position of the widget (similar to getX)
|
Int |
Get a dimension of the widget in a particular orientation.
|
Int |
|
Int |
|
Int |
Return the minimum height of the widget
|
Int |
Return the minimum width of the widget
|
ConstraintWidget! |
Return the next chain member if one exists
|
Int |
|
Int |
|
ConstraintWidget! |
Returns the parent of this widget if there is one
|
ConstraintWidget! |
Return the previous chain member if one exists
|
Int |
Return the right position of the widget
|
Int |
Return the x position of the widget, relative to the root (without animation)
|
Int |
Return the y position of the widget, relative to the root (without animation)
|
WidgetRun! |
|
Unit |
|
Int |
Return the top position of the widget (similar to getY)
|
String! |
Returns the type string if set
|
Float |
Return the vertical percentage bias that is used when two opposite connections exist of the same strength.
|
ConstraintWidget! |
if in a vertical chain return the top most widget in the chain.
|
Int |
Set the chain starting from this widget to be packed.
|
ConstraintWidget.DimensionBehaviour! |
Accessor for the vertical dimension behaviour
|
Int |
Returns all the vertical margin of the widget
|
Int |
Returns the current visibility value for this widget
|
Int |
Return the width of the widget
|
Int |
|
Int |
Return the x position of the widget, relative to its container
|
Int |
Return the y position of the widget, relative to its container
|
Boolean |
Return true if this widget has a baseline
|
Boolean |
|
Boolean |
|
Boolean |
|
Boolean |
|
Unit |
Immediate connection to an anchor without any checks.
|
Boolean |
Returns if this widget is animated.
|
Boolean |
Returns true if height is set to wrap_content
|
Boolean |
|
Boolean |
|
Boolean |
Test if you are in a Horizontal chain
|
Boolean |
|
Boolean |
Test if you are in a vertical chain
|
Boolean |
|
Boolean |
|
Boolean |
|
Boolean |
|
Boolean |
Returns true if the widget is the root widget
|
Boolean |
|
Boolean |
|
Boolean |
|
Boolean |
Returns true if width is set to wrap_content
|
Unit |
|
Unit |
|
Boolean |
|
Boolean |
|
Unit |
|
Unit |
Reset all the constraints set on this widget
|
Unit |
Reset the given anchor
|
Unit |
Reset all connections
|
Unit |
|
Unit |
Reset the solver variables of the anchors
|
Unit |
|
StringBuilder! |
Serialize the anchors for JSON5 output
|
Unit |
Set if this widget is animated.
|
Unit |
Set the baseline distance relative to the top of the widget
|
Unit |
Set the companion widget.
|
Unit |
Set the skip value for this widget.
|
Unit |
Set the debug name of this widget
|
Unit |
Utility debug function.
|
Unit |
Set both width and height of the widget
|
Unit |
Set the ratio of the widget
|
Unit |
Set the ratio of the widget The ratio will be applied if at least one of the dimension (width or height) is set to a behaviour of DimensionBehaviour.MATCH_CONSTRAINT -- the dimension's value will be set to the other dimension * ratio.
|
Unit |
|
Unit |
|
Unit |
|
Unit |
|
Unit |
|
Unit |
|
Unit |
Set the position+dimension of the widget based on starting/ending positions on one dimension.
|
Unit |
Set the position+dimension of the widget given left/top/right/bottom
|
Unit |
Set the margin to be used when connected to a widget with a visibility of GONE
|
Unit |
|
Unit |
Set the height of the widget
|
Unit |
Keep track of wrap_content for height
|
Unit |
Set the horizontal bias percent to apply when we have two opposite constraints of equal strength
|
Unit |
Set the chain starting from this widget to be packed.
|
Unit |
Set the positions for the horizontal dimension only
|
Unit |
Set the widget's behaviour for the horizontal dimension
|
Unit |
Set the horizontal style when MATCH_CONSTRAINT is set
|
Unit |
Set the horizontal weight (only used in chains)
|
Unit |
|
Unit |
|
Unit |
|
Unit |
|
Unit |
Set the dimension of a widget in a particular orientation.
|
Unit |
|
Unit |
|
Unit |
|
Unit |
Set the minimum height of the widget
|
Unit |
Set the minimum width of the widget
|
Unit |
Set the offset of this widget relative to the root widget
|
Unit |
Set both the origin in (x, y) of the widget, relative to its container
|
Unit |
Set the parent of this widget
|
Unit |
Set the type of the widget (as a String)
|
Unit |
Set the vertical bias percent to apply when we have two opposite constraints of equal strength
|
Unit |
Set the chain starting from this widget to be packed.
|
Unit |
Set the positions for the vertical dimension only
|
Unit |
Set the widget's behaviour for the vertical dimension
|
Unit |
Set the vertical style when MATCH_CONSTRAINT is set
|
Unit |
Set the vertical weight (only used in chains)
|
Unit |
Set the visibility for this widget
|
Unit |
Set the width of the widget
|
Unit |
Keep track of wrap_content for width
|
Unit |
|
Unit |
Set the x position of the widget, relative to its container
|
Unit |
Set the y position of the widget, relative to its container
|
Unit |
Resolves the dimension ratio parameters (mResolvedDimensionRatioSide &mDimensionRatio)
|
String! |
Returns a string representation of the ConstraintWidget
|
Unit |
|
Unit |
Update the widget from the values generated by the solver
|