Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DAlertController.java785 final boolean hasButtons = whichButtons != 0; in setupButtons()
786 if (!hasButtons) { in setupButtons()
807 View buttonPanel, boolean hasTitle, boolean hasCustomView, boolean hasButtons) { in setBackground() argument
874 if (hasButtons) { in setBackground()
908 lastLight ? (hasButtons ? bottomMedium : bottomBright) : bottomDark); in setBackground()
950 public void setHasDecor(boolean hasTitle, boolean hasButtons) { in setHasDecor() argument
951 if (!hasButtons || !hasTitle) { in setHasDecor()
955 final int paddingBottom = hasButtons ? getPaddingBottom() : mPaddingBottomNoButtons; in setHasDecor()
/frameworks/support/car/src/main/java/androidx/car/app/
DCarAlertDialog.java247 boolean hasButtons = mPositiveButton.getVisibility() == View.VISIBLE in updateButtonPanelVisibility()
250 int visibility = hasButtons ? View.VISIBLE : View.GONE; in updateButtonPanelVisibility()
260 int buttonPadding = hasButtons ? 0 : mBottomPadding; in updateButtonPanelVisibility()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertController.java822 final boolean hasButtons = whichButtons != 0; in setupButtons()
823 if (!hasButtons) { in setupButtons()
854 public void setHasDecor(boolean hasTitle, boolean hasButtons) { in setHasDecor() argument
855 if (!hasButtons || !hasTitle) { in setHasDecor()
859 final int paddingBottom = hasButtons ? getPaddingBottom() : mPaddingBottomNoButtons; in setHasDecor()