Home
last modified time | relevance | path

Searched refs:listAdapter (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java305 void showEmptyResolverListEmptyState(ResolverListAdapter listAdapter) { in showEmptyResolverListEmptyState() argument
306 final EmptyState emptyState = mEmptyStateProvider.getEmptyState(listAdapter); in showEmptyResolverListEmptyState()
319 userHandleToPageIndex(listAdapter.getUserHandle())); in showEmptyResolverListEmptyState()
324 showEmptyState(listAdapter, emptyState, clickListener); in showEmptyResolverListEmptyState()
434 boolean shouldShowEmptyStateScreen(ResolverListAdapter listAdapter) { in shouldShowEmptyStateScreen() argument
435 int count = listAdapter.getUnfilteredCount(); in shouldShowEmptyStateScreen()
436 return (count == 0 && listAdapter.getPlaceholderCount() == 0) in shouldShowEmptyStateScreen()
437 || (listAdapter.getUserHandle().equals(mWorkProfileUserHandle) in shouldShowEmptyStateScreen()
DResolverActivity.java348 protected PackageMonitor createPackageMonitor(ResolverListAdapter listAdapter) { in createPackageMonitor() argument
352 listAdapter.handlePackagesChanged(); in createPackageMonitor()
1397 public final void onPostListReady(ResolverListAdapter listAdapter, boolean doPostProcessing,
1409 if (mMultiProfilePagerAdapter.shouldShowEmptyStateScreen(listAdapter)) {
1410 mMultiProfilePagerAdapter.showEmptyResolverListEmptyState(listAdapter);
1412 mMultiProfilePagerAdapter.showListView(listAdapter);
1420 maybeCreateHeader(listAdapter);
1422 onListRebuilt(listAdapter, rebuildCompleted);
1426 protected void onListRebuilt(ResolverListAdapter listAdapter, boolean rebuildCompleted) {
2259 private void maybeCreateHeader(ResolverListAdapter listAdapter) {
[all …]
DResolverListAdapter.java862 void onPostListReady(ResolverListAdapter listAdapter, boolean updateUi,
881 void onHandlePackagesChanged(ResolverListAdapter listAdapter);
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java499 final ListAdapter listAdapter = listView.getAdapter(); in findParentViewForSubmenu() local
500 if (listAdapter instanceof HeaderViewListAdapter) { in findParentViewForSubmenu()
501 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) listAdapter; in findParentViewForSubmenu()
506 menuAdapter = (MenuAdapter) listAdapter; in findParentViewForSubmenu()