diff options
author | Xavier Ducrohet <xav@android.com> | 2010-11-23 14:40:47 -0800 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2010-11-23 14:50:14 -0800 |
commit | e90b90ba74725afce265f0686b1c5f364e6bdcd4 (patch) | |
tree | 5b1ff0c6dd1ddd6c35f86d7862ab84c240a6f904 /eclipse | |
parent | 02ec0e9861d2be3c4e81e35a2c5277b5f672639b (diff) | |
download | sdk-e90b90ba74725afce265f0686b1c5f364e6bdcd4.zip sdk-e90b90ba74725afce265f0686b1c5f364e6bdcd4.tar.gz sdk-e90b90ba74725afce265f0686b1c5f364e6bdcd4.tar.bz2 |
Fix nine patch size.
Since we moved the 9-patch chunk out of the NinePatch, the image
content portion is not in our control (it's owned by the default
implementation of NinePatchDrawable through an Android Bitmap),
and therefore should not include the control outer line.
This changeset makes the bitmap contains only the extracted
content and makes the computation of the patches take into account that
the draw method will be applied on a bitmap that is only
the content without the control line.
Basically the computation of the patches/fixed rectangle exclude the
outer control line.
Change-Id: I29c2224ee2311962b30d1fb155b85d5731d4e6ec
Diffstat (limited to 'eclipse')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.tests/.classpath | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.tests/.classpath b/eclipse/plugins/com.android.ide.eclipse.tests/.classpath index ccb2cae..3faf0d1 100644 --- a/eclipse/plugins/com.android.ide.eclipse.tests/.classpath +++ b/eclipse/plugins/com.android.ide.eclipse.tests/.classpath @@ -4,14 +4,14 @@ <classpathentry kind="src" path="unittests"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="lib" path="layoutlib.jar"/> + <classpathentry kind="lib" path="layoutlib.jar" sourcepath="/layoutlib_api"/> <classpathentry kind="lib" path="kxml2-2.3.0.jar"/> <classpathentry kind="lib" path="easymock.jar"/> <classpathentry combineaccessrules="false" kind="src" path="/ddmlib"/> <classpathentry combineaccessrules="false" kind="src" path="/ddmuilib"/> <classpathentry kind="lib" path="/adt/libs/layoutlib_api.jar" sourcepath="/layoutlib_api"/> <classpathentry kind="lib" path="/adt/libs/ide_common.jar" sourcepath="/ide_common"/> - <classpathentry kind="lib" path="/adt/libs/ninepatch.jar"/> + <classpathentry kind="lib" path="/adt/libs/ninepatch.jar" sourcepath="/ninepatch"/> <classpathentry kind="lib" path="/adt/libs/sdklib.jar" sourcepath="/SdkLib"/> <classpathentry kind="lib" path="/adt/libs/sdkuilib.jar" sourcepath="/SdkUiLib"/> <classpathentry kind="output" path="bin"/> |