/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
H A D | MediaRouterJellybean.java | 17 package android.support.v7.media; 47 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; 58 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; 68 return ((android.media.MediaRouter)routerObj).getSelectedRoute(type); 72 ((android.media.MediaRouter)routerObj).selectRoute(types, 73 (android.media.MediaRouter.RouteInfo)routeObj); 77 ((android.media.MediaRouter)routerObj).addCallback(types, 78 (android.media [all...] |
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
H A D | MediaRouterJellybeanMr1.java | 17 package android.support.v7.media; 39 return ((android.media.MediaRouter.RouteInfo)routeObj).isEnabled(); 43 return ((android.media.MediaRouter.RouteInfo)routeObj).getPresentationDisplay(); 136 android.media.MediaRouter.RouteInfo.class.getField("STATUS_CONNECTING"); 139 android.media.MediaRouter.RouteInfo.class.getMethod("getStatusCode"); 147 android.media.MediaRouter.RouteInfo route = 148 (android.media.MediaRouter.RouteInfo)routeObj; 171 public void onRoutePresentationDisplayChanged(android.media.MediaRouter router, 172 android.media.MediaRouter.RouteInfo route) {
|
/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/ |
H A D | MediaRouterJellybeanMr2.java | 17 package android.support.v7.media; 21 return ((android.media.MediaRouter)routerObj).getDefaultRoute(); 25 ((android.media.MediaRouter)routerObj).addCallback(types, 26 (android.media.MediaRouter.Callback)callbackObj, flags); 31 return ((android.media.MediaRouter.RouteInfo)routeObj).getDescription(); 35 return ((android.media.MediaRouter.RouteInfo)routeObj).isConnecting(); 41 ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaControlIntent.java | 17 package android.support.v7.media; 24 * Constants for media control intents. 26 * This class declares a set of standard media control intent categories and actions that 27 * applications can use to identify the capabilities of media routes and control them. 33 * send media to the destination of a media route. Categories are sometimes referred 37 * then an application can ask it to play media remotely by sending a 39 * media content to play. Such a route may then be referred to as 55 * remote playback requests for media content to the destination. The content to be 58 * Media route providers may define custom media contro [all...] |
H A D | MediaItemMetadata.java | 17 package android.support.v7.media; 22 * Constants for specifying metadata about a media item as a {@link Bundle}. 51 public static final String KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST"; 59 public static final String KEY_ALBUM_TITLE = "android.media.metadata.ALBUM_TITLE"; 64 * The value is a string URI for an image file associated with the media item, 68 public static final String KEY_ARTWORK_URI = "android.media.metadata.ARTWORK_URI"; 76 public static final String KEY_ARTIST = "android.media.metadata.ARTIST"; 84 public static final String KEY_AUTHOR = "android.media.metadata.AUTHOR"; 92 public static final String KEY_COMPOSER = "android.media.metadata.COMPOSER"; 100 public static final String KEY_TITLE = "android.media [all...] |
H A D | MediaItemStatus.java | 17 package android.support.v7.media; 25 * Describes the playback status of a media item. 30 * As a media item is played, it transitions through a sequence of states including: 72 * Indicates that the media item has not yet started playback but will be played eventually. 80 * Indicates that the media item is currently playing. 88 * Indicates that playback of the media item has been paused. Playback can be 97 * Indicates that the media item has been temporarily interrupted 107 * Indicates that the media item played to the end of the content and finished normally. 109 * A finished media item cannot be resumed. To play the content again, the application 119 * Indicates that the media ite [all...] |
H A D | MediaRouteDescriptor.java | 16 package android.support.v7.media; 33 * may take any form as long as it is unique within the media route provider. 133 * Gets the route's {@link MediaControlIntent media control intent} filters. 194 * The extras will be ignored by the media router but they may be used 256 * Builder for {@link MediaRouteDescriptor media route descriptors}. 263 * Creates a media route descriptor builder. 275 * Creates a media route descriptor builder whose initial contents are 367 * Adds a {@link MediaControlIntent media control intent} filter for the route. 384 * Adds a list of {@link MediaControlIntent media control intent} filters for the route. 449 * The extras will be ignored by the media route [all...] |
H A D | MediaRouteDiscoveryRequest.java | 16 package android.support.v7.media; 21 * Describes the kinds of routes that the media router would like to discover 35 * Creates a media route discovery request.
|
H A D | MediaRouteProvider.java | 17 package android.support.v7.media; 26 import android.support.v7.media.MediaRouter.ControlRequestCallback; 29 * Media route providers are used to publish additional media routes for 31 * as a service to publish additional media routes to all applications 34 * The purpose of a media route provider is to discover media routes that satisfy 42 * as volume changes or {@link MediaControlIntent media control intents} 46 * A media route provider may be used privately within the scope of a single 48 * to add it to the local {@link MediaRouter}. A media route provider may also be made 50 * in the provider's manifest. When the media rout [all...] |
H A D | MediaRouteProviderDescriptor.java | 16 package android.support.v7.media; 28 * Describes the state of a media route provider and the routes that it publishes. 119 * Builder for {@link MediaRouteProviderDescriptor media route provider descriptors}. 126 * Creates an empty media route provider descriptor builder. 133 * Creates a media route provider descriptor builder whose initial contents are 183 * Builds the {@link MediaRouteProviderDescriptor media route provider descriptor}.
|
H A D | MediaRouteProviderProtocol.java | 17 package android.support.v7.media; 23 * Defines the communication protocol for media route provider services. 32 "android.media.MediaRouteProviderService"; 110 * - obj : media control intent
|
H A D | MediaRouteProviderService.java | 17 package android.support.v7.media; 35 import static android.support.v7.media.MediaRouteProviderProtocol.*; 38 * Base class for media route provider services. 40 * To implement your own media route provider service, extend this class and 44 * Declare your media route provider service in your application manifest 51 * <action android:name="android.media.MediaRouteProviderService" /> 82 * Creates a media route provider service. 92 * Called by the system when it is time to create the media route provider. 94 * @return The media route provider offered by this service, or null if 95 * this service has decided not to offer a media rout [all...] |
H A D | MediaRouteSelector.java | 16 package android.support.v7.media; 53 * An empty media route selector that will not match any routes. 63 * Gets the list of {@link MediaControlIntent media control categories} in the selector. 210 * Builder for {@link MediaRouteSelector media route selectors}. 216 * Creates an empty media route selector builder. 222 * Creates a media route selector descriptor builder whose initial contents are 237 * Adds a {@link MediaControlIntent media control category} to the builder. 259 * Adds a list of {@link MediaControlIntent media control categories} to the builder. 280 * Adds the contents of an existing media route selector to the builder. 282 * @param selector The media rout [all...] |
H A D | MediaRouter.java | 17 package android.support.v7.media; 38 import android.support.v4.media.VolumeProviderCompat; 39 import android.support.v4.media.session.MediaSessionCompat; 40 import android.support.v7.media.MediaRouteProvider.ProviderMetadata; 53 * MediaRouter allows applications to control the routing of media channels 57 * can query the media router about the currently selected route and its capabilities 61 * such as playing media. 64 * can publish new media routes to the media router. 66 * The media route [all...] |
H A D | MediaSessionStatus.java | 17 package android.support.v7.media; 25 * Describes the playback status of a media session. 30 * When a media session is created, it is initially in the 31 * {@link #SESSION_STATE_ACTIVE active} state. When the media session ends 33 * If the media session is invalidated due to another session forcibly taking 56 * Indicates that the media session is active and in control of the route. 64 * Indicates that the media session was ended normally using the 67 * A terminated media session cannot be used anymore. To play more media, the 76 * Indicates that the media sessio [all...] |
H A D | RegisteredMediaRouteProvider.java | 17 package android.support.v7.media; 31 import android.support.v7.media.MediaRouter.ControlRequestCallback; 39 import static android.support.v7.media.MediaRouteProviderProtocol.*; 42 * Maintains a connection to a particular media route provider service.
|
H A D | RegisteredMediaRouteProviderWatcher.java | 17 package android.support.v7.media; 33 * Watches for media route provider services to be installed. 34 * Adds a provider to the media router for each registered service.
|
H A D | RemoteControlClientCompat.java | 16 package android.support.v7.media; 19 import android.media.AudioManager;
|
H A D | RemotePlaybackClient.java | 16 package android.support.v7.media; 28 * A helper class for playing media on remote routes using the remote playback protocol 32 * remote playback media control intents to a single route. 55 * @param route The media route. 118 * If the route does not support queuing, then at most one media item can be played 140 * not be created until the first media item is played. 204 * media sessions or media items created by this instance of the remote 218 * Sends a request to play a media item. 234 * @param metadata The media ite [all...] |
H A D | SystemMediaRouteProvider.java | 17 package android.support.v7.media; 25 import android.media.AudioManager; 65 * Called by the media router when a route is added to synchronize state with 66 * the framework media router. 72 * Called by the media router when a route is removed to synchronize state with 73 * the framework media router. 79 * Called by the media router when a route is changed to synchronize state with 80 * the framework media router. 86 * Called by the media router when a route is selected to synchronize state with 87 * the framework media route [all...] |
/frameworks/support/v4/api21/android/support/v4/media/ |
H A D | MediaDescriptionCompatApi21.java | 16 package android.support.v4.media; 19 import android.media.MediaDescription;
|
H A D | MediaMetadataCompatApi21.java | 17 package android.support.v4.media; 20 import android.media.MediaMetadata; 21 import android.media.Rating;
|
H A D | RatingCompatApi21.java | 17 package android.support.v4.media; 19 import android.media.Rating;
|
H A D | VolumeProviderCompatApi21.java | 17 package android.support.v4.media; 19 import android.media.VolumeProvider;
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 17 package android.support.v4.media.session; 21 import android.media.AudioAttributes; 22 import android.media.AudioManager; 23 import android.media.MediaMetadata; 24 import android.media.Rating; 25 import android.media.session.MediaController; 26 import android.media.session.MediaSession; 27 import android.media.session.PlaybackState;
|