History log of /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
10c27646c1a19989f824a44ecd5dec2663db048d 19-Dec-2015 Dake Gu <dake@google.com> leanback: Dont use widget style in ContextThemeWrapper

This removes few attributes from ImageCardView widget and add few
attributes in Theme to select style for sub components.

Bug 26249596

Change-Id: Ib90c05f9471878be896121963019ddc6c05de5f2
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
69d050a8f2cb15e48185a413327feb4fb0e7a1ac 06-Aug-2015 Dake Gu <dake@google.com> Dont change android:background in ContextThemeWrapper

ImageCardView needs a ContextThemeWrapper to create its children.
The child ImageView is used in activity transition. GhostView
creates a full screen FrameLayout using ImageView's context, which is a
ContextThemeWrapper created by ImageCardView. So the FrameLayout
accidentally inherits a background same as the ContextThemeWrapper.

While we can fix GhostView in MNC, to make it work before MNC:
use a different attribute name other than "android:background".

Similarly defines attribute for card foreground.
Move cardForeground and cardBackground default settings to base card view.

Bug: 22988113

Change-Id: I8b30c6e8730e2379b29827fe8970f1d72e45ac1f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
71545370fce2dc3c104fd5698a58189721101f1e 20-Aug-2014 Tim Kilbourn <tkilbourn@google.com> Add javadoc for region visibility methods on BaseCardView.

Bug: 15575706
Change-Id: Iba71421d0b5f253e4658f8cc52e89f06afe5c21e
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
dcc8de5c9a9a07474c5dac86660f0bbc82eaabce 06-Aug-2014 Dake Gu <dake@google.com> add Ripple click effect for cards

Change-Id: Icfef1c785deba51c4c64f7a3dabd8ea4335a03b0
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
961a8f12d1fbeeb86ea066f9f2c693abb2ce50f2 12-Jun-2014 Tim Kilbourn <tkilbourn@google.com> Update leanback javadoc.

Bug: 15149629
Change-Id: Ib3977c497f1fc0fd2a9cc8527347a85e8f1e8d40
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
4c94efdb022031d2cbf5e80c8aa3703b01d78f68 08-Jun-2014 Dake Gu <dake@google.com> fix bouncing effect of selected card view

When card animation is enabled, the scale pivot changed dramatically
because card height is changed before/after browse transition without
animation. There is much less bouncing in "card -> card navigation"
because pivotY is animated with card height animation.

The fix is to allow pivotY being at a fixed location regardless info
height. Pivot values also need to be transfered to shadow container
since the actual scaling is done on shadow container.

b/15413508

Change-Id: I9b2ab7e9ef8d961d3a5072bf47f2e68e9b15f3d9
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
4e2fb08b51c8f14e1fcbc336d55076d975329329 09-Apr-2014 Tim Kilbourn <tkilbourn@google.com> CardView improvements.

Apply default style and some other state change fixes.

Change-Id: Ide067639b668c10ceaf68c6a550b7ff039998991
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
f110e403308bae45a8016f462052d8c2dee870cf 09-Apr-2014 Tim Kilbourn <tkilbourn@google.com> Fix sdk docs build.

Change-Id: I06cb6e7b8c972d643c1cec78c7b4c71555cc8254
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java
b55f0880c367c0b7e4132e7d954b60725e01e0b2 05-Apr-2014 Tim Kilbourn <tkilbourn@google.com> BaseCardView and ImageCardView for leanback library.

A BaseCardView defines regions that can be displayed based on view state
changes on the layout. Three regions are defined: main, info, and extra,
and info and extra regions may become visible when the layout becomes
either activated or selected. Info must appear before or at the same
time as extra.

ImageCardView is a widget based on BaseCardView, defining a simple card
widget with a main image, a title, and a content string. Optionally the
card may also contain a small image badge. The text and badge are
contained in the info region, and there is no extra section.

Change-Id: I0cc497a7eaf434da3633ff307ab10d730731bbed
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseCardView.java