Searched refs:mAdapters (Results 1 – 2 of 2) sorted by relevance
98 private final SparseArray<AdapterHolder> mAdapters = new SparseArray(); field in WidgetsFullSheet139 mAdapters.get(AdapterHolder.SEARCH).mWidgetsRecyclerView;168 mAdapters.put(AdapterHolder.PRIMARY, new AdapterHolder(AdapterHolder.PRIMARY)); in WidgetsFullSheet()169 mAdapters.put(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK)); in WidgetsFullSheet()170 mAdapters.put(AdapterHolder.SEARCH, new AdapterHolder(AdapterHolder.SEARCH)); in WidgetsFullSheet()203 mAdapters.get(AdapterHolder.PRIMARY).setup(findViewById(R.id.primary_widgets_list_view)); in onFinishInflate()204 mAdapters.get(AdapterHolder.SEARCH).setup(findViewById(R.id.search_widgets_list_view)); in onFinishInflate()216 mAdapters.get(AdapterHolder.WORK).setup(findViewById(R.id.work_widgets_list_view)); in onFinishInflate()255 AdapterHolder currentAdapterHolder = mAdapters.get(currentActivePage); in onActivePageChanged()257 mAdapters.get(currentActivePage).mWidgetsRecyclerView; in onActivePageChanged()[all …]
35 private ListAdapter[] mAdapters; field in CompositeListAdapter64 mAdapters = new ListAdapter[INITIAL_CAPACITY]; in CompositeListAdapter()71 if (mSize >= mAdapters.length) { in addAdapter()74 System.arraycopy(mAdapters, 0, newAdapters, 0, mSize); in addAdapter()75 mAdapters = newAdapters; in addAdapter()91 mAdapters[mSize] = adapter; in addAdapter()123 int count = mAdapters[i].getCount(); in ensureCacheValid()124 int viewTypeCount = mAdapters[i].getViewTypeCount(); in ensureCacheValid()127 mAllItemsEnabled &= mAdapters[i].areAllItemsEnabled(); in ensureCacheValid()145 return mAdapters[i].getItem(position - start); in getItem()[all …]