Commit Graph

92 Commits

Author SHA1 Message Date
Jae Seo
106e33404a MediaRouter: Remove uses of not-yet-public API
Change-Id: I05949c75081fc963fe4b025f6f4db13d0255eeef
2015-08-27 17:54:54 -07:00
Jae Seo
3fb1da70ef MediaRouter: Remove an unused member in SampleMediaRouteProvider
Change-Id: I9eb7d16a49017697e2586dc1988e4411566d65d4
2015-08-25 14:46:29 +09:00
Jae Seo
b26f52f2c0 MediaRouter: Add a sample for the custom route icon
Bug: 23116379
Change-Id: Ie744f40584e4f39cf17cd58d238f98059a8a88a3
2015-08-25 13:59:20 +09:00
Jaewan Kim
5d04bdb493 MediaRouter: Prevent activity from restarting
This keeps the playlist for orientation changes.

Bug: 23399327
Change-Id: I89d436a0455190798180ceef3bcb2028eacbf23b
2015-08-24 20:03:45 +09:00
Jae Seo
cbfd7cd506 MediaRouter: Add route groups
Change-Id: Ideab1c0fccd01a68e3f6a5997b9c66aed9b1332e
2015-08-18 16:00:05 -07:00
Vadim Tryshev
09e174875c am 1461b8e9: Merge "Fixing a crash introduced by my previous CL." into lmp-mr1-ub-dev
* commit '1461b8e9a0573442d8259c5035025e847cb511d7':
  Fixing a crash introduced by my previous CL.
2015-07-10 01:31:11 +00:00
Vadim Tryshev
218d64bd51 Fixing a crash introduced by my previous CL.
I didn't notice that method deleteItem(View) is used via reflection.
Restoring its (unused) parameter, which is needed for reflection,
but keeping a better name deleteSelectedItems.

Actually, we have a problem that click handlers like this one are also
used as helper methods for other handlers, where View parameter is
unnecessary, but I don't think it's worth fixing, so let's pass View and
not use it.

Bug: 21643257
Change-Id: Ibc0cd919706156ddc00890f322e51cb0774bc26b
2015-06-29 13:27:24 -07:00
Vadim Tryshev
3823d992ee am 43774e87: Eliminating AnimatedRecyclerView demo crashes.
* commit '43774e878dd1ea72eab77bf46d9c01b6deae8ce3':
  Eliminating AnimatedRecyclerView demo crashes.
2015-06-27 01:42:18 +00:00
Vadim Tryshev
43774e878d Eliminating AnimatedRecyclerView demo crashes.
Also, some minimal cleanup.

Bug: 21643257
Change-Id: I956d8fd63b1e51b03e215ac3434ff7c73c0bdce3
2015-06-26 18:29:17 -07:00
Chris Banes
28701d108d Revert "Tinted icons sample"
This reverts commit 8e7ff4c3f2.

Change-Id: I011cc2afc4de0a572f42faaa4b19b90ba661140c
2015-06-11 08:32:41 +00:00
Vladislav Kaznacheev
d18f135ae2 am d57a9edb: Adding AsyncListUtilActivity to Support7Demo
* commit 'd57a9edb663615b84ac7467328619e5801053787':
  Adding AsyncListUtilActivity to Support7Demo
2015-06-11 01:34:11 +00:00
Vladislav Kaznacheev
d57a9edb66 Adding AsyncListUtilActivity to Support7Demo
Bug: 20180767
Change-Id: Ib097e3aa0f4fa9179b6bfd743fa43b584e7860ce
2015-06-10 15:13:07 -07:00
Vladislav Kaznacheev
66ca00a6a2 am eda065a4: Merge "Add StaggeredGridLayoutManagerActivity to Support7Demos" into lmp-mr1-ub-dev
* commit 'eda065a4b89d1964e87db8f15b4b586968eba42c':
  Add StaggeredGridLayoutManagerActivity to Support7Demos
