OSDN Git Service

Fix a bug in Nine Patch library.
authorDeepanshu Gupta <deepanshu@google.com>
Thu, 6 Feb 2014 01:11:14 +0000 (17:11 -0800)
committerDeepanshu Gupta <deepanshu@google.com>
Thu, 6 Feb 2014 01:16:35 +0000 (17:16 -0800)
commit8a892279bd1b212311f4200f306a317985463918
treedc44d74891536a130faa8df3d2e12163be89a10e
parentc174288d345d4a80b326b12ff4c10a6c99570997
Fix a bug in Nine Patch library.

The nine patches were not drawn correctly if they were not positioned at
the top left corner of the canvas.

Bug: http://b.android.com/29959
Change-Id: Icfed522ea07322a3ee9f3955067d3da26c4b0b5b
tools/layoutlib/bridge/src/android/graphics/NinePatch_Delegate.java