Home
last modified time | relevance | path

Searched refs:Uri (Results 1 – 25 of 173) sorted by relevance

1234567

/developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/
DAppLinkHelper.java3 import android.net.Uri;
29 public static Uri buildPlaybackUri(long channelId, long movieId) { in buildPlaybackUri()
41 public static Uri buildPlaybackUri(long channelId, long movieId, long position) { in buildPlaybackUri()
42 return Uri.parse(URI_PLAY) in buildPlaybackUri()
56 public static Uri buildBrowseUri(String subscriptionName) { in buildBrowseUri()
57 return Uri.parse(URI_VIEW).buildUpon().appendPath(subscriptionName).build(); in buildBrowseUri()
66 public static AppLinkAction extractAction(Uri uri) { in extractAction()
82 private static boolean isPlaybackUri(Uri uri) { in isPlaybackUri()
96 private static boolean isBrowseUri(Uri uri) { in isBrowseUri()
110 private static String extractSubscriptionName(Uri uri) { in extractSubscriptionName()
[all …]
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
DTouristAttractions.java19 import android.net.Uri;
60Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600…
61Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600…
70Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600…
71Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600…
80Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600…
81Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600…
90Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600…
91Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600…
100Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500…
[all …]
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/provider/
DTouristAttractions.java19 import android.net.Uri;
60Uri.parse("https://lh5.googleusercontent.com/-7fb5ybQhUbo/VGLWjIL4RmI/AAAAAAAAACM/2jLe_msj_tk/w600…
61Uri.parse("https://lh3.googleusercontent.com/-EFEw6s7mT6I/VGLkCH4Xt4I/AAAAAAAAADY/ZlznhaQvb8E/w600…
70Uri.parse("https://lh6.googleusercontent.com/-ORRJtfLQlaw/VGLmQPv3n8I/AAAAAAAAAD8/2TzSCCPzl9k/w600…
71Uri.parse("https://lh4.googleusercontent.com/-ch9Kk-7pD68/VGLkCNh5niI/AAAAAAAAADc/ztxkRHWX-po/w600…
80Uri.parse("https://lh5.googleusercontent.com/-qX43g6s92LY/VGLaTT3N35I/AAAAAAAAAC8/BbueQmch0Rw/w600…
81Uri.parse("https://lh6.googleusercontent.com/-SQ6T1Ure6l8/VGLaTg2iGuI/AAAAAAAAACo/m6_RkTW2G1o/w600…
90Uri.parse("https://lh4.googleusercontent.com/-wbNgVdUkBiE/VHe99hGVtNI/AAAAAAAAAFY/fAHfhchNLJw/w600…
91Uri.parse("https://lh6.googleusercontent.com/-sjY_xlEOic4/VHe9-I4DD9I/AAAAAAAAAFI/Mt0VnjU7SxQ/w600…
100Uri.parse("https://lh6.googleusercontent.com/-kypwDfnk674/VGLWpQPm4VI/AAAAAAAAAB0/SrfL0fE9DnE/w500…
[all …]
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java25 import android.net.Uri;
46 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete()
52 public String getType(@NonNull Uri uri) { in getType()
58 public Uri insert(@NonNull Uri uri, ContentValues values) { in insert()
64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query()
72 public int update(@NonNull Uri uri, ContentValues values, String selection, in update()
79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile()
/developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java25 import android.net.Uri;
46 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete()
52 public String getType(@NonNull Uri uri) { in getType()
58 public Uri insert(@NonNull Uri uri, ContentValues values) { in insert()
64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query()
72 public int update(@NonNull Uri uri, ContentValues values, String selection, in update()
79 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile()
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/
DAssetProvider.java25 import android.net.Uri;
60 public String getType(Uri uri){ in getType()
79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile()
119 public Cursor query(Uri uri, String[] projection, String selection, in query()
127 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java25 import android.net.Uri;
60 public String getType(Uri uri){ in getType()
79 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile()
119 public Cursor query(Uri uri, String[] projection, String selection, in query()
127 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/developers/build/prebuilts/gradle/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
DAttraction.java20 import android.net.Uri;
32 public Uri imageUrl;
33 public Uri secondaryImageUrl;
43 public Attraction(String name, String description, String longDescription, Uri imageUrl, in Attraction()
44 Uri secondaryImageUrl, LatLng location, String city) { in Attraction()
/developers/samples/android/wearable/wear/XYZTouristAttractions/Shared/src/main/java/com/example/android/xyztouristattractions/common/
DAttraction.java20 import android.net.Uri;
32 public Uri imageUrl;
33 public Uri secondaryImageUrl;
43 public Attraction(String name, String description, String longDescription, Uri imageUrl, in Attraction()
44 Uri secondaryImageUrl, LatLng location, String city) { in Attraction()
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
DWeatherDataProvider.java23 import android.net.Uri;
47 public static final Uri CONTENT_URI =
48 Uri.parse("content://com.example.android.widgetdata.provider");
83 public synchronized Cursor query(Uri uri, String[] projection, String selection, in query()
99 public String getType(Uri uri) { in getType()
104 public Uri insert(Uri uri, ContentValues values) { in insert()
110 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
116 public synchronized int update(Uri uri, ContentValues values, String selection, in update()
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/
DBeamLargeFilesFragment.java20 import android.net.Uri;
90 public Uri[] createBeamUris(NfcEvent nfcEvent) { in createBeamUris()
93 Uri photoUri = Uri.parse(CONTENT_BASE_URI + FILENAME); in createBeamUris()
95 return new Uri[] {photoUri}; in createBeamUris()
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/src/main/java/com/example/android/beamlargefiles/
DBeamLargeFilesFragment.java20 import android.net.Uri;
90 public Uri[] createBeamUris(NfcEvent nfcEvent) { in createBeamUris()
93 Uri photoUri = Uri.parse(CONTENT_BASE_URI + FILENAME); in createBeamUris()
95 return new Uri[] {photoUri}; in createBeamUris()
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedContract.java20 import android.net.Uri;
39 public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
64 public static final Uri CONTENT_URI =
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/
DFeedContract.java20 import android.net.Uri;
39 public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
64 public static final Uri CONTENT_URI =
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/
DAssetProvider.java26 import android.net.Uri;
73 public String getType(Uri uri){ in getType()
92 public AssetFileDescriptor openAssetFile (Uri uri, String mode) in openAssetFile()
131 public Cursor query(Uri uri, String[] projection, String selection, in query()
170 public Uri insert(Uri uri, ContentValues contentValues) { in insert()
175 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/
DConstants.java19 import android.net.Uri;
27 public static final Uri URI_PATTERN_DATA_ITEMS =
28 Uri.fromParts("wear", DATA_ITEM_PATH, null);
/developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/
DConstants.java19 import android.net.Uri;
27 public static final Uri URI_PATTERN_DATA_ITEMS =
28 Uri.fromParts("wear", DATA_ITEM_PATH, null);
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageContract.java19 import android.net.Uri;
29 static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/images");
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageContract.java19 import android.net.Uri;
29 static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/images");
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DVideoContentProvider.java25 import android.net.Uri;
70 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
115 public String getType(Uri uri) { in getType()
129 public Uri insert(Uri uri, ContentValues values) { in insert()
134 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
139 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/developers/samples/android/content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/
DStorageClientFragment.java25 import android.net.Uri;
99 Uri uri = null; in onActivityResult()
114 public void showImage(Uri uri) { in showImage()
135 private Uri mUri;
147 private Bitmap getBitmapFromUri(Uri uri) { in getBitmapFromUri()
187 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
189 protected Bitmap doInBackground(Uri... uris) { in onCreateDialog()
218 public void dumpImageMetaData(Uri uri) { in dumpImageMetaData()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/recommendation/
DRecommendationBuilder.java26 import android.net.Uri;
115 Uri.parse(BACKGROUND_URI_PREFIX + Integer.toString(mId)).toString()); in build()
192 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
197 public String getType(Uri uri) { in getType()
202 public Uri insert(Uri uri, ContentValues values) { in insert()
207 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
213 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
221 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/
DStorageClientFragment.java25 import android.net.Uri;
99 Uri uri = null; in onActivityResult()
114 public void showImage(Uri uri) { in showImage()
135 private Uri mUri;
147 private Bitmap getBitmapFromUri(Uri uri) { in getBitmapFromUri()
187 AsyncTask<Uri, Void, Bitmap> imageLoadAsyncTask = new AsyncTask<Uri, Void, Bitmap>() { in onCreateDialog()
189 protected Bitmap doInBackground(Uri... uris) { in onCreateDialog()
218 public void dumpImageMetaData(Uri uri) { in dumpImageMetaData()
/developers/build/prebuilts/gradle/StorageClient/Application/tests/src/com/example/android/storageclient/tests/
DSampleTests.java33 import android.net.Uri;
78 Uri uri = Uri.parse("content://HAHADOESNTEXIST"); in testDumpMetadataInvalidUri()
/developers/samples/android/content/documentsUi/StorageClient/Application/tests/src/com/example/android/storageclient/tests/
DSampleTests.java33 import android.net.Uri;
78 Uri uri = Uri.parse("content://HAHADOESNTEXIST"); in testDumpMetadataInvalidUri()

1234567