/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/profiles/ |
D | MultiProfilePagerAdapterTest.kt | 26 import com.android.intentresolver.ResolverListAdapter in <lambda>() 51 mock<ResolverListAdapter> { on { userHandle } doReturn PERSONAL_USER_HANDLE } in <lambda>() 54 { listAdapter: ResolverListAdapter -> listAdapter }, in <lambda>() 55 { listView: ListView, bindAdapter: ResolverListAdapter -> in <lambda>() 90 mock<ResolverListAdapter> { on { userHandle } doReturn PERSONAL_USER_HANDLE } in <lambda>() 92 mock<ResolverListAdapter> { on { userHandle } doReturn WORK_USER_HANDLE } in <lambda>() 95 { listAdapter: ResolverListAdapter -> listAdapter }, in <lambda>() 96 { listView: ListView, bindAdapter: ResolverListAdapter -> in <lambda>() 137 mock<ResolverListAdapter> { on { userHandle } doReturn PERSONAL_USER_HANDLE } in <lambda>() 139 mock<ResolverListAdapter> { on { userHandle } doReturn WORK_USER_HANDLE } in <lambda>() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/ |
D | CompositeEmptyStateProviderTest.kt | 19 import com.android.intentresolver.ResolverListAdapter 25 val listAdapter = mock<ResolverListAdapter>() 32 override fun getEmptyState(listAdapter: ResolverListAdapter) = emptyState1 in getEmptyState() 36 override fun getEmptyState(listAdapter: ResolverListAdapter) = emptyState2 in getEmptyState() 40 override fun getEmptyState(listAdapter: ResolverListAdapter) = null in getEmptyState()
|
D | NoCrossProfileEmptyStateProviderTest.kt | 21 import com.android.intentresolver.ResolverListAdapter 55 mock<ResolverListAdapter> { in <lambda>() 61 mock<ResolverListAdapter> { in <lambda>() 67 mock<ResolverListAdapter> { in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ChooserListAdapterTest.kt | 99 val viewHolder = ResolverListAdapter.ViewHolder(view) in testDirectShareTargetLoadingIconIsStarted() 110 val viewHolderOne = ResolverListAdapter.ViewHolder(view) in onBindView_DirectShareTargetIconAndLabelLoadedOnlyOnce() 115 val viewHolderTwo = ResolverListAdapter.ViewHolder(view) in onBindView_DirectShareTargetIconAndLabelLoadedOnlyOnce() 126 val viewHolderOne = ResolverListAdapter.ViewHolder(view) in onBindView_AppTargetIconAndLabelLoadedOnlyOnce() 138 val viewHolderTwo = ResolverListAdapter.ViewHolder(view) in onBindView_AppTargetIconAndLabelLoadedOnlyOnce() 149 val viewHolder = ResolverListAdapter.ViewHolder(view) in onBindView_contentDescription() 160 val viewHolder = ResolverListAdapter.ViewHolder(view) in onBindView_contentDescriptionPinned() 171 val viewHolder = ResolverListAdapter.ViewHolder(view) in onBindView_displayInfoContentDescriptionPinned()
|
D | ResolverListAdapterTest.kt | 28 import com.android.intentresolver.ResolverListAdapter.ResolverListCommunicator 85 ResolverListAdapter( in test_oneTargetNoLastChosen_oneTargetInAdapter() 135 ResolverListAdapter( in test_oneTargetThatWasLastChosen_NoTargetsInAdapter() 184 ResolverListAdapter( in test_oneTargetLastChosenNotInTheList_oneTargetInAdapter() 235 ResolverListAdapter( in test_oneTargetThatWasLastChosenFilteringDisabled_oneTargetInAdapter() 312 ResolverListAdapter( in testTwoTargets() 386 ResolverListAdapter( in test_twoTargetsLastChosenNotInTheList_twoTargetsInAdapter() 454 ResolverListAdapter( in test_twoTargetsWithOtherProfileAndLastChosen_oneTargetInAdapter() 514 ResolverListAdapter( in test_resultsSorted_appearInSortedOrderInAdapter() 573 ResolverListAdapter( in test_ineligibleActivityFilteredOut_filteredComponentNotPresentInAdapter() [all …]
|
D | FakeResolverListCommunicator.kt | 24 ResolverListAdapter.ResolverListCommunicator { 36 listAdapter: ResolverListAdapter?, in onPostListReady() 49 override fun onHandlePackagesChanged(listAdapter: ResolverListAdapter?) {} in useLayoutWithDefault()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ |
D | ResolverMultiProfilePagerAdapter.java | 28 import com.android.intentresolver.ResolverListAdapter; 40 MultiProfilePagerAdapter<ListView, ResolverListAdapter, ResolverListAdapter> { 44 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter() 63 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter()
|
D | MultiProfilePagerAdapter.java | 31 import com.android.intentresolver.ResolverListAdapter; 62 ListAdapterT extends ResolverListAdapter> extends PagerAdapter {
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ResolverWrapperActivity.java | 61 public ResolverListAdapter createResolverListAdapter( in createResolverListAdapter() 68 return new ResolverListAdapter( in createResolverListAdapter() 90 ResolverListAdapter getAdapter() { in getAdapter() 94 ResolverListAdapter getPersonalListAdapter() { in getPersonalListAdapter() 98 ResolverListAdapter getWorkListAdapter() { in getWorkListAdapter()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ |
D | ItemViewHolder.java | 24 import com.android.intentresolver.ResolverListAdapter; 36 private final ResolverListAdapter.ViewHolder mWrappedViewHolder; 46 mWrappedViewHolder = new ResolverListAdapter.ViewHolder(itemView); in ItemViewHolder()
|
D | ChooserGridAdapter.java | 42 import com.android.intentresolver.ResolverListAdapter.ViewHolder;
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverActivity.java | 143 ResolverListAdapter.ResolverListCommunicator { 200 protected PackageMonitor createPackageMonitor(ResolverListAdapter listAdapter) { in createPackageMonitor() 527 ResolverListAdapter currentListAdapter = mMultiProfilePagerAdapter.getActiveListAdapter(); 575 protected void onListRebuilt(ResolverListAdapter listAdapter, boolean rebuildCompleted) { 814 public void addUseDifferentAppLabelIfNecessary(ResolverListAdapter adapter) { 834 ResolverListAdapter activeListAdapter = 870 public final void onHandlePackagesChanged(ResolverListAdapter listAdapter) { 896 protected ResolverListAdapter createResolverListAdapter( 904 return new ResolverListAdapter( 954 ResolverListAdapter personalAdapter = createResolverListAdapter( [all …]
|
D | ResolverListAdapter.java | 63 public class ResolverListAdapter extends BaseAdapter { class 102 public ResolverListAdapter( in ResolverListAdapter() method in ResolverListAdapter 131 public ResolverListAdapter( in ResolverListAdapter() method in ResolverListAdapter 560 mResolverListCommunicator.onPostListReady(ResolverListAdapter.this, in postListReadyRunnable() 920 void onPostListReady(ResolverListAdapter listAdapter, boolean updateUi, in onPostListReady() 939 void onHandlePackagesChanged(ResolverListAdapter listAdapter); in onHandlePackagesChanged()
|
D | ChooserActivity.java | 181 ResolverListAdapter.ResolverListCommunicator, PackagesChangedListener, StartsSelectedItem { 728 private void onAppTargetsLoaded(ResolverListAdapter listAdapter) { in onAppTargetsLoaded() 893 ResolverListAdapter activeListAdapter = in maybeAutolaunchIfCrossProfileSupported() 898 ResolverListAdapter inactiveListAdapter = in maybeAutolaunchIfCrossProfileSupported() 958 public final void onPostListReady(ResolverListAdapter listAdapter, boolean doPostProcessing, in onPostListReady() 1012 private void maybeCreateHeader(ResolverListAdapter listAdapter) { in maybeCreateHeader() 1198 public final void onHandlePackagesChanged(ResolverListAdapter listAdapter) { in onHandlePackagesChanged() 1272 public void addUseDifferentAppLabelIfNecessary(ResolverListAdapter adapter) { in addUseDifferentAppLabelIfNecessary() 1484 protected PackageMonitor createPackageMonitor(ResolverListAdapter listAdapter) { in createPackageMonitor() 1506 private void handlePackagesChanged(@Nullable ResolverListAdapter listAdapter) { [all …]
|
D | ChooserListAdapter.java | 71 public class ChooserListAdapter extends ResolverListAdapter {
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/ |
D | EmptyStateProvider.java | 20 import com.android.intentresolver.ResolverListAdapter; 34 default EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
|
D | CompositeEmptyStateProvider.kt | 18 import com.android.intentresolver.ResolverListAdapter 29 override fun getEmptyState(resolverListAdapter: ResolverListAdapter): EmptyState? { in getEmptyState()
|
D | NoAppsAvailableEmptyStateProvider.java | 30 import com.android.intentresolver.ResolverListAdapter; 58 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
|
D | WorkProfilePausedEmptyStateProvider.java | 33 import com.android.intentresolver.ResolverListAdapter; 63 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
|
D | NoCrossProfileEmptyStateProvider.java | 31 import com.android.intentresolver.ResolverListAdapter; 70 public EmptyState getEmptyState(ResolverListAdapter adapter) { in getEmptyState()
|