Searched refs:availableSpace (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 87 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/ |
D | WindowTraceBuffer.java | 118 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/ |
D | DividerSnapAlgorithm.java | 153 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/ |
D | NotificationIconContainer.java | 451 float availableSpace = getLayoutEnd() - getActualPaddingStart(); in calculateIconTranslations() 452 float delta = (availableSpace - contentWidth) / 2; in calculateIconTranslations()
|
D | NotificationPanelView.java | 722 float availableSpace = mNotificationStackScroller.getHeight() - minPadding - shelfSize in computeMaxKeyguardNotifications() local 743 availableSpace -= child.getMinHeight(true /* ignoreTemporaryStates */) in computeMaxKeyguardNotifications() 745 if (availableSpace >= 0 && count < maximum) { in computeMaxKeyguardNotifications() 747 } else if (availableSpace > -shelfSize) { in computeMaxKeyguardNotifications()
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 970 int availableSpace = myHeight - mSpinnerPadding.bottom in calculateTop() local 972 childTop = mSpinnerPadding.top + (availableSpace / 2); in calculateTop()
|
D | GridView.java | 983 private boolean determineColumns(int availableSpace) { in determineColumns() argument 992 mNumColumns = (availableSpace + requestedHorizontalSpacing) / in determineColumns() 1015 int spaceLeftOver = availableSpace - (mNumColumns * requestedColumnWidth) in determineColumns()
|
D | TextView.java | 9477 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument 9489 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits() 9501 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument 9515 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace() 9535 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
|