0d841b3454f896da58deb506ca22730bfd04f34f |
|
19-Mar-2016 |
Dake Gu <dake@google.com> |
leanback: fix row selection problems Bug 27718801 When removing all rows in SearchFragment, the search bar's visibility is set to gone Bug 27751344 BrowseFragment missing item in OnItemSelected event Bug 27751870 RowsFragment does not update mSelectedPosition Change-Id: If455ccaeee6b10bbfed9586e73f55449a825250d
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
bb0a680c10b84b83833a59634373140f8bd0750c |
|
14-Mar-2016 |
susnata <susnata@google.com> |
Adding support for lazy adapter loading in BrowseFragment. Change-Id: Iedc3a85d12434c3d04cc53170f2b2190437b3d4c
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
fb11ded6cfa3965883e68625e0c7e14b4b4fe0b3 |
|
15-Mar-2016 |
Susnata Basak <susnata@google.com> |
Revert "Revert "Improving Row/Page fragment handling in BrowseFragment."" This reverts commit 80a1d2dfbe5c1f26370cc1753c3ae321f126f5d2. Change-Id: I98961927b6428b6a741939ce1c09ae6a1855a508
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
80a1d2dfbe5c1f26370cc1753c3ae321f126f5d2 |
|
15-Mar-2016 |
Carlos Valdivia <carlosvaldivia@google.com> |
Revert "Improving Row/Page fragment handling in BrowseFragment." This reverts commit 4400ca12ff731a7392715bc3d8ad3539b4c37889. Change-Id: I9f30e33f64b4520327da614f6a4755d2bf292141
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
4400ca12ff731a7392715bc3d8ad3539b4c37889 |
|
11-Mar-2016 |
susnata <susnata@google.com> |
Improving Row/Page fragment handling in BrowseFragment. Change-Id: I68eed234dc3dc10eb14aafc42478360578fa21a0
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
2f5ebf3f6f7bb6a24856f389e369b247118ba119 |
|
18-Feb-2016 |
susnata <susnata@google.com> |
Refactoring BrowseFragment to support page fragments. Change-Id: I2c4af2782443ba4fb957642a68ead563877fa0ed
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
2f1bd591e01fe93f605844d4a10cde7116315b7c |
|
08-Dec-2015 |
Dake Gu <dake@google.com> |
leanback: Fix typo in API method name getSeleted -> getSelected Bug 26010216 Change-Id: Id4c98c8f489358d74f6f58ad65d015d4a5380bb2
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.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/app/BaseRowFragment.java
|
4a4e0872bdf0548188e81740eb62085215e7f976 |
|
19-Aug-2015 |
Dake Gu <dake@google.com> |
fix NPE of Fragment destroyed before transition ends This is a regression. Bug 23331423 Change-Id: Ifa9935f819413b20aad2b9a0b38233dd0d7edbae
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
e71207666a1a915e5a5bdf7503bd936f4d87b48b |
|
22-Jul-2015 |
Dake Gu <dake@google.com> |
Unregister ItemBridgeAdapter from ObjectAdapter This is a rare use case: if same ObjectAdapter is reused across multiple Fragments and backstack is not supported. (Activity switch fragment showing same data?) We must remove ItemBridgeAdapter from observer list of the long existing ObjectAdapter. Fragment should in theory to be self restoreable for example when BACK is supported. So ObjectAdapter should have same lifecycle as RowsFragment. This fix isnt necessary in these typical cases. But it is a safe fix. Bug: 22642503 Change-Id: Id0b40a0c1b022d0ec534f6281fb38156a1436c06
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
902e68c114f86e8002516ff3f0248b722b6c5711 |
|
29-Jun-2015 |
Dake Gu <dake@google.com> |
leanback: prevent RV update children during transition Introduce onTransitionPrepare() which is earlier than onTransitionStart(). Now it's three stages: - onTransitionPrepare() stops animation, scroll, user interaction but allows RV change without item animation. - onTransitionStart() further stops RV layout, prevent any child change until onTransitionEnd() resumes it. Adapter change is postponed. - onTransitionEnd() restores everything. Fixed a bug when focused header view is re-binding, select level gets assigned to 0. b/22067316 Change-Id: If3e05e0bffe8b1b3d67e424989142dc9b69cccdb
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.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/app/BaseRowFragment.java
|
3f0f3eb255bde49549a77c0b5d252decaa2a0202 |
|
13-Nov-2014 |
Dake Gu <dake@google.com> |
Leanback: Support delayed details entrance transition Added a BaseFragment and move shared entrance transition code in. b/17628884 Change-Id: Ibfe78116a0822925dbd25dbfde38e9b1c8e6c488
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
42752c860a26deacca04ea9ebeb00ddb4d8ce2fc |
|
29-Oct-2014 |
Dake Gu <dake@google.com> |
Leanback fragment: House clean Rmove dead code; don't expose methods that shouldn't expose. Change-Id: I9b353c9781cbd9f0dcf13a5788c076c65ad47c1f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.java
|
7a208cd35be79a69b1f4f36724b85ab96eb23e75 |
|
09-Sep-2014 |
Dake Gu <dake@google.com> |
Implement fastlane fading edge b/17289018 Change-Id: Idc6629f5d18df668b3cca56495574755ada689b9
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.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/app/BaseRowFragment.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/app/BaseRowFragment.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/app/BaseRowFragment.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/app/BaseRowFragment.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/app/BaseRowFragment.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/app/BaseRowFragment.java
|
cf94c5fa8ae8edb7e26a623133207415ceeed187 |
|
20-Mar-2014 |
Dake Gu <dake@google.com> |
add support of row select animation Row select animation is controlled in RowContainerFragment that is not recommended to override. Developer can override the default dim effect either as a subclass of RowPresenter or subclass of ListRowPresenter. We also provide helper classes: ColorFilterDimmer and ColorOverlayDimmer that developers might use for their own dim effect. Change-Id: I1982aa193ccf04be557187a6338feefbd675710a
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/BaseRowFragment.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/app/BaseRowFragment.java
|