commit | 016c8cbce4dde21f2703b9865f52d16b8d5d5ae2 | [log] [tgz] |
---|---|---|
author | Daniel Lam <dalam@google.com> | Tue Apr 03 15:54:58 2012 -0700 |
committer | Daniel Lam <dalam@google.com> | Thu Apr 12 17:49:03 2012 -0700 |
tree | 70b2f2867998a07541eb206642b54e918cbf08e1 | |
parent | 3bc59682cd3e330f8cc0a38a20a0e37e083671ee [diff] |
Enabled cropping support in SurfaceTexture SurfaceTexture will modify the crop rect so it matches the desired output aspect ratio when the scaling mode is NATIVE_WINDOW_SCALING_MODE_CROP. Added a test for this new scaling mode. Change-Id: I60f24dcbc294b65cd10a393d9e27d40f07d27bb6