Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapter.java609 protected boolean rebuildTab(ListAdapterT activeListAdapter, boolean doPostProcessing) { in rebuildTab() argument
610 if (shouldSkipRebuild(activeListAdapter)) { in rebuildTab()
611 activeListAdapter.postListReadyRunnable(doPostProcessing, /* rebuildCompleted */ true); in rebuildTab()
614 return activeListAdapter.rebuildList(doPostProcessing); in rebuildTab()
617 private boolean shouldSkipRebuild(ListAdapterT activeListAdapter) { in shouldSkipRebuild() argument
618 EmptyState emptyState = mEmptyStateProvider.getEmptyState(activeListAdapter); in shouldSkipRebuild()
660 ListAdapterT activeListAdapter, in showEmptyState() argument
664 getDescriptorForUserHandle(activeListAdapter.getUserHandle()); in showEmptyState()
666 activeListAdapter.markTabLoaded(); in showEmptyState()
677 public void showListView(ListAdapterT activeListAdapter) { in showListView() argument
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java834 ResolverListAdapter activeListAdapter =
843 if (activeListAdapter.isTabLoaded()
844 && mMultiProfilePagerAdapter.shouldShowEmptyStateScreen(activeListAdapter)
1533 ResolverListAdapter activeListAdapter =
1543 if (!activeListAdapter.isTabLoaded() || !inactiveListAdapter.isTabLoaded()) {
1547 if ((activeListAdapter.getUnfilteredCount() != 1)
1552 TargetInfo activeProfileTarget = activeListAdapter.targetInfoForPosition(0, false);
1571 .setBoolean(activeListAdapter.getUserHandle()
1592 ResolverListAdapter activeListAdapter =
1602 if (!activeListAdapter.isTabLoaded() || !inactiveListAdapter.isTabLoaded()) {
[all …]
DChooserActivity.java893 ResolverListAdapter activeListAdapter = in maybeAutolaunchIfCrossProfileSupported() local
903 if (!activeListAdapter.isTabLoaded() || !inactiveListAdapter.isTabLoaded()) { in maybeAutolaunchIfCrossProfileSupported()
907 if ((activeListAdapter.getUnfilteredCount() != 1) in maybeAutolaunchIfCrossProfileSupported()
912 TargetInfo activeProfileTarget = activeListAdapter.targetInfoForPosition(0, false); in maybeAutolaunchIfCrossProfileSupported()
931 .setBoolean(activeListAdapter.getUserHandle() in maybeAutolaunchIfCrossProfileSupported()
1286 ChooserListAdapter activeListAdapter = in setupViewVisibilities() local
1288 if (!mChooserMultiProfilePagerAdapter.shouldShowEmptyStateScreen(activeListAdapter)) { in setupViewVisibilities()
1289 addUseDifferentAppLabelIfNecessary(activeListAdapter); in setupViewVisibilities()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapterTest.kt79 assertThat(pagerAdapter.activeListAdapter).isSameInstanceAs(personalListAdapter) in <lambda>()
122 assertThat(pagerAdapter.activeListAdapter).isSameInstanceAs(personalListAdapter) in <lambda>()
169 assertThat(pagerAdapter.activeListAdapter).isSameInstanceAs(workListAdapter) in <lambda>()