History log of /frameworks/support/v17/leanback/common/android/support/v17/leanback/transition/TransitionListener.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8403619efebe94666c0615c3fc85080a303acf80 14-Oct-2015 Dake Gu <dake@google.com> leanback: fix NPE of transition listener and clean up

We actually can not support setListener(null) because transition
class only provides addListener() and removeListener(). Details fragment
adds a transition listener with null callback to the sharedelemententer
transition. The bug was not discovered because leanback theme always
specifies the sharedElementReturn transition. When sharedElementReturn
transition is not specified. When pressing back, the null callback listener
of sharedElementEnter transition are cloned into sharedElementReturn transition.

Now we switch to use addListener/removeListener and change
TransitionHelper methods to static.

Bug 24202013

Change-Id: I7cc918013e4a357a59987ea9727bc03c15cb0097
/frameworks/support/v17/leanback/common/android/support/v17/leanback/transition/TransitionListener.java
95400e6d31a1ac09e48cb8944a79b7250484aa4c 09-Aug-2014 Dake Gu <dake@google.com> DetailRow: Dont focus to button during transition

fix No.2 of b/16900335.

This is not stricly following the ux spec because running
the fading animation of parent viewgroup and a background fading
animation at the same time is really slow. The button fading
is started after activity transition is done.

Also clean up and removed ChangeBounds workaround, (reparent) is no longer
used. Moved classes to transition package, it is used by both widget
and app package.

Change-Id: I00463642843b3f3ef9c9845de451712d65745a89
/frameworks/support/v17/leanback/common/android/support/v17/leanback/transition/TransitionListener.java