public class Grouping


Implements a simple grouping mechanism, to group interdependent widgets together. TODO: we should move towards a more leaner implementation -- this is more expensive as it could be.

Summary

Public constructors

Public methods

static WidgetGroup
findDependents(
    ConstraintWidget constraintWidget,
    int orientation,
    ArrayList<WidgetGroup> list,
    WidgetGroup group
)
static boolean
static boolean
validInGroup(
    ConstraintWidget.DimensionBehaviour layoutHorizontal,
    ConstraintWidget.DimensionBehaviour layoutVertical,
    ConstraintWidget.DimensionBehaviour widgetHorizontal,
    ConstraintWidget.DimensionBehaviour widgetVertical
)

Public constructors

Grouping

Added in 1.1.0
public Grouping()

Public methods

findDependents

Added in 1.1.0
public static WidgetGroup findDependents(
    ConstraintWidget constraintWidget,
    int orientation,
    ArrayList<WidgetGroup> list,
    WidgetGroup group
)

simpleSolvingPass

Added in 1.1.0
public static boolean simpleSolvingPass(
    ConstraintWidgetContainer layout,
    BasicMeasure.Measurer measurer
)

validInGroup

Added in 1.1.0
public static boolean validInGroup(
    ConstraintWidget.DimensionBehaviour layoutHorizontal,
    ConstraintWidget.DimensionBehaviour layoutVertical,
    ConstraintWidget.DimensionBehaviour widgetHorizontal,
    ConstraintWidget.DimensionBehaviour widgetVertical
)