Home
last modified time | relevance | path

Searched refs:getIntent (Results 1 – 25 of 84) sorted by relevance

1234

/development/samples/NotePad/src/com/example/android/notepad/
DNotesList.java83 Intent intent = getIntent(); in onCreate()
104 getIntent().getData(), // Use the default content URI for the provider. in onCreate()
163 Intent intent = new Intent(null, getIntent().getData()); in onCreateOptionsMenu()
201 Uri uri = ContentUris.withAppendedId(getIntent().getData(), getSelectedItemId()); in onPrepareOptionsMenu()
272 startActivity(new Intent(Intent.ACTION_INSERT, getIntent().getData())); in onOptionsItemSelected()
280 startActivity(new Intent(Intent.ACTION_PASTE, getIntent().getData())); in onOptionsItemSelected()
343 Intent intent = new Intent(null, Uri.withAppendedPath(getIntent().getData(), in onCreateContextMenu()
389 Uri noteUri = ContentUris.withAppendedId(getIntent().getData(), info.id); in onContextItemSelected()
449 Uri uri = ContentUris.withAppendedId(getIntent().getData(), id); in onListItemClick()
452 String action = getIntent().getAction(); in onListItemClick()
/development/samples/SpellChecker/SampleSpellCheckerService/src/com/example/android/samplespellcheckerservice/
DSpellCheckerSettingsActivity.java33 public Intent getIntent() { in getIntent() method in SpellCheckerSettingsActivity
34 final Intent modIntent = new Intent(super.getIntent()); in getIntent()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DArticleActivity.java47 mCatIndex = getIntent().getExtras().getInt("catIndex", 0); in onCreate()
48 mArtIndex = getIntent().getExtras().getInt("artIndex", 0); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DIncomingMessageView.java48 getIntent().getCharSequenceExtra(KEY_FROM)); in onCreate()
50 getIntent().getCharSequenceExtra(KEY_MESSAGE)); in onCreate()
DIncomingMessageInterstitial.java56 CharSequence from = getIntent().getCharSequenceExtra(IncomingMessageView.KEY_FROM); in switchToApp()
57 CharSequence msg = getIntent().getCharSequenceExtra(IncomingMessageView.KEY_MESSAGE); in switchToApp()
DSearchQueryResults.java53 final Intent queryIntent = getIntent(); in onCreate()
75 final Intent queryIntent = getIntent(); in onNewIntent()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DImePreferences.java29 public Intent getIntent() { in getIntent() method in ImePreferences
30 final Intent modIntent = new Intent(super.getIntent()); in getIntent()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsReceivedDialog.java53 mFromAddress = getIntent().getExtras().getString(SMS_FROM_ADDRESS_EXTRA); in onCreate()
54 mFromDisplayName = getIntent().getExtras().getString(SMS_FROM_DISPLAY_NAME_EXTRA); in onCreate()
55 mMessage = getIntent().getExtras().getString(SMS_MESSAGE_EXTRA); in onCreate()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailActivity.java48 if (getIntent() != null) { in onCreate()
57 final Uri uri = getIntent().getData(); in onCreate()
DContactsListActivity.java67 if (Intent.ACTION_SEARCH.equals(getIntent().getAction())) { in onCreate()
71 String searchQuery = getIntent().getStringExtra(SearchManager.QUERY); in onCreate()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java42 if (getIntent() != null) { in onCreate()
43 handleIntent(getIntent()); in onCreate()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java100 activity.getIntent().getBundleExtra(Intent.EXTRA_RESTRICTIONS_BUNDLE); in onActivityCreated()
112 mRestrictions = activity.getIntent().getParcelableArrayListExtra( in onActivityCreated()
174 Intent intent = new Intent(getActivity().getIntent()); in onActivityCreated()
196 Intent intent = new Intent(getActivity().getIntent()); in onPreferenceChange()
/development/apps/Development/src/com/android/development/
DDetails.java39 Intent intent = getIntent(); in onCreate()
51 mData = (ArrayList<ColumnData>)getIntent().getExtra("data"); in onCreate()
117 Intent intent = getIntent();
DDataList.java38 Intent intent = getIntent(); in onCreate()
100 uri = Uri.withAppendedPath(getIntent().getData(), mCursor.getString(idCol)); in onListItemClick()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraActivity.java27 int themeId = this.getIntent().getExtras().getInt("theme"); in onCreate()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DDetailsActivity.java34 .setItem((PhotoItem) getIntent().getParcelableExtra(EXTRA_ITEM)); in onCreate()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DBasicNotificationDisplayActivity.java34 String title = getIntent().getStringExtra(EXTRA_TITLE); in onCreate()
DMainActivity.java49 if (getIntent() != null) { in onResume()
50 Bundle inputResults = RemoteInput.getResultsFromIntent(getIntent()); in onResume()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/activities/
DInviteContactActivity.java39 mUriTextView.setText(getIntent().getDataString()); in onCreate()
DViewGroupActivity.java39 mUriTextView.setText(getIntent().getDataString()); in onCreate()
/development/samples/devbytes/telephony/SmsSampleProject/SmsSample/src/main/java/com/example/android/smssample/
DMainActivity.java89 String intentAction = getIntent() == null ? null : getIntent().getAction(); in onCreate()
93 Toast.makeText(this, "Handle SEND and SENDTO intents: " + getIntent().getDataString(), in onCreate()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DAnalogAndCardBoundsWatchFaceConfigActivity.java33 getIntent().getParcelableExtra(WatchFaceCompanion.EXTRA_WATCH_FACE_COMPONENT); in onCreate()
DTiltWatchFaceConfigActivity.java33 getIntent().getParcelableExtra(WatchFaceCompanion.EXTRA_WATCH_FACE_COMPONENT); in onCreate()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DSearchActivity.java36 Intent intent = getIntent(); in onCreate()
/development/samples/AndroidBeamDemo/src/com/example/android/beam/
DBeam.java118 if (NfcAdapter.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction())) { in onResume()
119 processIntent(getIntent()); in onResume()

1234