Home
last modified time | relevance | path

Searched refs:totalHeight (Results 1 – 17 of 17) 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()
125 totalHeight = newHeight; in onMeasure()
142 Math.max(getSuggestedMinimumHeight(), totalHeight)); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java72 int totalHeight = 0; in onMeasure() local
91 totalHeight += maxHeight; in onMeasure()
93 totalHeight += mVerticalSpacing; in onMeasure()
97 setMeasuredDimension(width, resolveSizeAndState(totalHeight, heightMeasureSpec, 0)); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DDefaultClockController.java148 public int getPreferredY(int totalHeight) { in getPreferredY() argument
149 return totalHeight / 2; in getPreferredY()
DAnalogClockController.java162 public int getPreferredY(int totalHeight) { in getPreferredY() argument
DBubbleClockController.java162 public int getPreferredY(int totalHeight) { in getPreferredY() argument
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DNumPadKey.java146 int totalHeight = digitHeight + klondikeHeight; in onLayout() local
147 int top = getHeight() / 2 - totalHeight / 2; in onLayout()
DKeyguardClockSwitch.java378 int getPreferredY(int totalHeight) { in getPreferredY() argument
380 return mClockPlugin.getPreferredY(totalHeight); in getPreferredY()
382 return totalHeight / 2; in getPreferredY()
DKeyguardStatusView.java286 public int getClockPreferredY(int totalHeight) { in getClockPreferredY() argument
287 return mClockView.getPreferredY(totalHeight); in getClockPreferredY()
/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/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.java158 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
167 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DTableLayout.java455 int heightMeasureSpec, int totalHeight) { in measureChildBeforeLayout() argument
463 widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
DLinearLayout.java1551 int totalHeight) { in measureChildBeforeLayout() argument
1553 heightMeasureSpec, totalHeight); in measureChildBeforeLayout()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DClockPlugin.java80 int getPreferredY(int totalHeight); in getPreferredY() argument
/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/
DHardwareUiLayout.java491 int totalHeight; in updatePaddingAndGravityIfTooTall() local
518 totalHeight = defaultTopPadding + viewsTotalHeight + separatedViewTopMargin; in updatePaddingAndGravityIfTooTall()
519 if (totalHeight >= screenHeight) { in updatePaddingAndGravityIfTooTall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java808 int totalHeight = getHeight(); in positionClockAndNotifications() local
810 int clockPreferredY = mKeyguardStatusView.getClockPreferredY(totalHeight); in positionClockAndNotifications()
817 totalHeight - bottomPadding, in positionClockAndNotifications()
820 totalHeight, in positionClockAndNotifications()
2186 float totalHeight = Math.max( in calculatePanelHeightQsExpanded() local
2190 if (totalHeight > mNotificationStackScroller.getHeight()) { in calculatePanelHeightQsExpanded()
2193 totalHeight = Math.max(fullyCollapsedHeight, mNotificationStackScroller.getHeight()); in calculatePanelHeightQsExpanded()
2195 return (int) totalHeight; in calculatePanelHeightQsExpanded()