summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/widget/WidgetsRecyclerView.java
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Add scrubber to widget viewstaging/cm-13.0cretin452015-12-101-2/+42
| | | | Change-Id: I68711e95ed31a962b47e995e979e32de37570b44
* Reimplement the CM scrubber against the new Launchercretin452015-11-231-2/+16
| | | | | | PS4: Implement RTL support Change-Id: I4456d54b5924913d1b36e1cfa9a2269150f6fb3e
* Fixing NPE in recycler view scroll bar.Winson2015-08-311-3/+17
| | | | | | | | - The regression was introduced in scroll bar changes ag/751628, but unlike AllApps, the WidgetsRecyclerView can have an unbound model. Bug: 23689784 Change-Id: Ibd3d5bcbafab0ada9a372fa00acaa45809ce720d
* Fixing widgets container inactive scroll bar color.Winson2015-08-241-4/+0
| | | | | Bug: 20035978 Change-Id: Ia267ff8f171f7c4cde00593bd69cf69c1660c431
* Tweaking fast scroller to follow touch closer.Winson2015-08-201-6/+6
| | | | | | | | | | | | | | | | | | | - 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
* Working around overscroll issues in AllApps.Winson Chung2015-06-231-0/+13
| | | | | | | | | - For the time being, we are going to do custom drawing to ensure that we get the touch events in the right order, while still allowing the recycler view to draw the overscroll effect on top of the prediction bar. Bug: 21335369 Change-Id: I6bf64e5c1e9aa634a953223a5decf74942e4fb57
* Refactoring fast scroller.Winson Chung2015-06-231-35/+30
| | | | | | | | | | | | | - 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
* Refactoring all apps search to support external search bar.Winson Chung2015-06-151-7/+0
| | | | | | | | | | | | | | | | | | | | | - 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
* Make WidgetsRecyclerView not crash on MNC support libHyunyoung Song2015-06-081-2/+6
| | | | Change-Id: Ia7bee39752ad0c0b58e74df4507caaf7a3cd8c29
* Consistent scrolling experience for All apps and widget trayHyunyoung Song2015-06-041-9/+50
| | | | | | b/21375339 Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
* Move fast scrolling logic to BaseRecyclerViewHyunyoung Song2015-05-291-0/+72
| | | | | | | | | | - 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/+40
- Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a