History log of /frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05c8a189672f5d883555e068549c0a84eeeff4aa 22-Apr-2016 Adam Powell <adamp@google.com> Remove dependencies on Activity from common Fragment superclasses

Support lib edition

Allow common Fragments to be used in non-Activity hosts.

Bug 28337394

Change-Id: Ia06b560b2863d995a6b67dafac770a4c25ff4ab9
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
1c4fce94062e162e579d20134f0bac767bdf0964 24-Dec-2015 Donghyun Cho <donghyun@google.com> MediaRouter: Implement insertion/deletion animation in MRCD

When a RouteGroup structure is modified, a list of member routes is
updated in MRCD. This change adds proper animation for updating list
smoothly. Also, by providing animation, the artwork icon in MRCD can be
shown smoothly even after slow loading time.

Bug: 26026701, Bug: 23262919
Change-Id: I80be53404c46fde07b802614f5cd4c2984b5a1a6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
d52e30f3736a821e45266c28c334756f5f7e55c3 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Handle configuration change

Bug: 23868704
Change-Id: I1fb264d68cfaf91aaf80c8afdf0683a211b27099
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
f4575634e9f3c2b61c2e6bceaeed6cabb378803f 07-Sep-2015 Jae Seo <jaeseo@google.com> MediaRouter: Set the dialog width complying with the framework

The framework should set the dialog width properly, but somehow it
doesn't work, hence duplicating a similar logic here to determine the
appropriate width.

Change-Id: Id9e240f253efd6d286dc8acb4093cda613bdf5d6
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
6e547065f21f1645b3e9d5b3a3fd9720be8aede8 28-Aug-2015 Jaewan Kim <jaewan@google.com> MediaRouter: Apply dialog width spec

Bug: 23117157, Bug: 23117610
Change-Id: I5f1b4688c79927ff5db633666c9040405816b09a
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
eff7719415542ba819054863b0995f07742a7a8a 10-Jul-2013 Jeff Brown <jeffbrown@google.com> Media router API updates.

Added a MediaRouteDialogFactory to make it easier for applications
to customize the dialog fragments such as adding custom views
into the media route controller dialog.

Added an API to disable volume control in the media route
controller dialog.

Added a method that the application can override to change how
routes are filtered in the chooser dialog.

Changed the remote playback protocol to isolate the queuing
feature and @hide it. This required a few semantic changes
to the protocol so that the non-queuing subset is able to
stand on its own and be coherent. Most of these changes are
simple renames and incremental changes of existing concepts
but the documentation had to be substantially updated to keep
it clear.

The protocol changes are roughly as follows.

- QUEUE_ID renamed to SESSION_ID. Sessions are created
implicitly by ACTION_PLAY just like queues but the concept is
somewhat more generic. The session is documented conceptually
as having a queue that can only contain at most one item which
makes it easier to explain certain behaviors. However, we
now deemphasize the concept of the queue in the documentation and
focus more on the session. Since the word "queue" no longer
appears in the API, we could go either way in the future and choose
to expand on or abandon the queue concept just by changing
the documentation.

- ACTION_STOP renamed to ACTION_REMOVE and now @hide. The action
removes one specific item from the queue.

- ACTION_CLEAR_QUEUE renamed to ACTION_STOP. Now documented to
have the side-effect of both clearing and unpausing the queue
like hitting a reset switch on the session. The choice of name
creates good symmetry with ACTION_PLAY in the single item case.

- ACTION_ENQUEUE (@hide) added to represent the previous
queuing behavior so that we can continue to experiment with it.
Support for this action might be optional in the future.

- ACTION_PLAY is documented in a way that makes it equivalent
to ACTION_STOP followed by ACTION_ENQUEUE. This way we enforce
the constraint that the queue can have at most one item in it
while still leaving the door open to exposing more features later.

- ACTION_PAUSE_QUEUE renamed to ACTION_PAUSE. We still refer to
it as conceptually pausing a queue but this now fits in better with
the one at a time nature of ACTION_PLAY.

- ACTION_RESUME_QUEUE renamed to ACTION_RESUME.

- PLAYBACK_STATE_QUEUED renamed to PLAYBACK_STATE_PENDING.

- PLAYBACK_STATE_STOPPED renamed to PLAYBACK_STATE_FINISHED to make
it clear that this state means the media item finished playing
normally.

- PLAYBACK_STATE_CANCELED now only means that the media item was
canceled by the app by way of ACTION_PLAY or ACTION_STOP
(or ACTION_REMOVE) which caused the item to be removed from the
queue before it had a chance to finish normally.

- PLAYBACK_STATE_INVALIDATED added to specifically refer to the
case where another application takes control of the route and
stomps on the session and its media items. The documentation now
consistently uses the word invalidate rather than cancel when
referring to sessions or media items that have been involuntarily
aborted by an external cause.

- @hide HTTP request headers, response headers and status code.

Bug: 9743462
Change-Id: I3bdb4cd8947112ab409983a74fa4bc062465149a
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java
11417b1cfde8f1749905f2d735623af9214148af 27-Apr-2013 Jeff Brown <jeffbrown@google.com> Add media router picker UI.

Introduced the concept of a MediaRouteSelector which is the means
by which an application states the route capabilities of routes
that it would like to discover.

Added selectors to the addCallback method along with several
other methods to assist with discovery. Callbacks can specify
flags to perform active scans of routes or to disable filtering
of route events.

Added a workaround to scan for wifi displays on JB MR1.

Refactored the route descriptor objects to use the builder pattern
instead of simply documenting that they should be immutable
since several developers have already tripped over this.

The UI is feature complete but not final.

Bug: 8175766
Change-Id: I54ebb7488222746b0c07292e65b9ded1b9d720fa
/frameworks/support/v7/mediarouter/src/android/support/v7/app/MediaRouteControllerDialogFragment.java