Home
last modified time | relevance | path

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

12345

/development/samples/NotePad/src/com/example/android/notepad/
DNotesList.java84 Intent intent = getIntent(); in onCreate()
154 Intent intent = new Intent(null, getIntent().getData()); in onCreateOptionsMenu()
192 Uri uri = ContentUris.withAppendedId(getIntent().getData(), getSelectedItemId()); in onPrepareOptionsMenu()
263 startActivity(new Intent(Intent.ACTION_INSERT, getIntent().getData())); in onOptionsItemSelected()
271 startActivity(new Intent(Intent.ACTION_PASTE, getIntent().getData())); in onOptionsItemSelected()
334 Intent intent = new Intent(null, Uri.withAppendedPath(getIntent().getData(), in onCreateContextMenu()
380 Uri noteUri = ContentUris.withAppendedId(getIntent().getData(), info.id); in onContextItemSelected()
440 Uri uri = ContentUris.withAppendedId(getIntent().getData(), id); in onListItemClick()
443 String action = getIntent().getAction(); in onListItemClick()
464 getIntent().getData(), // Use the default content URI for the provider. in onCreateLoader()
/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/ApiDemos/src/com/example/android/apis/content/
DProcessText.java23 CharSequence text = getIntent().getCharSequenceExtra(Intent.EXTRA_PROCESS_TEXT); in onCreate()
25 getIntent().getBooleanExtra(Intent.EXTRA_PROCESS_TEXT_READONLY, false); in onCreate()
46 Intent intent = getIntent(); in finish()
/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/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java42 if (getIntent() != null) { in onCreate()
43 handleIntent(getIntent()); 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/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java101 activity.getIntent().getBundleExtra(Intent.EXTRA_RESTRICTIONS_BUNDLE); in onActivityCreated()
113 mRestrictions = activity.getIntent().getParcelableArrayListExtra( in onActivityCreated()
171 Intent intent = new Intent(getActivity().getIntent()); in onActivityCreated()
196 Intent intent = new Intent(getActivity().getIntent()); in onPreferenceChange()
/development/samples/browseable/AutoBackupForApps/src/com.example.android.autobackupsample/
DAddFileActivity.java107 if (getIntent().hasExtra(FILE_NAME) && getIntent().hasExtra(FILE_SIZE_IN_BYTES)) { in onResume()
108 String fileName = getIntent().getStringExtra(FILE_NAME); in onResume()
109 String sizeInBytesParamValue = getIntent().getStringExtra(FILE_SIZE_IN_BYTES); in onResume()
112 if (getIntent().hasExtra(FILE_STORAGE)) { in onResume()
113 fileStorageParamValue = getIntent().getStringExtra(FILE_STORAGE); in onResume()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DCameraActivity.java27 int themeId = this.getIntent().getExtras().getInt("theme"); in onCreate()
/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/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/
DViewGroupActivity.java39 mUriTextView.setText(getIntent().getDataString()); in onCreate()
DInviteContactActivity.java39 mUriTextView.setText(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()
DOpenGLWatchFaceConfigActivity.java38 getIntent().getParcelableExtra(WatchFaceCompanion.EXTRA_WATCH_FACE_COMPONENT); in onCreate()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DMainActivity.java91 String intentAction = getIntent() == null ? null : getIntent().getAction(); in onCreate()
95 Toast.makeText(this, "Handle SEND and SENDTO intents: " + getIntent().getDataString(), in onCreate()
/development/samples/training/testingfun/app/src/com/example/android/testingfun/lesson4/
DNextActivity.java54 final String stringPayload = getIntent().getStringExtra(EXTRAS_PAYLOAD_KEY); in onCreate()

12345