Home
last modified time | relevance | path

Searched refs:AllAppsGridAdapter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java89 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ICON; in asApp()
99 item.viewType = AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH; in asEmptySearch()
106 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER; in asAllAppsDivider()
113 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET; in asMarketSearch()
136 private AllAppsGridAdapter mAdapter;
159 public void setAdapter(AllAppsGridAdapter adapter) { in setAdapter()
338 if (AllAppsGridAdapter.isDividerViewType(item.viewType)) { in refillAdapterItems()
340 } else if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
359 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
373 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
DAllAppsRecyclerView.java40 import com.android.launcher3.allapps.AllAppsGridAdapter.AppsGridLayoutManager;
106 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH, 1); in updatePoolSize()
107 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER, 1); in updatePoolSize()
108 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET, 1); in updatePoolSize()
109 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ICON, approxRows * mNumAppsPerRow); in updatePoolSize()
112 mViewHeights.put(AllAppsGridAdapter.VIEW_TYPE_ICON, grid.allAppsCellHeightPx); in updatePoolSize()
378 if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in getCurrentScrollY()
DAllAppsGridAdapter.java53 public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> { class
191 public AllAppsGridAdapter(BaseDraggingActivity launcher, LayoutInflater inflater, in AllAppsGridAdapter() method in AllAppsGridAdapter
DAllAppsContainerView.java620 public final AllAppsGridAdapter adapter;
633 adapter = new AllAppsGridAdapter(mLauncher, getLayoutInflater(), appsList); in AdapterHolder()