diff options
author | Chris Craik <ccraik@google.com> | 2014-07-07 19:52:58 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-07-07 19:52:58 -0700 |
commit | 0f632046ddb26740aff356ef21b374521912075b (patch) | |
tree | 3f1de1a8c33b5b3c0d7e852c97bc2be8c76b8cb4 /libs | |
parent | 5e458dd6b4b92c369865e59c81a02c8ce8c342f6 (diff) | |
download | frameworks_base-0f632046ddb26740aff356ef21b374521912075b.zip frameworks_base-0f632046ddb26740aff356ef21b374521912075b.tar.gz frameworks_base-0f632046ddb26740aff356ef21b374521912075b.tar.bz2 |
Query outline on background size change
Background bounds are updated out of sync with View bounds, so query
as they change.
Change-Id: I9c94df17bac42dfcd4bb93b31903b59ebb58204b
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/Outline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Outline.h b/libs/hwui/Outline.h index 5e7f899..024bdfd 100644 --- a/libs/hwui/Outline.h +++ b/libs/hwui/Outline.h @@ -30,7 +30,7 @@ public: , mType(kOutlineType_None) , mRadius(0) {} - void setRoundRect(int left, int top, int right, int bottom, int radius) { + void setRoundRect(int left, int top, int right, int bottom, float radius) { mType = kOutlineType_RoundRect; mBounds.set(left, top, right, bottom); mRadius = radius; |