2656ae585662d63454ca757c2f33336fa58062fa |
|
06-Mar-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Re-enable lint enforcement, fix remaining lint issues"
|
c69882cb9b130902c1554ef5d3e3b06d776cd796 |
|
05-Mar-2017 |
Alan Viverette <alanv@google.com> |
Re-enable lint enforcement, fix remaining lint issues Bug: 29630077 Test: ./gradlew lint Change-Id: Ied1e4b1c33ba158d6bfab5439497ee4fc8284a8f
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
e2104f4b5c8e3ad63570306a25e61502dfe4c418 |
|
05-Mar-2017 |
Aurimas Liutikas <aurimas@google.com> |
Add all missing @Override annotations. Historically, we could not add @Override for certain methods due to using older SDKs to build support library. That is no longer the case so we can add @Override everywhere now. Test: ./gradlew assemble assembleAndroidTest still works Change-Id: I85e3c1157f0e253e3eab7584189f3bf95cf030e9
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
e1cde4d4ac42a6e9e16aad2b4df970c7c7d0771c |
|
21-Dec-2016 |
Dake Gu <dake@google.com> |
Leanback: parallax and details video API refactoring There are too many new concpets introduced when we create multiple building blocks around parallax. This CL tries to get rid of some classes. 1. Remove class ParallaxSource, integrated into Parallax. So there is no more setSource()/getSource(). 2. Replace DetailsParallaxManager with DetailsParallax. It is no longer a manager pattern but DetailsParallax is a direct subclass of Parallax. 3. Replace DetailsBackgroundParallaxHelper with DetailsParallaxDrawable which is a direct subclass of CompositeDrawble. No more helper concept. 4. remove the glue creation API from DetailsFragment, those are not necessary and app can do it on the side. The summary of new classes: 1. Parallax, tracks multiple UI events and perform multiple ParallaxEffects on ParallaxTargets. RecyclerViewParallax is a subclass of Parallax that monitors RecyclerView child positions. 2. DetailsParallax is a subclass of RecyclerViewParallax, DetailsFragment holds the DetailsParallax object and is responsible to attach it to VerticalGridView and sync with Transition animation. DetailsParallax is shared by both background bitmap and video. 3. Created a DetailsFragmentBackgroundController class responsible for parallax background and embedded video playing. Bug: 33750080 Bug: 33751156 Test: all existing leanback tests Change-Id: Iec81a444d5d4fbeb675f16222b09b407acf007a2
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
fe4317c9f0492c67e2ee48e3d135f649f5f1fc5c |
|
29-Nov-2016 |
Dake Gu <dake@google.com> |
leanback: hide embedded video, parallax, CompositeDrawable Hide the new classes/methods before finalizing APIs. Change-Id: I3b6660a60457821f9e5e7aa40b5e98f16fb0baff
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
3103f63e99d47573823957f7aa34308555873221 |
|
20-Sep-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix all operator wrapping issues in leanback library. Test: code still compiles, there should be no code/logic changes. Change-Id: I6e97e2ba429c323022055263540c3fb6d0003822
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
00f780c9e3cca0b2e364c61e936147e09877c43f |
|
14-Sep-2016 |
Dake Gu <dake@google.com> |
Fix Leanback NPE: Add getConstantState().newDrawable() support Added getAlpha() support. Also removed accidentally exposed member variable from API. Test: added Bug: 31468977 Change-Id: I20197d580141b191758dc37efbbc1213cb469e11
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
935b033edfd9d03129fce6a5b7a1d3a327b74f91 |
|
28-Jul-2016 |
susnata <susnata@google.com> |
Providing a generic way to define the parallax behavior in DF. Change-Id: I89afcec08425dbf1c20f12b0d5112d7dfa2d1ac2
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|
3d9017263a760990ba79d5ebf3d1b6587e0bd311 |
|
22-Jul-2016 |
susnata <susnata@google.com> |
Refactoring CompositeDrawable to support any child drawable. Following the pattern in LayeredDrawable, I created a wrapper class to hold the drawable objects and used CompositeDrawable as a pass through mechanism to it's child drawables. This way will allow us to use any drawable object in CompositeDrawable. Change-Id: I25719dca55b9a11223ae65742af6730be2948530
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/FitWidthBitmapDrawable.java
|