summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.cpp
diff options
context:
space:
mode:
author Craig Mautner <cmautner@google.com> 2012-12-18 09:53:24 -0800
committer Craig Mautner <cmautner@google.com> 2012-12-20 09:32:02 -0800
commit321bdf52a1b277a687c8618bcd20c3cfc5a60b40 (patch)
tree8bd5ff861edca6f7309462978dc567a51dd9dc4f /libs/hwui/GradientCache.cpp
parenta2303750fb03839e9c7584a5f573f166465be214 (diff)
Fade recents thumbnail to transparent earlier.
- Reduce the gpu load by fading the recents thumbnail to an alpha of 0.0 before the remaining animations are completed. When alpha hits 0 the gpu treats the layer as hidden and can render the remaining layers faster. - Refactoring of animations to: o Remove unused setInterpolator() calls on AnimationSet constituents. o Remove unnecessary setFillBefore() calls. o Consolidate setDuration() calls into AnimationSet. o Create Interpolators once. o Group animation set calls with their Animations. o Use same animation timing and Interpolator for all animations. This is a partial fix for 7729214. Change-Id: Ic3c47bcf7c84944128effb699efcdd1f89200fc4
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
0 files changed, 0 insertions, 0 deletions