commit | 7206d49b2963ce2e926a5f25fe94aca9c06471e6 | [log] [tgz] |
---|---|---|
author | chaviw <chaviw@google.com> | Fri Nov 10 16:16:12 2017 -0800 |
committer | chaviw <chaviw@google.com> | Mon Nov 27 15:05:00 2017 -0800 |
tree | e367f2b65cc3dfe972908a6b2f4cba04b79c8345 | |
parent | 3d04ada8cde8f1dec2790fa0018c07e584dc59bf [diff] |
Add additional parameters for the captureLayer functions. 1. Added new captureLayers function that will return a GraphicBuffer instead of storing into a Surface. 2. Added crop to captureLayers function. 3. Added frameScale to allow captures to scale. 4. Removed rotation parameter from captureLayers since it will always be in the correct orientation. Test: Transaction_test ScreenCaptureTest.CaptureCrop, .CaptureSize Change-Id: Ib16d8575cf0c103126b9427ad32e2d28d568ea61