diff options
author | Xavier Ducrohet <xav@android.com> | 2012-01-18 17:08:53 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-01-18 17:08:53 -0800 |
commit | 5bf2802ad9de237ccc014489dd36ff4baadadfaa (patch) | |
tree | b1a7d91193d66de13924be8d0b58d9637ed2a76e /tools | |
parent | 170bfe32ab8971805d56f8870758cbc46060d1ef (diff) | |
download | frameworks_base-5bf2802ad9de237ccc014489dd36ff4baadadfaa.zip frameworks_base-5bf2802ad9de237ccc014489dd36ff4baadadfaa.tar.gz frameworks_base-5bf2802ad9de237ccc014489dd36ff4baadadfaa.tar.bz2 |
Fix broken drawCircle LayoutLib.
Change-Id: I5e23bbe0119e385fa2f77854a8f88128351d3759
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java index 8e3ed93..f797836 100644 --- a/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java +++ b/tools/layoutlib/bridge/src/android/graphics/Canvas_Delegate.java @@ -717,7 +717,7 @@ public final class Canvas_Delegate { /*package*/ static void native_drawCircle(int nativeCanvas, float cx, float cy, float radius, int paint) { native_drawOval(nativeCanvas, - new RectF(cx - radius, cy - radius, radius, radius), + new RectF(cx - radius, cy - radius, cx + radius, cy + radius), paint); } |