OSDN Git Service

Ensuring that fast scrolling to predictions scrolls list to the top
authorWinson <winsonc@google.com>
Tue, 12 Jul 2016 21:10:50 +0000 (14:10 -0700)
committerWinson Chung <winsonc@google.com>
Wed, 13 Jul 2016 01:04:56 +0000 (01:04 +0000)
commite8eaa9c94c5bfb9f103b486b24213e7dd86e8429
tree8945f666232551837b5570d0f0c5b6857f9eb198
parentb029e9fd666263d3954387e3d96d67f377c23f8b
Ensuring that fast scrolling to predictions scrolls list to the top

- Fixes a long standing issue with fast-scrolling to the predicted apps
  not quite scrolling the list to the top of the screen.
- Fixes an issue where we don’t scroll exactly to the fast scroll
  position due to rounding
- Also fixes a small issue where the thumb would not update when the
  fast scroll popup was no longer showing, even while dragging.

Bug: 30023608

Change-Id: I6b5080c6aea521ff03dca24317f0405c02725061
src/com/android/launcher3/BaseRecyclerView.java
src/com/android/launcher3/BaseRecyclerViewFastScrollBar.java
src/com/android/launcher3/allapps/AllAppsFastScrollHelper.java
src/com/android/launcher3/allapps/AllAppsGridAdapter.java
src/com/android/launcher3/allapps/AllAppsRecyclerView.java