commit | a76b271f0e14325fa0ebb98e1cac0a15adfea1cb | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Wed Sep 20 12:02:26 2017 -0700 |
committer | chaviw <chaviw@google.com> | Thu Oct 26 17:39:24 2017 -0700 |
tree | e13158ef19eed46d32d6a0984da3fe1645206fe6 | |
parent | cd8ad33289b74243e21a776a5a9170c845d990c4 [diff] |
Add captureLayers function to capture a layer and its children. The captureLayers function gets a root layer as its argument. It will capture the content for that layer and its descendants. The capture will set the root layer's transform back to (0, 0). Test: Transaction_test ScreenCaptureTest Change-Id: I84fb66a65cd91434cddc99506b1924cf9f950935