Home
last modified time | relevance | path

Searched refs:cellSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
DShapeAnimation.cpp65 float cellSize = floorf(width / 7 - cellSpace); in createContent() local
81 canvas.clipRect(0, 0, cellSize, cellSize, SkClipOp::kIntersect); in createContent()
83 op(canvas, cellSize, paint); in createContent()
85 canvas.translate(cellSize + cellSpace, 0); in createContent()
88 canvas.translate(0, cellSize + cellSpace); in createContent()
/frameworks/base/core/java/android/widget/
DActionMenuView.java197 final int cellSize = mMinCellSize + cellSizeRemaining / cellCount; in onMeasureExactFormat() local
235 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, in onMeasureExactFormat()
296 child.setPadding(mGeneratedItemPadding + cellSize, 0, mGeneratedItemPadding, 0); in onMeasureExactFormat()
327 (int) (cellsRemaining * cellSize / expandCount) : 0; in onMeasureExactFormat()
373 final int width = lp.cellsUsed * cellSize + lp.extraPixels; in onMeasureExactFormat()
399 static int measureChildForCells(View child, int cellSize, int cellsRemaining, in measureChildForCells() argument
415 cellSize * cellsRemaining, MeasureSpec.AT_MOST); in measureChildForCells()
419 cellsUsed = measuredWidth / cellSize; in measureChildForCells()
420 if (measuredWidth % cellSize != 0) cellsUsed++; in measureChildForCells()
428 final int targetWidth = cellsUsed * cellSize; in measureChildForCells()
DActionMenuPresenter.java675 int cellSize = 0; in flagActionItems() local
680 cellSize = mMinCellSize + cellSizeRemaining / cellsRemaining; in flagActionItems()
691 cellSize, cellsRemaining, querySpec, 0); in flagActionItems()
717 cellSize, cellsRemaining, querySpec, 0); in flagActionItems()
DCalendarViewLegacyDelegate.java1383 int cellSize = mWidth / mNumCells; in getBoundsForDate() local
1385 outBounds.left = cellSize * in getBoundsForDate()
1388 outBounds.left = cellSize * (mShowWeekNumber ? i + 1 : i); in getBoundsForDate()
1391 outBounds.right = outBounds.left + cellSize; in getBoundsForDate()
DGridLayout.java1053 int cellSize = locations[span.max] - locations[span.min]; in measureChildrenWithMargins() local
1054 int viewSize = cellSize - getTotalMargin(c, horizontal); in measureChildrenWithMargins()
2808 int getSizeInCell(View view, int viewSize, int cellSize) {
3004 public int getSizeInCell(View view, int viewSize, int cellSize) {
3005 return cellSize;