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.java82 int totalHeight; in onMeasure() local
89 totalHeight = mPaddingTop + mPaddingBottom; in onMeasure()
94 for (int i = count - 1; i >= 0 && totalHeight < targetHeight; i--) { in onMeasure()
108 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, totalHeight in onMeasure()
112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
123 totalHeight = newHeight; in onMeasure()
139 Math.max(getSuggestedMinimumHeight(), totalHeight)); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java76 int totalHeight = 0; in onMeasure() local
95 totalHeight += maxHeight; in onMeasure()
97 totalHeight += mVerticalSpacing; in onMeasure()
101 setMeasuredDimension(width, resolveSizeAndState(totalHeight, heightMeasureSpec, 0)); in onMeasure()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DPageIndicatorView.java580 int totalHeight; in onMeasure() local
582 totalHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
588 totalHeight = contentHeight + getPaddingTop() + getPaddingBottom(); in onMeasure()
592 resolveSizeAndState(totalHeight, heightMeasureSpec, 0)); in onMeasure()
/frameworks/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
DThemePreviewLayout.java160 int totalHeight = firstColumnItems * itemHeight + verticalMarginsTotalHeight + in onMeasure() local
164 resolveSize(totalHeight, heightMeasureSpec)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java145 int totalHeight = digitHeight + klondikeHeight; in onLayout() local
146 int top = getHeight() / 2 - totalHeight / 2; in onLayout()
/frameworks/base/core/java/android/widget/
DTableRow.java192 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
220 lp .bottomMargin + totalHeight, lp.height); in measureChildBeforeLayout()
247 totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTabWidget.java153 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
162 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTableLayout.java455 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DLinearLayout.java1534 int totalHeight) { in measureChildBeforeLayout() argument
1536 heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
/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/statusbar/phone/
DNotificationPanelView.java499 int totalHeight = getHeight(); in positionClockAndNotifications() local
503 totalHeight - bottomPadding, in positionClockAndNotifications()
506 totalHeight, in positionClockAndNotifications()
1647 float totalHeight = Math.max( in calculatePanelHeightQsExpanded() local
1651 if (totalHeight > mNotificationStackScroller.getHeight()) { in calculatePanelHeightQsExpanded()
1654 totalHeight = Math.max(fullyCollapsedHeight, mNotificationStackScroller.getHeight()); in calculatePanelHeightQsExpanded()
1656 return (int) totalHeight; in calculatePanelHeightQsExpanded()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRowView.java190 int totalHeight = getMode() == MODE_SMALL ? getSmallHeight() : getActualHeight(); in onMeasure() local
205 int totalHeightSpec = MeasureSpec.makeMeasureSpec(totalHeight, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DLinearLayoutCompat.java1376 int totalHeight) { in measureChildBeforeLayout() argument
1378 heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DMediaControlView2.java1551 int totalHeight = adapter.getCount() * mSettingsItemHeight; in displaySettingsWindow() local
1554 mSettingsWindowMargin - totalHeight, Gravity.BOTTOM | Gravity.RIGHT); in displaySettingsWindow()
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DMediaControlView2Impl.java1410 int totalHeight = adapter.getCount() * itemHeight; in displaySettingsWindow() local
1413 mSettingsWindowMargin - totalHeight, Gravity.BOTTOM | Gravity.RIGHT); in displaySettingsWindow()