- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739
Change-Id: I52a088e551c1636a67725629640286b885070f32
On certain graphics drivers, if you draw to a off-
screen buffer that's not used, it can lead to
poor performance. We were running into this in
launcher; when setChildrenLayersEnabled was called
on a CellLayout, that triggered a re-draw of that
CellLayout's hardware layer, even if that
CellLayout wasn't visible. This CL changes
PagedView so that pages that aren't going to be
rendered are set to View.INVISIBLE, preventing
re-drawing of their hardware layer.
- don't set properties in animations if they don't
change
- don't recalculate visible pages on every frame
- don't require scroll indicator to be an
ImageView
Change-Id: I099b29e677da2d0e401f677d47cdb8b5df51224e
- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps
Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback
Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
Might also further help bug where IMG GPU slows
down when rendering into hardware layers that are
not rendered to framebuffer
Bugs # 5614712, 5616414, 5628998
Change-Id: I85ff11889aa28f6985dd68e7f1e57d0da2150aa5
-> Tried some more elaborate fixes in which aspect ratio of the
preview were not preserved. Given that nothing clearly always
better, going with a simple fix for now.
Change-Id: I3dccf95680da55cccfb6f00befe88cea4bbe0035
- Make widget preview bitmaps as small as they can be, saving ~0.7-2MB peak memory (5104303)
- When adding/dragging a widget, make the drag outline/drag view much more closely match the actual size (5566938)
Change-Id: I5b5b7b84fa551d56432a76223b1a9e4de620ff56
-> Making sure workspace is drawn above the hotseat and qsb
-> Dimming the dock divider and page indicator during overscroll
Change-Id: I40766aa88e58db2d102c11d1ae8b2455aa459a07
-> Caching values of getChildOffset() and getChildRelativeOffset()
-> Using fast invalidate pattern in workspace#screenscrolled
-> eliminated updateAdjacentPageAlpha, combined with screenScrolled
code where appropriate to take advantage of fast invalidate
-> removed a bit of dead code (just for cleanups sake)
Change-Id: Id91542ff846d9495a0370707d02d1f647dab22d4
- No wallpaper overscroll when horizontally swiping in Launcher
- No more vertical parallax
- Always setting the wallpaper offset to be centered vertically on phones
- Fixes problem where side pages animate in when going to/from all apps
- Fixes issue where current page outline shows on first drag after going to all apps
Change-Id: Id764ff30daf7f4e9ca6f57d3bcd939a8a20c9473
-> Tightened up the interpolator and decreased the duration of the
AllApps-in animation. This removes many excess frames at the end
of the transition, and frees up perf for swiping AllApps:
(issue 5359751)
-> Changed when AllApps state gets reset -- now only after
leaving home, and then pressing home, or when the screen
turns off.
Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545