Home
last modified time | relevance | path

Searched refs:videoId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/util/
DYouTubeUtilTest.java29 final String videoId = "dQw4w9WgXcQ"; in testGetYoutubePreviewImageLink() local
30 final String videoThumbnailUrl = YouTubeUtil.YOUTUBE_STATIC_THUMBNAIL_PREFIX + videoId in testGetYoutubePreviewImageLink()
35 YouTubeUtil.getYoutubePreviewImageLink("http://www.youtube.com/watch?v=" + videoId), in testGetYoutubePreviewImageLink()
38 YouTubeUtil.getYoutubePreviewImageLink("https://www.youtube.com/watch?v=" + videoId in testGetYoutubePreviewImageLink()
41 YouTubeUtil.getYoutubePreviewImageLink("www.youtube.com/watch?v=" + videoId), in testGetYoutubePreviewImageLink()
44 YouTubeUtil.getYoutubePreviewImageLink("http://www.youtube.com/embed/" + videoId), in testGetYoutubePreviewImageLink()
46 assertEquals(YouTubeUtil.getYoutubePreviewImageLink("http://www.youtube.com/v/" + videoId), in testGetYoutubePreviewImageLink()
50 + videoId), videoThumbnailUrl); in testGetYoutubePreviewImageLink()
53 + videoId), videoThumbnailUrl); in testGetYoutubePreviewImageLink()
56 assertEquals(YouTubeUtil.getYoutubePreviewImageLink("http://youtu.be/" + videoId), in testGetYoutubePreviewImageLink()
/packages/apps/Messaging/src/com/android/messaging/util/
DYouTubeUtil.java55 final String videoId = getYouTubeVideoId(uri); in getYoutubePreviewImageLink() local
56 if (!TextUtils.isEmpty(videoId)) { in getYoutubePreviewImageLink()
57 return YOUTUBE_STATIC_THUMBNAIL_PREFIX + videoId + YOUTUBE_STATIC_THUMBNAIL_END; in getYoutubePreviewImageLink()
/packages/apps/Settings/src/com/android/settings/widget/
DMediaAnimationController.java38 MediaAnimationController(Context context, int videoId) { in MediaAnimationController() argument
41 .appendPath(String.valueOf(videoId)) in MediaAnimationController()
DVideoPreference.java159 public void setVideo(int videoId, int previewId) { in setVideo() argument
160 mAnimationId = videoId; in setVideo()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java3851 public static Bitmap getThumbnail(ContentResolver cr, long videoId, int kind, in getThumbnail() argument
3854 Video.Media.EXTERNAL_CONTENT_URI, videoId); in getThumbnail()
3872 public static void cancelThumbnailRequest(ContentResolver cr, long videoId, in cancelThumbnailRequest() argument
3874 cancelThumbnailRequest(cr, videoId); in cancelThumbnailRequest()
3893 public static Bitmap getThumbnail(ContentResolver cr, long videoId, long groupId, in getThumbnail() argument
3895 return getThumbnail(cr, videoId, kind, options); in getThumbnail()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4277 final long videoId = initialValues.getAsLong(MediaStore.Video.Thumbnails.VIDEO_ID); in insertInternal() local
4279 MediaStore.Video.Media.getContentUri(resolvedVolumeName), videoId), in insertInternal() local
7118 final long videoId = Long.parseLong(uri.getPathSegments().get(3));
7120 .withAppendedId(Video.Media.getContentUri(volumeName), videoId);