Home
last modified time | relevance | path

Searched refs:mHeaderViewInfos (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DHeaderViewListAdapter.java38 ArrayList<ListView.FixedViewInfo> mHeaderViewInfos; field in HeaderViewListAdapter
57 mHeaderViewInfos = EMPTY_INFO_LIST; in HeaderViewListAdapter()
59 mHeaderViewInfos = headerViewInfos; in HeaderViewListAdapter()
69 areAllListInfosSelectable(mHeaderViewInfos) in HeaderViewListAdapter()
74 return mHeaderViewInfos.size(); in getHeadersCount()
97 for (int i = 0; i < mHeaderViewInfos.size(); i++) { in removeHeader()
98 ListView.FixedViewInfo info = mHeaderViewInfos.get(i); in removeHeader()
100 mHeaderViewInfos.remove(i); in removeHeader()
103 areAllListInfosSelectable(mHeaderViewInfos) in removeHeader()
120 areAllListInfosSelectable(mHeaderViewInfos) in removeFooter()
[all …]
DListView.java115 private ArrayList<FixedViewInfo> mHeaderViewInfos = Lists.newArrayList(); field in ListView
276 mHeaderViewInfos.add(info); in addHeaderView()
282 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, mAdapter); in addHeaderView()
313 return mHeaderViewInfos.size(); in getHeaderViewsCount()
324 if (mHeaderViewInfos.size() > 0) { in removeHeaderView()
332 removeFixedViewInfo(v, mHeaderViewInfos); in removeHeaderView()
376 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, mAdapter); in addFooterView()
478 if (mHeaderViewInfos.size() > 0|| mFooterViewInfos.size() > 0) { in setAdapter()
479 mAdapter = new HeaderViewListAdapter(mHeaderViewInfos, mFooterViewInfos, adapter); in setAdapter()
531 clearRecycledState(mHeaderViewInfos); in resetList()
[all …]