Home
last modified time | relevance | path

Searched refs:headerView (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java66 final View headerView = getHeader(); in onLayout() local
67 if (headerView != null && headerView.getHeight() == 0) { in onLayout()
68 headerView.layout(0, -headerView.getMeasuredHeight(), in onLayout()
69 headerView.getMeasuredWidth(), 0); in onLayout()
97 final View headerView = getHeader(); in draw() local
100 final View drawTarget = headerView != null ? headerView : mSticky; in draw()
102 final int drawOffset = headerView != null ? mSticky.getTop() : 0; in draw()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DRowContainerView.java56 public void addHeaderView(View headerView) { in addHeaderView() argument
57 if (mHeaderDock.indexOfChild(headerView) < 0) { in addHeaderView()
58 mHeaderDock.addView(headerView, 0); in addHeaderView()
62 public void removeHeaderView(View headerView) { in removeHeaderView() argument
63 if (mHeaderDock.indexOfChild(headerView) >= 0) { in removeHeaderView()
64 mHeaderDock.removeView(headerView); in removeHeaderView()
DDividerPresenter.java46 View headerView = LayoutInflater.from(parent.getContext()) in onCreateViewHolder() local
49 return new ViewHolder(headerView); in onCreateViewHolder()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DMenuDialogHelper.java66 final View headerView = menu.getHeaderView(); in show() local
67 if (headerView != null) { in show()
69 builder.setCustomTitle(headerView); in show()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuDialogHelper.java63 final View headerView = menu.getHeaderView(); in show() local
64 if (headerView != null) { in show()
66 builder.setCustomTitle(headerView); in show()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DHeadersSupportFragment.java131 View headerView = viewHolder.getViewHolder().view;
132 headerView.setOnClickListener(new View.OnClickListener() {
145 headerView.addOnLayoutChangeListener(sLayoutChangeListener);
DHeadersFragment.java140 View headerView = viewHolder.getViewHolder().view;
141 headerView.setOnClickListener(new View.OnClickListener() {
154 headerView.addOnLayoutChangeListener(sLayoutChangeListener);