commit | 5d9fb0e92f2ef2b25f3aa93c1f89838ccc68aa88 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Sat Oct 08 17:43:48 2016 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon Oct 10 14:17:16 2016 -0700 |
tree | 46764e909a89e51c294ca23b0eed69a481fa9333 | |
parent | 631ffbda64b92b843f18af6756b52b1ac4c22461 [diff] |
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