History log of /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
08c56822b71ab0aa0b9bb03e5fd45e28f6e358b8 28-Apr-2015 Dake Gu <dake@google.com> Revert "Revert "Support multiple alignment within one ViewHolder""

This reverts commit bc0edc3ab9bac3c8d7d3cc9de1cb499ea3b4155e.

Change-Id: I1f9540e54fdee874adf7239a0ead1fb5447f2610
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
bc0edc3ab9bac3c8d7d3cc9de1cb499ea3b4155e 27-Apr-2015 Dake Gu <dake@google.com> Revert "Support multiple alignment within one ViewHolder"

This reverts commit 86a6309c3e89ec6abc40ec045bfaef7827cbe427.

Change-Id: I3385d74766e948566b7321cbe2afcf31a66282c1
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
86a6309c3e89ec6abc40ec045bfaef7827cbe427 07-Apr-2015 Dake Gu <dake@google.com> Support multiple alignment within one ViewHolder

Add support of align to multiple positions within one ViewHolder of
Grid View.

Introduce "FacetProvider" inteface for optional features to be implemented
without requiring an object must implement a java interface. Benefit
is less impact on the major feature of a class, make the extra optional
features loosely coupled with existing class. (And it is the only way
for ItemBridgeAdapter to provide a list of optional features that
are implemented by some Presenters but not others)

Add a new ItemAlignmentFacet class to describe multiple alignment positions.

Grid view gets optional ItemAlignmentFacet from RecyclerView.ViewHolder(rare)
or RecyclerView.Adapter for a given view type. If the facet exists, it's used
to calculate multiple alignment positions within this ViewHolder.

At high level, for apps that using Presenter, they don't directly use
RecyclerView.ViewHolder or RecyclerView.Adapter. apps put Facet in Presenter
(most cases) or a ViewHolder(rare cases). For example in the new detail page
design, DetailsOverviewRowPresenter will need this facet(TODO),
ItemBridgeAdapter is responsible to "bridge" facet from Presenter.

In the future, Facet may be used to customize child view state saving.

Bug: 20094419

Change-Id: Iabef94e46f9a304ffd68e49bed10e74a57dfe4ce
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
a00bada00bff4a58436a39472ab14ccb7a8f619d 31-Mar-2015 Craig Stout <cstout@google.com> Javadoc polish.

Includes new package level javadoc for:
android.support.v17.leanback
android.support.v17.leanback.app
android.support.v17.leanback.widget

b/19007191

Change-Id: Id1e5d55eabbf37c0420e6e4c73abe3d4f1aabee1
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
46443cb5b092f1d9156342645088eead9da026f6 13-Feb-2015 Dake Gu <dake@google.com> Allow app runs without theme/style.

1. Dont directly refer theme attribute in layout xml, this
causes attribute not found error if style is not specified.
In particular, fixed couple places layout defines "paddingTop" using
theme attribute.

2. specify "wrap_content" in layout xml for list row, so it
will work without style. fixed a bug that getDimensionPixelSize()
does not work for "wrap_content" in layout, using
getLayoutDimension() instead.

3. specify "clipPadding=false" in layout xml, so it wont
clip to padding when style is missing.

4. Add protection that brandColor is missing

5. Add protection where playback icon is missing in style.

Change-Id: I6641d57a6c5eff8cdf945d716d391ab13a86c299
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
3e91a20766ee7aea2bd2a8282425b0d61cd44376 11-Aug-2014 Craig Stout <cstout@google.com> Optimize no-fading-edge case.

setWillNotDraw(true) in that case.

b/16952580

Change-Id: I6cbec9e5cfb4789aac2209f39f528999cb9907ed
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
f0e485de16a48547b1c6b272cf005d0b80b92e79 10-Aug-2014 Craig Stout <cstout@google.com> Fix action button selection backgrounds.

b/16799117

Change-Id: Iea26e35c63439f199d0300d5ca3f158161f2a09f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
76c3b90228d8c4afc6d24c683e9c95f41ae619c9 04-Jun-2014 Jerome Poichet <jpoichet@google.com> Removing ununsed imports

Change-Id: Id398857ca752b9ac612d0e596da1cce58e6e3a6f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
2e0c922430f8c285b4325da52d69c09451069c93 22-May-2014 Craig Stout <cstout@google.com> DO NOT MERGE Details actions polish.

Includes fixes for fading edges on HorizontalGridView.

Change-Id: I04086b0d4c6f5047a6255217109cc1d6a15c6330
(cherry picked from commit 1c077500dda9d2e1c67aa0b19de36ded877a58fe)
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
f272f7533fcb5aba341e9ab2f4ff0421d668a8ca 26-Apr-2014 Craig Stout <cstout@google.com> Support for wrap content on the secondary axis.

Change-Id: I96ca955025c2d5b1857bd29febbcf2d0ac7e825a
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
9240e796bc63422c28f2707840bd99c48573279b 14-Apr-2014 Dake Gu <dake@google.com> more transition support and fading edge support

Use fading edge effect instead of switching clipToPadding, this also
fixes bug of shadow gets clipped by padding.

Let TransitionManager control the browse rows animation, disable
grid view animation during transition, grid view should
re-initialize the start position values when layout animation is
turned on after transition completes.

Made transition customizable from code, adding listeners.

Change-Id: I7904a3731f58af035e207cf61ad7ab174cee231a
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
cfbb302b7a67d1633b1a68f659ed41aa71702507 25-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Add support for multiple vertical columns.

VerticalGridView now supports multiple columns, just like
HorizontalGridView.

Change-Id: Ibe33c7fe960f04e01c13e9d848f9060ad1c26782
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
a8a3b898da49324e83ea32c3f08776a481312166 21-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Rename some leanback lib classes.

RowHeaderFragment -> HeadersFragment
RowContainerFragment -> RowsFragment
BaseListView -> BaseGridView
ListView -> VerticalGridView

Change-Id: Id37cb80a95122247aa33c55e545ece9f526df073
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java
8b068ddbbf22a246eab49ec25a2f7c3abfbdca51 16-Mar-2014 Tim Kilbourn <tkilbourn@google.com> Add a .readme file to be copied into the sdk src.

This allows the project resources to be built by ant/eclipse.
Also moved default source code dir to src instead of java/src.

Change-Id: I9e5002fbbfb96b98be772c1ec6653322d5563b56
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/HorizontalGridView.java