Home
last modified time | relevance | path

Searched refs:ResolverListAdapter (Results 1 – 20 of 20) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapterTest.kt26 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/
DCompositeEmptyStateProviderTest.kt19 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()
DNoCrossProfileEmptyStateProviderTest.kt21 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/
DChooserListAdapterTest.kt99 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()
DResolverListAdapterTest.kt28 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 …]
DFakeResolverListCommunicator.kt24 ResolverListAdapter.ResolverListCommunicator {
36 listAdapter: ResolverListAdapter?, in onPostListReady()
49 override fun onHandlePackagesChanged(listAdapter: ResolverListAdapter?) {} in useLayoutWithDefault()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DResolverMultiProfilePagerAdapter.java28 import com.android.intentresolver.ResolverListAdapter;
40 MultiProfilePagerAdapter<ListView, ResolverListAdapter, ResolverListAdapter> {
44 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter()
63 ImmutableList<TabConfig<ResolverListAdapter>> tabs, in ResolverMultiProfilePagerAdapter()
DMultiProfilePagerAdapter.java31 import com.android.intentresolver.ResolverListAdapter;
62 ListAdapterT extends ResolverListAdapter> extends PagerAdapter {
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DResolverWrapperActivity.java61 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/
DItemViewHolder.java24 import com.android.intentresolver.ResolverListAdapter;
36 private final ResolverListAdapter.ViewHolder mWrappedViewHolder;
46 mWrappedViewHolder = new ResolverListAdapter.ViewHolder(itemView); in ItemViewHolder()
DChooserGridAdapter.java42 import com.android.intentresolver.ResolverListAdapter.ViewHolder;
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverActivity.java143 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 …]
DResolverListAdapter.java63 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()
DChooserActivity.java181 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 …]
DChooserListAdapter.java71 public class ChooserListAdapter extends ResolverListAdapter {
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DEmptyStateProvider.java20 import com.android.intentresolver.ResolverListAdapter;
34 default EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
DCompositeEmptyStateProvider.kt18 import com.android.intentresolver.ResolverListAdapter
29 override fun getEmptyState(resolverListAdapter: ResolverListAdapter): EmptyState? { in getEmptyState()
DNoAppsAvailableEmptyStateProvider.java30 import com.android.intentresolver.ResolverListAdapter;
58 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
DWorkProfilePausedEmptyStateProvider.java33 import com.android.intentresolver.ResolverListAdapter;
63 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState()
DNoCrossProfileEmptyStateProvider.java31 import com.android.intentresolver.ResolverListAdapter;
70 public EmptyState getEmptyState(ResolverListAdapter adapter) { in getEmptyState()