HomeSort by relevance Sort by last modified time
    Searched refs:Intent (Results 1 - 25 of 2371) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/
Intent.aidl 1 /* //device/java/android/android/content/Intent.aidl
20 parcelable Intent;
  /cts/tests/tests/permission2/src/android/permission2/cts/
ProtectedBroadcastsTest.java 19 import android.content.Intent;
27 Intent.ACTION_SCREEN_OFF,
28 Intent.ACTION_SCREEN_ON,
29 Intent.ACTION_USER_PRESENT,
30 Intent.ACTION_TIME_TICK,
31 Intent.ACTION_TIMEZONE_CHANGED,
32 Intent.ACTION_BOOT_COMPLETED,
33 Intent.ACTION_PACKAGE_INSTALL,
34 Intent.ACTION_PACKAGE_ADDED,
35 Intent.ACTION_PACKAGE_REPLACED
93 Intent intent = new Intent(action); local
    [all...]
  /packages/apps/Gallery2/src_pd/com/android/gallery3d/util/
IntentHelper.java 19 import android.content.Intent;
23 public static Intent getCameraIntent(Context context) {
24 return new Intent(Intent.ACTION_MAIN)
28 public static Intent getGalleryIntent(Context context) {
29 return new Intent(Intent.ACTION_MAIN)
  /development/apps/Development/src/com/android/development/
UnderdevelopedSettings.java 20 import android.content.Intent;
25 protected Intent getTargetIntent() {
26 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
27 targetIntent.addCategory(Intent.CATEGORY_DEVELOPMENT_PREFERENCE);
  /frameworks/base/tests/SmokeTest/src/com/android/smoketest/
SmokeTestActivity.java 20 import android.content.Intent;
33 protected Intent getTargetIntent() {
35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
36 // TODO: Do we add a new top-level intent? Or just leave it hardcoded like this?
37 targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST");
38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
Somnambulator.java 20 import android.content.Intent;
38 final Intent launchIntent = getIntent();
40 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
41 Intent shortcutIntent = new Intent(this, Somnambulator.class);
42 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
43 | Intent.FLAG_ACTIVITY_NEW_TASK);
44 Intent resultIntent = new Intent();
45 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE
    [all...]
  /packages/apps/Camera2/src_pd/com/android/camera/util/
IntentHelper.java 19 import android.content.Intent;
28 public static Intent getGalleryIntent(Context context) {
29 return new Intent(Intent.ACTION_MAIN)
33 public static Intent getVideoPlayerIntent(Context context, Uri uri) {
34 return new Intent(Intent.ACTION_VIEW)
  /frameworks/support/v4/honeycomb/android/support/v4/content/
IntentCompatHoneycomb.java 20 import android.content.Intent;
23 public static Intent makeMainActivity(ComponentName mainActivity) {
24 return Intent.makeMainActivity(mainActivity);
27 public static Intent makeRestartActivityTask(ComponentName mainActivity) {
28 return Intent.makeRestartActivityTask(mainActivity);
  /frameworks/support/v4/ics-mr1/android/support/v4/content/
IntentCompatIcsMr1.java 19 import android.content.Intent;
23 public static Intent makeMainSelectorActivity(String selectorAction, String selectorCategory) {
24 return Intent.makeMainSelectorActivity(selectorAction, selectorCategory);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebugReceiver.java 21 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
35 Intent i = new Intent(Intent.ACTION_MAIN);
37 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/
ChromiumTestShellApplicationObserver.java 7 import android.content.Intent;
14 * Called when an Intent is about to be broadcast.
17 public boolean onSendBroadcast(Intent intent);
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContractIntentsTest.java 19 import android.content.Intent;
31 public void assertCanBeHandled(Intent intent) {
33 .getPackageManager().queryIntentActivities(intent, 0);
35 assertTrue("No ResolveInfo found for " + intent.toInsecureString(),
40 Intent intent = new Intent(Intent.ACTION_VIEW); local
41 intent.setData(ContactsContract.Contacts.CONTENT_URI)
46 Intent intent = new Intent(Intent.ACTION_PICK); local
52 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
    [all...]
MediaStoreIntentsTest.java 19 import android.content.Intent;
32 public void assertCanBeHandled(Intent intent) {
34 .getPackageManager().queryIntentActivities(intent, 0);
36 assertTrue("No ResolveInfo found for " + intent.toInsecureString(),
41 Intent intent = new Intent(Intent.ACTION_PICK); local
42 intent.setData(MediaStore.Images.Media.EXTERNAL_CONTENT_URI)
47 Intent intent = new Intent(Intent.ACTION_PICK); local
53 Intent intent = new Intent(Intent.ACTION_PICK); local
59 Intent intent = new Intent(Intent.ACTION_VIEW); local
65 Intent intent = new Intent(Intent.ACTION_VIEW); local
78 Intent intent = new Intent(Intent.ACTION_VIEW); local
96 Intent intent = new Intent(Intent.ACTION_VIEW); local
114 Intent intent = new Intent(Intent.ACTION_VIEW); local
    [all...]
  /frameworks/support/v4/java/android/support/v4/content/
IntentCompat.java 21 import android.content.Intent;
25 * Helper for accessing features in {@link android.content.Intent}
31 Intent makeMainActivity(ComponentName componentName);
32 Intent makeMainSelectorActivity(String selectorAction, String selectorCategory);
33 Intent makeRestartActivityTask(ComponentName mainActivity);
38 public Intent makeMainActivity(ComponentName componentName) {
39 Intent intent = new Intent(Intent.ACTION_MAIN) local
51 Intent intent = new Intent(selectorAction); local
58 Intent intent = makeMainActivity(mainActivity); local
    [all...]
  /external/robolectric/src/main/java/android/content/
TestIntentSender.java 4 public Intent intent; field in class:TestIntentSender
  /packages/apps/Contacts/src/com/android/contacts/util/
StructuredPostalUtils.java 19 import android.content.Intent;
26 public static Intent getViewPostalAddressIntent(String postalAddress) {
27 return new Intent(Intent.ACTION_VIEW, getPostalAddressUri(postalAddress));
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
DreamTheaterActivity.java 4 import android.content.Intent;
11 startActivity(Intent.createChooser(new Intent(Intent.ACTION_MAIN)
12 .addCategory("android.intent.category.DREAM"),
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
ShareCodeAction.java 20 import android.content.Intent;
28 Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
30 sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Notification Code");
31 sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
32 context.startActivity(Intent.createChooser(sharingIntent, title));
  /cts/tests/src/android/app/cts/
LauncherActivityStub.java 20 import android.content.Intent;
29 private Intent mSuperIntent;
31 public Intent getSuperIntent() {
36 protected Intent getTargetIntent() {
38 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
39 targetIntent.addCategory(Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
40 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
45 protected Intent intentForPosition(int position)
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
AvailableIntentsTest.java 22 import android.content.Intent;
39 * Assert target intent can be handled by at least one Activity.
40 * @param intent - the Intent will be handled.
42 private void assertCanBeHandled(final Intent intent) {
44 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0);
46 // one or more activity can handle this intent.
56 Intent intent = new Intent(Intent.ACTION_VIEW, uri) local
66 Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
76 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
87 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
98 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
110 Intent intent = new Intent(Intent.ACTION_CALL, uri); local
122 Intent intent = new Intent(Intent.ACTION_DIAL, uri); local
134 Intent intent = new Intent(Intent.ACTION_DIAL, uri); local
146 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local
179 Intent intent = new Intent(Intent.ACTION_VIEW); local
189 Intent intent = new Intent(Intent.ACTION_VIEW); local
196 Intent intent = new Intent(AlarmClock.ACTION_SET_ALARM); local
204 Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); local
211 Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); local
218 Intent intent = new Intent(Intent.ACTION_CREATE_DOCUMENT); local
225 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
232 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 25 import android.content.Intent;
148 new Intent(UI.LIST_DEFAULT, Contacts.CONTENT_URI));
153 new Intent(UI.LIST_ALL_CONTACTS_ACTION, Contacts.CONTENT_URI));
158 new Intent(UI.LIST_CONTACTS_WITH_PHONES_ACTION, Contacts.CONTENT_URI));
163 new Intent(UI.LIST_STARRED_ACTION, Contacts.CONTENT_URI));
168 new Intent(UI.LIST_FREQUENT_ACTION, Contacts.CONTENT_URI));
173 new Intent(UI.LIST_STREQUENT_ACTION, Contacts.CONTENT_URI));
178 new Intent(UI.LIST_GROUP_ACTION, Contacts.CONTENT_URI));
183 new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI))
207 Intent intent = new Intent(Intent.ACTION_PICK); local
218 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
223 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
229 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
235 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
241 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
247 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
253 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
259 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
265 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
271 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
278 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
285 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
292 Intent intent = new Intent(Intent.ACTION_SEARCH); local
299 Intent intent = new Intent(Intent.ACTION_SEARCH); local
306 Intent intent = new Intent(Intent.ACTION_SEARCH); local
312 Intent intent = new Intent(Intent.ACTION_SEARCH); local
321 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CLICKED); local
334 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
345 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupWithoutIdUri); local
353 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupUri); local
361 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
370 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
379 Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
405 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
420 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupWithoutIdUri); local
428 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupUri); local
436 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
445 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
491 final Intent intent = new Intent(Intent.ACTION_VIEW, null); local
502 final Intent intent = new Intent(Intent.ACTION_VIEW); local
513 final Intent intent = new Intent("android.intent.action.VIEW"); local
549 Intent intent = new Intent(UI.FILTER_CONTACTS_ACTION); local
574 Intent intent = new Intent(this, ResultActivity.class); local
633 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
640 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
    [all...]
  /development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
SecureActivity.java 20 import android.content.Intent;
32 Intent intent = new Intent(); local
33 intent.setClass(this, PolicySetupActivity.class);
34 intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP |
35 Intent.FLAG_ACTIVITY_CLEAR_TASK);
36 startActivity(intent);
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactBroadcastReceiver.java 21 import android.content.Intent;
27 * intent receiver is to disable the animation that RemoveViews typically do, which interfere
32 public void onReceive(Context context, Intent intent) {
33 final Uri dataUri = intent.getData();
34 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT);
35 newIntent.setSourceBounds(intent.getSourceBounds());
36 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
TestingSettingsBroadcastReceiver.java 7 import android.content.Intent;
19 public void onReceive(Context context, Intent intent) {
20 if (intent.getAction().equals(SECRET_CODE_ACTION)) {
21 Intent i = new Intent(Intent.ACTION_MAIN);
23 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
Intents.java 22 import android.content.Intent;
37 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
38 intent.setType("audio/*");
39 startActivity(Intent.createChooser(intent, "Select music"));
43 Intent intent = new Intent(Intent.ACTION_GET_CONTENT) local
49 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
    [all...]

Completed in 894 milliseconds

1 2 3 4 5 6 7 8 91011>>