Home
last modified time | relevance | path

Searched refs:initialIntents (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DResolverWrapperActivity.java44 List<Intent> payloadIntents, Intent[] initialIntents, List<ResolveInfo> rList, in createResolverListAdapter() argument
46 return new ResolverWrapperAdapter(context, payloadIntents, initialIntents, rList, in createResolverListAdapter()
52 Intent[] initialIntents, List<ResolveInfo> rList, boolean filterLastUsed) { in createMultiProfilePagerAdapter() argument
54 super.createMultiProfilePagerAdapter(initialIntents, rList, filterLastUsed); in createMultiProfilePagerAdapter()
H A DResolverWrapperAdapter.java36 Intent[] initialIntents, in ResolverWrapperAdapter() argument
40 super(context, payloadIntents, initialIntents, rList, filterLastUsed, in ResolverWrapperAdapter()
H A DChooserWrapperActivity.java55 Intent[] initialIntents, List<ResolveInfo> rList, boolean filterLastUsed) { in createMultiProfilePagerAdapter() argument
57 super.createMultiProfilePagerAdapter(initialIntents, rList, filterLastUsed); in createMultiProfilePagerAdapter()
64 Intent[] initialIntents, List<ResolveInfo> rList, boolean filterLastUsed, in createChooserListAdapter() argument
69 return new ChooserListAdapter(context, payloadIntents, initialIntents, rList, in createChooserListAdapter()
H A DChooserActivityTest.java2129 Intent[] initialIntents = { in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents() local
2133 Intent chooserIntent = createChooserIntent(createSendTextIntent(), initialIntents); in testWorkTab_withInitialIntents_workTabDoesNotIncludePersonalInitialIntents()
2158 Intent[] initialIntents = { in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown() local
2162 Intent chooserIntent = createChooserIntent(new Intent(), initialIntents); in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()
2188 Intent[] initialIntents = { in testWorkTab_noWorkAppsAvailable_nonSendIntent_emptyStateShown() local
2192 Intent chooserIntent = createChooserIntent(new Intent(), initialIntents); in testWorkTab_noWorkAppsAvailable_nonSendIntent_emptyStateShown()
2402 private Intent createChooserIntent(Intent intent, Intent[] initialIntents) { in createChooserIntent() argument
2409 if (initialIntents != null) { in createChooserIntent()
2410 chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS, initialIntents); in createChooserIntent()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java337 CharSequence title, Intent[] initialIntents,
339 onCreate(savedInstanceState, intent, title, 0, initialIntents, rList,
344 CharSequence title, int defaultTitleRes, Intent[] initialIntents,
438 Intent[] initialIntents,
445 initialIntents, rList, filterLastUsed);
448 initialIntents, rList, filterLastUsed);
454 Intent[] initialIntents,
459 initialIntents,
471 Intent[] initialIntents,
499 selectedProfile == PROFILE_PERSONAL ? initialIntents : null,
[all …]
H A DChooserListAdapter.java104 Intent[] initialIntents, List<ResolveInfo> rList, in ChooserListAdapter() argument
122 if (initialIntents != null) { in ChooserListAdapter()
123 for (int i = 0; i < initialIntents.length; i++) { in ChooserListAdapter()
124 final Intent ii = initialIntents[i]; in ChooserListAdapter()
H A DChooserActivity.java673 Intent[] initialIntents = null; in onCreate() local
676 initialIntents = new Intent[count]; in onCreate()
686 initialIntents[i] = in; in onCreate()
796 initialIntents == null ? 0 : initialIntents.length, in onCreate()
889 Intent[] initialIntents,
894 initialIntents, rList, filterLastUsed);
897 initialIntents, rList, filterLastUsed);
903 Intent[] initialIntents,
909 initialIntents,
922 Intent[] initialIntents,
[all …]
H A DResolverListAdapter.java91 Intent[] initialIntents, List<ResolveInfo> rList, in ResolverListAdapter() argument
98 mInitialIntents = initialIntents; in ResolverListAdapter()