2015-05-22 19:03:41 +00:00
Vladislav Kaznacheev
fbd288c843 Add StaggeredGridLayoutManagerActivity to Support7Demos
Change-Id: Ifeac68ab61f25faff64289168d34d52810a0cba5
2015-05-20 10:32:37 -07:00
Chris Banes
53267867a7 Add DialogFragment demo
BUG: 20590925

Change-Id: I6506d841f70ffb5adf200febe60a24445eca5abd
2015-05-05 15:55:41 +00:00
Yigit Boyar
16ac7516f4 ItemTouchHelper demo activities
NOTICE: TBR

Change-Id: I8d4c0bd2662fc0deb6465de753c1107938fbe6ee
2015-04-22 18:35:58 -07:00
Yigit Boyar
074b0611de ItemTouchHelper demo activities
NOTICE: TBR

Change-Id: I8d4c0bd2662fc0deb6465de753c1107938fbe6ee
2015-04-21 18:47:00 -07:00
Deepanshu Gupta
04c53d8617 am 01edcb86: Add recycler view resources to Support7Demos.
* commit '01edcb86be8413ef58c1b26198029a16c1e14ebb':
  Add recycler view resources to Support7Demos.
2015-04-21 23:01:35 +00:00
Deepanshu Gupta
01edcb86be Add recycler view resources to Support7Demos.
Missed that in the earlier CL.

Change-Id: I6bd3eb24eb1506fa4dba57250141bf36fabe0286
2015-04-21 12:10:59 -07:00
Chris Banes
8e7ff4c3f2 Tinted icons sample
Change-Id: If8d456b2cb4c24a7548eae6d29a1e49ee662988e
2015-04-17 15:41:43 +01:00
Chris Banes
97930fc88b Disable the design support library and demos
Change-Id: Ia0247179d3230d0ec2a198d458bc417fe3102d9d
2015-04-08 08:11:06 +01:00
Chris Banes
e1556d3dfc Revert "Remove the redundant dependency on Support7Demos"
This reverts commit 12edcb5d03.

Change-Id: Ie9ab4114afb2a674fdfd2bae535ebac8e18a5ec9
2015-04-07 19:22:45 +00:00
Chris Banes
12edcb5d03 Remove the redundant dependency on Support7Demos
Change-Id: I5cf4e061547ad33caa71f802f7a36b36468d17bf
2015-04-07 19:17:46 +01:00
Chris Banes
2ea6b5d060 Add hide on scroll demo
Change-Id: I1c76ad7c5f2c37a4cdfde4e73b9579ec3a633fcb
2015-03-23 10:01:15 +00:00
Chris Banes
2797e1a401 Merge "AlertDialog Demo" into lmp-mr1-ub-dev 2015-02-20 12:00:52 +00:00
Chris Banes
0dfad9e6b0 Add ActionMode demos to Support7Demos
Change-Id: I6e98fbe932f3c9569a96cdfac8fe54b7913d2784
2015-02-17 12:02:38 +00:00
Chris Banes
5ffcd96f0b AlertDialog Demo
Change-Id: Iffbc9bccbc5f6a2975368dceaf3b9e76854df6eb
2015-02-11 16:38:54 -08:00
Chris Banes
f212598d83 Add new SupportDesignDemos sample app
- I've moved the design stuff from Support7Demos

Change-Id: Ibb62a1692550419fea25d297aca5c0c7da0b0dbd
2015-02-10 11:12:30 -08:00
Chris Banes
42e327a729 Add button bar dialog sample
BUG: 19192942
Change-Id: I942cbd427c521efc7e284d5dea033e7026f689bb
2015-01-29 21:14:09 +00:00
Chris Banes
563eac6b8a Add FAB Sample to Support7Demos
Depends on Ia88c28c2ab0da0779f1092495e3a417969cb1d2a

Change-Id: Id1505396a9d062ede626dbdeb352abccd9494ce9
2015-01-26 15:21:13 +00:00
Chris Banes
c3716abd3c Merge "Add some samples for AppCompat's styled widgets" into lmp-mr1-ub-dev 2015-01-23 21:18:38 +00:00
Chris Banes
743aa0de96 Add some samples for AppCompat's styled widgets
Change-Id: I930044339024d01c5ad4a2cfafca184c8c72dc8a
2015-01-23 10:13:10 +00:00
Yigit Boyar
5366c30c84 SortedList demo activity
This CL adds a new activity which demostrates using a
SortedList with a RecyclerView.

