Home
last modified time | relevance | path

Searched refs:buttonHeight (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java125 int buttonHeight = 0; in tryOnMeasure() local
129 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
130 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
132 usedHeight += buttonHeight; in tryOnMeasure()
159 usedHeight -= buttonHeight; in tryOnMeasure()
164 buttonHeight += heightToGive; in tryOnMeasure()
168 buttonHeight, MeasureSpec.EXACTLY); in tryOnMeasure()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java322 final int buttonHeight = Math.round(height * mButtonHeightFraction); in draw() local
334 mFrame.top + buttonHeight); in draw()
337 mFrame.top += buttonHeight; in draw()
354 final float radius = getRadiusRatio() * (mFrame.height() + buttonHeight); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java538 int buttonHeight = Math.max(getSuggestedMinimumHeight(), mPaddingTop in onMeasure() local
544 setCornerRadius((Button) smartSuggestionButton, ((float) buttonHeight) / 2); in onMeasure()
551 resolveSize(buttonHeight, heightMeasureSpec)); in onMeasure()