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.java41 import com.android.car.media.common.MediaConstants;
183 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED)) { in supportsSearch()
184 return extras.getBoolean(MediaConstants.MEDIA_SEARCH_SUPPORTED); in supportsSearch()
186 if (extras.containsKey(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE)) { in supportsSearch()
187 return extras.getBoolean(MediaConstants.MEDIA_SEARCH_SUPPORTED_PRERELEASE); in supportsSearch()
204 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT)) {
205 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT, 0);
207 if (extras.containsKey(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE)) {
208 return extras.getInt(MediaConstants.CONTENT_STYLE_BROWSABLE_HINT_PRERELEASE, 0);
225 if (extras.containsKey(MediaConstants.CONTENT_STYLE_PLAYABLE_HINT)) {
[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 …]
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;
324 case MediaConstants.CONTENT_STYLE_GRID_ITEM_HINT_VALUE:
326 case MediaConstants.CONTENT_STYLE_CATEGORY_GRID_ITEM_HINT_VALUE:
328 case MediaConstants.CONTENT_STYLE_CATEGORY_LIST_ITEM_HINT_VALUE:
330 case MediaConstants.CONTENT_STYLE_LIST_ITEM_HINT_VALUE:
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java47 import com.android.car.media.common.MediaConstants;
419 MediaConstants.SLOT_RESERVATION_SKIP_TO_NEXT) in isSkipNextReserved()
421 MediaConstants.PLAYBACK_SLOT_RESERVATION_SKIP_TO_NEXT)); in isSkipNextReserved()
430 MediaConstants.SLOT_RESERVATION_SKIP_TO_PREV) in iSkipPreviousReserved()
432 MediaConstants.PLAYBACK_SLOT_RESERVATION_SKIP_TO_PREV)); in iSkipPreviousReserved()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaBrowserConnector.java29 import com.android.car.media.common.MediaConstants;
149 rootHints.putInt(MediaConstants.EXTRA_MEDIA_ART_SIZE_HINT_PIXELS, mMaxBitmapSizePx); in createMediaBrowser()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java57 import com.android.car.media.common.MediaConstants;
395 MediaConstants.ERROR_RESOLUTION_ACTION_INTENT); in handlePlaybackState()
397 MediaConstants.ERROR_RESOLUTION_ACTION_LABEL); in handlePlaybackState()