Searched refs:navWidth (Results 1 – 2 of 2) sorted by relevance
1174 final int navWidth = customView.getMeasuredWidth(); in onLayout() local1188 final int centeredLeft = ((mRight - mLeft) - navWidth) / 2; in onLayout()1190 final int centeredStart = centeredLeft + navWidth; in onLayout()1199 final int centeredEnd = centeredLeft + navWidth; in onLayout()1213 xpos = ((mRight - mLeft) - navWidth) / 2; in onLayout()1219 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth; in onLayout()
1710 int navWidth = 0; in onMeasure() local1714 navWidth = mNavButtonView.getMeasuredWidth() + getHorizontalMargins(mNavButtonView); in onMeasure()1723 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()1731 width += Math.max(contentInsetStart, navWidth); in onMeasure()1732 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()