class State : State


The state of the ConstraintLayout solver.

Summary

Public constructors

State(density: Density)

Public functions

open Int

Public properties

Density
LayoutDirection

This property is deprecated. Use #isLtr instead

Constraints

Inherited functions

From androidx.constraintlayout.core.state.State
open Unit
open BarrierReference
open Unit
open AlignHorizontallyReference
centerHorizontally(vararg p0: Any)
open AlignVerticallyReference
centerVertically(vararg p0: Any)
open ConstraintReference
open ConstraintReference
open Unit
open FlowReference
getFlow(p0: Any, p1: Boolean)
open GridReference
getGrid(p0: Any, p1: String)
open FlowReference
open FlowReference
getHorizontalFlow(vararg p0: Any)
open ArrayList<String>
open FlowReference
open FlowReference
getVerticalFlow(vararg p0: Any)
open GuidelineReference
guideline(p0: Any, p1: Int)
open State
open HelperReference
helper(p0: Any, p1: State.Helper)
open HorizontalChainReference
open HorizontalChainReference
horizontalChain(vararg p0: Any)
open GuidelineReference
open Boolean
open Boolean

This function is deprecated. Deprecated in Java

open Boolean
open Unit
map(p0: Any, p1: Any)
open Unit
open Boolean
open Boolean
open Unit
open State
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
setTag(p0: String, p1: String)
open State
open VerticalChainReference
open VerticalChainReference
verticalChain(vararg p0: Any)
open GuidelineReference
open State

Public constructors

State

Added in 1.1.0
State(density: Density)

Public functions

convertDimension

open fun convertDimension(value: Any?): Int

Public properties

density

Added in 1.1.0
val densityDensity

layoutDirection

Added in 1.1.0
Deprecated in 1.1.0
var layoutDirectionLayoutDirection

rootIncomingConstraints

Added in 1.1.0
var rootIncomingConstraintsConstraints