Searched refs:buttonPanel (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
H A DMicroAlertController.java68 // move buttonPanel into bottom of scrollParent
69 View buttonPanel = mScrollView.findViewById(R.id.buttonPanel);
70 ((ViewGroup) buttonPanel.getParent()).removeView(buttonPanel);
72 new FrameLayout.LayoutParams(buttonPanel.getLayoutParams());
74 buttonPanel.setLayoutParams(buttonParams);
89 scrollParent.addView(buttonPanel);
106 protected void setupButtons(ViewGroup buttonPanel) { argument
107 super.setupButtons(buttonPanel);
[all...]
H A DAlertController.java490 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel);
499 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel);
504 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel);
507 setupButtons(buttonPanel);
514 final boolean hasButtonPanel = buttonPanel != null
515 && buttonPanel.getVisibility() != View.GONE;
577 setBackground(a, topPanel, contentPanel, customPanel, buttonPanel,
699 protected void setupButtons(ViewGroup buttonPanel) { argument
704 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1);
715 mButtonNegative = (Button) buttonPanel
774 setBackground(TypedArray a, View topPanel, View contentPanel, View customPanel, View buttonPanel, boolean hasTitle, boolean hasCustomView, boolean hasButtons) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAlertDialogLayout.java43 * <li>buttonPanel: at least minHeight, at most wrap_content, second
77 View buttonPanel = null;
92 case R.id.buttonPanel:
93 buttonPanel = child;
125 if (buttonPanel != null) {
126 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED);
127 buttonHeight = resolveMinimumHeight(buttonPanel);
128 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight;
131 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState());
156 if (buttonPanel !
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java447 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel);
456 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel);
461 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel);
464 setupButtons(buttonPanel);
471 final boolean hasButtonPanel = buttonPanel != null
472 && buttonPanel.getVisibility() != View.GONE;
714 private void setupButtons(ViewGroup buttonPanel) { argument
719 mButtonPositive = (Button) buttonPanel.findViewById(android.R.id.button1);
730 mButtonNegative = (Button) buttonPanel.findViewById(android.R.id.button2);
742 mButtonNeutral = (Button) buttonPanel
[all...]

Completed in 99 milliseconds