Searched refs:BaseAllAppsAdapter (Results 1 – 15 of 15) sorted by relevance
24 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_ICON;25 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_HEADER;26 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_SYS_APPS_DIV…158 public int addPrivateSpaceHeader(ArrayList<BaseAllAppsAdapter.AdapterItem> adapterItems) { in addPrivateSpaceHeader()159 adapterItems.add(new BaseAllAppsAdapter.AdapterItem(VIEW_TYPE_PRIVATE_SPACE_HEADER)); in addPrivateSpaceHeader()165 public int addSystemAppsDivider(List<BaseAllAppsAdapter.AdapterItem> adapterItems) { in addSystemAppsDivider()166 adapterItems.add(new BaseAllAppsAdapter in addSystemAppsDivider()173 public void addPrivateSpaceInstallAppButton(List<BaseAllAppsAdapter.AdapterItem> adapterItems) { in addPrivateSpaceInstallAppButton()188 BaseAllAppsAdapter.AdapterItem item = new BaseAllAppsAdapter.AdapterItem(VIEW_TYPE_ICON); in addPrivateSpaceInstallAppButton()429 List<BaseAllAppsAdapter.AdapterItem> appListAdapterItems = in collapse()[all …]
35 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;100 private BaseAllAppsAdapter<T> mAdapter;136 public void setAdapter(BaseAllAppsAdapter<T> adapter) { in setAdapter()310 if (BaseAllAppsAdapter.isDividerViewType(item.viewType) in updateAdapterItems()311 || BaseAllAppsAdapter.isPrivateSpaceHeaderView(item.viewType) in updateAdapterItems()312 || BaseAllAppsAdapter.isPrivateSpaceSysAppsDividerView(item.viewType)) { in updateAdapterItems()314 } else if (BaseAllAppsAdapter.isIconViewType(item.viewType)) { in updateAdapterItems()
103 List<BaseAllAppsAdapter.AdapterItem> allAppsAdapters = allAppsRecyclerView.getApps() in onProgressUpdated()108 BaseAllAppsAdapter.AdapterItem adapterItemAtPosition = in onProgressUpdated()213 List<BaseAllAppsAdapter.AdapterItem> allAppsAdapters = in onChildAttached()291 BaseAllAppsAdapter.AdapterItem adapterItem, int numberOfItemsAnimated) { in setAdjustedAdapterItemDecorationBackgroundAlpha()
22 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_DISABLED_CARD;23 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_EDU_CARD;43 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
54 public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> extends class55 RecyclerView.Adapter<BaseAllAppsAdapter.ViewHolder> {175 public BaseAllAppsAdapter(T activityContext, LayoutInflater inflater, in BaseAllAppsAdapter() method in BaseAllAppsAdapter
49 BaseAllAppsAdapter.AdapterItem adapterItem = mAppsList.getAdapterItems().get(position); in onDraw()
21 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_HEADER;22 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_DISABLED_CARD;23 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_WORK_EDU_CARD;78 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;900 protected BaseAllAppsAdapter<T> createAdapter(AlphabeticalAppsList<T> appsList) { in createAdapter()1536 public final BaseAllAppsAdapter<T> mAdapter;
44 BaseAllAppsAdapter<T> {
24 import com.android.launcher3.allapps.BaseAllAppsAdapter in <lambda>()71 val adapter: RecyclerView.Adapter<BaseAllAppsAdapter.ViewHolder> = in <lambda>()73 BaseAllAppsAdapter<T>( in <lambda>()94 adapter.createViewHolder(activeRv, BaseAllAppsAdapter.VIEW_TYPE_ICON) in <lambda>()139 val existingPreinflateCount = getRecycledViewCount(BaseAllAppsAdapter.VIEW_TYPE_ICON) in <lambda>()
21 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_HEADER;22 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_SYS_APPS_DIV…147 List<BaseAllAppsAdapter.AdapterItem> psApps = mAlphabeticalAppsList.getAdapterItems() in privateProfileEnabled_privateProfileAppsShownWithSeparator()323 private int addPrivateSpaceHeader(List<BaseAllAppsAdapter.AdapterItem> adapterItemList) { in addPrivateSpaceHeader()324 adapterItemList.add(new BaseAllAppsAdapter.AdapterItem(VIEW_TYPE_PRIVATE_SPACE_HEADER)); in addPrivateSpaceHeader()328 private int addSystemAppsDivider(List<BaseAllAppsAdapter.AdapterItem> adapterItemList) { in addSystemAppsDivider()329 adapterItemList.add(new BaseAllAppsAdapter in addSystemAppsDivider()
18 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_EMPTY_SEARCH;27 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
26 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
33 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
41 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
21 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_PRIVATE_SPACE_HEADER;438 private int addPrivateSpaceHeader(List<BaseAllAppsAdapter.AdapterItem> adapterItemList) { in addPrivateSpaceHeader()439 BaseAllAppsAdapter.AdapterItem privateSpaceHeader = in addPrivateSpaceHeader()440 new BaseAllAppsAdapter.AdapterItem(VIEW_TYPE_PRIVATE_SPACE_HEADER); in addPrivateSpaceHeader()