Home
last modified time | relevance | path

Searched refs:remainingHeight (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java151 int remainingHeight = heightSize - usedHeight; in tryOnMeasure() local
159 final int heightToGive = Math.min(remainingHeight, buttonWantsHeight); in tryOnMeasure()
161 remainingHeight -= heightToGive; in tryOnMeasure()
175 if (middlePanel != null && remainingHeight > 0) { in tryOnMeasure()
178 final int heightToGive = remainingHeight; in tryOnMeasure()
179 remainingHeight -= heightToGive; in tryOnMeasure()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAlertDialogLayout.java141 int remainingHeight = heightSize - usedHeight; in tryOnMeasure() local
149 final int heightToGive = Math.min(remainingHeight, buttonWantsHeight); in tryOnMeasure()
151 remainingHeight -= heightToGive; in tryOnMeasure()
165 if (middlePanel != null && remainingHeight > 0) { in tryOnMeasure()
168 final int heightToGive = remainingHeight; in tryOnMeasure()
169 remainingHeight -= heightToGive; in tryOnMeasure()