Home
last modified time | relevance | path

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

/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertDialogLayout.java115 int usedHeight = getPaddingTop() + getPaddingBottom(); in tryOnMeasure() local
120 usedHeight += topPanel.getMeasuredHeight(); in tryOnMeasure()
131 usedHeight += buttonHeight; in tryOnMeasure()
142 Math.max(0, heightSize - usedHeight), heightMode); in tryOnMeasure()
148 usedHeight += middleHeight; in tryOnMeasure()
152 int remainingHeight = heightSize - usedHeight; in tryOnMeasure()
158 usedHeight -= buttonHeight; in tryOnMeasure()
170 usedHeight += buttonPanel.getMeasuredHeight(); in tryOnMeasure()
177 usedHeight -= middleHeight; in tryOnMeasure()
190 usedHeight += middlePanel.getMeasuredHeight(); in tryOnMeasure()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java116 int usedHeight = getPaddingTop() + getPaddingBottom(); in tryOnMeasure() local
121 usedHeight += topPanel.getMeasuredHeight(); in tryOnMeasure()
132 usedHeight += buttonHeight; in tryOnMeasure()
143 Math.max(0, heightSize - usedHeight), heightMode); in tryOnMeasure()
149 usedHeight += middleHeight; in tryOnMeasure()
153 int remainingHeight = heightSize - usedHeight; in tryOnMeasure()
159 usedHeight -= buttonHeight; in tryOnMeasure()
171 usedHeight += buttonPanel.getMeasuredHeight(); in tryOnMeasure()
178 usedHeight -= middleHeight; in tryOnMeasure()
191 usedHeight += middlePanel.getMeasuredHeight(); in tryOnMeasure()
[all …]
DNotificationOptimizedLinearLayout.java416 final int usedHeight = lp.topMargin + lp.bottomMargin + totalLength; in measureVerticalOptimized() local
418 Math.max(0, availableHeight - usedHeight), childHeightMeasureMode); in measureVerticalOptimized()
DGridLayoutManager.java291 final int usedHeight = childrenBounds.height() + verticalPadding; in setMeasuredDimension() local
292 height = chooseSize(hSpec, usedHeight, getMinimumHeight()); in setMeasuredDimension()
DRecyclerView.java7098 int usedHeight = childrenBounds.height() + getPaddingTop() + getPaddingBottom(); in setMeasuredDimension() local
7100 int height = chooseSize(hSpec, usedHeight, getMinimumHeight()); in setMeasuredDimension()
/frameworks/base/core/java/android/widget/
DLinearLayout.java877 final int usedHeight = totalWeight == 0 ? mTotalLength : 0; in measureVertical() local
879 heightMeasureSpec, usedHeight); in measureVertical()