OSDN Git Service

Fix ripple positioning within scrolled node
authorChris Craik <ccraik@google.com>
Wed, 2 Mar 2016 02:48:37 +0000 (18:48 -0800)
committerChris Craik <ccraik@google.com>
Wed, 2 Mar 2016 18:48:15 +0000 (10:48 -0800)
commita748c08241e43fc68c7c34767d819aef5183936e
tree4763e36325f2a1c558d7a0d08a277b52f1e831d6
parent678ff81105753656aa4822f4f675ef96dc9d2b83
Fix ripple positioning within scrolled node

bug:27275799

Skip applying clip/matrix properties from projected node op, since we
don't want to respect the clip, and matrix is already baked into
transformFromCompositedAncestor.

This skips op clips in the new pipeline, and fixed a double application
of scroll on ripple backgrounds.

Change-Id: I4f72448fe0463ab666564ca538d8b6bf525d98de
libs/hwui/FrameBuilder.cpp
libs/hwui/tests/unit/FrameBuilderTests.cpp