/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriSource.java | 20 import android.net.Uri; 39 super("uri"); 50 String uri = URLDecoder.decode(segment[1], CHARSET_UTF_8); local 52 return new UriImage(mApplication, path, Uri.parse(uri), type); 58 private String getMimeType(Uri uri) { 59 if (ContentResolver.SCHEME_FILE.equals(uri.getScheme())) { 61 MimeTypeMap.getFileExtensionFromUrl(uri.toString()); 67 // This could happen for "http" URI [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropExtras.java | 19 import android.net.Uri; 45 private Uri mExtraOutput = null; 52 boolean setAsWallpaper, boolean returnData, Uri extraOutput, String outputFormat, 102 public Uri getExtraOutput() {
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BugleRecipientEntry.java | 18 import android.net.Uri; 33 final Uri photoThumbnailUri, final boolean isFirstLevel, final boolean isValid, 46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey); 56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey);
|
NotificationState.java | 19 import android.net.Uri; 68 public ArrayList<Uri> mParticipantAvatarsUris = null; 69 public ArrayList<Uri> mParticipantContactUris = null; 81 protected Uri getAttachmentUri() { 137 /** @return custom ringtone URI or null if not set */
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
SendStatusReceiver.java | 22 import android.net.Uri; 63 final Uri requestId = intent.getData(); 71 final Uri messageUri = intent.getData(); 79 final Uri smsMessageUri = intent.getData();
|
/packages/apps/TV/src/com/android/tv/ |
SelectInputActivity.java | 23 import android.net.Uri; 55 private void startTvWithChannel(Uri channelUri) { 65 Uri channelUri = Uri.parse(channelUriString);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/ |
VideoPresentation.java | 22 import android.net.Uri; 56 Uri uri = Uri.parse("android.resource://" + packageName + "/" + R.raw.test_video); local 57 videoView.setVideoURI(uri);
|
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
LaunchingActivity.java | 10 import android.net.Uri; 41 Uri data = new Uri.Builder()
|
/cts/tests/app/src/android/app/cts/ |
ConditionTest.java | 19 import android.net.Uri; 26 private final Uri mConditionId = new Uri.Builder().scheme("scheme")
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
BasicInCallServiceTest.java | 25 import android.net.Uri; 38 private static final Uri TEST_NUMBER = Uri.fromParts("tel", "555-1234", null);
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyVideoSourceActivity.java | 21 import android.net.Uri; 51 Uri uri = Uri.parse("android.resource://android.view.cts/" + R.raw.colorgrid_video); local 52 mVideoView.setVideoURI(uri);
|
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/ |
ContentItem.java | 21 import android.net.Uri; 26 * to reference the content (asset URI or resource id). 63 * @return Uri to the content 65 public Uri getContentUri() { 67 // If this content has an asset, then return a AssetProvider Uri 68 return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + contentAssetFilePath); 87 // Bundle the asset content uri as the EXTRA_STREAM uri
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/ |
ContentItem.java | 21 import android.net.Uri; 26 * to reference the content (asset URI or resource id). 63 * @return Uri to the content 65 public Uri getContentUri() { 67 // If this content has an asset, then return a AssetProvider Uri 68 return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + contentAssetFilePath); 87 // Bundle the asset content uri as the EXTRA_STREAM uri
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/ |
ImageDragListener.java | 20 import android.net.Uri; 27 * Sets colors of the target when DragEvents fire. When a drop is received, the {@link Uri} backing 87 Uri uri = item.getUri(); local 88 if (uri == null) { 91 return setImageUri(view, event, uri); 97 protected boolean setImageUri(View view, DragEvent event, Uri uri) { 101 ((ImageView) view).setImageURI(uri);
|
/developers/samples/android/ui/window/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/ |
ImageDragListener.java | 20 import android.net.Uri; 79 Uri uri = item.getUri(); local 80 if (uri == null) { 83 return setImageUri(view, event, uri); 89 protected boolean setImageUri(View view, DragEvent event, Uri uri) { 93 ((ImageView) view).setImageURI(uri);
|
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/ |
ContentItem.java | 21 import android.net.Uri; 26 * to reference the content (asset URI or resource id). 63 * @return Uri to the content 65 public Uri getContentUri() { 67 // If this content has an asset, then return a AssetProvider Uri 68 return Uri.parse("content://" + AssetProvider.CONTENT_URI + "/" + contentAssetFilePath); 87 // Bundle the asset content uri as the EXTRA_STREAM uri
|
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/ |
SmsTest.java | 20 import android.net.Uri; 65 Uri message = Uri.parse("content://sms/");
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursor.java | 3 import android.net.Uri; 9 public Uri uri; field in class:SimpleTestCursor 20 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) { 21 this.uri = uri;
|
/frameworks/base/core/java/android/database/ |
Cursor.java | 20 import android.net.Uri; 421 * Register to watch a content URI for changes. This can be the URI of a specific data row (for 422 * example, "content://my_provider_type/23"), or a a generic URI for a content type. 426 * @param uri The content URI to watch. 428 void setNotificationUri(ContentResolver cr, Uri uri); 431 * Return the URI at which notifications of changes in this Cursor's data 433 * @return Returns a URI that can be used wit [all...] |
/frameworks/base/core/java/android/text/style/ |
URLSpan.java | 22 import android.net.Uri; 70 Uri uri = Uri.parse(getURL()); local 72 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
VoiceInteractionMain.java | 21 import android.net.Uri; 49 public Uri onProvideReferrer() { 50 return Uri.parse("http://www.example.com/VoiceInteractionMain");
|
/frameworks/ex/common/java/com/android/common/content/ |
SQLiteContentProvider.java | 28 import android.net.Uri; 71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, 82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); 95 public Uri insert(Uri uri, ContentValues values) [all...] |
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
MediaSessionCompatApi24.java | 20 import android.net.Uri; 49 public void onPrepareFromUri(Uri uri, Bundle extras); 74 public void onPrepareFromUri(Uri uri, Bundle extras) { 75 mCallback.onPrepareFromUri(uri, extras);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppShareInfo.java | 35 import android.net.Uri; 45 public Uri mUri; 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, 75 mUri = uri;
|
BluetoothShare.java | 36 import android.net.Uri; 54 * The content:// URI for the data table in the provider 56 public static final Uri CONTENT_URI = Uri.parse("content://com.android.bluetooth.opp/btopp"); 72 * The name of the column containing the URI of the file being 81 public static final String URI = "uri"; 341 * requests with unknown/unsupported URI schemes.
|