Lines Matching refs:customPanel
455 * @param customPanel the custom panel
460 private ViewGroup resolvePanel(@Nullable View customPanel, @Nullable View defaultPanel) {
461 if (customPanel == null) {
479 if (customPanel instanceof ViewStub) {
480 customPanel = ((ViewStub) customPanel).inflate();
483 return (ViewGroup) customPanel;
494 final ViewGroup customPanel = (ViewGroup) parentPanel.findViewById(R.id.customPanel);
495 setupCustomContent(customPanel);
497 final View customTopPanel = customPanel.findViewById(R.id.topPanel);
498 final View customContentPanel = customPanel.findViewById(R.id.contentPanel);
499 final View customButtonPanel = customPanel.findViewById(R.id.buttonPanel);
510 final boolean hasCustomPanel = customPanel != null
511 && customPanel.getVisibility() != View.GONE;
577 setBackground(a, topPanel, contentPanel, customPanel, buttonPanel,
582 private void setupCustomContent(ViewGroup customPanel) {
588 customView = inflater.inflate(mViewLayoutResId, customPanel, false);
609 ((LinearLayout.LayoutParams) customPanel.getLayoutParams()).weight = 0;
612 customPanel.setVisibility(View.GONE);
774 private void setBackground(TypedArray a, View topPanel, View contentPanel, View customPanel,
837 views[pos] = customPanel;