HomeSort by relevance Sort by last modified time
    Searched defs:intent (Results 226 - 250 of 1857) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /development/samples/Home/src/com/example/android/home/
ApplicationInfo.java 20 import android.content.Intent;
24 * Represents a launchable application. An application is made of a name (or title), an intent
34 * The intent used to start the application.
36 Intent intent; field in class:ApplicationInfo
49 * Creates the application intent based on a component name and various launch flags.
51 * @param className the class name of the component representing the intent
55 intent = new Intent(Intent.ACTION_MAIN)
    [all...]
  /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/NotePad/src/com/example/android/notepad/
NotesLiveFolder.java 22 import android.content.Intent;
23 import android.content.Intent.ShortcutIconResource;
28 * This Activity creates a live folder Intent and
29 * sends it back to HOME. From the data in the Intent, HOME creates a live folder and displays
31 * When the user clicks the icon, Home uses the data it got from the Intent to retrieve information
34 * The intent filter for this Activity is set to ACTION_CREATE_LIVE_FOLDER, which
41 * Instead, it sets up an Intent and returns it to its caller (the HOME activity).
48 * Gets the incoming Intent and its action. If the incoming Intent was
49 * ACTION_CREATE_LIVE_FOLDER, then create an outgoing Intent with th
52 final Intent intent = getIntent(); local
    [all...]
  /development/samples/ToyVpn/src/com/example/android/toyvpn/
