Home
last modified time | relevance | path

Searched refs:totalHeight (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java92 int totalHeight; in onMeasure() local
108 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure()
118 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure()
141 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, totalHeight in onMeasure()
145 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
164 previousTotalHeight = totalHeight; in onMeasure()
166 totalHeight = newHeight; in onMeasure()
193 Math.max(getSuggestedMinimumHeight(), totalHeight)); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java82 int totalHeight = 0; in onMeasure() local
101 totalHeight += maxHeight; in onMeasure()
103 totalHeight += mVerticalSpacing; in onMeasure()
107 setMeasuredDimension(width, resolveSizeAndState(totalHeight, heightMeasureSpec, 0)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDialogMeasureAdapter.java116 int totalHeight = 0; in onMeasureInternalPortrait() local
164 totalHeight += child.getMeasuredHeight(); in onMeasureInternalPortrait()
172 totalHeight += measureDescription(description, displayHeight, width, totalHeight); in onMeasureInternalPortrait()
174 totalHeight += measureDescription(contentView, displayHeight, width, totalHeight); in onMeasureInternalPortrait()
177 return new AuthDialog.LayoutParams(width, totalHeight); in onMeasureInternalPortrait()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
DSplitBounds.java74 float totalHeight = rightBottomBounds.bottom - leftTopBounds.top; in SplitBounds() local
76 topTaskPercent = leftTopBounds.height() / totalHeight; in SplitBounds()
78 dividerHeightPercent = visualDividerBounds.height() / totalHeight; in SplitBounds()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/
DGrids.kt173 var totalHeight = totalVerticalSpacingBetweenChildren in Grid() variable
175 totalHeight += sizeCache.rowHeights[row] in Grid()
178 layout(totalWidth, totalHeight) { in Grid()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DBiometricPromptLayout.java98 int totalHeight = 0; in onMeasureInternal() local
135 totalHeight += child.getMeasuredHeight(); in onMeasureInternal()
139 final AuthDialog.LayoutParams params = new AuthDialog.LayoutParams(width, totalHeight); in onMeasureInternal()
/frameworks/base/core/java/android/widget/
DTableRow.java193 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
221 lp .bottomMargin + totalHeight, lp.height); in measureChildBeforeLayout()
248 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTabWidget.java175 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
184 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTableLayout.java455 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DLinearLayout.java1607 int totalHeight) { in measureChildBeforeLayout() argument
1609 heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformSlider.kt287 bottom = drawingState.totalHeight, in TrackBackground()
365 totalHeight = desiredHeight.toFloat(), in measure()
378 totalHeight = desiredHeight.toFloat(), in measure()
403 val totalHeight: Float = 0f, constant in com.android.compose.DrawingState
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java200 int totalHeight = digitHeight + klondikeHeight; in onLayout() local
201 int top = getHeight() / 2 - totalHeight / 2; in onLayout()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalContainer.kt340 val totalHeight = size.height + 2 * offsetPx in animatedRadialGradientBackground() constant
345 y = totalHeight * centerFraction - offsetPx, in animatedRadialGradientBackground()
350 y = totalHeight * (1f - centerFraction) - offsetPx, in animatedRadialGradientBackground()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java989 final int totalHeight = mRootView.getMeasuredHeight(); in runEnterAnimation() local
1003 final float scaleY = (float) mAnimationStartHeight / totalHeight; in runEnterAnimation()
1009 totalHeight, scale); in runEnterAnimation()
1086 final int totalHeight = mRootView.getMeasuredHeight(); in runExitAnimation() local
1093 final float scaleY = (float) mAnimationStartHeight / totalHeight; in runExitAnimation()
1099 totalHeight, scale); in runExitAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java1447 float totalHeight = Math.max(maxQsHeight, mBarState == KEYGUARD ? stackScrollerPadding : 0) in calculatePanelHeightExpanded() local
1450 if (totalHeight > mNotificationStackScrollLayoutController.getHeight()) { in calculatePanelHeightExpanded()
1454 totalHeight = Math.max(fullyCollapsedHeight, in calculatePanelHeightExpanded()
1457 return (int) totalHeight; in calculatePanelHeightExpanded()