181c8847d5a1169e26755ed690131333b7fff7e9 |
|
28-Oct-2016 |
Dake Gu <dake@google.com> |
Rework background manager and add TestCases 1. Simplify background layerDrawable from 5 layers to 2 layers. Especially disable the DimLayer to reduce graphics burden. 2. Made release() in onStop() a default behavior to reduce possible memory growing. 3. Top activity will inherit background from bottom activity, but not the other way. This fixes the problem that BrowseActivity inherits DetailsActivity's parallax background after returns from it. 5. Add convenient method to query selected item in BrowseFragment. 6. updated samples to handle background change in opening/closing header fragment and reapply background when returning to the activity (onStart) 7. Added new BackgroundManagerTest Bug: 32415435 Test: BackgroundManagerTest Change-Id: I93a026d3e1437c93e22cf0a2fa456d0b3e5f15b7
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/BrowseSupportActivity.java
|
cc671dd3caac1d0cbf3f6999ab063c9ff1f297b2 |
|
18-Oct-2016 |
Dake Gu <dake@google.com> |
Add checkstyle:off flag Test: None Bug: 32243836 Change-Id: I5c28ee5b4623e25126518ceb99f17b5ee384cb76
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/BrowseSupportActivity.java
|
71e7e67f320b23feac784b629db17b3bcce08722 |
|
30-Sep-2015 |
Dake Gu <dake@google.com> |
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
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/BrowseSupportActivity.java
|