Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSHeaderInfoLayout.kt87 val availableSpace = MeasureSpec.getSize(width) - separatorWidth in onMeasure() constant
88 if (alarmWidth < availableSpace / 2) { in onMeasure()
92 Math.min(ringerWidth, availableSpace - alarmWidth), in onMeasure()
95 } else if (ringerWidth < availableSpace / 2) { in onMeasure()
98 Math.min(alarmWidth, availableSpace - ringerWidth), in onMeasure()
104 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure()
108 MeasureSpec.makeMeasureSpec(availableSpace / 2, MeasureSpec.AT_MOST), in onMeasure()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowTraceBuffer.java118 long availableSpace = getAvailableSpace(); in discardOldest() local
120 while (availableSpace < protoLength) { in discardOldest()
127 availableSpace = getAvailableSpace(); in discardOldest()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java153 int availableSpace = size - navBarSize - statusBarSize - mDividerSize; in isSplitScreenFeasible() local
154 return availableSpace / 2 >= mMinimalSizeResizableTask; in isSplitScreenFeasible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java456 float availableSpace = getLayoutEnd() - getActualPaddingStart(); in calculateIconTranslations()
457 float delta = (availableSpace - contentWidth) / 2; in calculateIconTranslations()
DNotificationPanelView.java867 float availableSpace = mNotificationStackScroller.getHeight() - minPadding - shelfSize in computeMaxKeyguardNotifications() local
888 availableSpace -= child.getMinHeight(true /* ignoreTemporaryStates */) in computeMaxKeyguardNotifications()
890 if (availableSpace >= 0 && count < maximum) { in computeMaxKeyguardNotifications()
892 } else if (availableSpace > -shelfSize) { in computeMaxKeyguardNotifications()
/frameworks/base/core/java/android/widget/
DGallery.java970 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop() local
972 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
DGridView.java983 private boolean determineColumns(int availableSpace) { in determineColumns() argument
992 mNumColumns = (availableSpace + requestedHorizontalSpacing) / in determineColumns()
1015 int spaceLeftOver = availableSpace - (mNumColumns * requestedColumnWidth) in determineColumns()
DTextView.java9482 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument
9494 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits()
9506 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument
9520 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace()
9540 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()