Searched refs:navWidth (Results 1 – 3 of 3) sorted by relevance
1172 final int navWidth = customView.getMeasuredWidth(); in onLayout() local1186 final int centeredLeft = ((mRight - mLeft) - navWidth) / 2; in onLayout()1188 final int centeredStart = centeredLeft + navWidth; in onLayout()1197 final int centeredEnd = centeredLeft + navWidth; in onLayout()1211 xpos = ((mRight - mLeft) - navWidth) / 2; in onLayout()1217 xpos = isLayoutRtl ? x - navWidth : menuStart - navWidth; in onLayout()
1253 int navWidth = 0; in onMeasure() local1257 navWidth = mNavButtonView.getMeasuredWidth() + getHorizontalMargins(mNavButtonView); in onMeasure()1266 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()1274 width += Math.max(contentInsetStart, navWidth); in onMeasure()1275 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()
1265 int navWidth = 0; in onMeasure() local1269 navWidth = mNavButtonView.getMeasuredWidth() + getHorizontalMargins(mNavButtonView); in onMeasure()1279 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()1288 width += Math.max(contentInsetStart, navWidth); in onMeasure()1289 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()