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

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

Completed in 127 milliseconds