From 0f632046ddb26740aff356ef21b374521912075b Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 7 Jul 2014 19:52:58 -0700 Subject: Query outline on background size change Background bounds are updated out of sync with View bounds, so query as they change. Change-Id: I9c94df17bac42dfcd4bb93b31903b59ebb58204b --- libs/hwui/Outline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') 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; -- cgit v1.1