Searched refs:AllAppsGridAdapter (Results 1 – 5 of 5) sorted by relevance
94 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ICON; in asApp()104 item.viewType = AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH; in asEmptySearch()111 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER; in asAllAppsDivider()118 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET; in asMarketSearch()125 item.viewType = AllAppsGridAdapter.VIEW_TYPE_WORK_TAB_FOOTER; in asWorkTabFooter()149 private AllAppsGridAdapter mAdapter;174 public void setAdapter(AllAppsGridAdapter adapter) { in setAdapter()364 if (AllAppsGridAdapter.isDividerViewType(item.viewType)) { in refillAdapterItems()366 } else if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()385 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()[all …]
100 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH, 1); in updatePoolSize()101 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER, 1); in updatePoolSize()102 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET, 1); in updatePoolSize()103 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ICON, approxRows * mNumAppsPerRow); in updatePoolSize()106 mViewHeights.put(AllAppsGridAdapter.VIEW_TYPE_ICON, grid.allAppsCellHeightPx); in updatePoolSize()225 mFastScrollHelper.onSetAdapter((AllAppsGridAdapter) adapter); in setAdapter()350 if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in getCurrentScrollY()
25 public class AllAppsFastScrollHelper implements AllAppsGridAdapter.BindViewCallback {85 public void onSetAdapter(AllAppsGridAdapter adapter) { in onSetAdapter()182 public void onBindView(AllAppsGridAdapter.ViewHolder holder) { in onBindView()
51 public class AllAppsGridAdapter extends RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> { class193 public AllAppsGridAdapter(Launcher launcher, AlphabeticalAppsList apps) { in AllAppsGridAdapter() method in AllAppsGridAdapter
570 public final AllAppsGridAdapter adapter;579 adapter = new AllAppsGridAdapter(mLauncher, appsList); in AdapterHolder()