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/android/app/MediaRouteActionProvider.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/android/app/MediaRouteActionProvider.java
|
e4681878702edaf0833294b3f1ce835705d3ad04 |
|
02-Aug-2012 |
Adam Powell <adamp@google.com> |
Make MediaRouteButton focusable by default Bug 6921236 Add a default contentDescription for MediaRouteButton. Add long-press "cheat sheet" support to MediaRouteButtons created by MediaRouteActionProvider for use in the action bar to match standard action button behavior. Change-Id: I313cfcb2349210765b084c3388095de4624009e8
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
8c1b02e7592dd02f30750c56bf88c65f8acbd3c9 |
|
17-Jul-2012 |
Adam Powell <adamp@google.com> |
Fix MediaRouteActionProvider button sizing Bug 6768999 Use proper layout height for MediaRouteButtons generated from MediaRouteActionProvider. Update ActionMenuView's LayoutParams handling to correctly propagate width/height values if the supplied LayoutParams is of a different type. Change-Id: I1e1b250d873869ca27f59ffb06ccf2299d57b40d
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
39d5c6172503620ac3761148adac5fd7fa20d02d |
|
16-Jun-2012 |
Adam Powell <adamp@google.com> |
Make MediaRouter UI more robust around route count changes Improve the API around ActionProvider visibility overriding. Allow the application to notify whatever is hosting the ActionProvider that visibility has changed in a way that is friendly to alternate support library-style reimplementations of MenuItem. Allow MediaRouter.Callback implementations to add or remove themselves or other Callbacks during dispatch of callback events. Make MediaRouteActionProvider track the visibility of corresponding menu items more accurately. Change-Id: Ic7ddb6a87c3637904750d2661e4a9fa323b09ea0
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
130b4572d1f3df702e5b296a655d15a41f6d4c66 |
|
16-Jun-2012 |
Adam Powell <adamp@google.com> |
ActionProvider API update * Add ActionProvider#overridesItemVisibility and isVisible. These methods allow an ActionProvider to override the visibility of a MenuItem that it is bound to. If a MenuItem has been explicitly hidden by the application, it will not be visible. * Change MediaRouteActionProvider to not require a MediaRouter callback, to avoid extra lifecycle management headaches. Change-Id: I606fa98b3a6a3e60a953dd024274f9bf9c67acdd
/frameworks/base/core/java/android/app/MediaRouteActionProvider.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/android/app/MediaRouteActionProvider.java
|
b35c445f34e1a18e17aef3e3dfbc1c39b4d1815c |
|
12-Jun-2012 |
Adam Powell <adamp@google.com> |
MediaRouter work Fix a bug where MediaRouter would crash on creation Add click listener for app-supplied extended settings on the route selection dialog. Change-Id: I2991db1720b5c574148e250526984592f4dc3c44
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
b58b8f832d06b0ffa8886eba5a4916578a3b8743 |
|
12-Jun-2012 |
Dianne Hackborn <hackbod@google.com> |
Rework media router to be per-context with global process state. Change-Id: Ic1cb6f13e691d22783bcdafae85b7c75aec0a66f
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
d0d2cda9d414da73773285d7fee9e13aef3495e9 |
|
08-Jun-2012 |
Adam Powell <adamp@google.com> |
Further work on MediaRouter Remove volume control and tracking. This will be handled by extensions to existing audio and media APIs for now. Tweak/refine other aspects of the API. Pass the router to callbacks for easier future-proofing. Add group/ungroup callback methods. Change-Id: Ib69e76e5f46280a9002b545bcf4cbc7b839844ee
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|
690ffb4e1f735148a15f2036d9a3c1962fba188c |
|
05-Jun-2012 |
Adam Powell <adamp@google.com> |
More fun with MediaRouter Add action provider, button, and styles. Extend ActionProvider to allow for getting references to MenuItem instances. Implement toggle mode for the MediaRouteButton/ActionProvider. Dialog selection yet to come. Change-Id: Ibe3188570f503bbf8dd00cf154663435656a7171
/frameworks/base/core/java/android/app/MediaRouteActionProvider.java
|