Source/sources/android/support/p003v7/widget/ActionMenuView.java
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        boolean z;
        boolean wasFormatted = this.mFormatItems;
        if (MeasureSpec.getMode(widthMeasureSpec) == 1073741824) {
            z = true;
        } else {
            z = false;
        }
        this.mFormatItems = z;
        if (wasFormatted != this.mFormatItems) {
            this.mFormatItemsWidth = 0;
        }
        int widthSize = MeasureSpec.getSize(widthMeasureSpec);
        if (!(!this.mFormatItems || this.mMenu == null || widthSize == this.mFormatItemsWidth)) {
            this.mFormatItemsWidth = widthSize;
            this.mMenu.onItemsChanged(true);
        }
        int childCount = getChildCount();
        if (!this.mFormatItems || childCount <= 0) {
            for (int i = 0; i < childCount; i++) {
                LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams();
                lp.rightMargin = 0;
                lp.leftMargin = 0;
            }
            super.onMeasure(widthMeasureSpec, heightMeasureSpec);
            return;
        }
        onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec);
    }
/* access modifiers changed from: protected */
access modifiers changed from: protected
access modifiers changed from : protected
public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        boolean z;
        boolean wasFormatted = this.mFormatItems;
        if (MeasureSpec.getMode(widthMeasureSpec) == 1073741824) {
            z = true;
        } else {
            z = false;
        }
        this.mFormatItems = z;
        if (wasFormatted != this.mFormatItems) {
            this.mFormatItemsWidth = 0;
        }
        int widthSize = MeasureSpec.getSize(widthMeasureSpec);
        if (!(!this.mFormatItems || this.mMenu == null || widthSize == this.mFormatItemsWidth)) {
            this.mFormatItemsWidth = widthSize;
            this.mMenu.onItemsChanged(true);
        }
        int childCount = getChildCount();
        if (!this.mFormatItems || childCount <= 0) {
            for (int i = 0; i < childCount; i++) {
                LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams();
                lp.rightMargin = 0;
                lp.leftMargin = 0;
            }
            super.onMeasure(widthMeasureSpec, heightMeasureSpec);
            return;
        }
        onMeasureExactFormat(widthMeasureSpec, heightMeasureSpec);
    }
public void onMeasure ( int widthMeasureSpec , int heightMeasureSpec ) { boolean z ; boolean wasFormatted = this . mFormatItems ; if ( MeasureSpec . getMode ( widthMeasureSpec ) == 1073741824 ) { z = true ; } else { z = false ; } this . mFormatItems = z ; if ( wasFormatted != this . mFormatItems ) { this . mFormatItemsWidth = 0 ; } int widthSize = MeasureSpec . getSize ( widthMeasureSpec ) ; if ( ! ( ! this . mFormatItems || this . mMenu == null || widthSize == this . mFormatItemsWidth ) ) { this . mFormatItemsWidth = widthSize ; this . mMenu . onItemsChanged ( true ) ; } int childCount = getChildCount ( ) ; if ( ! this . mFormatItems || childCount <= 0 ) { for ( int i = 0 ; i < childCount ; i ++ ) { LayoutParams lp = ( LayoutParams ) getChildAt ( i ) . getLayoutParams ( ) ; lp . rightMargin = 0 ; lp . leftMargin = 0 ; } super . onMeasure ( widthMeasureSpec , heightMeasureSpec ) ; return ; } onMeasureExactFormat ( widthMeasureSpec , heightMeasureSpec ) ; }
access modifiers changed from: protected
access modifiers changed from : protected