b530aeb0feab5d371684ee8040b2f11e654ae4df |
|
12-Nov-2013 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of f0b9ee96 to master Change-Id: I1b347e895049474e11076c60074dc5918cfe1405
|
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/MediaRouteButton.java
|
7da5bbedc75d7143d5b2cf36c4876f7b09a88807 |
|
08-Nov-2013 |
Jeff Brown <jeffbrown@google.com> |
am c2b652fd: am 5182ea4b: am d40a4d74: Merge "Add media router service and integrate with remote displays." into klp-dev * commit 'c2b652fd4d386b79dc99af249b6ad3844e53fdf1': Add media router service and integrate with remote displays.
|
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/MediaRouteButton.java
|
617feb99a06e7ffb3894e86a286bf30e085f321a |
|
10-Sep-2013 |
Alan Viverette <alanv@google.com> |
Add View constructor that supplies a default style resource Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
3afc18af2cea898753b10e8575dcf20c11356bca |
|
07-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Enhance MediaRouter API. The support library MediaRouter implementation needs a couple of extra generally useful APIs in the platform MediaRouter to ensure that it can safely synchronize its state. Change-Id: I72c5652e10f3b6de48800abfa922affbefbd250f
/frameworks/base/core/java/android/app/MediaRouteButton.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/android/app/MediaRouteButton.java
|
2ee6a2a83262d05a566bd713d238e89edfd33a29 |
|
01-Oct-2012 |
Adam Powell <adamp@google.com> |
MediaRouter/Wifi Display improvements * Don't select the default route on initialization in a process * Add "connecting" state to MediaRouteButton Bug 7258981 Bug 7262522 Change-Id: I5cd39b09843783b7e1e17620ca33193f0f3b8fca
/frameworks/base/core/java/android/app/MediaRouteButton.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/android/app/MediaRouteButton.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/MediaRouteButton.java
|
74d762a3ee7dd66fe9ce44f3232159811af8d5d8 |
|
28-Jun-2012 |
Adam Powell <adamp@google.com> |
Fix bug in parsing attributes for MediaRouteButton Change-Id: Ib61506f7b09b1e043f3f21d2fd46281fbced00f4
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
f3b653a21cdffe04c94c275e69ecb56e00766e82 |
|
23-Jun-2012 |
Adam Powell <adamp@google.com> |
Update route count properly when MediaRouteButton detects grouped/ungrouped events Change-Id: I1b00678cc3b548f347c51c3fcbfce18ecc8fbabe
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
3cd4624448dcaddecc75461ef645da72e7e5c098 |
|
22-Jun-2012 |
Adam Powell <adamp@google.com> |
Merge "Avoid memory leak by only registering callback while attached to window." into jb-dev
|
101c44915259fb76d14f917712a51fb0b08a7594 |
|
22-Jun-2012 |
Jack Palevich <jackpal@google.com> |
Avoid memory leak by only registering callback while attached to window. Bug: 6710307 Change-Id: Idf57251e6feb48ec3e75e797144ff800fa874cc8
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
f7e0a328c939fa61792d4b685e8f9047a3a0ad90 |
|
22-Jun-2012 |
Adam Powell <adamp@google.com> |
Allow ungrouping media routes when a group is the only alternate route Fix a MediaRouteButton bug where group item counts weren't taken into account when deciding whether to toggle between two available groups or show the chooser dialog. Change-Id: I6400ffd4cfe80c8072c5be360264b8ca91d71c41
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
849df0b5a7a5ef72610d687a8b1c2f0a23f873ab |
|
20-Jun-2012 |
Adam Powell <adamp@google.com> |
Add an XML attribute for controlling which route types a MediaRouteButton in a layout will alter. Change-Id: I897a68188fa87e4c2dbc88794117a3ef87ffaab0
/frameworks/base/core/java/android/app/MediaRouteButton.java
|
eba1b70d7a66fa8299307895ec6d6d6495b387f0 |
|
20-Jun-2012 |
Adam Powell <adamp@google.com> |
Permit MediaRouteButton to select system routes in toggle mode. Bug 6694917 Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
/frameworks/base/core/java/android/app/MediaRouteButton.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/android/app/MediaRouteButton.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/MediaRouteButton.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/MediaRouteButton.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/MediaRouteButton.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/MediaRouteButton.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/MediaRouteButton.java
|