Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java20 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 …]
DWidgetsTwoPaneSheet.java96 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()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DActivityAllAppsContainerView.java19 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 …]
DWorkProfileManager.java19 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()
DFloatingHeaderView.java35 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()
DPrivateProfileManager.java23 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()
DWorkEduCard.java104 ActivityAllAppsContainerView.AdapterHolder.WORK).mRecyclerView; in removeCard()
DRecyclerViewAnimationController.java252 return mAllAppsContainerView.mAH.get(ActivityAllAppsContainerView.AdapterHolder.MAIN) in getRecyclerView()
DAllAppsRecyclerView.java345 if (currentPage == ActivityAllAppsContainerView.AdapterHolder.WORK) { in logCumulativeVerticalScroll()
/packages/apps/Launcher3/tests/src/com/android/launcher3/
DLauncherIntentTest.java87 == ActivityAllAppsContainerView.AdapterHolder.MAIN); in assertOnMainAdapterAToZView()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplWorkProfileTest.java64 private static final int WORK_PAGE = ActivityAllAppsContainerView.AdapterHolder.WORK;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1678 ActivityAllAppsContainerView.AdapterHolder.WORK);
1716 ActivityAllAppsContainerView.AdapterHolder.MAIN);