summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/BaseRecyclerView.java
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement the CM scrubber against the new Launchercretin452017-03-261-13/+53
| | | | | | PS4: Implement RTL support Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e
* Tweaking fast scroller to follow touch closer.Winson2015-08-201-17/+23
| | | | | | | | | | | | | | | | | | | - Issue: The fast scroller currently does not follow the touch input because fundamentally, the fixed scrollbar height and the mapping of the scroll space to the scrollbar space is fundamentally incompatible. - This CL changes the fast scroller to allow it to detach when the user fast-scrolls, then re-attaches after the user scrolls the screen and the current scroll position for the scrollbar picks up the thumb position. - Since the scroll position and the fast scroller thumb is now detached, we can change the distribution of the fast scroll letters to make it independent of the rows for each section and instead uniformly distribute it along the scrollbar, which allows for more stability. - There are edge cases where this fails, especially when there are few apps, which we can investigate further. Bug: 20035978 Change-Id: I8322f862107e6f330deff692885233706564bffd
* Refactoring fast scroller.Winson Chung2015-06-231-198/+91
| | | | | | | | | | | | | - Fixing issue with fast scroller not fitting name width. - Refactoring fast scrolling/scroll bar code out of base recycler view - Adding animations to fast scroller to match design - Smooth scrolling when jumping between app rows - Fixing issue with fast scroller jumping when you first pick it up - Fixing issue with wrong background paddings being used Bug: 21874346 Bug: 22031923 Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
* Refactored section names to only draw when there is space.Winson Chung2015-06-161-1/+28
| | | | | | | | | - This CL removes all space for section names in both phones and tablets. And when there are no section names, the layout will automatically fully merge the sections. Bug: 20222023 Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4
* Merge "Refactoring all apps search to support external search bar." into ↵Winson Chung2015-06-151-5/+8
|\ | | | | | | ub-launcher3-burnaby
| * Refactoring all apps search to support external search bar.Winson Chung2015-06-151-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adding support for an external search bar that can be used to search a container view. This adds a new interface AllAppsSearchController which manages the external search bar. Each controller will have its own search implementation which means that we no longer need a common AppSearchManager interface. - Removing elevation controller as we no longer have a builtin search bar in all apps - Refactoring container view insets so that they behave the same in all containers. - Refactoring apps view to ensure that we only update the number of columns with the available width - Cleaning up LauncherCallbacks interface Bug: 20127840 Bug: 21494973 Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
* | Fixing regression in fast scroller animation.Winson Chung2015-06-121-0/+7
|/ | | | | | | | - Fast scroller was not fading out since we were missing the getter for the fast scroller alpha (so the initial alpha to animate from was wrong). Change-Id: I2fd13eee3deb084ba37cf4a849e2378f23758391
* Consistent scrolling experience for All apps and widget trayHyunyoung Song2015-06-041-6/+1
| | | | | | b/21375339 Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
* Move fast scrolling logic to BaseRecyclerViewHyunyoung Song2015-05-291-7/+265
| | | | | | | | | | - This change has no effect on actual functionality but to make it easier for widget tray to inherit the goodness of the 1) fast scroller functionality 2) unify the scroll look and feel with the all apps view b/21375339 Change-Id: Ib859b1c3352c0b69f16549ded8f20eb82cf58ba8
* Moving all apps code into sub package.Winson Chung2015-05-221-0/+102
- Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a