Home
last modified time | relevance | path

Searched refs:buttonPanel (Results 1 – 4 of 4) 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.java532 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()
541 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()
546 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local
549 setupButtons(buttonPanel); in setupView()
556 final boolean hasButtonPanel = buttonPanel != null in setupView()
557 && buttonPanel.getVisibility() != View.GONE; in setupView()
619 setBackground(a, topPanel, contentPanel, customPanel, buttonPanel, in setupView()
747 protected void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument
752 mButtonPositive = (Button) buttonPanel.findViewById(R.id.button1); in setupButtons()
763 mButtonNegative = (Button) buttonPanel.findViewById(R.id.button2); in setupButtons()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAlertDialogLayout.java79 View buttonPanel = null; in tryOnMeasure() local
94 case R.id.buttonPanel: in tryOnMeasure()
95 buttonPanel = child; in tryOnMeasure()
127 if (buttonPanel != null) { in tryOnMeasure()
128 buttonPanel.measure(widthMeasureSpec, MeasureSpec.UNSPECIFIED); in tryOnMeasure()
129 buttonHeight = resolveMinimumHeight(buttonPanel); in tryOnMeasure()
130 buttonWantsHeight = buttonPanel.getMeasuredHeight() - buttonHeight; in tryOnMeasure()
133 childState = combineMeasuredStates(childState, buttonPanel.getMeasuredState()); in tryOnMeasure()
158 if (buttonPanel != null) { in tryOnMeasure()
169 buttonPanel.measure(widthMeasureSpec, childHeightSpec); in tryOnMeasure()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-q.txt323 Lcom/android/internal/R$id;->buttonPanel:I