Searched refs:listAdapter (Results 1 – 4 of 4) sorted by relevance
305 void showEmptyResolverListEmptyState(ResolverListAdapter listAdapter) { in showEmptyResolverListEmptyState() argument306 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() argument435 int count = listAdapter.getUnfilteredCount(); in shouldShowEmptyStateScreen()436 return (count == 0 && listAdapter.getPlaceholderCount() == 0) in shouldShowEmptyStateScreen()437 || (listAdapter.getUserHandle().equals(mWorkProfileUserHandle) in shouldShowEmptyStateScreen()
348 protected PackageMonitor createPackageMonitor(ResolverListAdapter listAdapter) { in createPackageMonitor() argument352 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 …]
862 void onPostListReady(ResolverListAdapter listAdapter, boolean updateUi,881 void onHandlePackagesChanged(ResolverListAdapter listAdapter);
499 final ListAdapter listAdapter = listView.getAdapter(); in findParentViewForSubmenu() local500 if (listAdapter instanceof HeaderViewListAdapter) { in findParentViewForSubmenu()501 final HeaderViewListAdapter headerAdapter = (HeaderViewListAdapter) listAdapter; in findParentViewForSubmenu()506 menuAdapter = (MenuAdapter) listAdapter; in findParentViewForSubmenu()