Source/sources/android/support/constraint/ConstraintLayout.java
public void onLayout(boolean changed, int left, int top, int right, int bottom) {
        int widgetsCount = getChildCount();
        boolean isInEditMode = isInEditMode();
        for (int i = 0; i < widgetsCount; i++) {
            View child = getChildAt(i);
            LayoutParams params = (LayoutParams) child.getLayoutParams();
            ConstraintWidget widget = params.widget;
            if ((child.getVisibility() != 8 || params.isGuideline || params.isHelper || isInEditMode) && !params.isInPlaceholder) {
                int l = widget.getDrawX();
                int t = widget.getDrawY();
                int r = l + widget.getWidth();
                int b = t + widget.getHeight();
                child.layout(l, t, r, b);
                if (child instanceof Placeholder) {
                    View content = ((Placeholder) child).getContent();
                    if (content != null) {
                        content.setVisibility(0);
                        content.layout(l, t, r, b);
                    }
                }
            }
        }
        int helperCount = this.mConstraintHelpers.size();
        if (helperCount > 0) {
            for (int i2 = 0; i2 < helperCount; i2++) {
                ((ConstraintHelper) this.mConstraintHelpers.get(i2)).updatePostLayout(this);
            }
        }
    }
/* access modifiers changed from: protected */
access modifiers changed from: protected
access modifiers changed from : protected
public void onLayout(boolean changed, int left, int top, int right, int bottom) {
        int widgetsCount = getChildCount();
        boolean isInEditMode = isInEditMode();
        for (int i = 0; i < widgetsCount; i++) {
            View child = getChildAt(i);
            LayoutParams params = (LayoutParams) child.getLayoutParams();
            ConstraintWidget widget = params.widget;
            if ((child.getVisibility() != 8 || params.isGuideline || params.isHelper || isInEditMode) && !params.isInPlaceholder) {
                int l = widget.getDrawX();
                int t = widget.getDrawY();
                int r = l + widget.getWidth();
                int b = t + widget.getHeight();
                child.layout(l, t, r, b);
                if (child instanceof Placeholder) {
                    View content = ((Placeholder) child).getContent();
                    if (content != null) {
                        content.setVisibility(0);
                        content.layout(l, t, r, b);
                    }
                }
            }
        }
        int helperCount = this.mConstraintHelpers.size();
        if (helperCount > 0) {
            for (int i2 = 0; i2 < helperCount; i2++) {
                ((ConstraintHelper) this.mConstraintHelpers.get(i2)).updatePostLayout(this);
            }
        }
    }
public void onLayout ( boolean changed , int left , int top , int right , int bottom ) { int widgetsCount = getChildCount ( ) ; boolean isInEditMode = isInEditMode ( ) ; for ( int i = 0 ; i < widgetsCount ; i ++ ) { View child = getChildAt ( i ) ; LayoutParams params = ( LayoutParams ) child . getLayoutParams ( ) ; ConstraintWidget widget = params . widget ; if ( ( child . getVisibility ( ) != 8 || params . isGuideline || params . isHelper || isInEditMode ) && ! params . isInPlaceholder ) { int l = widget . getDrawX ( ) ; int t = widget . getDrawY ( ) ; int r = l + widget . getWidth ( ) ; int b = t + widget . getHeight ( ) ; child . layout ( l , t , r , b ) ; if ( child instanceof Placeholder ) { View content = ( ( Placeholder ) child ) . getContent ( ) ; if ( content != null ) { content . setVisibility ( 0 ) ; content . layout ( l , t , r , b ) ; } } } } int helperCount = this . mConstraintHelpers . size ( ) ; if ( helperCount > 0 ) { for ( int i2 = 0 ; i2 < helperCount ; i2 ++ ) { ( ( ConstraintHelper ) this . mConstraintHelpers . get ( i2 ) ) . updatePostLayout ( this ) ; } } }
access modifiers changed from: protected
access modifiers changed from : protected