Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DTraceBuffer.java179 long availableSpace = getAvailableSpace(); in discardOldest() local
181 while (availableSpace < protoLength) { in discardOldest()
188 availableSpace = getAvailableSpace(); in discardOldest()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerSnapAlgorithm.java172 int availableSpace = size - navBarSize - statusBarSize - mDividerSize; in isSplitScreenFeasible() local
173 return availableSpace / 2 >= mMinimalSizeResizableTask; in isSplitScreenFeasible()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java215 int availableSpace = Math.min(mPositionRect.width(), mPositionRect.height()) in calculateMaxBubbles() local
219 int howManyFit = availableSpace / (mBubbleSize + mSpacingBetweenBubbles); in calculateMaxBubbles()
/frameworks/base/core/java/android/widget/
DGallery.java971 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop() local
973 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
DGridView.java984 private boolean determineColumns(int availableSpace) { in determineColumns() argument
993 mNumColumns = (availableSpace + requestedHorizontalSpacing) / in determineColumns()
1016 int spaceLeftOver = availableSpace - (mNumColumns * requestedColumnWidth) in determineColumns()