Searched refs:AllAppsGridAdapter (Results 1 – 5 of 5) sorted by relevance
91 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ICON; in asApp()101 item.viewType = AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH; in asEmptySearch()108 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER; in asAllAppsDivider()115 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET; in asMarketSearch()122 item.viewType = AllAppsGridAdapter.VIEW_TYPE_WORK_TAB_FOOTER; in asWorkTabFooter()145 private AllAppsGridAdapter mAdapter;168 public void setAdapter(AllAppsGridAdapter adapter) { in setAdapter()347 if (AllAppsGridAdapter.isDividerViewType(item.viewType)) { in refillAdapterItems()349 } else if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()368 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()[all …]
37 import com.android.launcher3.allapps.AllAppsGridAdapter.AppsGridLayoutManager;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()232 mFastScrollHelper.onSetAdapter((AllAppsGridAdapter) adapter); in setAdapter()357 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
586 public final AllAppsGridAdapter adapter;595 adapter = new AllAppsGridAdapter(mLauncher, appsList); in AdapterHolder()