Home
last modified time | relevance | path

Searched refs:maxAvailable (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/design/src/android/support/design/internal/
DBottomNavigationMenuView.java130 final int maxAvailable = width / (count == 0 ? 1 : count); in onMeasure() local
131 final int childWidth = Math.min(maxAvailable, mActiveItemMaxWidth); in onMeasure()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java776 final int maxAvailable = tempEnd - tempStart; in getChildMeasureSpec() field in RelativeLayout
781 childSpecSize = Math.max(0, maxAvailable); in getChildMeasureSpec()
787 if (maxAvailable >= 0) { in getChildMeasureSpec()
789 childSpecSize = Math.min(maxAvailable, childSize); in getChildMeasureSpec()
798 childSpecSize = Math.max(0, maxAvailable); in getChildMeasureSpec()
802 if (maxAvailable >= 0) { in getChildMeasureSpec()
805 childSpecSize = maxAvailable; in getChildMeasureSpec()