HomeSort by relevance Sort by last modified time
    Searched refs:intent (Results 26 - 50 of 4825) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
ThemeHelper.java 19 import android.content.Intent;
25 * Returns true if the given intent is from the setup wizard.
27 public static boolean fromSetupWizard(Intent intent) {
28 return intent.getBooleanExtra(EXTRA_FROM_SETUP_WIZARD, false);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
CreateShortcutActivity.java 24 import android.content.Intent;
33 Intent intent = getIntent(); local
35 intent.setClass(this, FolderSelectionActivity.class);
36 intent.setFlags(
37 Intent.FLAG_ACTIVITY_NO_HISTORY | Intent.FLAG_ACTIVITY_FORWARD_RESULT);
38 intent.setAction(Intent.ACTION_CREATE_SHORTCUT);
39 intent.putExtra(FolderSelectionActivity.EXTRA_ACCOUNT_SHORTCUT, cachedAccounts[0])
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 25 import android.content.Intent;
148 new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI));
153 new Intent(Intent.ACTION_PICK, People.CONTENT_URI));
158 new Intent(Intent.ACTION_PICK, Phone.CONTENT_URI));
163 new Intent(Intent.ACTION_PICK, Phones.CONTENT_URI));
168 new Intent(Intent.ACTION_PICK, StructuredPostal.CONTENT_URI))
172 Intent intent = new Intent(Intent.ACTION_PICK); local
183 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
188 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
194 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
200 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
206 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
212 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
218 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
224 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
230 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
236 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
243 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
250 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
257 final Intent intent = new Intent(Intent.ACTION_INSERT); local
263 Intent intent = new Intent(Intent.ACTION_SEARCH); local
270 Intent intent = new Intent(Intent.ACTION_SEARCH); local
277 Intent intent = new Intent(Intent.ACTION_SEARCH); local
283 Intent intent = new Intent(Intent.ACTION_SEARCH); local
289 Intent intent = new Intent(Intent.ACTION_SEARCH); local
298 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CLICKED); local
308 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
321 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupWithoutIdUri); local
331 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupUri); local
343 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
356 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
367 Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
389 final Intent intent = findArbitraryGroupIntent(Intent.ACTION_EDIT); local
399 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
409 Intent intent = new Intent(Intent.ACTION_VIEW); local
422 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupWithoutIdUri); local
432 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupUri); local
444 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
457 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
464 final Intent intent = findArbitraryGroupIntent(Intent.ACTION_VIEW); local
533 Intent intent = new Intent(this, ResultActivity.class); local
606 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
613 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
    [all...]
  /cts/tests/framework/base/activitymanager/appDisplaySize/src/android/server/am/displaysize/
