summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Layer.cpp
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2014-07-29 07:25:49 -0700
committerJon Miranda <jonmiranda@google.com>2014-07-29 07:25:49 -0700
commit4597e9806948256e82b9f1cdaa7019cbbd912668 (patch)
tree9416ca886f540b4493d5bf5c5775f94085675f5f /libs/hwui/Layer.cpp
parent1cc41c938cfe587441a63f0d6176f59fcf2f25b4 (diff)
downloadframeworks_base-4597e9806948256e82b9f1cdaa7019cbbd912668.zip
frameworks_base-4597e9806948256e82b9f1cdaa7019cbbd912668.tar.gz
frameworks_base-4597e9806948256e82b9f1cdaa7019cbbd912668.tar.bz2
Exposed getLocationOnScreen, added formatToHexString method.
In order to use the ExportedProperty annotation, I needed a public non-void method which is why I created a new "public int[] getLocationOnScreen()." The formatToHexString method is used to convert an int or byte to a hex string prefixed with "0x". I set the value to true on these flags: mGravity, mPrivateFlags, mSystemUiVisibility, mViewFlags, mGroupFlags, mMarginFlags, and flags. Change-Id: I5914992ba19b80643dfcc6caa487398452e18cbc
Diffstat (limited to 'libs/hwui/Layer.cpp')
0 files changed, 0 insertions, 0 deletions