Bug: 18753633
Change-Id: I02307df129d44ac8a110a8c7f467787870336cf1
2015-01-22 13:25:48 -08:00
Chris Banes
58bf5b99e6 Update Support7Demos with Dialog and Preferences samples
Also move to AppCompatActivity

Depends on I88a7e4de5de85477982e401c832aeae732f81647

Change-Id: I47c6a60ad07915cc391f8b757fef24785874d7ef
2015-01-13 19:05:53 +00:00
Chris Banes
f1cfecc432 Change Support7Demos to use android:theme instead
Change-Id: I17507af86df4ceb38dd76b8414cb77e92aad3627
2015-01-09 09:54:25 +00:00
RoboErik
4424852bbb Updates for compatLib changes to MedaiRouter support lib
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
2014-12-04 13:51:26 -08:00
RoboErik
e98a5d4e19 Update for MediaSessionCompat support
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
2014-12-01 15:11:20 -08:00
RoboErik
cdc171cd04 Merge "Update the MediaRouter support demo for new UIs" into lmp-mr1-dev 2014-11-24 23:04:30 +00:00
RoboErik
c00f64fbb9 Update the MediaRouter support demo for new UIs
Updates the MediaRouter support demo for the new material UI spec.

bug:17879842
Change-Id: I3340e65384050fbf561cf506cb5b80028d69d849
2014-11-19 23:32:23 +00:00
Yigit Boyar
82905bae66 Remove deprecated API usage
Bug: 18213371
Change-Id: I6acaec5e8a7e5fa4ce5d7cab7040219048d4dcc6
2014-11-11 18:22:29 -08:00
Yigit Boyar
e70d01bbf5 Add color picker to cardview demo
Bug: 17668891
Change-Id: Id54bae8e37ffb4d1f077ca4ef9a721766277c02e
2014-10-14 12:31:08 -07:00
Chris Banes
cb838606af Merge "Update Support7Demos for L appcompat" into lmp-mr1-dev 2014-10-03 08:37:00 +00:00
Yigit Boyar
52af255018 Don't layout removed scrap views
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
2014-10-02 17:43:03 +00:00
Chris Banes
cbeaa03cb8 Update Support7Demos for L appcompat
New Toolbar samples along with some improvements
for the other Action Bar activities.

Change-Id: I28dca1bd86ea4c269b711f4d10283e71384a33ac
2014-10-02 10:08:24 +01:00
Yigit Boyar
98f71019b1 SupportV7 Navigation Bar Demo
Change-Id: I4347762a621a887ccac03372071abac5b56b52f3
2014-08-29 15:31:39 -07:00
Yigit Boyar
4d101ac303 Add grid manager demo to Support7Demo app
Change-Id: Ie90a4e2be35db1500adcf8e358b3d9d8fccc68b2
2014-08-07 12:46:06 -07:00
Yigit Boyar
eb785dc7f3 Add elevation settings to cardview demo app
Bug: 16501750
Change-Id: I831f191c8db1864ba2f1dfa3af9ffbe4005b2e0c
2014-07-30 13:29:01 -07:00
Yigit Boyar
cc33d7ec0f Update divider item decorator to account for view translation
Bug: 16241985
Change-Id: Id441a07fe547493007e9e05d1039bac526847a1c
2014-07-17 16:37:21 -07:00
Chet Haase
73244273b9 Add RecyclerView animations for change actions
Issue #15691746 RecyclerView item animations for changed/resizing item views

Change-Id: Ibe735eefa704189d17f63406de941d76282e9272
2014-07-10 07:46:18 -07:00
Chris Banes
170658dd69 Update Support7Demos to include Palette demos
Change-Id: Iff13ca1a2551e54a98c655955654cf8be5930d0b
2014-07-08 09:20:06 +01:00