Home
last modified time | relevance | path

Searched refs:mainIntent (Results 1 – 15 of 15) sorted by relevance

/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DPinnedAppListViewModel.java94 final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadData() local
95 mainIntent.setComponent(ComponentName.unflattenFromString(componentString)); in loadData()
96 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadData()
98 final List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
DAppListViewModel.java73 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadData() local
74 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadData()
76 List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DLayoutAnimation6.java48 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
49 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
DLayoutAnimation5.java48 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
49 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
DLayoutAnimation1.java48 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
49 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
51 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
DGrid1.java54 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
55 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
57 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
DLayoutAnimation4.java49 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
50 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
52 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
DGrid3.java61 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApps() local
62 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApps()
64 mApps = getPackageManager().queryIntentActivities(mainIntent, 0); in loadApps()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigPictureSocialIntentService.java157 Intent mainIntent = new Intent(this, BigPictureSocialMainActivity.class); in recreateBuilderWithBigPictureStyle() local
161 stackBuilder.addNextIntent(mainIntent); in recreateBuilderWithBigPictureStyle()
167 mainIntent, in recreateBuilderWithBigPictureStyle()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java58 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in getData() local
59 mainIntent.addCategory(Intent.CATEGORY_SAMPLE_CODE); in getData()
62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DStandaloneMainActivity.java212 Intent mainIntent = new Intent(this, BigTextMainActivity.class); in generateBigTextStyleNotification() local
218 mainIntent, in generateBigTextStyleNotification()
365 Intent mainIntent = new Intent(this, BigPictureSocialMainActivity.class); in generateBigPictureStyleNotification() local
371 mainIntent, in generateBigPictureStyleNotification()
489 Intent mainIntent = new Intent(this, InboxMainActivity.class); in generateInboxStyleNotification() local
495 mainIntent, in generateInboxStyleNotification()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/
DMainActivity.java361 Intent mainIntent = new Intent(this, BigPictureSocialMainActivity.class); in generateBigPictureStyleNotification() local
387 stackBuilder.addNextIntent(mainIntent); in generateBigPictureStyleNotification()
393 mainIntent, in generateBigPictureStyleNotification()
521 Intent mainIntent = new Intent(this, InboxMainActivity.class); in generateInboxStyleNotification() local
547 stackBuilder.addNextIntent(mainIntent); in generateInboxStyleNotification()
553 mainIntent, in generateInboxStyleNotification()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigPictureSocialIntentService.java157 Intent mainIntent = new Intent(this, BigPictureSocialMainActivity.class); in recreateBuilderWithBigPictureStyle() local
163 mainIntent, in recreateBuilderWithBigPictureStyle()
DBigTextIntentService.java145 Intent mainIntent = new Intent(this, BigTextMainActivity.class); in recreateBuilderWithBigTextStyle() local
151 mainIntent, in recreateBuilderWithBigTextStyle()
/development/samples/Home/src/com/example/android/home/
DHome.java486 Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); in loadApplications() local
487 mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); in loadApplications()
489 final List<ResolveInfo> apps = manager.queryIntentActivities(mainIntent, 0); in loadApplications()