summaryrefslogtreecommitdiffstats
path: root/libs/hwui/LayerRenderer.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-03-15 11:12:25 -0700
committerRomain Guy <romainguy@google.com>2011-03-15 11:12:25 -0700
commitad37cd3b5d3de9dd0858af04fbccd102e8ff4b0e (patch)
tree39023e1c98a3a727296eec906b8070ff2af279ea /libs/hwui/LayerRenderer.cpp
parent57fccf12e1e71089aa01cbf9867314f82db4e6f9 (diff)
downloadframeworks_base-ad37cd3b5d3de9dd0858af04fbccd102e8ff4b0e.zip
frameworks_base-ad37cd3b5d3de9dd0858af04fbccd102e8ff4b0e.tar.gz
frameworks_base-ad37cd3b5d3de9dd0858af04fbccd102e8ff4b0e.tar.bz2
Fix disappearing edges in lists/scrollviews/etc.
Bug #4093871 This bug was introduced by a change that modified the way fade areas are cleared. The previous change relied on Rect::intersect() to empty the intersected rect when the two rects don't intersect. Unfortunately this is not what intersect() does. The fix is rather simple and sets the layer's bounds to empty when they don't intersect with the clip or the viewport. This has the side effect of ignoring the layer which is the expected result. Change-Id: Icf0038b9a476c53f8eff7084136aba3033d093e6
Diffstat (limited to 'libs/hwui/LayerRenderer.cpp')
0 files changed, 0 insertions, 0 deletions