Home
last modified time | relevance | path

Searched refs:buttonPanel (Results 1 – 15 of 15) 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.java495 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()
504 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()
509 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local
512 setupButtons(buttonPanel); in setupView()
519 final boolean hasButtonPanel = buttonPanel != null in setupView()
520 && buttonPanel.getVisibility() != View.GONE; in setupView()
582 setBackground(a, topPanel, contentPanel, customPanel, buttonPanel, in setupView()
704 protected void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
709 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); in setupButtons()
720 mButtonNegative = (Button) buttonPanel.findViewById(R.id.button2); in setupButtons()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAlertDialogLayout.java71 View buttonPanel = null; in tryOnMeasure() local
84 } else if (id == R.id.buttonPanel) { in tryOnMeasure()
85 buttonPanel = child; in tryOnMeasure()
114 if (buttonPanel != null) { in tryOnMeasure()
115 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
116 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
117 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
120 childState = View.combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
145 if (buttonPanel != null) { in tryOnMeasure()
156 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
[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/android/support/v7/app/
DAlertController.java459 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()
468 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()
473 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local
476 setupButtons(buttonPanel); in setupView()
483 final boolean hasButtonPanel = buttonPanel != null in setupView()
484 && buttonPanel.getVisibility() != View.GONE; in setupView()
749 private void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
754 mButtonPositive = (Button) buttonPanel.findViewById(android.R.id.button1); in setupButtons()
765 mButtonNegative = (Button) buttonPanel.findViewById(android.R.id.button2); in setupButtons()
777 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.2.1.txt7428 field public static int buttonPanel;
D23.2.0.txt7427 field public static int buttonPanel;
D23.1.1.txt6985 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;