Searched refs:buttonPanel (Results 1 – 2 of 2) sorted by relevance
72 View buttonPanel = null; in tryOnMeasure() local85 } 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 …]
472 final View defaultButtonPanel = parentPanel.findViewById(R.id.buttonPanel); in setupView()481 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel); in setupView()486 final ViewGroup buttonPanel = resolvePanel(customButtonPanel, defaultButtonPanel); in setupView() local489 setupButtons(buttonPanel); in setupView()496 final boolean hasButtonPanel = buttonPanel != null in setupView()497 && buttonPanel.getVisibility() != View.GONE; in setupView()760 private void setupButtons(ViewGroup buttonPanel) { in setupButtons() argument765 mButtonPositive = (Button) buttonPanel.findViewById(android.R.id.button1); in setupButtons()780 mButtonNegative = buttonPanel.findViewById(android.R.id.button2); in setupButtons()795 mButtonNeutral = (Button) buttonPanel.findViewById(android.R.id.button3); in setupButtons()[all …]