Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DWorkAdapterProvider.java46 public void onBindView(AllAppsGridAdapter.ViewHolder holder, int position) { in onBindView()
53 public AllAppsGridAdapter.ViewHolder onCreateViewHolder(LayoutInflater layoutInflater, in onCreateViewHolder()
57 return new AllAppsGridAdapter.ViewHolder(layoutInflater.inflate(viewId, parent, false)); in onCreateViewHolder()
70 public int addWorkItems(ArrayList<AllAppsGridAdapter.AdapterItem> adapterItems) { in addWorkItems()
73 AllAppsGridAdapter.AdapterItem disabledCard = new AllAppsGridAdapter.AdapterItem(); in addWorkItems()
77 AllAppsGridAdapter.AdapterItem eduCard = new AllAppsGridAdapter.AdapterItem(); in addWorkItems()
DAllAppsRecyclerView.java109 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH, 1); in updatePoolSize()
110 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ALL_APPS_DIVIDER, 1); in updatePoolSize()
111 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET, 1); in updatePoolSize()
112 pool.setMaxRecycledViews(AllAppsGridAdapter.VIEW_TYPE_ICON, approxRows in updatePoolSize()
116 mViewHeights.put(AllAppsGridAdapter.VIEW_TYPE_ICON, grid.allAppsCellHeightPx); in updatePoolSize()
282 List<AllAppsGridAdapter.AdapterItem> items = mApps.getAdapterItems(); in onUpdateScrollbar()
356 List<AllAppsGridAdapter.AdapterItem> items = mApps.getAdapterItems(); in getCurrentScrollY()
372 List<AllAppsGridAdapter.AdapterItem> items = mApps.getAdapterItems(); in getCurrentScrollY()
373 AllAppsGridAdapter.AdapterItem posItem = position < items.size() in getCurrentScrollY()
379 AllAppsGridAdapter.AdapterItem item = items.get(i); in getCurrentScrollY()
[all …]
DAlphabeticalAppsList.java22 import com.android.launcher3.allapps.AllAppsGridAdapter.AdapterItem;
82 private AllAppsGridAdapter mAdapter;
106 public void setAdapter(AllAppsGridAdapter adapter) { in setAdapter()
341 if (AllAppsGridAdapter.isDividerViewType(item.viewType)) { in refillAdapterItems()
343 } else if (AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
362 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
376 if (!AllAppsGridAdapter.isIconViewType(item.viewType)) { in refillAdapterItems()
DBaseAdapterProvider.java34 public abstract void onBindView(AllAppsGridAdapter.ViewHolder holder, int position); in onBindView()
39 public abstract AllAppsGridAdapter.ViewHolder onCreateViewHolder(LayoutInflater layoutInflater, in onCreateViewHolder()
DAllAppsGridAdapter.java53 public class AllAppsGridAdapter extends class
54 RecyclerView.Adapter<AllAppsGridAdapter.ViewHolder> {
276 public AllAppsGridAdapter(BaseDraggingActivity launcher, LayoutInflater inflater, in AllAppsGridAdapter() method in AllAppsGridAdapter
DAllAppsContainerView.java726 public final AllAppsGridAdapter adapter;
745 adapter = new AllAppsGridAdapter(mLauncher, getLayoutInflater(), appsList, in AdapterHolder()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultSearchAdapterProvider.java29 import com.android.launcher3.allapps.AllAppsGridAdapter;
53 public void onBindView(AllAppsGridAdapter.ViewHolder holder, int position) { in onBindView()
65 public AllAppsGridAdapter.ViewHolder onCreateViewHolder(LayoutInflater layoutInflater, in onCreateViewHolder()
DDefaultAppSearchAlgorithm.java26 import com.android.launcher3.allapps.AllAppsGridAdapter.AdapterItem;
DAllAppsSearchBarController.java34 import com.android.launcher3.allapps.AllAppsGridAdapter.AdapterItem;
DAppsSearchContainerLayout.java41 import com.android.launcher3.allapps.AllAppsGridAdapter.AdapterItem;