0abd3a6ce83ed23abe614155e776b600ef2a66c3 |
|
10-Nov-2013 |
Jeff Brown <jeffbrown@google.com> |
Update the media router dialogs and integrate into system UI. Port the new style UI back into the framework from the support library. There are now two dialogs: a chooser and a controller. We use the same dialogs for selecting routes within app and within quick settings. Note that the new UI does not support any grouping features since they are deprecated and unused. Bug: 11257292 Change-Id: I64e936a18d25ab75f0c470cbc1e7085f67004863
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
69b07161bebdb2c726e3a826c2268866f1a94517 |
|
07-Nov-2013 |
Jeff Brown <jeffbrown@google.com> |
Add media router service and integrate with remote displays. This change adds a new media router service whose purpose is to track global state information associated with media routes. This service publishes routes to the media router instance in application processes and handles requested state changes such as selecting or unselecting global routes. The service also binds to remote display provider services which can offer new remote display routes to the system. Includes a test application for manually verifying certain aspects of the operation of the media router service. The remote display provider interface is essentially a stripped down media route provider interface as defined in the support library media router implementation. For now, it is designed to be used only by first parties to publish remote display routes to the system so it is not exposed as public API in the SDK. In the future, the remote display provider interface will most likely be deprecated and replaced with a more featureful media route provider interface for third party integration, similar to what is in the support library today. Further patch sets integrate these new capabilities into the System UI and Settings for connecting remote displays. Bug: 11257292 Change-Id: I31109f23f17b474d17534d0f5f4503e388b081c2
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
14507e257af5d71577574e25cbd690c4b54c9272 |
|
30-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Rename CALLBACK_FLAG_ACTIVE_SCAN for clarity. Bug: 9210033 Change-Id: I973c03b3a37e12af72a27c46d7da7fb59a30b606
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
66f3b39ec452a8a03e3254e77e19ccb764ee931f |
|
09-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Add an API to allow a callback to request active scans. This API is needed by the support library media router to ensure that wifi display routes can be discovered while the route chooser dialog is open. Bug: 8175766 Change-Id: I3773773d93384aa4a3c009e71a5444ee8ce37caf
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
1cf2ca83584a4cf0aa3ded787bd191b9a60e3521 |
|
28-Nov-2012 |
Adam Powell <adamp@google.com> |
Clean up behavior of type arguments for MediaRouter#getSelectedRoute MediaRouter's policy so far has been around a single selected route, but when route types are entirely orthogonal this should not be the case. However we still don't want to get into a situation where we have multiple, very different routes selected for different types at the same time, we still want to have more of an element of predictability. Behavior of getSelectedRoute is now: * If the selected route matches at least one type with the requested type flags, it is still considered selected for that request. * If the caller specifically requested the selected user route and the currently selected route is not a user route, return null. * If the requested type flags do not match any types with the selected route, return the default system route. Note that this is "any" behavior instead of "all" - this matches existing usage of the method. We may consider adding an "all" variant later on. Bug 7588042 Change-Id: I3a79d8153ca6b882fd3ef6b9b1de8f538873dec2
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
705ab808cf023e0cc38c2ba7cdb9571942cdc04f |
|
17-Sep-2012 |
Adam Powell <adamp@google.com> |
Add wireless display selection support to MediaRouter. * Adds the new route type LIVE_VIDEO * Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making wireless display routes valid selections in when apps make selecting live audio routes available. * MediaRouter will only report/manipulate wireless displays that have already been paired at the system level. Bug 7177920 Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
1b4ea7eff50545f4673ca01b664e5edccc784688 |
|
23-Jun-2012 |
Adam Powell <adamp@google.com> |
Sanity check while updating volume in MediaRouteChooserDialog Bug 6720224 When a window dies it's possible to receive a lingering ACTION_CANCEL event to the SeekBar for volume. Be sure that we don't try to mess with something that's already gone by that point. Change-Id: I4f6119718fc21204d9013d591bc984b785b698b4
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
4dd21c8e77c0d369ee835f50cba1701e76aa18c4 |
|
22-Jun-2012 |
Adam Powell <adamp@google.com> |
Volume changes in MediaRouteChooserDialog Use the max volume reported by the selected route as the max value to set. Change-Id: I9848dfb201387843e7ed398ac61e2d13e14e3f51
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
8e37a85bf3dc39519942698dc90a3951306b934b |
|
21-Jun-2012 |
Adam Powell <adamp@google.com> |
Expand volume APIs for MediaRouter Allow applications to set a requested volume level on RouteInfo objects. If requested for a user route, the app-supplied callback will be invoked to perform actual volume adjustment. Change-Id: I856990a0da7292492aa15e6562dbc3d055b848a0
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
4599696591f745b3a546197d2ba7e5cfc5562484 |
|
16-Jun-2012 |
Adam Powell <adamp@google.com> |
Volume control in MediaRouter dialogs MediaRouter dialogs now intercept the volume keys for altering the current volume. The status icon indicates if the slider/buttons are currently controlling the local device volume or a remote device's volume. Group volume for user routes is handled by using the RemoteControlClient supplied by the first route in the group. Change-Id: I40a0d054847ed5acce7a4c3b669487841b4dca15
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
b5e2af5919351486a385effe77409d2a91ae9c19 |
|
15-Jun-2012 |
Adam Powell <adamp@google.com> |
Update MediaRouteChooserDialog grouping UI Move UserRouteInfo tag support to RouteInfo Change-Id: Ia753924f8613462d5f74736be93a8d748689eef1
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
0d03c042f90bf62d5bad7c64e77028a5f9f8fae0 |
|
15-Jun-2012 |
Adam Powell <adamp@google.com> |
API updates for MediaRouter * Accept a Context when fetching the names of routes and categories. This lets string resources resolve at time of access with the correct configuration. The older versions remain available that will use the static resources from the application. (There are enough cases where applications will populate this from external data that requiring it each time even when it was not initialized from a resource doesn't seem reasonable.) * Remove the ability for apps to programmatically select non-user routes. * Make MediaRouter.Callback an abstract class instead of an interface. This will make further extensions easier to keep compatible in the future. Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
d6d0bddee363e0c7fe61f63bd9d9864a71d887d6 |
|
14-Jun-2012 |
Adam Powell <adamp@google.com> |
Support route grouping in the MediaRouter dialog UI. Change-Id: Idcae12cedfb7ca13950e7fa45441fba2029a9f68
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|
70e11e50eecfc8f1dfb76316d099e4331ebd28f7 |
|
13-Jun-2012 |
Adam Powell <adamp@google.com> |
MediaRouter dialog Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton. Still TODO: * Switch audio icon based on source; speaker/bt/user * Rig up volume slider * Rig up item icons * Rig up group button for groupable categories * Make grouping work Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589
/frameworks/base/core/java/com/android/internal/app/MediaRouteChooserDialogFragment.java
|