summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
author John Spurlock <jspurlock@google.com> 2012-11-15 08:04:45 -0500
committer John Spurlock <jspurlock@google.com> 2012-11-19 16:32:30 -0500
commit0552c5d75ab4b6d0644e239f130b687a6047d1a7 (patch)
treee10cd0c1f095547986c0dc1c5a5ae2b499ec2850 /libs/hwui/TextDropShadowCache.cpp
parent2656abe09895088eca25caafc3e92869217d1447 (diff)
Refactor the lockscreen camera widget, removing the bitmap.
The new approach is to create two views: - Widget preview, drawn at full-size, then scaled to fit frame. - Fullscreen preview, drawn at full-size, used during animation. Two views are necessary to both ensure the widget scrolls properly with the widget page yet still appears to scale up and match the camera app pixel for pixel. The offscreen bitmap and associated background rendering is no longer necessary. This avoids the large allocation and associated rendering time after turning screen on. Also fixes 1px horizontal discrepancy during old scale-up anim. Also suppresses long-click behavior on the camera widget. Bug:7471107 Bug:7559755 Change-Id: I1d834aa743bc05d6a7e2ce3eadfee8d5ff40da37
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions