History log of /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
89097f67f988ebba714a95e10369665280db0c27 25-Mar-2017 Dake Gu <dake@google.com> DetailsFragment: support switchToVideo in onCreate

Allows DetailsFragment to be put in intial video mode
and skip entrance transition and enter transition.

The DetailsFragment's state model is fairly complicated
including entrance transition, enter transition and
switchToVideo call. So reworked StateMachine and based
DetailsFragment on StateMachine, remove the PF_ flags used
before.

When switchToVideo is called in DetailsFragment.onCreate,
there is no video fragment yet, but we still fade out
cover drawable and create a pending flag once the video
fragment view is created will focus on to it.

Added support in GridLayoutManager to allow slideOut() when
there is no child, and layout the first pass out of
window.

switchToVideo is not allowed with entrance transition.
once prepareEntranceTransition is called, switchToVideo will
be ignored until entrance transition is finished. On the other
hand, calling prepareEntranceTransition after switchToVideo
will be ignored.

switchToVideo will clear activity enter transitions. Once
it is called in onCreate, we do not want the activity enter
transition to run.

Test: bunch of new tests in DetailsFragmentTest for all kinds
of scenarios
Bug: 36126851

Change-Id: Ic0279331b12b1e285507dffda3ad351245c01a1b
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
cc671dd3caac1d0cbf3f6999ab063c9ff1f297b2 18-Oct-2016 Dake Gu <dake@google.com> Add checkstyle:off flag

Test: None
Bug: 32243836

Change-Id: I5c28ee5b4623e25126518ceb99f17b5ee384cb76
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
a373804d10f93a9488adc35cf6ce44dce09b3778 21-Apr-2016 Dake Gu <dake@google.com> leanback: allow customize title view branding

Added theme attribute browseTitleViewLayout to customize layout
for title view. The theme attribute is shared across all
BrandedFragment subclasses including BrowseFragment, DetailsFragment,
VerticalGridFragment and ErrorFragment.

Custom layout can provide a customized widget which implements
TitleViewAdapter.

Expose hidden base BrandedFragment class to public in API, this fix
issues of API generator does not handle public methods in
hidden base class.

Refactored ErrorFragment to use BrandedFragment.

Bug 28297243

Change-Id: I355a0a12a1d994b6bb0a63745a0754557a5f4b20
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
7350fc450e5850b7a3dddff6d63fb87bd24886dd 19-Apr-2016 susnata <susnata@google.com> Adding support for customization of TitleView.

Following the Youtube model, we are adding the ability for page
fragments to control the visibility of TitleView.

Bug: 28269880
Change-Id: I5153f51ff155aeac3186156f79f2ddc0ab34cb42
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
b10ba3b01290ce801180a3d5dc992825af8cb3ab 13-Apr-2016 susnata <susnata@google.com> Fixing the animation issue with TitleView.

Change-Id: Iced7b29e6eb3e0b2f0e36277393a1034696848ed
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
dc1492d3655550b7a9c861aae1bd538410c7324d 12-Apr-2016 Dake Gu <dake@google.com> Fix NPE of null FragmentHostImpl

Change-Id: I0e9a6808cb2e0d1df8c7e7b1ed49f95cb5e3e333
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
6fd4441435b14669deced90a05097dd5fe459ace 06-Apr-2016 susnata <susnata@google.com> Adding support for displaying TitleView inside page/rows fragments.

Currently, BrowseFragment shows titleview when we scroll to the
top row and hide it when we scroll away. But when we move into
the content section, we don't show the titleview. This Cl will
allow clients to show titleview inside their fragment.

Change-Id: I81489e25165135d71acb376248ba2a000788413f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
f01172a8028e20a2d86c71c1024fbc973e67afa4 10-Mar-2015 Craig Stout <cstout@google.com> Fix docs.

Also sync BrandedSupportFragment.

b/16029942

Change-Id: Ib74ade93895ef18fca599ea62a0d31555c4412f6
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java
e7246ef136ed686d8caf339d4d1fd8e37b499c6a 24-Feb-2015 Craig Stout <cstout@google.com> Broaden support for title/branding.

Unhide TitleView and BrowseFrameLayout.
Refactored branding fragment apis into base class BrandedFragment.
Browse, details, vertical grid are now BrandedFragments.
Create TitleHelper for devs managing TitleViews without BrandedFragment.
Ensure moving toward 'end' from TitleView passes focus correctly.

b/16029942

Change-Id: I5f48e404694997b359cbed579735544e79f6319b
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BrandedSupportFragment.java