summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-07-07 19:52:58 -0700
committerChris Craik <ccraik@google.com>2014-07-07 19:52:58 -0700
commit0f632046ddb26740aff356ef21b374521912075b (patch)
tree3f1de1a8c33b5b3c0d7e852c97bc2be8c76b8cb4 /libs
parent5e458dd6b4b92c369865e59c81a02c8ce8c342f6 (diff)
downloadframeworks_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.h2
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;