Searched defs:cellsRemaining (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java151 int cellsRemaining = cellCount;
185 final int cellsAvailable = lp.isOverflowButton ? 1 : cellsRemaining;
194 cellsRemaining -= cellsUsed;
207 while (expandableItemCount > 0 && cellsRemaining > 0) {
232 if (minCellsItemCount > cellsRemaining) break; // Couldn't expand anything evenly. Stop.
246 if (centerSingleExpandedItem && lp.preventEdgeOffset && cellsRemaining == 1) {
252 cellsRemaining--;
262 if (cellsRemaining > 0 && smallestItemsAt != 0 &&
263 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) {
279 (int) (cellsRemaining * cellSiz
352 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuView.java152 int cellsRemaining = cellCount;
188 final int cellsAvailable = lp.isOverflowButton ? 1 : cellsRemaining;
201 cellsRemaining -= cellsUsed;
216 while (expandableItemCount > 0 && cellsRemaining > 0) {
243 if (minCellsItemCount > cellsRemaining) {
261 if (centerSingleExpandedItem && lp.preventEdgeOffset && cellsRemaining == 1) {
267 cellsRemaining--;
277 if (cellsRemaining > 0 && smallestItemsAt != 0 &&
278 (cellsRemaining < visibleItemCount - 1 || singleItem || maxCellsUsed > 1)) {
298 (int) (cellsRemaining * cellSiz
375 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]

Completed in 3188 milliseconds