Home
last modified time | relevance | path

Searched refs:navWidth (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1174 final int navWidth = customView.getMeasuredWidth(); in onLayout() local
1188 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()
/frameworks/base/core/java/android/widget/
DToolbar.java1588 int navWidth = 0; in onMeasure() local
1592 navWidth = mNavButtonView.getMeasuredWidth() + getHorizontalMargins(mNavButtonView); in onMeasure()
1601 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()
1609 width += Math.max(contentInsetStart, navWidth); in onMeasure()
1610 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DToolbar.java1588 int navWidth = 0; in onMeasure() local
1592 navWidth = mNavButtonView.getMeasuredWidth() + getHorizontalMargins(mNavButtonView); in onMeasure()
1602 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()
1611 width += Math.max(contentInsetStart, navWidth); in onMeasure()
1612 collapsingMargins[marginStartIndex] = Math.max(0, contentInsetStart - navWidth); in onMeasure()