OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:launchIntent
(Results
1 - 25
of
33
) sorted by null
1
2
/packages/apps/Nfc/src/com/android/nfc/
NfcRootActivity.java
28
static final String EXTRA_LAUNCH_INTENT = "
launchIntent
";
35
final Intent
launchIntent
= intent.getParcelableExtra(EXTRA_LAUNCH_INTENT);
36
if (
launchIntent
!= null) {
38
startActivityAsUser(
launchIntent
, UserHandle.CURRENT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
Somnambulator.java
38
final Intent
launchIntent
= getIntent();
39
final String action =
launchIntent
.getAction();
51
boolean docked =
launchIntent
.hasCategory(Intent.CATEGORY_DESK_DOCK);
/packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java
187
final Intent intent = pendingInfo.
launchIntent
;
190
if (DBG) Log.d(TAG, "Ignoring shortcut with
launchIntent
:" + intent);
228
* @param
launchIntent
The intent that will be launched when the shortcut is clicked.
230
static boolean isValidShortcutLaunchIntent(Intent
launchIntent
) {
231
if (
launchIntent
!= null
232
&& Intent.ACTION_MAIN.equals(
launchIntent
.getAction())
233
&&
launchIntent
.getComponent() != null
234
&&
launchIntent
.getCategories() != null
235
&&
launchIntent
.getCategories().size() == 1
236
&&
launchIntent
.hasCategory(Intent.CATEGORY_LAUNCHER
[
all
...]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
ShortcutHelperTest.java
101
Intent
launchIntent
= firedIntent.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
102
assertEquals(WEBAPP_HTML,
launchIntent
.getStringExtra(ShortcutHelper.EXTRA_URL));
103
assertEquals(WEBAPP_ACTION_NAME,
launchIntent
.getAction());
104
assertEquals(mActivity.getPackageName(),
launchIntent
.getPackage());
132
Intent
launchIntent
= firedIntent.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
133
assertEquals(mActivity.getPackageName(),
launchIntent
.getPackage());
134
assertEquals(Intent.ACTION_VIEW,
launchIntent
.getAction());
135
assertEquals(NORMAL_HTML,
launchIntent
.getDataString());
/packages/apps/Browser/src/com/android/browser/
OpenDownloadReceiver.java
74
Intent
launchIntent
= new Intent(Intent.ACTION_VIEW);
75
launchIntent
.setDataAndType(uri, manager.getMimeTypeForDownloadedFile(id));
76
launchIntent
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
78
context.startActivity(
launchIntent
);
/external/deqp/android/package/src/com/drawelements/deqp/execserver/
ExecService.java
63
Intent
launchIntent
= new Intent(this, ExecServerActivity.class);
64
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
65
PendingIntent pm = PendingIntent.getActivity(this, 0,
launchIntent
, 0);
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson4/
LaunchActivityTest.java
81
final Intent
launchIntent
= getStartedActivityIntent();
83
assertNotNull("Intent was null",
launchIntent
);
88
final String payload =
launchIntent
.getStringExtra(NextActivity.EXTRAS_PAYLOAD_KEY);
/developers/build/prebuilts/gradle/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java
43
final Intent
launchIntent
= new Intent(getInstrumentation()
45
mDocumentCentricActivity = startActivity(
launchIntent
, null, null);
/developers/samples/android/ui/activitytasks/DocumentCentricApps/Application/tests/src/com/example/android/documentcentricapps/tests/
DocumentCentricAppsUnitTest.java
43
final Intent
launchIntent
= new Intent(getInstrumentation()
45
mDocumentCentricActivity = startActivity(
launchIntent
, null, null);
/packages/apps/Nfc/src/com/android/nfc/handover/
ConfirmConnectActivity.java
36
Intent
launchIntent
= getIntent();
37
mDevice =
launchIntent
.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
/packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherAppsCompatV16.java
80
Intent
launchIntent
= new Intent(Intent.ACTION_MAIN);
81
launchIntent
.addCategory(Intent.CATEGORY_LAUNCHER);
82
launchIntent
.setComponent(component);
83
launchIntent
.setSourceBounds(sourceBounds);
84
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
85
mContext.startActivity(
launchIntent
, opts);
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskTest.java
172
Intent
launchIntent
= new Intent(mContext, IntentReceivingActivity.class);
174
lockTaskUtility.putExtra(LockTaskUtilityActivity.START_ACTIVITY,
launchIntent
);
195
Intent
launchIntent
= new Intent(mContext, IntentReceivingActivity.class);
196
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
197
mContext.startActivity(
launchIntent
);
/frameworks/base/core/java/android/widget/
ShareActionProvider.java
300
Intent
launchIntent
= dataModel.chooseActivity(itemId);
301
if (
launchIntent
!= null) {
302
final String action =
launchIntent
.getAction();
305
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT |
308
mContext.startActivity(
launchIntent
);
ActivityChooserView.java
598
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(position);
599
if (
launchIntent
!= null) {
600
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
602
startActivity(
launchIntent
, resolveInfo);
617
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(index);
618
if (
launchIntent
!= null) {
619
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
620
startActivity(
launchIntent
, defaultActivity);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java
324
Intent
launchIntent
= dataModel.chooseActivity(itemId);
325
if (
launchIntent
!= null) {
326
final String action =
launchIntent
.getAction();
329
updateIntent(
launchIntent
);
331
mContext.startActivity(
launchIntent
);
/packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetProvider.java
188
Intent
launchIntent
= new Intent();
189
launchIntent
.setAction(Intent.ACTION_VIEW);
190
launchIntent
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK |
192
launchIntent
.setClass(context, AllInOneActivity.class);
193
return PendingIntent.getActivity(context, 0 /* no requestCode */,
launchIntent
,
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
ThirdPartyWallpaperPickerListAdapter.java
57
Intent
launchIntent
= new Intent(Intent.ACTION_SET_WALLPAPER);
58
launchIntent
.setComponent(itemComponentName);
60
launchIntent
, WallpaperPickerActivity.PICK_WALLPAPER_THIRD_PARTY_ACTIVITY);
LiveWallpaperListAdapter.java
174
Intent
launchIntent
= new Intent(WallpaperService.SERVICE_INTERFACE);
175
launchIntent
.setClassName(info.getPackageName(), info.getServiceName());
176
LiveWallpaperTile wallpaper = new LiveWallpaperTile(thumb, info,
launchIntent
);
/frameworks/base/services/core/java/com/android/server/pm/
LauncherAppsService.java
271
Intent
launchIntent
= new Intent(Intent.ACTION_MAIN);
272
launchIntent
.addCategory(Intent.CATEGORY_LAUNCHER);
273
launchIntent
.setSourceBounds(sourceBounds);
274
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
275
launchIntent
.setPackage(component.getPackageName());
289
List<ResolveInfo> apps = mPm.queryIntentActivitiesAsUser(
launchIntent
,
298
launchIntent
.setComponent(component);
299
mContext.startActivityAsUser(
launchIntent
, opts, user);
/packages/apps/Launcher2/src/com/android/launcher2/
InstallShortcutReceiver.java
87
.key(LAUNCH_INTENT_KEY).value(info.
launchIntent
.toUri(0))
123
Intent
launchIntent
= Intent.parseUri(object.getString(LAUNCH_INTENT_KEY), 0);
140
data.putExtra(Intent.EXTRA_SHORTCUT_INTENT,
launchIntent
);
142
new PendingInstallShortcutInfo(data, name,
launchIntent
);
161
Intent
launchIntent
;
170
launchIntent
= shortcutIntent;
238
final Intent intent = pendingInfo.
launchIntent
;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActivityChooserView.java
576
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(position);
577
if (
launchIntent
!= null) {
578
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
579
getContext().startActivity(
launchIntent
);
594
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(index);
595
if (
launchIntent
!= null) {
596
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
597
getContext().startActivity(
launchIntent
);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSearch.java
108
launchIntent
(launchUriIntent);
150
private void
launchIntent
(Intent intent) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchActivity.java
349
launchIntent
(intent);
362
launchIntent
(intent);
392
protected void
launchIntent
(Intent intent) {
393
if (DBG) Log.d(TAG, "
launchIntent
" + intent);
426
launchIntent
(intent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
GlobalScreenshot.java
299
Intent
launchIntent
= new Intent(Intent.ACTION_VIEW);
300
launchIntent
.setDataAndType(params.imageUri, "image/png");
301
launchIntent
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
308
.setContentIntent(PendingIntent.getActivity(params.context, 0,
launchIntent
, 0))
318
.setContentIntent(PendingIntent.getActivity(params.context, 0,
launchIntent
, 0))
/packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java
[
all
...]
Completed in 604 milliseconds
1
2