Commit Graph

26 Commits

Author SHA1 Message Date
Chong Zhang
c1eb23062b Add sample code to customize the MediaRouteControllerDialog
Bug: 11320487
Change-Id: I365c93173a74e99c63d919d2852690eed174d3b3
2013-11-05 09:53:24 -08:00
Chong Zhang
fd6d06a19c mrp sample: refactor and use helper class
Bug: 10955351

Change-Id: Ib607d27bc93a35460c6acd295d29afad3f255e25
2013-10-21 16:36:15 -07:00
Jeff Brown
6a81c4be16 Fix NPE in sample code.
Change-Id: I61b348192cd39813027ae5b4d2cedb2e84b701f1
2013-10-21 11:23:24 -07:00
Jeff Brown
5d3d35ee89 Always register the RCC even for local playback.
Change-Id: I6f2ca31b746f9f53ef9aa6edb674514979ad1893
2013-09-28 00:52:07 +00:00
Chong Zhang
184f79db44 Support7Demo: fix video playback on GB
Change-Id: I2d403832d82428746dd3ccdbe0cfd56315d72ed9
(cherry picked from commit dbcc746cb0d727ac9aed60bb4156b3bf9f4668aa)
2013-08-26 16:25:45 +00:00
Jeff Brown
9299c6cdd8 Ensure sample runs on Gingerbread. (DO NOT MERGE)
Unfortunately, the video does not play due to a MediaPlayer
exception but at least this version does not crash.

Change-Id: I0baf9239a8a12f92b4805bab226f21f46fa63693
(cherry picked from commit 854e16afda)
2013-08-23 03:23:46 +00:00
Chong Zhang
620b29a566 media router sample: handle remote volume change
Change-Id: Ie31c24d80b0ae74d68e3ff6f6098d4f0219c391d
(cherry picked from commit 4917691795)
2013-08-14 19:58:57 +00:00
Jeff Brown
5f4e7a104b Merge "Support7Demos: media router sample" into jb-mr2-ub-dev 2013-08-02 23:36:17 +00:00
Chong Zhang
036c81a9d2 Support7Demos: media router sample
Change-Id: Ie2a6a98cd256caae84f76dd398f9113f07cd4dd3
(cherry picked from commit ba708c7f49)
2013-08-02 12:46:30 -07:00
Chris Banes
fe17cee4e4 Fix ActionBarUsage in Support7Demos
It was using SearchViewCompat and causing an FC

Change-Id: Ib69a6d68b29cc9669a6595bdd75b5369458f561b
2013-07-26 10:15:07 +01:00
Jeff Brown
972588aba0 Redefine content position in milliseconds instead of seconds.
Made a note to update some other parts of the sample that need
to be fixed after other recent API changes.

Bug: 9380827
Change-Id: I23ccfa9ab434d4c7661ae379b77fa95e128513eb
2013-06-11 18:51:17 -07:00
Jeff Brown
fad7c428e1 Update media router api.
Bug: 9380827
Change-Id: I74b5d5150336be95bd66bab35be8837c9cdf49de
2013-06-11 00:55:32 -07:00
Jeff Brown
998bd1138a Update media router API.
Bug: 9210033
Change-Id: I11a3bb3691096cdea60823d92245cbf86770f23b
2013-05-30 19:23:15 -07:00
Chris Banes
247fe6d499 Remove Toggle System UI options from Support7Demos
As system ui visibility can not be reliably controlled
at the moment for <v11. Remove this from the demo.

Bug: 8910792.

Change-Id: Id55f8ae57c0961130c2ad2ab7a5b97cc43e36883
Signed-off-by: Chris Banes <chrisbanes@google.com>
2013-05-25 13:27:28 +01:00
Jeff Brown
ff342b425c Update media router API.
Bug: 8175766
Change-Id: Ib93572738b912530e96f8772bf7961af4b57c0c7
2013-05-20 16:55:24 -07:00
Jeff Brown
8b25a68775 Update media router API.
Bug: 8175766
Change-Id: Id6f895e3c6339eee83cb616816dab8f77f5b54ce
2013-05-16 14:41:03 -07:00
Jeff Brown
5d41beb706 Update media router API.
Bug: 8175766
Change-Id: Ie780c6c6309d111019ddf7ba37612c09242b923e
2013-05-13 16:59:32 -07:00
Chris Banes
8942438f38 Update Support7Demos for MenuInflater change:
I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602

Change-Id: I4896483669c877f3d8ed05a81d789750b39ab32d
Signed-off-by: Chris Banes <chrisbanes@google.com>
2013-04-30 12:07:57 +01:00
Adam Powell
04c8633dee Update Support7Demos for action bar compat API changes.
Change-Id: I61914ff777a0eada9525db6fad7d53c97303eb36
2013-04-29 17:38:23 -07:00
Jeff Brown
e14dfaf571 appcompat: Add samples for options menu usage with fragments.
Bug: 8661191
Change-Id: I3664f00c09d81c01b904f8c5203a69a12180c565
2013-04-18 23:38:33 -07:00
Jeff Brown
84dc1f05b7 Update media router API.
Bug: 8175766
Change-Id: I28aeb92851caba332774664e71041c2cfdf9605e
2013-04-11 20:38:34 -07:00
Jeff Brown
e808a4b6b2 Update after API refactoring.
Bug: 8175766
Change-Id: Ibcd86fbfb54c44d9a14e79fcd760991c48c5b2ad
2013-04-02 20:00:55 -07:00
Jeff Brown
fbe0890bb4 Rename methods of RouteController.
Add basic support for returning stream ids.

Change-Id: Iaa11980e6195e23bd598075cb066c6234f000198
2013-03-22 19:46:23 -07:00
Jeff Brown
84e6be0c69 Add action bar support library samples.
These samples are simply ported from the ApiDemos package
with package names updated to use the support library
implementation instead.

Bug: 8175766
Change-Id: Idfa35708d4db65a201a20c3726bb18663c2c0a81
2013-03-20 18:20:18 -07:00
Jeff Brown
63c90a5512 Add grid layout support library samples.
These samples are simply ported from the ApiDemos package
with package names updated to use the support library
implementation instead.

Bug: 8175766
Change-Id: Ib24c1250ed7571353f606422734a4660f382b368
2013-03-20 18:20:18 -07:00
Jeff Brown
bda0c73168 Move media router samples to new Support7Demos project.
Add media router support library to SDK build.

Bug: 8175766
Change-Id: I2f333d40ad39e820e8d706a7dab086241692a861
2013-03-20 18:20:18 -07:00