Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java81 private final AdapterHolder[] mAH;
121 mAH = new AdapterHolder[2]; in AllAppsContainerView()
122 mAH[AdapterHolder.MAIN] = new AdapterHolder(false /* isWork */); in AllAppsContainerView()
123 mAH[AdapterHolder.WORK] = new AdapterHolder(true /* isWork */); in AllAppsContainerView()
154 for (AdapterHolder holder : mAH) { in onDeviceProfileChanged()
243 return mAH[AdapterHolder.MAIN].recyclerView; in getActiveRecyclerView()
245 return mAH[AdapterHolder.WORK].recyclerView; in getActiveRecyclerView()
368 mAllAppsStore.unregisterIconContainer(mAH[AdapterHolder.MAIN].recyclerView); in rebindAdapters()
369 mAllAppsStore.unregisterIconContainer(mAH[AdapterHolder.WORK].recyclerView); in rebindAdapters()
372 mAH[AdapterHolder.MAIN].setup(mViewPager.getChildAt(0), mPersonalMatcher); in rebindAdapters()
[all …]
DFloatingHeaderView.java195 public void setup(AllAppsContainerView.AdapterHolder[] mAH, boolean tabsHidden) { in setup()
203 mMainRV = setupRV(mMainRV, mAH[AllAppsContainerView.AdapterHolder.MAIN].recyclerView); in setup()
204 mWorkRV = setupRV(mWorkRV, mAH[AllAppsContainerView.AdapterHolder.WORK].recyclerView); in setup()