Home
last modified time | relevance | path

Searched refs:mediaItem (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java286 private BrowseItemViewType getBrowsableViewType(@Nullable MediaItemMetadata mediaItem) {
287 if (mediaItem == null) {
290 if (mediaItem.getBrowsableContentStyleHint() == 0) {
293 return fromMediaHint(mediaItem.getBrowsableContentStyleHint());
296 private BrowseItemViewType getPlayableViewType(@Nullable MediaItemMetadata mediaItem) {
297 if (mediaItem == null) {
300 if (mediaItem.getPlayableContentStyleHint() == 0) {
303 return fromMediaHint(mediaItem.getPlayableContentStyleHint());
DBrowseViewData.java48 BrowseViewData(MediaItemMetadata mediaItem, @NonNull BrowseItemViewType viewType, in BrowseViewData() argument
50 mMediaItem = mediaItem; in BrowseViewData()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstResultsSaver.java142 BurstMediaItem mediaItem, in saveBurstMediaItem() argument
152 artifactType, artifactIndex, index, mediaItem.getTimestamp()); in saveBurstMediaItem()
153 String mimeType = mediaItem.getMimeType(); in saveBurstMediaItem()
155 stackSaver.saveStackedImage(mediaItem.getFilePath(), in saveBurstMediaItem()
157 mediaItem.getWidth(), in saveBurstMediaItem()
158 mediaItem.getHeight(), in saveBurstMediaItem()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DVideoPlayerActivity.java118 UriMediaItem mediaItem = new UriMediaItem.Builder(uri).build(); in handleIntent() local
119 mVideoView.setMediaItem(mediaItem); in handleIntent()
DAudioPlayerActivity.java140 UriMediaItem mediaItem = new UriMediaItem.Builder(uri).build(); in handleIntent() local
141 mVideoView.setMediaItem(mediaItem); in handleIntent()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java744 private boolean isTemporaryItem(MediaItem mediaItem) { in isTemporaryItem() argument
748 if (!(mediaItem instanceof LocalMediaItem)) return false; in isTemporaryItem()
749 LocalMediaItem item = (LocalMediaItem) mediaItem; in isTemporaryItem()
DPhotoPage.java536 MediaItem mediaItem = (MediaItem) in onCreate() local
538 mModel = new SinglePhotoDataAdapter(mActivity, mPhotoView, mediaItem); in onCreate()
540 updateCurrentPhoto(mediaItem); in onCreate()