Home
last modified time | relevance | path

Searched refs:BaseAllAppsAdapter (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DPrivateProfileManager.java24 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 …]
DAlphabeticalAppsList.java35 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()
DRecyclerViewAnimationController.java103 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()
DWorkProfileManager.java22 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;
DBaseAllAppsAdapter.java54 public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> extends class
55 RecyclerView.Adapter<BaseAllAppsAdapter.ViewHolder> {
175 public BaseAllAppsAdapter(T activityContext, LayoutInflater inflater, in BaseAllAppsAdapter() method in BaseAllAppsAdapter
DPrivateAppsSectionDecorator.java49 BaseAllAppsAdapter.AdapterItem adapterItem = mAppsList.getAdapterItems().get(position); in onDraw()
DActivityAllAppsContainerView.java21 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;
DAllAppsGridAdapter.java44 BaseAllAppsAdapter<T> {
/packages/apps/Launcher3/src/com/android/launcher3/recyclerview/
DAllAppsRecyclerViewPool.kt24 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>()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/allapps/
DAlphabeticalAppsListTest.java21 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()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DDefaultAppSearchAlgorithm.java18 import static com.android.launcher3.allapps.BaseAllAppsAdapter.VIEW_TYPE_EMPTY_SEARCH;
27 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
DAllAppsSearchUiDelegate.java26 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
DAllAppsSearchBarController.java33 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
DAppsSearchContainerLayout.java41 import com.android.launcher3.allapps.BaseAllAppsAdapter.AdapterItem;
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DPrivateSpaceHeaderViewTest.java21 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()