Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 56) sorted by relevance

123

/development/samples/NotePad/src/com/example/android/notepad/
DNotesList.java88 if (intent.getData() == null) { 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()
464 getIntent().getData(), // Use the default content URI for the provider. in onCreateLoader()
DNoteEditor.java165 mUri = intent.getData(); in onCreate()
176 mUri = getContentResolver().insert(intent.getData(), null); in onCreate()
186 Log.e(TAG, "Failed to insert new note into " + getIntent().getData()); in onCreate()
DTitleEditor.java79 mUri = getIntent().getData(); in onCreate()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DListenerService.java45 String attractionName = new String(messageEvent.getData()); in onMessageReceived()
52 String attractionQuery = new String(messageEvent.getData()); in onMessageReceived()
/development/apps/Development/src/com/android/development/
DDataList.java40 mCursor = getContentResolver().query(intent.getData(), null, null, null, null); in onCreate()
100 uri = Uri.withAppendedPath(getIntent().getData(), mCursor.getString(idCol)); in onListItemClick()
DDetails.java118 Cursor c = getContentResolver().query(intent.getData(), null, null, null, null);
131 + intent.getData());
DMediaScannerActivity.java114 mTitle.setText("Media Scanner started scanning " + intent.getData().getPath());
117 mTitle.setText("Media Scanner finished scanning " + intent.getData().getPath());
DPermissionDetails.java80 … ArrayList<PackageInfo> appList = msg.getData().getParcelableArrayList(KEY_APPS_USING_PERM);
177 Bundle data = msg.getData(); in getAppsUsingPerm()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java49 setListAdapter(new SimpleAdapter(this, getData(path), in onCreate()
55 protected List<Map<String, Object>> getData(String prefix) { in getData() method in ApiDemos
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/notifier/
DNotifierService.java37 Log.i(TAG, "Contact opened: " + intent.getData()); in onHandleIntent()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DAppUpdateSspReceiver.java30 String msg = "Ssp update received: " + intent.getData(); in onReceive()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java136 Log.d(TAG, String.format("Open Directory result Uri : %s", data.getData())); in onActivityResult()
137 updateDirectoryEntries(data.getData()); in onActivityResult()
/development/samples/TicTacToeLib/src/com/example/android/tictactoe/library/
DGameActivity.java153 State[] data = mGameView.getData(); in handleMessage()
188 State[] data = mGameView.getData(); in checkGameFinished()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailActivity.java57 final Uri uri = getIntent().getData(); in onCreate()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DBusinessCardActivity.java85 loadContactInfo(data.getData()); in onActivityResult()
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChat.java278 mConnectedDeviceName = msg.getData().getString(DEVICE_NAME);
283 Toast.makeText(getApplicationContext(), msg.getData().getString(TOAST),
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/
DBluetoothChatFragment.java312 mConnectedDeviceName = msg.getData().getString(Constants.DEVICE_NAME);
320 Toast.makeText(activity, msg.getData().getString(Constants.TOAST),
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DScopedDirectoryAccessFragment.java89 getActivity().getContentResolver().takePersistableUriPermission(data.getData(), in onActivityResult()
91 updateDirectoryEntries(data.getData()); in onActivityResult()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DDigitalWatchFaceConfigListenerService.java51 byte[] rawData = messageEvent.getData(); in onMessageReceived()
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
DSoundAlarmListenerService.java75 DataMap.fromByteArray(event.getDataItem().getData()).get(FIELD_ALARM_ON); in onDataChanged()
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
DDeleteQuestionService.java66 Uri dataItemUri = intent.getData(); in onHandleIntent()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DPickContact.java90 Uri uri = data.getData(); in onActivityResult()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java48 Uri uri = getIntent().getData(); in onCreate()
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DNsdChatActivity.java53 String chatLine = msg.getData().getString("msg"); in onCreate()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneService.java79 alarmOn = DataMap.fromByteArray(result.get(0).getData()) in onHandleIntent()

123