Commit Graph

2794 Commits

Author SHA1 Message Date
Dake Gu
bea9cef302 Merge "GuidedStep example: Use standard action IDs and titles" into mnc-ub-dev 2015-10-28 21:14:25 +00:00
Kirill Grouchnikov
d4035382f2 Merge "Test app for ViewPager." into mnc-ub-dev 2015-10-28 21:04:34 +00:00
Dake Gu
37836fd9d7 GuidedStep example: Use standard action IDs and titles
Bug 25193684

Change-Id: Iced3aa78db1437d1823b60d2be1188993f557958
2015-10-28 13:43:44 -07:00
Dake Gu
23ee659cba Merge "SupportLeanbackDemo: add example finishGuidedStepFragments()" into mnc-ub-dev 2015-10-28 20:20:17 +00:00
Kirill Grouchnikov
5493040235 Merge "Add a comment on drawer layout file." into mnc-ub-dev 2015-10-28 12:51:18 +00:00
Dake Gu
d80cfde31d SupportLeanbackDemo: add example finishGuidedStepFragments()
and popBackStackToGuidedStepFragment()

Change-Id: I747673f886bebf5ccc81b8f686c801ede4b5ac0b
2015-10-27 17:03:51 -07:00
Kirill Grouchnikov
84d4654927 Add a comment on drawer layout file.
Bug: 9075592
Change-Id: I839d54ccf4a4eb82e30798408927759da247cde9
2015-10-27 17:29:45 -04:00
Kirill Grouchnikov
afeff426a9 Test app for ViewPager.
Bug: 25113163
Change-Id: Idd49f9e74831875a55ea19c5fa5e9adc732dd091
2015-10-27 13:53:56 -04:00
Dake Gu
58ccc4ace2 GuidedStep: More example of editing
Example of switching text when editing.
Example of error checking and next action.
Example of InputType.
Example of enable/disable action.

Change-Id: Iea5108cb3f3d487be0a8cd892568c3e053ee3d0d
2015-10-26 14:36:21 -07:00
Chris Banes
0fc3f916b8 Add AppBar sample using SwipeRefreshLayout
Change-Id: I8d2c84fcbdf13ec66f256d083bc8f2384928f161
2015-10-23 13:41:31 +01:00
Chris Banes
88436bd9f4 Add demo for TextInputLayout's counter
Change-Id: I3a2453b6d5ad3d5ea2abd5de66c95a7db0bd6f83
2015-10-21 11:17:17 +01:00
Yuichi Araki
3848c332a7 Merge "Add usage of BottomSheetBehavior" into mnc-ub-dev 2015-10-16 09:05:09 +00:00
Sungsoo Lim
6327806028 Remove route providers which use RouteGroup
Bug: 24831500
Change-Id: I272a2a944685384166308aa745e67d743e0b7637
2015-10-13 13:28:04 +09:00
Dake Gu
2157e7f4ec SupportLeanbackShowcase: get rid of card view background overdraw
Change-Id: I3a46d34df265eda2cf38bfca80d3786aa5a8a23b
2015-10-08 11:59:50 -07:00
Jae Seo
052b1d4aeb Merge "Support7Demos: Update the MediaRouter demo" into mnc-ub-dev 2015-10-07 17:33:47 +00:00
Jae Seo
2bd1f62c4c Support7Demos: Update the MediaRouter demo
Change-Id: I661e17073bd71e45610360bbf5b372eaf41c4fe3
2015-10-07 10:33:09 -07:00
Dake Gu
0750ff8d6b SupportLeanbackShowcase: performance fix of ImageCardView resource
Use Picasso to load Image in background thread instead of decoding
Bitmap in UI thread.

Change-Id: Ib798d167108f8445b3898cab72dc7dfabfe13c8a
2015-10-06 13:46:42 -07:00
Dake Gu
7d120188ca SupportLeanbackShowcase: dont expand side info
Transition animation isn't right.  Browse fragment hasn't implemented
the pre-layout for row children horizontal layout change.

