OSDN Git Service

SF: Swap w/h when capturing rotated screenshots
authorDan Stoza <stoza@google.com>
Tue, 9 Jun 2015 23:44:40 +0000 (16:44 -0700)
committerDan Stoza <stoza@google.com>
Tue, 9 Jun 2015 23:46:20 +0000 (16:46 -0700)
commit3502416204d9dbd905012ee586d8bd145323809f
tree196be9d1faa468cf52b0fc437ce2c362806883a9
parent3d0518565a5e704dc8020a96c5bb3a96a093f4cd
SF: Swap w/h when capturing rotated screenshots

Swaps width and height when capturing a screenshot that is rotated by
90 or 270 degrees.

Bug: 8433742
Change-Id: Ibf0b604f541e3cc271e56fe0ad04dc366beb5d79
services/surfaceflinger/SurfaceFlinger.cpp