Searched refs:AdapterHolder (Results 1 – 12 of 12) sorted by relevance
20 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.SEARCH;112 protected final SparseArray<AdapterHolder> mAdapters = new SparseArray();119 mAdapters.get(AdapterHolder.SEARCH).mWidgetsRecyclerView;166 mAdapters.put(AdapterHolder.PRIMARY, new AdapterHolder(AdapterHolder.PRIMARY)); in WidgetsFullSheet()167 mAdapters.put(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK)); in WidgetsFullSheet()168 mAdapters.put(AdapterHolder.SEARCH, new AdapterHolder(AdapterHolder.SEARCH)); in WidgetsFullSheet()225 mAdapters.get(AdapterHolder.PRIMARY).setup(findViewById(R.id.primary_widgets_list_view)); in setupViews()226 mAdapters.get(AdapterHolder.SEARCH).setup(findViewById(R.id.search_widgets_list_view)); in setupViews()234 mViewPager.getPageIndicator().setActiveMarker(AdapterHolder.PRIMARY); in setupViews()239 mAdapters.get(AdapterHolder.WORK).setup(findViewById(R.id.work_widgets_list_view)); in setupViews()[all …]
96 mAdapters.get(AdapterHolder.PRIMARY) in setupSheet()98 mAdapters.get(AdapterHolder.WORK) in setupSheet()100 mAdapters.get(AdapterHolder.SEARCH) in setupSheet()335 protected void updateRecyclerViewVisibility(AdapterHolder adapterHolder) { in updateRecyclerViewVisibility()347 mAdapters.get(AdapterHolder.SEARCH).mWidgetsListAdapter.selectFirstHeaderEntry(); in onSearchResults()348 mAdapters.get(AdapterHolder.SEARCH).mWidgetsRecyclerView.scrollToTop(); in onSearchResults()
19 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.MAIN;20 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.SEARCH;138 protected final List<AdapterHolder> mAH;266 mAH.set(AdapterHolder.MAIN, new AdapterHolder(AdapterHolder.MAIN, in initContent()271 mAH.set(AdapterHolder.WORK, new AdapterHolder(AdapterHolder.WORK, in initContent()273 mAH.set(SEARCH, new AdapterHolder(SEARCH, in initContent()512 switchToTab(ActivityAllAppsContainerView.AdapterHolder.MAIN); in resetAndScrollToPrivateSpaceHeader()595 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.MAIN).mRecyclerView); in rebindAdapters()596 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.WORK).mRecyclerView); in rebindAdapters()597 mAllAppsStore.unregisterIconContainer(mAH.get(AdapterHolder.SEARCH).mRecyclerView); in rebindAdapters()[all …]
19 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.MAIN;20 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.SEARCH;21 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.WORK;169 private ActivityAllAppsContainerView.AdapterHolder getAH() { in getAH()
35 import com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder;250 rvType == AdapterHolder.MAIN ? mMainRV in setActiveRV()251 : rvType == AdapterHolder.WORK ? mWorkRV : mSearchRV; in setActiveRV()253 maybeSetTabVisibility(rvType == AdapterHolder.SEARCH ? GONE : VISIBLE); in setActiveRV()
23 import static com.android.launcher3.allapps.ActivityAllAppsContainerView.AdapterHolder.MAIN;263 ActivityAllAppsContainerView<?>.AdapterHolder mainAdapterHolder = mAllApps.mAH.get(MAIN); in addPrivateSpaceDecorator()775 ActivityAllAppsContainerView<?>.AdapterHolder mainAdapterHolder = mAllApps.mAH.get(MAIN); in expandPrivateSpace()795 mAllApps.switchToTab(ActivityAllAppsContainerView.AdapterHolder.MAIN); in exitSearchAndExpand()836 return mAllApps.mAH.get(ActivityAllAppsContainerView.AdapterHolder.MAIN).mRecyclerView; in getMainRecyclerView()
104 ActivityAllAppsContainerView.AdapterHolder.WORK).mRecyclerView; in removeCard()
252 return mAllAppsContainerView.mAH.get(ActivityAllAppsContainerView.AdapterHolder.MAIN) in getRecyclerView()
345 if (currentPage == ActivityAllAppsContainerView.AdapterHolder.WORK) { in logCumulativeVerticalScroll()
87 == ActivityAllAppsContainerView.AdapterHolder.MAIN); in assertOnMainAdapterAToZView()
64 private static final int WORK_PAGE = ActivityAllAppsContainerView.AdapterHolder.WORK;
1678 ActivityAllAppsContainerView.AdapterHolder.WORK);1716 ActivityAllAppsContainerView.AdapterHolder.MAIN);