Home
last modified time | relevance | path

Searched refs:buttonPanel (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DMicroAlertController.java69 View buttonPanel = mScrollView.findViewById(R.id.buttonPanel); in setupContent() local
70 ((ViewGroup) buttonPanel.getParent()).removeView(buttonPanel); in setupContent()
72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams()); in setupContent()
74 buttonPanel.setLayoutParams(buttonParams); in setupContent()
89 scrollParent.addView(buttonPanel); in setupContent()
106 protected void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
107 super.setupButtons(buttonPanel); in setupButtons()
108 if (buttonPanel.getVisibility() == View.GONE) { in setupButtons()
109 buttonPanel.setVisibility(View.INVISIBLE); in setupButtons()
DAlertController.java516 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()
525 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()
530 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local
533 setupButtons(buttonPanel); in setupView()
540 final boolean hasButtonPanel = buttonPanel != null in setupView()
541 && buttonPanel.getVisibility() != View.GONE; in setupView()
603 setBackground(a, topPanel, contentPanel, customPanel, buttonPanel, in setupView()
731 protected void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
736 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); in setupButtons()
747 mButtonNegative = (Button) buttonPanel.findViewById(R.id.button2); in setupButtons()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java77 View buttonPanel = null; in tryOnMeasure() local
92 case R.id.buttonPanel: in tryOnMeasure()
93 buttonPanel = child; in tryOnMeasure()
125 if (buttonPanel != null) { in tryOnMeasure()
126 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
127 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
128 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
131 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
156 if (buttonPanel != null) { in tryOnMeasure()
167 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DAlertDialogLayout.java72 View buttonPanel = null; in tryOnMeasure() local
85 } else if (id == R.id.buttonPanel) { in tryOnMeasure()
86 buttonPanel = child; in tryOnMeasure()
115 if (buttonPanel != null) { in tryOnMeasure()
116 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
117 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
118 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
121 childState = View.combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
146 if (buttonPanel != null) { in tryOnMeasure()
157 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
[all …]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertController.java470 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()
479 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()
484 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local
487 setupButtons(buttonPanel); in setupView()
494 final boolean hasButtonPanel = buttonPanel != null in setupView()
495 && buttonPanel.getVisibility() != View.GONE; in setupView()
758 private void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
763 mButtonPositive = (Button) buttonPanel.findViewById(android.R.id.button1); in setupButtons()
778 mButtonNegative = buttonPanel.findViewById(android.R.id.button2); in setupButtons()
793 mButtonNeutral = (Button) buttonPanel.findViewById(android.R.id.button3); in setupButtons()
[all …]
/frameworks/support/api/
D22.2.0.txt5852 field public static int buttonPanel;
D22.2.1.txt5905 field public static int buttonPanel;
D23.0.0.txt6697 field public static int buttonPanel;
D23.1.1.txt6985 field public static int buttonPanel;
D23.2.1.txt7428 field public static int buttonPanel;
D23.2.0.txt7427 field public static int buttonPanel;
D23.4.0.txt7442 field public static int buttonPanel;
D23.1.0.txt7016 field public static int buttonPanel;
D24.0.0.txt8078 field public static int buttonPanel;
D24.1.0.txt8080 field public static int buttonPanel;
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7844 Lcom/android/internal/R$id;->buttonPanel:I