Change-Id: Ib4f55651c3f568ad9224c474036663f35935c4e3
2015-10-05 18:15:17 -07:00
Dake Gu
c8ad1e5263 Leanback Demo: demo of edit title
Bug 24673827

Change-Id: I1e4d9378cc862d748055387a71129692bd4cf53b
2015-10-05 14:21:47 -07:00
Dake Gu
6fe262dae9 Supportleanbackshowcase: Polishing 2 and transition performance fix
Move background of browse/details/music from layout to windowBackground.
Setting background on view will cause the whole RelativeLayout being
faded in while transition move content inside the RelativeLayout.
The RelativeLayout does not have a hardwarelayer, nor does it specify
hasOverlappingRendering=false.  This falls to the slowest rendering
path.

Change-Id: I78bacc965e641d7f960aae5cf212c29f6b1f0f11
2015-10-01 15:10:07 -07:00
Dake Gu
ab2a8a7dae Supportleanbackshowcase: Polishing
Support staggered slide in/out transition for VerticalGrid.

Move background from layout file to windowBackground in theme.  Defining
background on view conflicts with transitions.

Change-Id: If823f492fd5bdd0b16c1d1e735f4214f925f3ae3
2015-10-01 14:36:25 -07:00
Dake Gu
8ab0d48a61 Merge "Showcase: Update SDK to 23 and support lib to 23.0.1" into mnc-ub-dev 2015-10-01 20:59:29 +00:00
Dake Gu
5bf3eba9dd Showcase: Update SDK to 23 and support lib to 23.0.1
Updated for new API addAsRoot() for GuidedStepFragment.
Rmove the awkward setStep() call,  we can find current GuidedStepFragment
using standard API.

Change-Id: I7ecb108a36ab5d0091c230dd5c5686e3a91f1857
2015-10-01 12:59:41 -07:00
Dake Gu
2e3684e007 GuidedStepFragment Subclass need explcitly specify a container id for background
After fixed Bug 24570987

Change-Id: I1ec51f8ea39b21e4d547e923386dd357a538ff4a
2015-10-01 11:46:10 -07:00
Dake Gu
8894dc714a Merge "Generate test for PlaybackOverlaySupportFragment" into mnc-ub-dev 2015-10-01 18:16:10 +00:00
Dake Gu
fedab48a80 Merge "Generate support version of leanback fragment tests" into mnc-ub-dev 2015-10-01 17:53:47 +00:00
Dake Gu
c7e4f19c33 Generate test for PlaybackOverlaySupportFragment
Change-Id: Ia3064006f3fb3fc4fd5230ff3ab24a7c4ba2470f
2015-09-30 13:41:45 -07:00
Dake Gu
48b4a134a4 Generate support version of leanback fragment tests
Include all leanback support version of fragment except
PlaybackOverlayFragment missing a support version of PlaybackControlHelper.

Change-Id: Icb5c99e8677630e8541b22b009051dd3908d4f35
2015-09-30 11:26:37 -07:00
Yuichi Araki
d9b5ca8fb8 Add usage of app:actionLayout in NavigationView
Change-Id: Ia89c13233226bebba9a0d0bde57f183debd85ba4
2015-09-29 18:21:16 +09:00
Yuichi Araki
e088638164 Add usage of BottomSheetBehavior
Change-Id: Ia6a6098c9a2ab7bcda0cc29c6800494faa97b440
2015-09-28 14:44:48 +09:00
Yigit Boyar
3d1224e652 RecyclerView in place animations
Bug: 22507896
Change-Id: I0344348011c412ea00b97eec97fa8d566bb09c7e
2015-09-23 13:12:34 -07:00
Dake Gu
1585785c23 Generate example of GuidedStepSupportFragment
Bug: 21504593

