OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:launchIntent
(Results
1 - 22
of
22
) sorted by null
/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
);
/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);
/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);
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
ShortcutHelperTest.java
90
Intent
launchIntent
= firedIntent.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
91
assertEquals(WEBAPP_HTML,
launchIntent
.getStringExtra(ShortcutHelper.EXTRA_URL));
92
assertEquals(WEBAPP_ACTION_NAME,
launchIntent
.getAction());
93
assertEquals(mActivity.getPackageName(),
launchIntent
.getPackage());
121
Intent
launchIntent
= firedIntent.getParcelableExtra(Intent.EXTRA_SHORTCUT_INTENT);
122
assertEquals(mActivity.getPackageName(),
launchIntent
.getPackage());
123
assertEquals(Intent.ACTION_VIEW,
launchIntent
.getAction());
124
assertEquals(NORMAL_HTML,
launchIntent
.getDataString());
/packages/apps/Nfc/src/com/android/nfc/handover/
ConfirmConnectActivity.java
35
Intent
launchIntent
= getIntent();
36
mDevice =
launchIntent
.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSearch.java
108
launchIntent
(launchUriIntent);
150
private void
launchIntent
(Intent intent) {
/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
,
/frameworks/base/core/java/android/widget/
ShareActionProvider.java
291
Intent
launchIntent
= dataModel.chooseActivity(itemId);
292
if (
launchIntent
!= null) {
293
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
294
mContext.startActivity(
launchIntent
);
ActivityChooserView.java
581
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(position);
582
if (
launchIntent
!= null) {
583
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
585
startActivity(
launchIntent
, resolveInfo);
600
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(index);
601
if (
launchIntent
!= null) {
602
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
603
startActivity(
launchIntent
, defaultActivity);
SearchView.java
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
ShareActionProvider.java
314
Intent
launchIntent
= dataModel.chooseActivity(itemId);
315
if (
launchIntent
!= null) {
316
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
317
mContext.startActivity(
launchIntent
);
SearchView.java
[
all
...]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
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
);
ThirdPartyWallpaperPickerListAdapter.java
57
Intent
launchIntent
= new Intent(Intent.ACTION_SET_WALLPAPER);
58
launchIntent
.setComponent(itemComponentName);
60
launchIntent
, WallpaperPickerActivity.PICK_WALLPAPER_THIRD_PARTY_ACTIVITY);
/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
;
/packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java
88
.key(LAUNCH_INTENT_KEY).value(info.
launchIntent
.toUri(0))
130
Intent
launchIntent
= Intent.parseUri(object.getString(LAUNCH_INTENT_KEY), 0);
131
String pn =
launchIntent
.getPackage();
133
pn =
launchIntent
.getComponent().getPackageName();
164
Intent
launchIntent
=
182
data.putExtra(Intent.EXTRA_SHORTCUT_INTENT,
launchIntent
);
184
new PendingInstallShortcutInfo(data, name,
launchIntent
);
203
Intent
launchIntent
;
212
launchIntent
= shortcutIntent;
272
final Intent intent = pendingInfo.
launchIntent
;
[
all
...]
/packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java
[
all
...]
/frameworks/base/core/java/android/app/
SearchDialog.java
540
launchIntent
(intent);
546
private void
launchIntent
(Intent intent) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActivityChooserView.java
553
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(position);
554
if (
launchIntent
!= null) {
555
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
556
getContext().startActivity(
launchIntent
);
571
Intent
launchIntent
= mAdapter.getDataModel().chooseActivity(index);
572
if (
launchIntent
!= null) {
573
launchIntent
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
574
getContext().startActivity(
launchIntent
);
/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);
/packages/apps/Calendar/src/com/android/calendar/
Utils.java
[
all
...]
Completed in 1064 milliseconds