Revert "frameworks/base: Fix build in ISO C++11 mode"

This reverts commit f84e909d6e0ebbef73bfb2198b415906517ee667.
Revert "frameworks/base: Fix compile errors"

This reverts commit 8a22a821f4c277c1125a04167c364b9e6716c383.
Revert "frameworks/base: Fix aliasing violations"

This reverts commit 0641cbd399162f1a5a2cc5deb9572aea191eaea9.
statusbar swipe: calculate statusbar height only once

Change-Id: I036a7047007bc7495394ccad88dbd7ef9c1b0994