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/core/java/com/android/internal/util/ |
D | TraceBuffer.java | 178 long availableSpace = getAvailableSpace(); in discardOldest() local 180 while (availableSpace < protoLength) { in discardOldest() 187 availableSpace = getAvailableSpace(); in discardOldest()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 157 int availableSpace = size - navBarSize - statusBarSize - mDividerSize; in isSplitScreenFeasible() local 158 return availableSpace / 2 >= mMinimalSizeResizableTask; in isSplitScreenFeasible()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 468 float availableSpace = getLayoutEnd() - getActualPaddingStart(); in calculateIconTranslations() 469 float delta = (availableSpace - contentWidth) / 2; in calculateIconTranslations()
|
D | NotificationPanelViewController.java | 859 availableSpace = in computeMaxKeyguardNotifications() local 870 availableSpace -= child.getMinHeight(true /* ignoreTemporaryStates */); in computeMaxKeyguardNotifications() 871 availableSpace -= count == 0 ? 0 : notificationPadding; in computeMaxKeyguardNotifications() 872 availableSpace -= mNotificationStackScroller.calculateGapHeight(previousView, child, in computeMaxKeyguardNotifications() 875 if (availableSpace >= 0 && count < maximum) { in computeMaxKeyguardNotifications() 877 } 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 | 9505 private int findLargestTextSizeWhichFits(RectF availableSpace) { in findLargestTextSizeWhichFits() argument 9517 if (suggestedSizeFitsInSpace(mAutoSizeTextSizesInPx[sizeToTryIndex], availableSpace)) { in findLargestTextSizeWhichFits() 9529 private boolean suggestedSizeFitsInSpace(int suggestedSizeInPx, RectF availableSpace) { in suggestedSizeFitsInSpace() argument 9543 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace() 9563 if (layout.getHeight() > availableSpace.bottom) { in suggestedSizeFitsInSpace()
|