946a01cfedb6838e98d7a37e30f64c39b603893d |
|
12-May-2017 |
Dake Gu <dake@google.com> |
Fix constant in PlaybackControlGlue Actions. The values are ment to be constant. Bug: N/A Test: N/A Change-Id: I1ba306fe02beb52f837748c5af75d0c1fffea991
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/SampleVideoSupportFragment.java
|
ffddec570a27891c0e13d24b1558c6f61ed99fb9 |
|
24-Apr-2017 |
Dake Gu <dake@google.com> |
leanback demo: show case using real thumbnail bitmaps Created a sample PlaybackSeekDataProvider to read video snapshots from sdcard. Added instructions of how to use libav to generate the snapshot files from a video. Bug: None Test: None Change-Id: Ib7ce8a760735d221091a612d71458ead13059020
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/SampleVideoSupportFragment.java
|
3bcad88cbf4488e747d84893c35f2351b8f84afe |
|
21-Mar-2017 |
Dake Gu <dake@google.com> |
leanback: new transport controls PlaybackTransportRowPresenter is the new UX. PlaybackTransportControlGlue extends from PlaybackGlue. PlaybackTransportControlGlue is backed by PlayerWrapper. PlaybackWrapper wraps underlying media player, concrete example: MediaPlayerWrapper. PlaybackSeekDataProvider defines the data interface that app provides to leanback. PlaybackUI defines seeking interaction between PlaybackTransportControlGlue, PlaybackGlueHost and the presenter. more: - added progress bar support for media loading. - fixed vertical video proportion and support video size change. Test: PlaybackTransportControlGlueTest PlaybackTransportRowPresenterTest. Updated SampleVideoFragment. Bug: 33751556 Change-Id: I1d39c6f65d04121f8cb9c25fb7ce103e32355190
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/SampleVideoSupportFragment.java
|
95ac470f2bbea06114a64906d95c0da7d9412db0 |
|
29-Nov-2016 |
Dake Gu <dake@google.com> |
API review: move PlaybackGlue classes into media package Move PlaybackGlue, PlaybackControlGlue to new media package. Move inner class PlaybackGlueHost to top level. keep/deprecate old class PlaybackControlGlue, and make it extends from the new media.PlaybackControlGlue class. Renamed HostLifeCycleCallback to HostCallback. Refactoring method name of media.PlaybackControlGlue: createControlsRowAndPresenter -> onCreateControlsRowAndPresenter createPrimaryActions -> onCreatePrimaryActions added onCreateSecondaryActions. The old methods still exist the app.PlaybackControlGlue. Lots of javadocs. Bug: 33002776 Test: PlaybackOverlayFragmentTest, SupportLeanbackDemos Change-Id: Ic8fa29dd2191222977f663773d3cde038345109a
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/SampleVideoSupportFragment.java
|
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/SampleVideoSupportFragment.java
|
aa49439ba6276137f94fcdc1bf4f69b78833dad6 |
|
01-Nov-2016 |
susnata <susnata@google.com> |
Adding VideoFragment sample to SupportLeanbackDemo app. Test: None Change-Id: I1841fa357825bf7ab719a236b47e04aa21a72e6b
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/SampleVideoSupportFragment.java
|