SmallestWidthActivity.java 24 import android.content.Intent;
29 protected void onNewIntent(final Intent intent) {
30 super.onNewIntent(intent);
32 if (intent.hasExtra(EXTRA_LAUNCH_ANOTHER_ACTIVITY)) {
33 startActivity(new Intent().setComponent(ComponentName.unflattenFromString(
34 intent.getStringExtra(EXTRA_LAUNCH_ANOTHER_ACTIVITY))));
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
UtilityReceiver.java 20 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
36 intent.setClass(context, UtilityService.class);
37 intent.setAction(UtilityService.ACTION_GEOFENCE_TRIGGERED);
38 startWakefulService(context, intent);
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
UtilityReceiver.java 20 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
36 intent.setClass(context, UtilityService.class);
37 intent.setAction(UtilityService.ACTION_GEOFENCE_TRIGGERED);
38 startWakefulService(context, intent);
  /development/samples/MultiWindow/src/com/example/android/multiwindow/
LaunchingAdjacentActivity.java 20 import android.content.Intent;
53 Intent intent = new Intent("android.settings.SETTINGS"); local
54 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
55 | Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
56 startActivity(intent);
60 Intent intent = newAdjacentActivityIntent() local
66 Intent intent = newAdjacentActivityIntent(); local
72 Intent intent = newAdjacentActivityIntent(); local
82 Intent intent = new Intent(this, LaunchingAdjacentActivity.class); local
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
UtilityReceiver.java 20 import android.content.Intent;
31 public void onReceive(Context context, Intent intent) {
36 intent.setClass(context, UtilityService.class);
37 intent.setAction(UtilityService.ACTION_GEOFENCE_TRIGGERED);
38 startWakefulService(context, intent);
  /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/DocumentsUI/tests/common/com/android/documentsui/testing/
IntentAsserts.java 18 import static android.content.Intent.EXTRA_INTENT;
23 import android.content.Intent;
39 public static void assertHasAction(Intent intent, String expected) {
40 assertEquals(expected, intent.getAction());
43 public static void assertTargetsComponent(Intent intent, Class<?> expected) {
44 assertEquals(expected.getName(), intent.getComponent().getClassName());
47 public static void assertHasExtra(Intent intent, String key)
    [all...]
  /packages/apps/Gallery2/src/com/android/camera/
CameraActivity.java 21 import android.content.Intent;
29 Intent intent = IntentHelper.getCameraIntent(CameraActivity.this); local
33 intent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
34 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
35 startActivity(intent);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
SetupActivity.java 20 import android.content.Intent;
27 final Intent intent = new Intent(); local
28 intent.setClass(this, SetupWizardActivity.class);
29 intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP
30 | Intent.FLAG_ACTIVITY_NEW_TASK);
31 startActivity(intent);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
IntentUtils.java 19 import android.content.Intent;
32 public static Intent getInputLanguageSelectionIntent(final String inputMethodId,
36 final Intent intent = new Intent(action); local
38 intent.putExtra(EXTRA_INPUT_METHOD_ID, inputMethodId);
41 intent.setFlags(flagsForSubtypeSettings);
43 return intent;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
ActivityStarterDelegate.java 18 import android.content.Intent;
31 public void startPendingIntentDismissingKeyguard(PendingIntent intent) {
33 mActualStarter.startPendingIntentDismissingKeyguard(intent);
37 public void startActivity(Intent intent, boolean dismissShade) {
39 mActualStarter.startActivity(intent, dismissShade);
43 public void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade) {
45 mActualStarter.startActivity(intent, onlyProvisioned, dismissShade);
49 public void startActivity(Intent intent, boolean dismissShade, Callback callback)
    [all...]
  /frameworks/base/tests/Assist/src/com/android/test/assist/
AssistInteractionService.java 19 import android.content.Intent;
26 Intent intent = new Intent(this, AboveKeyguardActivity.class); local
27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
28 startActivity(intent);
  /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
AssistProxyActivity.java 20 import android.content.Intent;
29 Intent intent = new Intent(this, MainInteractionService.class); local
30 intent.setAction(Intent.ACTION_ASSIST);
31 startService(intent);
  /packages/apps/TV/src/com/android/tv/
TvActivity.java 20 import android.content.Intent;
28 Intent intent = new Intent(this, MainActivity.class); local
29 intent.putExtra(Utils.EXTRA_KEY_FROM_LAUNCHER, true);
30 startActivity(intent);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
EventHandler.java 21 import android.content.Intent;
25 * Receives a intent broadcast.
36 * Also @see {@link BroadcastReceiver#onReceive(Context, Intent)}
39 * @param intent the intent that was broadcast.
42 public void onReceive(final Context context, final Intent intent) {
43 intent.setClass(context, DictionaryService.class);
44 context.startService(intent);
  /packages/apps/Contacts/src/com/android/contacts/editor/
EditorIntents.java 20 import android.content.Intent;
42 * Returns an Intent to start the {@link ContactEditorSpringBoardActivity} for an
45 public static Intent createEditContactIntent(Context context, Uri uri,
47 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, local
49 putMaterialPalette(intent, materialPalette);
50 putPhotoId(intent, photoId);
51 return intent;
56 final Intent intent = createEditContactIntent(context, uri, materialPalette, local
68 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, local
83 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI, local
97 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, local
    [all...]
  /cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
ImeCommandReceiver.java 21 import android.content.Intent;
29 * {@link ImeCommandConstants#ACTION_IME_COMMAND} intent receiver.
38 * Callback method for {@link ImeCommandConstants#COMMAND_COMMIT_TEXT} intent.
46 * Callback method for {@link ImeCommandConstants#COMMAND_SWITCH_INPUT_METHOD} intent.
53 * Callback method for {@link ImeCommandConstants#COMMAND_REQUEST_HIDE_SELF} intent.
66 public void onReceive(final Context context, final Intent intent) {
67 final String command = intent.getStringExtra(ImeCommandConstants.EXTRA_COMMAND);
74 final CharSequence text = getCharSequence1(intent);
75 final int newCursorPosition = getInt1(intent);
    [all...]
  /frameworks/support/media/version-compat-tests/lib/src/main/java/android/support/mediacompat/testlib/util/
IntentUtil.java 21 import android.content.Intent;
29 * Methods and constants used for sending intent between client and service apps.
58 Intent intent = createIntent(SERVICE_RECEIVER_COMPONENT_NAME, methodId, arg); local
59 intent.setAction(ACTION_CALL_MEDIA_BROWSER_SERVICE_METHOD);
61 intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
63 context.sendBroadcast(intent);
70 Intent intent = createIntent(SERVICE_RECEIVER_COMPONENT_NAME, methodId, arg) local
83 Intent intent = createIntent(CLIENT_RECEIVER_COMPONENT_NAME, methodId, arg); local
97 Intent intent = createIntent(CLIENT_RECEIVER_COMPONENT_NAME, methodId, arg); local
107 Intent intent = new Intent(); local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
NoRestartTest.java 19 import android.content.Intent;
30 final Intent intent = new Intent(); local
31 intent.setClassName("com.android.cts.splitapp", "com.android.cts.splitapp.MyActivity");
32 intent.addCategory(Intent.CATEGORY_DEFAULT);
33 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
34 InstrumentationRegistry.getContext().startActivity(intent);
    [all...]
  /development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/
MessagingService.java 20 import android.content.Intent;
42 protected void onHandleIntent(Intent intent) {
43 if (intent != null) {
44 String intentAction = intent.getAction();
49 MessagingReceiver.completeWakefulIntent(intent);
54 MessagingReceiver.completeWakefulIntent(intent);
  /frameworks/base/core/tests/coretests/src/android/app/activity/
ClearTop.java 20 import android.content.Intent;
34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK) local
36 startActivity(intent);
40 public void onNewIntent(Intent intent) {
41 //Log.i("foo", "New intent in " + this + ": " + intent);
42 if (LocalScreen.CLEAR_TASK.equals(intent.getAction()))
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
ShowInstallAppNotificationReceiver.java 21 import android.content.Intent;
30 /** Returns intent used to send a broadcast to this receiver */
31 public static Intent get(Context context, String pkgName) {
32 Intent intent = new Intent(context, ShowInstallAppNotificationReceiver.class); local
33 intent.putExtra(EXTRA_PACKAGE_NAME, pkgName);
34 return intent;
38 public void onReceive(Context context, Intent intent) {
    [all...]

Completed in 1186 milliseconds

12 3 4 5 6 7 8 91011>>