History log of /packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00e106880d33d2fc173c38e6d9da98762ccee478 18-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Removing unused background padding from base recycler view

Change-Id: I36f68a143df8f3668074b3539aa9af170a91e511
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
2a65020da135037b8ee9408e7efb992eef02a896 13-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Removing the section break UI support

This was an exploration for an alternative UI in all apps, where we
show section headers before every section. This was never released.

Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
5d9fb0e92f2ef2b25f3aa93c1f89838ccc68aa88 09-Oct-2016 Sunny Goyal <sunnygoyal@google.com> Simplifying fast scroller logic

> Using a separate view for drawing the popup. This allows us to use elevation
property instead of drawing the shadow as bitmap.
> During the thumb animation, invalidating the full track width, instead of
invalidating the track and thumb separately.
> The thumb path is calculated at 0,0 and drawn using canvas.translate().
This avoids recalculating the path on every scroll.

Change-Id: I48741e5b4432df0d939016db284d7aaf52cc2aa6
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
2e22b5d2de066245f8c8f52343bb2a8b4e8eb563 12-Jul-2016 Peter Schiller <peterschiller@google.com> Fixed header elevation shadow on rotate

Change-Id: I1a4b55cf9af67d93e56d84378036c0061b6e8104
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
e8eaa9c94c5bfb9f103b486b24213e7dd86e8429 12-Jul-2016 Winson <winsonc@google.com> 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
b655b8850064cc4f8e59652b4e3bffc09090769a 12-Jul-2016 Winson <winsonc@google.com> Cleaning up scrollbar logic to properly calculate stable extents.

- Removing old logic which assumed that views were the same size,
especially now we can have variable dividers, etc.
- Simplifying old scroll position logic.
- Removing unnecessary prediction icon layout (same as normal icon)

Bug: 30023608
Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
c2a20ff0a87f58b2be66f067b0024db7ff5185d3 07-Jul-2016 Peter Schiller <peterschiller@google.com> Consolidate all the dividers to provide same look and feel

Bug: 30017936
Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
c088049113c261331b5685e64050d14a31cd72df 21-Aug-2015 Winson <winsonc@google.com> Highlighting sectioned apps on fast-scroll.

- This CL fixes an old assumption we had about the height
of rows in AllApps, and ensures that we account for the
difference in height between the predictive icons and the
normal icons.
- In addition, we refactor FastBitmapDrawable to have multiple
states, which it manages in drawing itself, including the
press state and fast scroll focus states. And we also refactor
some of the fast scroll logic in the all apps recycler view
out to its own class.

Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
646c236ad283c44e41747176fe1017d619b92d5a 03-Sep-2015 Winson <winsonc@google.com> Disabling fast scroller when searching apps.

- There is no meaningful order for the app search results since they are ranked.

Bug: 23759082
Change-Id: I0aa4eea68136ea3ecef2a80b20ba7b0d46f0653b
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
d2eb49e4c3bb37d35e72c36d8a308262b690075f 19-Aug-2015 Winson <winsonc@google.com> Tweaking fast scroller to follow touch closer.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
b1777447d9b9700b48f8060f8b318f2363c43e8d 16-Jun-2015 Winson Chung <winsonc@google.com> Refactoring fast scroller.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
fbc5b18626ae2e158e39c59606455124cfa8127d 12-Jun-2015 Winson Chung <winsonc@google.com> Refactored section names to only draw when there is space.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
c332934e27527107c7f9c50ba6b7af93979b8126 16-Jun-2015 Winson Chung <winsonc@google.com> Merge "Refactoring all apps search to support external search bar." into ub-launcher3-burnaby
ef7f874a889b609bd34e692b9c9a1f8cefd1ea95 05-Jun-2015 Winson Chung <winsonc@google.com> Refactoring all apps search to support external search bar.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
4b9f9791475bb9e1f28b6363299e927e676cf01d 13-Jun-2015 Winson Chung <winsonc@google.com> Fixing regression in fast scroller animation.

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
ec84728b270004494dc483c141628ec6417175fb 04-Jun-2015 Hyunyoung Song <hyunyoungs@google.com> Consistent scrolling experience for All apps and widget tray

b/21375339

Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
ac5f6af1488ec1cf0b73aa0848a675764c2f652b 29-May-2015 Hyunyoung Song <hyunyoungs@google.com> Move fast scrolling logic to BaseRecyclerView

- 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
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java
5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8 22-May-2015 Winson Chung <winsonc@google.com> Moving all apps code into sub package.

- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
/packages/apps/Launcher3/src/com/android/launcher3/BaseRecyclerView.java