/frameworks/support/core-utils/java/android/support/v4/app/ |
D | AppLaunchChecker.java | 71 final Intent launchIntent = activity.getIntent(); in onActivityCreate() local 72 if (launchIntent == null) { in onActivityCreate() 76 if (Intent.ACTION_MAIN.equals(launchIntent.getAction()) in onActivityCreate() 77 && (launchIntent.hasCategory(Intent.CATEGORY_LAUNCHER) in onActivityCreate() 78 || launchIntent.hasCategory(IntentCompat.CATEGORY_LEANBACK_LAUNCHER))) { in onActivityCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 38 final Intent launchIntent = getIntent(); in onStart() local 39 final String action = launchIntent.getAction(); in onStart() 51 boolean docked = launchIntent.hasCategory(Intent.CATEGORY_DESK_DOCK); in onStart()
|
/frameworks/base/core/java/android/widget/ |
D | ShareActionProvider.java | 300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick() local 301 if (launchIntent != null) { in onMenuItemClick() 302 final String action = launchIntent.getAction(); in onMenuItemClick() 305 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | in onMenuItemClick() 308 mContext.startActivity(launchIntent); in onMenuItemClick()
|
D | ActivityChooserView.java | 602 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); in onItemClick() local 603 if (launchIntent != null) { in onItemClick() 604 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onItemClick() 606 startActivity(launchIntent, resolveInfo); in onItemClick() 621 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index); in onClick() local 622 if (launchIntent != null) { in onClick() 623 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onClick() 624 startActivity(launchIntent, defaultActivity); in onClick()
|
D | SearchView.java | 1543 launchIntent(intent); in launchSuggestion() 1553 private void launchIntent(Intent intent) { in launchIntent() method in SearchView
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ShareActionProvider.java | 364 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick() local 365 if (launchIntent != null) { in onMenuItemClick() 366 final String action = launchIntent.getAction(); in onMenuItemClick() 369 updateIntent(launchIntent); in onMenuItemClick() 371 mContext.startActivity(launchIntent); in onMenuItemClick()
|
D | ActivityChooserView.java | 596 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); in onItemClick() local 597 if (launchIntent != null) { in onItemClick() 598 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onItemClick() 599 getContext().startActivity(launchIntent); in onItemClick() 615 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index); in onClick() local 616 if (launchIntent != null) { in onClick() 617 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onClick() 618 getContext().startActivity(launchIntent); in onClick()
|
D | SearchView.java | 1481 launchIntent(intent); in launchSuggestion() 1491 private void launchIntent(Intent intent) { in launchIntent() method in SearchView
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
D | SwipeDismissFrameLayoutTest.java | 299 Intent launchIntent = new Intent(); in setUpSwipeDismissWithHorizontalRecyclerView() local 300 launchIntent.putExtra(LayoutTestActivity.EXTRA_LAYOUT_RESOURCE_ID, in setUpSwipeDismissWithHorizontalRecyclerView() 302 launchIntent.putExtra(SwipeDismissFrameLayoutTestActivity.EXTRA_LAYOUT_HORIZONTAL, true); in setUpSwipeDismissWithHorizontalRecyclerView() 303 activityRule.launchActivity(launchIntent); in setUpSwipeDismissWithHorizontalRecyclerView() 313 Intent launchIntent = new Intent(); in setUpSwipeDismissWithVerticalRecyclerView() local 314 launchIntent.putExtra(LayoutTestActivity.EXTRA_LAYOUT_RESOURCE_ID, in setUpSwipeDismissWithVerticalRecyclerView() 316 launchIntent.putExtra(SwipeDismissFrameLayoutTestActivity.EXTRA_LAYOUT_HORIZONTAL, false); in setUpSwipeDismissWithVerticalRecyclerView() 317 activityRule.launchActivity(launchIntent); in setUpSwipeDismissWithVerticalRecyclerView()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 612 Intent launchIntent = new Intent(Intent.ACTION_MAIN); in startActivityAsUser() local 613 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in startActivityAsUser() 614 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser() 615 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startActivityAsUser() 617 launchIntent.setPackage(component.getPackageName()); in startActivityAsUser() 636 List<ResolveInfo> apps = pmInt.queryIntentActivities(launchIntent, in startActivityAsUser() 647 launchIntent.setComponent(component); in startActivityAsUser() 648 mContext.startActivityAsUser(launchIntent, opts, user); in startActivityAsUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 357 final Intent launchIntent = new Intent().setComponent( in startActivityAndCheckNetworkAccess() local 368 launchIntent.putExtras(extras); in startActivityAndCheckNetworkAccess() 369 mContext.startActivity(launchIntent); in startActivityAndCheckNetworkAccess()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 330 Intent launchIntent = new Intent(Intent.ACTION_VIEW); in onPostExecute() local 331 launchIntent.setDataAndType(mParams.imageUri, "image/png"); in onPostExecute() 332 launchIntent.setFlags( in onPostExecute() 341 … .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0)) in onPostExecute() 349 .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0)) in onPostExecute()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 536 launchIntent(intent); in launchQuerySearch() 542 private void launchIntent(Intent intent) { in launchIntent() method in SearchDialog
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | RecentsActivity.java | 144 public LaunchHomeRunnable(Intent launchIntent, ActivityOptions opts) { in LaunchHomeRunnable() argument 145 mLaunchIntent = launchIntent; in LaunchHomeRunnable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 902 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null) in handleMessage() local 912 launchIntent, in handleMessage()
|