Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaBrowserViewModelImpl.java25 import com.android.car.media.common.MediaConstants;
77 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED)) { in getSupportsSearch()
78 return extras.getBoolean(MediaConstants.MEDIA_SEARCH_SUPPORTED); in getSupportsSearch()
80 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE)) { in getSupportsSearch()
81 return extras.getBoolean(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE); in getSupportsSearch()
95 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT)) { in getRootBrowsableHint()
96 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT, 0); in getRootBrowsableHint()
98 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE)) { in getRootBrowsableHint()
99 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE, 0); in getRootBrowsableHint()
113 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT)) { in getRootPlayableHint()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java249 return extras != null && extras.getLong(MediaConstants.EXTRA_IS_EXPLICIT) in isExplicit()
250 == MediaConstants.EXTRA_METADATA_ENABLED_VALUE; in isExplicit()
258 return extras != null && extras.getLong(MediaConstants.EXTRA_DOWNLOAD_STATUS) in isDownloaded()
300 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT)) { in getBrowsableContentStyleHint()
301 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT, 0); in getBrowsableContentStyleHint()
302 } else if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE)) { in getBrowsableContentStyleHint()
303 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE, 0); in getBrowsableContentStyleHint()
321 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT)) { in getPlayableContentStyleHint()
322 return extras.getInt(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT, 0); in getPlayableContentStyleHint()
323 } else if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT_PRERELEASE)) { in getPlayableContentStyleHint()
[all …]
DPlaybackErrorsHelper.java140 MediaConstants.ERROR_RESOLUTION_ACTION_INTENT); in getErrorResolutionIntent()
147 MediaConstants.ERROR_RESOLUTION_ACTION_LABEL); in getErrorResolutionLabel()
DMediaConstants.java25 public final class MediaConstants { class
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseAdapter.java32 import com.android.car.media.common.MediaConstants;
321 case MediaConstants.CONTENT_STYLE_GRID_ITEM_HINT_VALUE: in fromMediaHint()
323 case MediaConstants.CONTENT_STYLE_CATEGORY_GRID_ITEM_HINT_VALUE: in fromMediaHint()
325 case MediaConstants.CONTENT_STYLE_CATEGORY_LIST_ITEM_HINT_VALUE: in fromMediaHint()
327 case MediaConstants.CONTENT_STYLE_LIST_ITEM_HINT_VALUE: in fromMediaHint()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java49 import com.android.car.media.common.MediaConstants;
460 MediaConstants.SLOT_RESERVATION_SKIP_TO_NEXT) in isSkipNextReserved()
462 MediaConstants.PLAYBACK_SLOT_RESERVATION_SKIP_TO_NEXT)); in isSkipNextReserved()
471 MediaConstants.SLOT_RESERVATION_SKIP_TO_PREV) in iSkipPreviousReserved()
473 MediaConstants.PLAYBACK_SLOT_RESERVATION_SKIP_TO_PREV)); in iSkipPreviousReserved()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaBrowserConnector.java32 import com.android.car.media.common.MediaConstants;
258 rootHints.putInt(MediaConstants.EXTRA_MEDIA_ART_SIZE_HINT_PIXELS, mMaxBitmapSizePx); in createMediaBrowser()