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.java123 int buttonHeight = 0; in tryOnMeasure() local
127 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
128 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
130 usedHeight += buttonHeight; in tryOnMeasure()
157 usedHeight -= buttonHeight; in tryOnMeasure()
162 buttonHeight += heightToGive; in tryOnMeasure()
166 buttonHeight, MeasureSpec.EXACTLY); in tryOnMeasure()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAlertDialogLayout.java113 int buttonHeight = 0; in tryOnMeasure() local
117 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
118 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
120 usedHeight += buttonHeight; in tryOnMeasure()
147 usedHeight -= buttonHeight; in tryOnMeasure()
152 buttonHeight += heightToGive; in tryOnMeasure()
156 buttonHeight, MeasureSpec.EXACTLY); in tryOnMeasure()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java315 final int buttonHeight = Math.round(height * mButtonHeightFraction); in draw() local
327 mFrame.top + buttonHeight); in draw()
330 mFrame.top += buttonHeight; in draw()
347 final float radius = getRadiusRatio() * (mFrame.height() + buttonHeight); in draw()