summaryrefslogtreecommitdiff
path: root/samples/Support7Demos/src
Commit message (Collapse)AuthorAgeFilesLines
* Updates for compatLib changes to MedaiRouter support libRoboErik2014-12-041-6/+0
| | | | | | | | | The ControllerDialog in MediaRouter now gets the session token from the MediaRouter instead of needing it to be set. Removed the calls to set it directly on the dialog. bug:18186638 Change-Id: If7499108c226d3405ea70e2f332694a92a921e50
* Update for MediaSessionCompat supportRoboErik2014-12-013-64/+52
| | | | | | | | | Switches the MediaRouter sample to using MediaSessionCompat instead of RemoteControlClient. This goes along with the update to the support lib for full MediaSessionCompat support of RCC. bug:18186638 Change-Id: If8dd25346b850512ea8d248012d8a369a39d301f
* Merge "Update the MediaRouter support demo for new UIs" into lmp-mr1-devRoboErik2014-11-247-141/+170
|\
| * Update the MediaRouter support demo for new UIsRoboErik2014-11-197-141/+170
| | | | | | | | | | | | | | Updates the MediaRouter support demo for the new material UI spec. bug:17879842 Change-Id: I3340e65384050fbf561cf506cb5b80028d69d849
* | Remove deprecated API usageYigit Boyar2014-11-114-9/+17
|/ | | | | Bug: 18213371 Change-Id: I6acaec5e8a7e5fa4ce5d7cab7040219048d4dcc6
* Add color picker to cardview demoYigit Boyar2014-10-142-3/+35
| | | | | Bug: 17668891 Change-Id: Id54bae8e37ffb4d1f077ca4ef9a721766277c02e
* Merge "Update Support7Demos for L appcompat" into lmp-mr1-devChris Banes2014-10-038-13/+492
|\
| * Update Support7Demos for L appcompatChris Banes2014-10-028-13/+492
| | | | | | | | | | | | | | New Toolbar samples along with some improvements for the other Action Bar activities. Change-Id: I28dca1bd86ea4c269b711f4d10283e71384a33ac
* | Don't layout removed scrap viewsYigit Boyar2014-10-021-4/+5
|/ | | | | | | | This CL also changes the addView logic in demo LM. Previously, removed views were not added. Now, RV takes care of this so LM can simply add them. Bug: 17783492 Change-Id: I375405ef888fd43f9da0e1a1c13ae54bae381b44
* SupportV7 Navigation Bar DemoYigit Boyar2014-08-292-0/+430
| | | | Change-Id: I4347762a621a887ccac03372071abac5b56b52f3
* Add grid manager demo to Support7Demo appYigit Boyar2014-08-074-271/+397
| | | | Change-Id: Ie90a4e2be35db1500adcf8e358b3d9d8fccc68b2
* Add elevation settings to cardview demo appYigit Boyar2014-07-301-6/+65
| | | | | Bug: 16501750 Change-Id: I831f191c8db1864ba2f1dfa3af9ffbe4005b2e0c
* Update divider item decorator to account for view translationYigit Boyar2014-07-171-2/+5
| | | | | Bug: 16241985 Change-Id: Id441a07fe547493007e9e05d1039bac526847a1c
* Add RecyclerView animations for change actionsChet Haase2014-07-101-2/+46
| | | | | | Issue #15691746 RecyclerView item animations for changed/resizing item views Change-Id: Ibe735eefa704189d17f63406de941d76282e9272
* Update Support7Demos to include Palette demosChris Banes2014-07-083-0/+533
| | | | Change-Id: Iff13ca1a2551e54a98c655955654cf8be5930d0b
* Remove calls to LM.getItemCount in demos.Yigit Boyar2014-06-122-4/+4
| | | | | Bug: 15410611 Change-Id: Ie31616f792501f29fbb9e68f742563fbb1cde0ca
* AnimatedRecyclerActivity demo supports simpler RV item animationsChet Haase2014-06-101-32/+42
| | | | | | | | | Add logic to AnimatedRecyclerActivity to allow it to opt into, or out of, predictive item animations in RecyclerView. Issue #15542012 Simplify RecyclerView animations Change-Id: Ibb089a98c4d465730cfbff2a9dec369e28feff82
* Remove deprecated RecyclerView methodsYigit Boyar2014-05-292-34/+20
| | | | Change-Id: If9b0aca85221d64dbbb5cda75f985a91de6c67d2 (cherry picked from commit 67bdb44d980e6f565f4ec3063a6041bbcbab397c)
* Added CardView demo to SupportV7 demo appYigit Boyar2014-05-271-0/+98
| | | | Change-Id: Ie1b81426dc67c67766eb20fb8f1fc984d25a42cf
* Add demo for animating RecyclerView actionsChet Haase2014-05-172-0/+463
| | | | Change-Id: Ie076db6646cf734706fe2ea8659ee57f3a7742e9
* Revert "Add demo for animating RecyclerView actions"Chet Haase2014-05-152-451/+0
| | | | | | This reverts commit 828b2aa2f42b0e079e05c560e749835bef3ef71f. Change-Id: I0f773b5c42530cad924e454dc816ddc372db95f7
* Add demo for animating RecyclerView actionsChet Haase2014-05-142-0/+451
| | | | Change-Id: Ieb14cfb627663f507c24205d697347a1da389094
* Updated recycler view demo with smooth scrollingYigit Boyar2014-05-022-28/+151
| | | | Change-Id: I039d10a0e707e05dd4c5ce37344f4ecc80d00880
* LinearLayoutManager examplesYigit Boyar2014-03-274-115/+463
| | | | | | | Added a new activity to Support7Demos to showcase LinearLayoutManager. Extracted helper classes from RecycleViewActivity so that they can be used in other examples. Change-Id: Id00325afee00eefd259f688e65d6124e23d6eb83
* Update RecyclerView sample to show use of ItemDecorationAdam Powell2014-03-131-19/+69
| | | | | | | Add dividers between list items. These modify the space allocated for each item. Change-Id: I995a172ed0b6acef6b84faaa50c02f0ae8db1002
* Update Support7Demos for RecyclerView API changeAdam Powell2014-02-211-4/+11
| | | | | | | LayoutManager#layoutChildren updates as well as onCreate/onBind changes for adapters Change-Id: I9cd1940dac8d3fd60d9219a87ae5b05c609346d6
* Update Support7Demos for new RecyclerView additionsAdam Powell2014-02-131-10/+10
| | | | | | Use item range changes instead of full adapter updates Change-Id: Ia796bdb5138f4762b3fe325da3e5bf02e31042d4
* Updated Support7Demos to follow RecyclerView API changesAdam Powell2014-01-281-17/+11
| | | | | | | Move off of deprecated RecyclerView API to illustrate preferred practices. Change-Id: I6d2b6450bbb29c55090802b2ccafab6661036dcb
* Follow RecyclerView API changesAdam Powell2014-01-231-44/+39
| | | | Change-Id: Ic273cc51cc9d7096a7a0d8b5f90accd5986e275a
* Update sample for RecyclerViewAdam Powell2014-01-222-6/+185
| | | | | | Fix some issues around relayout. Add data set changes and cheese. Change-Id: Ie3651fa16f2eadd0bf1b168b95509172fcf425fe
* Example activity for RecyclerViewAdam Powell2013-12-191-0/+298
| | | | | Also includes a very basic custom RecyclerView LayoutManager. Change-Id: Ic6dca39a4e71dbe8b3b82965299bc554fad18a43
* Add sample code to customize the MediaRouteControllerDialogChong Zhang2013-11-058-63/+240
| | | | | Bug: 11320487 Change-Id: I365c93173a74e99c63d919d2852690eed174d3b3
* mrp sample: refactor and use helper classChong Zhang2013-10-219-1691/+1944
| | | | | | Bug: 10955351 Change-Id: Ib607d27bc93a35460c6acd295d29afad3f255e25
* Fix NPE in sample code.Jeff Brown2013-10-211-9/+13
| | | | Change-Id: I61b348192cd39813027ae5b4d2cedb2e84b701f1
* Always register the RCC even for local playback.Jeff Brown2013-09-281-22/+31
| | | Change-Id: I6f2ca31b746f9f53ef9aa6edb674514979ad1893
* Support7Demo: fix video playback on GBChong Zhang2013-08-263-3/+9
| | | | Change-Id: I2d403832d82428746dd3ccdbe0cfd56315d72ed9 (cherry picked from commit dbcc746cb0d727ac9aed60bb4156b3bf9f4668aa)
* Ensure sample runs on Gingerbread. (DO NOT MERGE)Jeff Brown2013-08-234-307/+425
| | | | | | | 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 854e16afda1bbacbd5eee7e434059d493879497d)
* media router sample: handle remote volume changeChong Zhang2013-08-143-0/+189
| | | | Change-Id: Ie31c24d80b0ae74d68e3ff6f6098d4f0219c391d (cherry picked from commit 4917691795b8ebcaf11a091c319d6c67a59c185f)
* Merge "Support7Demos: media router sample" into jb-mr2-ub-devJeff Brown2013-08-026-217/+2589
|\
| * Support7Demos: media router sampleChong Zhang2013-08-026-217/+2589
| | | | | | | | | | Change-Id: Ie2a6a98cd256caae84f76dd398f9113f07cd4dd3 (cherry picked from commit ba708c7f49684f2df6259aa3ea08f9a00adf8644)
* | Fix ActionBarUsage in Support7DemosChris Banes2013-07-261-8/+10
|/ | | | | | It was using SearchViewCompat and causing an FC Change-Id: Ib69a6d68b29cc9669a6595bdd75b5369458f561b
* Redefine content position in milliseconds instead of seconds.Jeff Brown2013-06-111-3/+4
| | | | | | | | 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
* Update media router api.Jeff Brown2013-06-111-4/+0
| | | | | Bug: 9380827 Change-Id: I74b5d5150336be95bd66bab35be8837c9cdf49de
* Update media router API.Jeff Brown2013-05-302-57/+78
| | | | | Bug: 9210033 Change-Id: I11a3bb3691096cdea60823d92245cbf86770f23b
* Remove Toggle System UI options from Support7DemosChris Banes2013-05-251-11/+1
| | | | | | | | | | 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>
* Update media router API.Jeff Brown2013-05-202-54/+64
| | | | | Bug: 8175766 Change-Id: Ib93572738b912530e96f8772bf7961af4b57c0c7
* Update media router API.Jeff Brown2013-05-162-8/+8
| | | | | Bug: 8175766 Change-Id: Id6f895e3c6339eee83cb616816dab8f77f5b54ce
* Update media router API.Jeff Brown2013-05-132-51/+86
| | | | | Bug: 8175766 Change-Id: Ie780c6c6309d111019ddf7ba37612c09242b923e
* Update Support7Demos for MenuInflater change:Chris Banes2013-04-303-3/+3
| | | | | | | I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602 Change-Id: I4896483669c877f3d8ed05a81d789750b39ab32d Signed-off-by: Chris Banes <chrisbanes@google.com>
* Update Support7Demos for action bar compat API changes.Adam Powell2013-04-296-69/+60
| | | | Change-Id: I61914ff777a0eada9525db6fad7d53c97303eb36