Searched refs:availableSpace (Results 1 – 6 of 6) sorted by relevance
624 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument636 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits()648 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument678 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
142 int availableSpace = size - navBarSize - statusBarSize - mDividerSize; in isSplitScreenFeasible() local143 return availableSpace / 2 >= mMinimalSizeResizableTask; in isSplitScreenFeasible()
954 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop() local956 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
963 private boolean determineColumns(int availableSpace) { in determineColumns() argument972 mNumColumns = (availableSpace + requestedHorizontalSpacing) / in determineColumns()995 int spaceLeftOver = availableSpace - (mNumColumns * requestedColumnWidth) in determineColumns()
8317 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument8329 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits()8341 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument8353 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace()8372 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
441 float availableSpace = mNotificationStackScroller.getHeight() - minPadding - shelfSize in computeMaxKeyguardNotifications() local461 availableSpace -= child.getMinHeight() + notificationPadding; in computeMaxKeyguardNotifications()462 if (availableSpace >= 0 && count < maximum) { in computeMaxKeyguardNotifications()464 } else if (availableSpace > -shelfSize) { in computeMaxKeyguardNotifications()