Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextViewAutoSizeHelper.java624 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument
636 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits()
648 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument
678 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java142 int availableSpace = size - navBarSize - statusBarSize - mDividerSize; in isSplitScreenFeasible() local
143 return availableSpace / 2 >= mMinimalSizeResizableTask; in isSplitScreenFeasible()
/frameworks/base/core/java/android/widget/
DGallery.java954 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop() local
956 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
DGridView.java963 private boolean determineColumns(int availableSpace) { in determineColumns() argument
972 mNumColumns = (availableSpace + requestedHorizontalSpacing) / in determineColumns()
995 int spaceLeftOver = availableSpace - (mNumColumns * requestedColumnWidth) in determineColumns()
DTextView.java8317 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument
8329 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits()
8341 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument
8353 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace()
8372 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java441 float availableSpace = mNotificationStackScroller.getHeight() - minPadding - shelfSize in computeMaxKeyguardNotifications() local
461 availableSpace -= child.getMinHeight() + notificationPadding; in computeMaxKeyguardNotifications()
462 if (availableSpace >= 0 && count < maximum) { in computeMaxKeyguardNotifications()
464 } else if (availableSpace > -shelfSize) { in computeMaxKeyguardNotifications()