Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionMenuView.java315 float expandCount = Long.bitCount(smallestItemsAt); in onMeasureExactFormat() local
321 if (!lp.preventEdgeOffset) expandCount -= 0.5f; in onMeasureExactFormat()
325 if (!lp.preventEdgeOffset) expandCount -= 0.5f; in onMeasureExactFormat()
329 final int extraPixels = expandCount > 0 ? in onMeasureExactFormat()
330 (int) (cellsRemaining * cellSize / expandCount) : 0; in onMeasureExactFormat()
/frameworks/base/core/java/android/widget/
DActionMenuView.java311 float expandCount = Long.bitCount(smallestItemsAt); in onMeasureExactFormat() local
317 if (!lp.preventEdgeOffset) expandCount -= 0.5f; in onMeasureExactFormat()
321 if (!lp.preventEdgeOffset) expandCount -= 0.5f; in onMeasureExactFormat()
325 final int extraPixels = expandCount > 0 ? in onMeasureExactFormat()
326 (int) (cellsRemaining * cellSize / expandCount) : 0; in onMeasureExactFormat()