Searched refs:uri (Results 351 - 375 of 397) sorted by relevance

<<111213141516

/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageListItem.java478 Uri uri = Uri.parse(spans[0].getURL());
479 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
520 Uri uri = Uri.parse(urls.get(which));
521 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
H A DVideoEditorProject.java55 private static final String ATTR_URI = "uri";
273 * @param uri The movie URI
275 void addExportedMovieUri(Uri uri) { argument
276 mExportedMovieUri = uri;
1147 final String uri = download.getMediaUri();
1148 if (mediaUri.equals(uri)) {
/packages/apps/VoiceDialer/src/com/android/voicedialer/
H A DCommandRecognizerEngine.java969 Uri uri = Uri.fromParts("tel", commands[1], null);
972 addCallIntent(intents, uri,
1207 private static void addCallIntent(ArrayList<Intent> intents, Uri uri, String literal, argument
1209 Intent intent = new Intent(Intent.ACTION_CALL_PRIVILEGED, uri).
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadManagerFunctionalTest.java79 public synchronized void notifyChange(Uri uri, ContentObserver observer, argument
H A DPublicApiFunctionalTest.java110 private void checkUriContent(Uri uri) throws FileNotFoundException, IOException { argument
111 InputStream inputStream = mResolver.openInputStream(uri);
/packages/apps/Camera/src/com/android/camera/
H A DCamera.java995 Uri uri = Storage.addImage(mContentResolver, title, dateTaken,
997 if (uri != null) {
1012 data, orientation, inSampleSize, uri);
1020 Util.broadcastNewPicture(Camera.this, uri);
1379 // caller specifies a "save uri" then write the data to it's
2290 Uri uri = mThumbnail.getUri();
2291 if (mSharePopup == null || !uri.equals(mSharePopup.getUri())) {
2293 mSharePopup = new SharePopup(this, uri, mThumbnail.getBitmap(),
/packages/apps/Browser/src/com/android/browser/
H A DAddBookmarkPage.java359 Uri uri = getContentResolver().insert(
361 if (uri != null) {
362 return ContentUris.parseId(uri);
797 Uri uri = ContentUris.withAppendedId(BookmarkUtils.getBookmarksUri(mContext), mId);
799 uri,
H A DController.java1173 Uri uri = intent.getData();
1174 loadUrl(t, uri.toString());
2101 DataUri uri = new DataUri(mText);
2102 File target = getTarget(uri);
2104 outputStream.write(uri.getData());
2109 uri.getMimeType(), target.getAbsolutePath(),
2110 (long)uri.getData().length, false);
2128 private File getTarget(DataUri uri) throws IOException { argument
2132 String mimeType = uri.getMimeType();
H A DBrowserHistoryPage.java127 Uri uri = combinedBuilder
131 CursorLoader loader = new CursorLoader(getActivity(), uri,
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DCalendarSyncAdapter.java227 public static Uri asSyncAdapter(Uri uri, String account, String accountType) { argument
228 return uri.buildUpon().appendQueryParameter(CalendarContract.CALLER_IS_SYNCADAPTER, "true")
234 * Generate the uri for the data row associated with this NamedContentValues object
236 * @return a uri that can be used to refer to this row
240 Uri dataUri = ContentUris.withAppendedId(ncv.uri, id);
1633 Uri ncvUri = ncv.uri;
1687 Uri ncvUri = ncv.uri;
1850 if (ncv.uri.equals(ExtendedProperties.CONTENT_URI)) {
1969 exEntity.addSubValue(ncv.uri, ncv.values);
2028 if (ncv.uri
[all...]
H A DEmailSyncAdapter.java322 Uri uri;
326 uri = ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId);
330 uri = ContentUris.withAppendedId(Mailbox.CONTENT_URI, mMailbox.mId);
332 mContentResolver.update(uri, cv, null, null);
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java1363 Uri uri = service.mContentResolver.insert(
1367 if (uri != null) {
1368 String stringId = uri.getPathSegments().get(1);
1375 static Uri asSyncAdapter(Uri uri, String account, String accountType) { argument
1376 return uri.buildUpon()
1800 Uri ncvUri = ncv.uri;
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DConfirmAddDetailActivity.java284 * @param contactUri the contact uri
297 * Internal method to query contact photo by photo id and uri.
300 * @param lookupKey the lookup uri.
324 Uri uri = builder.build();
326 mQueryHandler.startQuery(TOKEN_DISAMBIGUATION_QUERY, null, uri,
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DContactLoaderTest.java77 private ContactLoader.Result assertLoadContact(Uri uri) { argument
78 final ContactLoader loader = new ContactLoader(mMockContext, uri);
361 "content:some.photo.uri",
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMailbox.java348 Uri uri = FROM_ACCOUNT_AND_TYPE_URI.buildUpon().appendPath(Long.toString(accountId))
350 Cursor c = context.getContentResolver().query(uri, ID_PROJECTION, null, null, null);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumPage.java203 Uri uri = dm.getContentUri(item.getPath());
204 Intent intent = new Intent(CropImage.ACTION_CROP, uri)
H A DPhotoPage.java535 public static void playVideo(Activity activity, Uri uri, String title) { argument
538 .setDataAndType(uri, "video/*");
/packages/apps/Mms/src/com/android/mms/model/
H A DSlideshowModel.java107 Context context, Uri uri) throws MmsException {
108 return createFromPduBody(context, getPduBody(context, uri));
106 createFromMessageUri( Context context, Uri uri) argument
/packages/apps/Music/src/com/android/music/
H A DPlaylistBrowserActivity.java333 Uri uri = ContentUris.withAppendedId(
335 getContentResolver().delete(uri, null, null);
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/
H A DStrictModeActivity.java452 Uri uri = cr.insert(SYSTEM_SETTINGS_URI, values);
453 Log.v(TAG, "inserted uri: " + uri);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactDirectoryManager.java395 Uri uri = new Uri.Builder().scheme("content")
400 uri, DirectoryQuery.PROJECTION, null, null, null);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java263 Uri rawContactUri = results[0].uri;
417 return ContentUris.parseId(results[i].uri);
962 Uri uri = RawContacts.getContactLookupUri(resolver,
964 callbackIntent.setData(uri);
H A DCallDetailActivity.java91 /** If we are started with a voicemail, we'll find the uri to play with this extra. */
261 // Has voicemail: add the voicemail fragment. Add suitable arguments to set the uri
277 // No voicemail uri: hide the status view.
313 Uri uri = getIntent().getData();
314 if (uri != null) {
316 return new Uri[]{ uri };
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DGoogleSource.java237 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(results[1].uri));
/packages/apps/Gallery/src/com/android/camera/
H A DImageGallery.java611 Uri uri = getIntent().getData();
618 (uri != null)
619 ? uri.getQueryParameter("bucketId")

Completed in 2980 milliseconds

<<111213141516