Change-Id: Ifafc4a956060def75bc01d45eeb568d3077a977e
2015-09-21 12:25:58 -07:00
Dake Gu
fc16978239 Merge "Add example of vertical grid transition and GuidedStepFragment" into mnc-ub-dev 2015-09-21 17:55:59 +00:00
Dake Gu
7b42f57cda Add example of vertical grid transition and GuidedStepFragment
Added example of vertical grid transition

Added example of launching GuidedStepFragment from BrowseFragment.

Also fixed couple bug in GuidedStepActivity:
1. All fragment class should be public
2. Remove argument from constructor. Pass Arguments instead.

Bug: 23319507

Change-Id: Ia7b8d6669445be62f8f2a325cc460021ca392ded
2015-09-14 16:09:33 -07:00
Chris Banes
8402e53c26 Merge "Add snapping scroll example to SupportDesignDemos" into mnc-ub-dev 2015-09-10 00:25:10 +00:00
Mady Mellor
69bd278c0c Add proguard configuration to support design demos sample app
Proguard was stripping out the coordinator layout behavior and the
linear layout manager classes.

Change-Id: Ibe72d5952bee20cf386e7384e261f46eea1cb67d
2015-09-09 10:42:59 -07:00
Chris Banes
4e650fbf0b Add snapping scroll example to SupportDesignDemos
BUG: 23792717
Change-Id: Ida0ba53fdf14534daa5a2a61ba5c035a1b782e82
2015-09-04 11:19:45 +10:00
Chris Banes
063b68edf6 Add DrawableCompat demo to Support4Demos
Change-Id: Ie00198b1d4dbc0c71084961eee2387a68e39505f
2015-09-04 07:27:28 +10:00
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
327fee84b5 Merge "MediaRouter: Prevent activity from restarting" into mnc-ub-dev 2015-08-25 01:40:35 +00:00
Robert Hahn
e6b72719a8 Added Transitions and minor code clean up
Added support for the DetailView Activity
transition. The DetailView can now be started
from the launcher or the Cards example.

Added support for Browse entrance transition.

Minor code clean up such as renaming
GridExample fragment to GridExampleFragment
and removing unused methods.

Change-Id: Ib1c11af82be5b858960e243acd7f11ce8dbd06f7
2015-08-24 10:51:57 -07: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
Trevor Johns
979a6c716c am 81556478: Sync sample prebuilts for mnc-dev
* commit '8155647801c9da4070bc0a044ec73afc126f4b88':
  Sync sample prebuilts for mnc-dev
2015-08-20 16:23:15 +00:00
Trevor Johns
55dcdfb298 am c8e94bf5: Sync mnc-dev sample prebuilts
* commit 'c8e94bf583adc38c36e968eb00f21a8b8ca70257':
  Sync mnc-dev sample prebuilts
2015-08-20 16:23:13 +00:00
Trevor Johns
7eca3d4cf5 am a56a6341: Update sample prebuilts to use latest deps
* commit 'a56a6341669e1402c23c9d4e1c24337525189c65':
  Update sample prebuilts to use latest deps
2015-08-20 16:23:11 +00:00
Trevor Johns
47176947a3 am 9a9c2ea5: Bump mnc-dev samples package to v3 (DO NOT MERGE)
* commit '9a9c2ea5f207e3f59f6ede1b91f46121e41200a5':
  Bump mnc-dev samples package to v3 (DO NOT MERGE)
2015-08-20 16:23:09 +00:00
Trevor Johns
e00d9e659c am d95a687e: Sync sample prebuilts for mnc-dev
* commit 'd95a687e5a9820f9859997dc733da9a18afb57c2':
  Sync sample prebuilts for mnc-dev
2015-08-20 16:10:16 +00:00
Trevor Johns
8155647801 Sync sample prebuilts for mnc-dev
Synced to //developers/samples/android commit 57690c2111.

Change-Id: Ie10e7bbcf4fd9dfb4db02b8cffa4e47d88076315
2015-08-19 17:38:27 -07:00