05984a273dc5f596a3e8abbffe90c68d050630b9 |
|
21-Jun-2016 |
Dake Gu <dake@google.com> |
leanback: should wait pending data change in select Bug 29279610 Change-Id: I9f6dd736d8b52bee90b90c1ac8d3982ab4d99d84
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
ca5ab1a00298f1c1ad5227e352b8ae2e67c079a7 |
|
31-Mar-2016 |
Tony Mantler <nicoya@google.com> |
Implement scrollToPosition in GridLayoutManager Just call through to setSelection. Also remove extraneous parameter in setSelection calls. b/27248919 Change-Id: I31aca71934e5ff62c468061be947c88ddaa0e42a
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
0d73d42df7cf4b325b8f49660e3326204915ce8f |
|
04-Dec-2015 |
Dake Gu <dake@google.com> |
Add helper to select a row then a card on that row. Bug 26010216 Change-Id: Ic1cedc60c58644631ce62a6f4c8f95971d6702ab
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
be6eb618b4ba8a74d69fa04c77c717b1fcbea818 |
|
20-Nov-2015 |
Dake Gu <dake@google.com> |
GuidedStepFragment: support expand/collapse sub actions. Refactored GuidedActonsStylist.ViewHolder to be subclass of RecyclerView.ViewHolder, since GuidedActionsStylistis already assumes running in RecyclerView and adding scroll listener. There is no benefit of hiding RecyclerView. Added support to disable focus right / left in actions list view. We don't allow focus to the side buttons from sub actions. Also disable focus left so it won't be interpreted by a bottom BrowseFragment as open fast lane. Expand/collapse animation is yet to be added. Bug 24979518 Change-Id: I4309e63347e5b85b746477f988721fd4fca67943
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
121ba9616e5bed44d2490f1744f7b6a9d3e79866 |
|
30-Aug-2015 |
Yigit Boyar <yboyar@google.com> |
RecyclerView Animation API V2 This CL introduces a new Animation for RecyclerView that gives more responsibility and power to the ItemAnimator. It is backward incompatible but there is a new SimpleItemAnimator that mimics the old API for easy transition. The main goal for this API change is to enable better change animations. This change will enable ItemAnimator to easily animate contents of ViewHolders. Bug: 22507896 Change-Id: I4d9a6b92ff5c27691b277a777da77116476b1cd3
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
06388129e48b308b25bfd85e6f136db8528d4c62 |
|
27-Jul-2015 |
Dake Gu <dake@google.com> |
Fix regression of unable to focus out of empty gridview b/22706497 Change-Id: I53b7a9d7840fe614f0bb0d0c3307386a1e4e65db
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
89b4aed6fcd80f940531e265936ab908a8037f87 |
|
22-Jul-2015 |
Dake Gu <dake@google.com> |
GridView: fix two focus problems 1. if gridView has a list of children and gridView.requestFocus() is called from top-down which is a typical case when activity created: gridview should auto focus to first focusable child. 2. When none of visible children is focusable and gridview itself is focused, focusSearch(int) should navigate to first focusable child. b/22634251 Change-Id: I345119c47f0d70029e18eb8405ed67a53bc26fe8
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
88dea72af6042049560140a70e059820dbb8f746 |
|
19-Jun-2015 |
Dake Gu <dake@google.com> |
Supports extra layout space When layout reordering aligned focused item, extra space is needed during prelayout for filling. However there is no general solution now based on REMOVE/CHANGE flag of ViewHolder. This CL is a case-by-case solution allows extra item to be added in invisble area so that item animator can animate slide-in instead of fade-in. b/21949401 Change-Id: Ic78a0d639f387a0bf319fcc504b8401262148a0b
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
0246318f27a905a31df5a8af445cfe67d31dfb68 |
|
15-Apr-2015 |
Dake Gu <dake@google.com> |
New details fragment design Added new FullWidthDetailsOverviewRowPresenter and changed DetailsFragment. Under new design, details fragment is responsible to setup alignment for each row. Details fragment is also responsible to change the view state of row based on selected position and selected sub position. There are three states for the overview row: STATE_FULL: covers full width and full height(may be customizable). STATE_HALF: has empty space in the top to look through. STATE_SMALL: a banner style like the old Details. The layouts for different states are defined in the new FullWidthDetailsOverviewRowPresenter. Made the logo view presenter exposed and replaceable. Decouple SharedElementHelper from FullWidthDetailsOverviewRowPresenter to make it possible to customize shared element transition. For the apps: they only need switch to use the new presenter. The old DetailsOverviewRowPresenter is still supported at this point but might be removed in the future. Support customize or disable title of DetailsFragment. Fixed api/current.txt: Hide GridLayoutManager. Change-Id: Id53aa5a185f132c8d74c95042595f223371fa708
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
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/BaseGridView.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/BaseGridView.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/BaseGridView.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/BaseGridView.java
|
8c5d3b45f6afa838e64e4cf011a385c191d557c6 |
|
04-Mar-2015 |
Dake Gu <dake@google.com> |
GridLayoutManager: fix crash and support scroll delta. Fix crash of setSelectedPosition. Add scroll delta that applied to setSelectedPosition. Moved updateFirstVisibleOffset into StaggeredGrid class, the offset is now calculated when inserting first visible item, because the offset is needed when we append next visible item. Fixed a loop variable bug in updateFirstVisibleOffset. Added test cases Bug 19272838 Bug 19593908 Change-Id: Ibb6f2e115e9e4af6a2b18a48a921e6766cd0c0a6
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
60bb6af2e336072921f5d3c3861e86b3cc6241b3 |
|
04-Feb-2015 |
Craig Stout <cstout@google.com> |
Revamp support for keyevent handling. Now any RowPresenter.ViewHolder can handle keyevents. Fixes playback controls issues when ff/rw are triggered via keyevent. Also add support for KEYCODE_MEDIA_PLAY and KEYCODE_MEDIA_PAUSE. b/18933835 Change-Id: I6e4c568524dda538ea7082c8097b481a2e59dff0
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
9e0a5a45e54dab959e171b1c82f5f07a82c7d0fc |
|
30-Jan-2015 |
Dake Gu <dake@google.com> |
Save viewstate in onViewRecycled() Detach and attach can happen a lot in layout. Saving states when detached is not necessary. We only need save state when view is unbound from data (in onViewRecycled). Bug: 19202006 Change-Id: Ied07a123eaca41b42e828b6fda0003e4e4e0ee8b
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
d586ba8825b418d9589436725bfdead30f0dc075 |
|
28-Jan-2015 |
Dake Gu <dake@google.com> |
Reduce memory consumption of DPAD scroll multiple column grid Created a special SmoothScroller to handle onFocusSearchFailed for multiple column cases. It remembers the pending movements caused in onFocusSearchFailed and consume the pending DPAD movements when a view is laid out in the direction. The change avoids appending or prepending excessive views on the scroll direction which is not within screen bounds. Add a onLaidOut() listener for VerticalGridFragment to check if we hit the first row. If the grid is three columns. Previously (before introducing the special SmoothScroller) we always prepend one row of items before fire onSelected event, so when we fire onSelected(1), item0 is already in the tree and havePreviousViewInSameRow() returns false. Using the special SmoothScroller, onSelected is fired at the time a view is created. Checking hasPreviousViewInSameRow() at the time item1 is selected will return true because item0 has not been created yet. So VerticalGridFragment should also listen to when item0 is added to hierarchy. Applied a MAX_PENDING_MOVES to avoid overscroll too much. Issue: 19150678 Change-Id: I7cf0093a4bee652f60c5f2004b799ee7c3f87fc8
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
0a7fea13214fd2b33d0bd4f42b070d7b83bc2124 |
|
27-Jan-2015 |
Dake Gu <dake@google.com> |
am 4b3edb53: Don\'t rebind to a new view in notifyItemChanged * commit '4b3edb53b158518329719439db18b0cbd38f27e9': Don't rebind to a new view in notifyItemChanged
|
4b3edb53b158518329719439db18b0cbd38f27e9 |
|
27-Jan-2015 |
Dake Gu <dake@google.com> |
Don't rebind to a new view in notifyItemChanged Disable item change animation by default for leanback. This is a regression in lmp-mr1 caused by RecyclerView turning on item change animation by default. Bug: 18779939 Change-Id: I4fba38965a8a7a2613769619b6b0b17203c3a1ca
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
6e96b9d46e7af6bedf6213ecc2ba0ad7b8050778 |
|
18-Dec-2014 |
Dake Gu <dake@google.com> |
Refactoring grid algorithm The current interface between GridLayoutManager and StaggeredGrid is too complicated: GridLayoutManager updates rows min/max edge and Grid is responsible for fill items according to row min/max edge. This CL moved most of the grid code into Grid class family and make interface between GridLayoutManager and Grid much simpler. GridLayoutManager no longer updates row min/max. Refactoring made it possible to write efficient Grid class for single row or non staggered grid. A base Grid class is abstracted out. StaggeredGrid implemented it using a complicated data strurcture (a CircularArray) to cache stagger layout result. A single row Grid will cost less memory allocations: a TODO in the near future. fastRelayout() was rewriten slightly differently, it will relayout (using detachFromParent and attachToParent) next children once detects child size change, previously we push children away on the same row which might cause a bad alignment at end. Regular layout now starts with detachAndScrapAttachedViews(), this is lighter than removeAndRecycleAllViews() which may lose some views due to cache limit. Prepend/append during scroll now also detects if child size changed, then invalidate cached staggered result before/after the child. Improvement during adapter notifyChange or structure change, now we no longer discard grid information in a non-fast relayout case. We still keeps the same cached staggered result, until we really find size of a child has changed then we invalidate part of the cache. Tested with BrowseFragment/HorizontalGridTestActivity/ VerticalGridActivity/BrowseAnimationActivity and with rtl=true/false. Issue: 18946733 Change-Id: Ia0cfa34ad8d09c124dbffe51680a89f177bfef31
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
f032181dec150eadd94cdc936c6e18d83443d9c7 |
|
11-Dec-2014 |
Dake Gu <dake@google.com> |
add RTL javadoc for window alignment Bug: 18631342 Change-Id: I8bad796a2e3ea5af1e5661e523a6a769cb181a02
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
8e3566285de4ac771d6188f62fe947e23d371a3d |
|
19-Nov-2014 |
Kris Giesing <kgiesing@google.com> |
Changes to support RTL layouts Bug: 18020272 Change-Id: I3e07b5f3784303b0b50dccc72d9d5ab140ea158f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
1f000f84b9f8db8778b941a6a1bf60f3d349545d |
|
20-Sep-2014 |
Dake Gu <dake@google.com> |
Leanback: Finish implements overreach feature GridLayoutManager Overreach feature is not quite right yet, a diff of alignoffset * (1 - 1/scale) needs to be applied. And we may need overreach for views other than gridlayoutmanager. Move all the functions into a ScaleFrameLayout, so that it can scale any type of view, not just gridlayoutmanager. b/17914987 Change-Id: I28d073b39eba9c0d24093274b2f5a524e3381aa9
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
ceb7ab2ddd6e157cd4ade0f14a382c39428163c4 |
|
15-Sep-2014 |
Dake Gu <dake@google.com> |
Fix performance of hero transition Use hasOverlappingRendering false for action list details description frame and ImageCardView. TODO for transition: Ideally ImageCardView should hasOverlappingRendering and transition should create hardware layer for fade animation. b/17499864 Change-Id: I4c4437c7e1ac19051ab939bea2ee0b2119d03090
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
0fff85d7f9dee67ec5116f3cba4e8b3961f805a7 |
|
11-Sep-2014 |
Craig Stout <cstout@google.com> |
Scale rows when headers are showing. b/15887467 Change-Id: Ib7a942c7de6f7bdfef08ba8ef8e938abee585358
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
2024f694e8ae778eefb3f6b6cdc245a67975436c |
|
09-Sep-2014 |
Craig Stout <cstout@google.com> |
Merge "Fix double layout framework warning." into lmp-dev
|
d7618ab69ef591dd5342b9481c4954bfc7e9110c |
|
08-Sep-2014 |
Dake Gu <dake@google.com> |
Fix fading out children not moving with parent Don't remove child of listview, switch visiblity instead. Removed children will fade out at original position but not moving with parent. b/17423570 Change-Id: I253bdbadeefb71ced6971d446a17d96d7a96dea3
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
b33714d135e006cf3bdba09788c27d4791b8632e |
|
07-Sep-2014 |
Craig Stout <cstout@google.com> |
Fix double layout framework warning. When in layout, invoke the child selected listener before child layout. b/15446050 Change-Id: I5d123d2586bdb55a410365a38146d1310fbfbe8a
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
1102fc6fafe721522f2b67f86d89feda87096265 |
|
28-Aug-2014 |
Dake Gu <dake@google.com> |
GridLayoutManager: Multiple fixes to state saving 1. Implemented a LruCache based child states to limit the memory used. 2. When adding/removing child happens, clean up all cache (will lose all offscreen child view state). This is because we use index as key, which will be changed. 3. Evict item cache when item is changed. 4. Make saveChildren policy API of BaseGridView, only the vertical list which has nested horizontal list turned on this feature. This is quite reasonable assumption: only save the nested horizontal list's focus index but no more deeper children states: less expensive and avoid potential unknown problems. 5. load children states inline instead of requesting layout, fixed bug that requestLayout gets eaten by a top level scrolling layoutmanager. b/17212513 Change-Id: Ic60c7ac216fa265b64646c3072767983eeb02653
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
dbfb5013ef4647e61d96a31db67071afc9c1c3b8 |
|
19-Aug-2014 |
Dake Gu <dake@google.com> |
Merge "Use a foreground instead of itemdecoration for default row selection effect" into lmp-dev
|
709bb7083a089e788d84ffa81f2c4f60a1bc8cf2 |
|
15-Aug-2014 |
Dake Gu <dake@google.com> |
Prevent recyclerview scrolling in transition Both scrolling animation and ChangeBounds animation will change the card position and cause card being put at random position. b/16952270 Change-Id: I628230e32088cc9bb43908f9076a32877c685bd0
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
b23ee09bf4aee03bc403abf39016c8ca5ecf301c |
|
14-Aug-2014 |
Dake Gu <dake@google.com> |
Use a foreground instead of itemdecoration for default row selection effect Most of time vertical grid view only has ListRow, but in order to handle possible default row selection effect, it always add item decoration. Switch to use a foreground of RowContainerView for the dim effect. Disable not needed overscroll effect for TV. b/17044705 Change-Id: Id48b5ff595f6b2efe70599d1255ceba42ca35966
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.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/src/android/support/v17/leanback/widget/BaseGridView.java
|
372d07bb41510d91a6a662a1906aceb0ee759481 |
|
25-Jul-2014 |
Craig Stout <cstout@google.com> |
Add view fading support to PlaybackOverlayFragment. Includes auto-tickle on input. Change-Id: I58d1f6d87870d06527b3b80f7fedcdeab1b3cb6e
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
0fcad32410ad29031630bb9cc2da35d33a4aa906 |
|
19-Jun-2014 |
Dake Gu <dake@google.com> |
ListRow: Use Z order instead of customized drawing order This makes much sense that drawing order is swapped when z values comparison swaps instead of immediately switch z-order on focus change while new focused view has not scaled up. Change-Id: I78b7e4bff29d8ebc0ce128d5783f0c89e29a2bbe
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
94920246f7f5a0d4dae794058020cd67c5701056 |
|
10-Jun-2014 |
Dake Gu <dake@google.com> |
GridLayoutManager: Do not declare predictive layout support. Because GridLayoutManager hasn't done any predictive layout, it shouldn't declare support it. Use a different way for enable/disable itemanimator. Bug: 15542012 Change-Id: Ieb71f4badb56496c20c043e55043e5e5d1eec1da
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
9020c0aec57b4e8994d66b7cd1a89c225e9bfa11 |
|
05-Jun-2014 |
Craig Stout <cstout@google.com> |
Fix VerticalGridFragment focus navigation and title transition. b/15432740 Change-Id: I6ac533a88d8ce8b17aa28d3605e688536bfbb8e5
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
4200ae975bfd7e4dc2e5c2d838c070470fcb3e2a |
|
29-May-2014 |
Dake Gu <dake@google.com> |
GridLayoutManager: supports item animation Remove all GridLayoutManager animation code and use item animation in RcyclerView. TODO: there is a regression that hovercard resize animation is not supported but we dont have a use case for now. Fixed a NPE in scrollVerticallyBy b/15079477 b/15004615 Change-Id: I67245bd0c2f6c3265a3b309b5f47e3f0c10ac6b3
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
e43e9266c4b7e4902fefb5d2a0cacca90a3d2681 |
|
16-May-2014 |
Dake Gu <dake@google.com> |
Browse: fix the space between rows in not expanded state when expanded goes to false, half the vertical space to make it equal to the horizontal space between cards. remove the hardcoded 16 pixels due to compensating paddingTop of horizontal grid view. Instead, introduce a flag "setItemAlignmentOffsetWithPadding" in ItemAlignment. So row will align the top of horizontal grid view(R.id.row_content) plus the top padding of horizontal grid view to a fixed position vertically. Fixed some bug of handling optical bounds in ItemAlignment. Removed duplicated browse margin dimens. Change-Id: Ic3dcad2935bc7e4b525e6f830603bdce46e73086
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
4510b275c55d9a3dae13af38196d3bc6affd3dfc |
|
16-May-2014 |
Dake Gu <dake@google.com> |
fix janky "hide title transition" don't prune the rows during transition, so they can be slided out instead of faded out at original position. b/15017332 Change-Id: Icc6e8b7d7c0b1f10ae2372bcb1b644455f1063d2
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
2f97594742886d045ca1ce409ebc6e6e780452f6 |
|
06-May-2014 |
Dake Gu <dake@google.com> |
browse transition fix bug that ListRowPresenter does not fire row selected event. adjusted pivotx of header. add fast lane header sliding transition. fade row header in-place while moving parent. Merged transitions into concurrent to make the transition more "tight". b/14164663 Change-Id: I360118c98950519ed7e9dc3bf67dbe0bfdd45995
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
01ce047bc251d73d24c3ddd60aa280cf9930570b |
|
03-May-2014 |
Dake Gu <dake@google.com> |
Make vertical grid fragment item center horizontally Change-Id: Ide67b518e18b32fe95a1523398a0e0af3c8c9e5f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
e34cae48707e70442aca13e1b4ab55757292828d |
|
02-May-2014 |
Dake Gu <dake@google.com> |
VerticalGridFragment title transition Change-Id: I4f2d17ffe112e5ea89e5392a519d90e236e1e48d
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
3c23ada8bc25a05bbaa8c479a9df72e8172c4349 |
|
18-Apr-2014 |
Dake Gu <dake@google.com> |
Support header changeBounds transtion between fastlane and row Now both fastlane and text view above row share the same RowHeaderPresenter by default, this allows customized RowHeaderPresenter also being used in fast lane. Transition handles the transition between them. No longer detach/attach fast lane, goes back to the original hide/show mechanism, also split the transition work from focusSearch() and performed after focus changed. Added a Customized changeBounds transtion that support setting staggered startDelay of fastlane text views. Change-Id: I688074b850c088c2ff53039d235ba70f88c38da5
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
26bfc3c42a1e0b0bd08bf2bb1142b371b60aa7d3 |
|
05-Apr-2014 |
Craig Stout <cstout@google.com> |
Fix adapter update during measure. Change-Id: Ia42463cdc0f5054c4771a439c6f310dcfaee2ec1
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
79ea84679035f18acc581896ff028a4866361b04 |
|
17-Apr-2014 |
Dake Gu <dake@google.com> |
BrowseFragment: Fix transition/animation conflicts Disable vertical scrolling in left/right transition. Disable left/right transition when vertical scrolling is running. Change-Id: Ia0a8c8c164f85d9227245673c68b2df2630947ad
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
9421aa6ca7de4174ddbe2e10fbb05cb31685ffcc |
|
02-Apr-2014 |
Dake Gu <dake@google.com> |
fix undesired horizontal scroll when focus from fastlane to row. We have code in addFocusables() to avoid focus to views in padding area. But when we switch from fast lane to row, addFocusables() is not called, instead hroziontalGridView.requestFocus() is called, which will by default find the first item in horizontalgridview. Overrides onRequestFocusInDescendant() so that we only returns items not overlapping with padding area. enforce "focus after descendant". Renamed some internal methods to avoid possible conflicts if recyclerview add methods later. Change-Id: I24fd175d7fe48924793f2b12fc8ea146280dcb3b
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
a5debe12465cc730b394651bed2acf894c60b65b |
|
02-Apr-2014 |
Craig Stout <cstout@google.com> |
Revert "fix undesired horizontal scroll when focus from fastlane to row." This reverts commit 5b1f117209e8a38d6d6b004c3c0d0285acc9b27f.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
5b1f117209e8a38d6d6b004c3c0d0285acc9b27f |
|
02-Apr-2014 |
Dake Gu <dake@google.com> |
fix undesired horizontal scroll when focus from fastlane to row. We have code in addFocusables() to avoid focus to views in padding area. But when we switch from fast lane to row, addFocusables() is not called, instead hroziontalGridView.requestFocus() is called, which will by default find the first item in horizontalgridview. Overrides onRequestFocus() so that we only returns items not overlapping with padding area. remove the descendant focusability code since gridmanager should be always focusing after descendant. Renamed some internal methods to avoid possible conflicts if recyclerview add methods later. Change-Id: Iefd24a7f2a09341daeebe94736cfd4a5c62cd530
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
adc2a01f5701cbcc044754119b572abcf31c7c5f |
|
26-Mar-2014 |
Dake Gu <dake@google.com> |
GridLayoutManager: support paged focus scrolling - FOCUS_SCROLL_ALIGNED this is what we currently have: keep focused aligned. - FOCUS_SCROLL_PAGE scroll page by page - FOCUS_SCROLL_ITEM scroll item by item Changed default BrowseRowView horizontal scrolling to use FOCUS_SCROLL_PAGE. Change-Id: Idc4cc2e7d4833cf9b24c8c9505b03e945667af59
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
ce08db4f13dd7f7a82694b440462d7484cfb7c5b |
|
01-Apr-2014 |
Dake Gu <dake@google.com> |
Merge "draw focused item at last" into klp-modular-dev
|
182f3350d5f3cef04d160c673b6969df28e9439c |
|
01-Apr-2014 |
Dake Gu <dake@google.com> |
draw focused item at last b/13734333 Change-Id: Ib907699aa84be726fdce9076e41ccfb091627767
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
5a2782ae17df5331a594fe03d5d89251a8b9f6d4 |
|
29-Mar-2014 |
Dake Gu <dake@google.com> |
GridLayoutManager: support gravity in secondary direction allow child view to have a different size in second axis other than mItemLengthSecondary. Depending on the gravity, align the child view on secondary direction. Change-Id: If02dd8c069219bf28791770dc3643956645ed634
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.java
|
f133a97300b8175c68dc75edbdceff8b86b97912 |
|
25-Mar-2014 |
Tim Kilbourn <tkilbourn@google.com> |
Remove deprecated setMargin function. Change-Id: Ic803be92e7bed36cb26f2d9ad4c31b8541ab6134
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/BaseGridView.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/BaseGridView.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/BaseGridView.java
|