Home
last modified time | relevance | path

Searched refs:adapterHolder (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DActivityAllAppsContainerView.java685 AdapterHolder adapterHolder = mAH.get(i); in replaceAppsRVContainer() local
686 if (adapterHolder.mRecyclerView != null) { in replaceAppsRVContainer()
687 adapterHolder.mRecyclerView.setLayoutManager(null); in replaceAppsRVContainer()
688 adapterHolder.mRecyclerView.setAdapter(null); in replaceAppsRVContainer()
749 mAH.forEach(adapterHolder -> { in setupHeader()
750 adapterHolder.mPadding.top = padding; in setupHeader()
751 adapterHolder.applyPadding(); in setupHeader()
752 if (adapterHolder.mRecyclerView != null) { in setupHeader()
753 adapterHolder.mRecyclerView.scrollToTop(); in setupHeader()
1223 mAH.forEach(adapterHolder -> { in applyAdapterSideAndBottomPaddings()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java285 protected void updateRecyclerViewVisibility(AdapterHolder adapterHolder) { in updateRecyclerViewVisibility() argument
287 boolean isWidgetAvailable = adapterHolder.mWidgetsListAdapter.hasVisibleEntries(); in updateRecyclerViewVisibility()
288 adapterHolder.mWidgetsRecyclerView.setVisibility(isWidgetAvailable ? VISIBLE : GONE); in updateRecyclerViewVisibility()
290 if (adapterHolder.mAdapterType == AdapterHolder.SEARCH) { in updateRecyclerViewVisibility()
292 } else if (adapterHolder.mAdapterType == AdapterHolder.WORK in updateRecyclerViewVisibility()
899 AdapterHolder adapterHolder = mAdapters.get(mIsInSearchMode in getViewToShowEducationTip() local
906 0, adapterHolder.mWidgetsListAdapter.getItemCount()) in getViewToShowEducationTip()
907 .mapToObj(adapterHolder.mWidgetsRecyclerView:: in getViewToShowEducationTip()
DWidgetsTwoPaneSheet.java335 protected void updateRecyclerViewVisibility(AdapterHolder adapterHolder) { in updateRecyclerViewVisibility() argument
337 boolean isWidgetAvailable = adapterHolder.mWidgetsListAdapter.hasVisibleEntries(); in updateRecyclerViewVisibility()
341 super.updateRecyclerViewVisibility(adapterHolder); in updateRecyclerViewVisibility()