ToyVpnClient.java 20 import android.content.Intent;
47 Intent intent = VpnService.prepare(this); local
48 if (intent != null) {
49 startActivityForResult(intent, 0);
56 protected void onActivityResult(int request, int result, Intent data) {
59 Intent intent = new Intent(this, ToyVpnService.class) local
63 startService(intent);
    [all...]
  /development/samples/browseable/DirectShare/src/com.example.android.directshare/
SelectContactActivity.java 20 import android.content.Intent;
41 = "com.example.android.directshare.intent.action.SELECT_CONTACT";
47 Intent intent = getIntent(); local
48 if (!ACTION_SELECT_CONTACT.equals(intent.getAction())) {
91 Intent data = new Intent();
  /development/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/
RepeatingAlarmFragment.java 21 import android.content.Intent;
46 // First create an intent for the alarm to activate.
49 Intent intent = new Intent(getActivity(), MainActivity.class); local
50 intent.setAction(Intent.ACTION_MAIN);
51 intent.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
55 // Because the intent must be fired by a system service from outside the application
    [all...]
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
ListenerService.java 19 import android.content.Intent;
46 Intent intent = DetailActivity.getLaunchIntent(this, attractionName); local
47 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
48 startActivity(intent);
54 Intent intent = new Intent(Intent.ACTION_VIEW, uri) local
    [all...]
  /development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/
MessagingReceiver.java 20 import android.content.Intent;
35 public void onReceive(Context context, Intent intent) {
36 String action = intent == null ? null : intent.getAction();
41 handleIncomingSms(context, intent);
43 handleIncomingMms(context, intent);
47 handleIncomingSms(context, intent);
49 handleIncomingMms(context, intent);
54 private void handleIncomingSms(Context context, Intent intent)
    [all...]
  /development/samples/training/notify-user/src/com/example/android/pingme/
ResultActivity.java 18 import android.content.Intent;
39 Intent intent = new Intent(getApplicationContext(), PingService.class); local
40 intent.setAction(CommonConstants.ACTION_SNOOZE);
41 startService(intent);
45 Intent intent = new Intent(getApplicationContext(), PingService.class); local
46 intent.setAction(CommonConstants.ACTION_DISMISS)
    [all...]
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
UsbAccessoryActivity.java 21 import android.content.Intent;
36 Intent intent = DemoKitLaunch.createIntent(this); local
37 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
38 | Intent.FLAG_ACTIVITY_CLEAR_TOP);
40 startActivity(intent);
  /external/chromium-trace/catapult/telemetry/telemetry/internal/app/
android_app_unittest.py 15 from devil.android.sdk import intent namespace
35 start_intent = intent.Intent(
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
LauncherUtils.java 32 import android.content.Intent;
52 Intent intent = new Intent(context, PollingService.class); local
53 return (context.startService(intent) != null);
64 Intent intent = new Intent(context, PollingService.class); local
65 return context.stopService(intent);
71 Intent intent = new Intent(context, EABService.class) local
78 Intent intent = new Intent(context, EABService.class); local
    [all...]
PresenceBroadcastReceiver.java 33 import android.content.Intent;
43 public void onReceive(Context context, Intent intent) {
44 logger.print("onReceive(), intent: " + intent +
47 String action = intent.getAction();
49 intent.setClass(context, PersistService.class);
50 context.startService(intent);
52 logger.debug("No interest in this intent: " + action);
  /external/opencv3/platforms/android/service/engine/src/org/opencv/engine/
MarketConnector.java 4 import android.content.Intent;
22 Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
23 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
24 mContext.startActivity(intent);
  /external/sl4a/Common/src/com/googlecode/android_scripting/trigger/
ScriptTrigger.java 20 import android.content.Intent;
43 Intent intent = IntentBuilders.buildStartInBackgroundIntent(mScript); local
45 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
46 context.startActivity(intent);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
ScriptingLayerServiceLauncher.java 20 import android.content.Intent;
36 // Forward the intent that launched us to start the service.
39 Intent intent = getIntent(); local
40 intent.setComponent(Constants.SL4A_SERVICE_COMPONENT_NAME);
41 startService(intent);
  /external/v8/build/android/pylib/monkey/
test_runner.py 11 from devil.android.sdk import intent namespace
58 intent.Intent(package=self._package, activity=self._activity,
59 action='android.intent.action.MAIN'),
98 minidump_intent = intent.Intent(
  /frameworks/base/core/java/android/preference/
PreferenceInflater.java 27 import android.content.Intent;
40 private static final String INTENT_TAG_NAME = "intent";
71 Intent intent = null; local
74 intent = Intent.parseIntent(getContext().getResources(), parser, attrs);
82 if (intent != null) {
83 parentPreference.setIntent(intent);
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestResultActivity.java 21 import android.content.Intent;
38 final Intent intent = new Intent(context, TestResultActivity.class); local
39 intent.putExtra("message", message);
40 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
41 context.startActivity(intent);
59 protected void onNewIntent(Intent intent) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
AppBindRecord.java 28 final IntentBindRecord intent; // The intent we are bound to. field in class:AppBindRecord
54 intent = _intent;
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest4.java 24 import android.content.Intent;
103 final Intent intent = new Intent(Intent.ACTION_MAIN) local
108 makeShortcutWithExtras("s1", intent, sShortcutExtras),
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
TestAlertActivity.java 5 import android.content.Intent;
17 Intent intent = getIntent(); local
18 mId = intent.getIntExtra("id", -1);
  /frameworks/opt/telephony/src/java/android/telephony/
CarrierMessagingServiceManager.java 21 import android.content.Intent;
61 Intent intent = new Intent(CarrierMessagingService.SERVICE_INTERFACE); local
62 intent.setPackage(carrierPackageName);
64 return context.bindService(intent, mCarrierMessagingServiceConnection,
  /frameworks/support/compat/api20/android/support/v4/app/
RemoteInputCompatApi20.java 20 import android.content.Intent;
55 static Bundle getResultsFromIntent(Intent intent) {
56 return RemoteInput.getResultsFromIntent(intent);
60 Intent intent, Bundle results) {
61 RemoteInput.addResultsToIntent(fromCompat(remoteInputs), intent, results); local
  /frameworks/support/core-utils/tests/java/android/support/v4/provider/
GrantActivity.java 21 import android.content.Intent;
34 final Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); local
35 startActivityForResult(intent, 12);
39 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
43 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION);

Completed in 357 milliseconds

1 2 3 4 5 6 7 8 91011>>