Searched refs:cellsRemaining (Results 1 – 2 of 2) sorted by relevance
199 int cellsRemaining = cellCount; in onMeasureExactFormat() local233 final int cellsAvailable = lp.isOverflowButton ? 1 : cellsRemaining; in onMeasureExactFormat()242 cellsRemaining -= cellsUsed; in onMeasureExactFormat()255 while (expandableItemCount > 0 && cellsRemaining > 0) { in onMeasureExactFormat()280 if (minCellsItemCount > cellsRemaining) break; // Couldn't expand anything evenly. Stop. in onMeasureExactFormat()294 if (centerSingleExpandedItem && lp.preventEdgeOffset && cellsRemaining == 1) { in onMeasureExactFormat()300 cellsRemaining--; in onMeasureExactFormat()310 if (cellsRemaining > 0 && smallestItemsAt != 0 && in onMeasureExactFormat()311 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) { in onMeasureExactFormat()327 (int) (cellsRemaining * cellSize / expandCount) : 0; in onMeasureExactFormat()[all …]
676 int cellsRemaining = 0; in flagActionItems() local678 cellsRemaining = widthLimit / mMinCellSize; in flagActionItems()680 cellSize = mMinCellSize + cellSizeRemaining / cellsRemaining; in flagActionItems()690 cellsRemaining -= ActionMenuView.measureChildForCells(v, in flagActionItems()691 cellSize, cellsRemaining, querySpec, 0); in flagActionItems()711 (!mStrictWidthLimit || cellsRemaining > 0); in flagActionItems()717 cellSize, cellsRemaining, querySpec, 0); in flagActionItems()718 cellsRemaining -= cells; in flagActionItems()