Home
last modified time | relevance | path

Searched refs:videoId (Results 1 – 5 of 5) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DVideoPreference.java213 public void setVideo(int videoId, int previewId) { in setVideo() argument
214 mAnimationId = videoId; in setVideo()
/packages/apps/Settings/src/com/android/settings/widget/
DVideoPreference.java222 public void setVideo(int videoId, int previewId) { in setVideo() argument
223 mAnimationId = videoId; in setVideo()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3056 final long videoId = initialValues.getAsLong(MediaStore.Video.Thumbnails.VIDEO_ID); in insertInternal() local
3058 MediaStore.Video.Media.getContentUri(resolvedVolumeName), videoId), true); in insertInternal() local
5168 final long videoId = Long.parseLong(uri.getPathSegments().get(3)); in openFileCommon() local
5170 .withAppendedId(Video.Media.getContentUri(volumeName), videoId); in openFileCommon()