/prebuilt/common/ninepatch/ |
Android.mk | 6 ninepatch-prebuilt$(COMMON_JAVA_PACKAGE_SUFFIX)
|
ninepatch-prebuilt.jar | |
PREBUILT | 2 platform/sdk/ninepatch/
|
/external/webkit/Source/WebKit/android/ |
RenderSkinNinePatch.h | 30 struct NinePatch { 33 NinePatch() { 36 ~NinePatch() { 44 static bool decodeAsset(android::AssetManager*, const char* fileName, NinePatch*); 45 static void DrawNinePatch(SkCanvas*, const SkRect&, const NinePatch&);
|
RenderSkinNinePatch.cpp | 41 bool RenderSkinNinePatch::decodeAsset(AssetManager* am, const char* filename, NinePatch* ninepatch) { 69 if (!decoder->decode(&stream, &ninepatch->m_bitmap, prefConfig, mode, true)) { 80 void** data = &ninepatch->m_serializedPatchData; 87 const NinePatch& patch) { 90 // if the NinePatch is bigger than the destination on a given axis the default
|
/sdk/ninepatch/ |
.project | 3 <name>ninepatch</name>
|
Android.mk | 21 LOCAL_MODULE := ninepatch
|
/sdk/ninepatch/tests/ |
.project | 3 <name>ninepatch-tests</name>
|
.classpath | 6 <classpathentry combineaccessrules="false" kind="src" path="/ninepatch"/>
|
Android.mk | 23 LOCAL_MODULE := ninepatch-tests 27 # bundle ninepatch inside the test jar for continuous tests 28 LOCAL_STATIC_JAVA_LIBRARIES := ninepatch
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 31 import android.graphics.NinePatch; 38 @TestTargetClass(NinePatch.class) 42 private NinePatch mNinePatch; 61 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); 66 method = "NinePatch", 72 mNinePatch = new NinePatch(mBitmap, new byte[2], NAME); 76 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); 85 assertTrue(NinePatch.isNinePatchChunk(mChunk)); 87 assertFalse(NinePatch.isNinePatchChunk(bitmap.getNinePatchChunk())); 88 assertFalse(NinePatch.isNinePatchChunk(null)) [all...] |
/frameworks/base/tools/layoutlib/bridge/ |
.classpath | 8 <classpathentry kind="var" path="ANDROID_PLAT_SRC/prebuilt/common/ninepatch/ninepatch-prebuilt.jar"/>
|
Android.mk | 30 ninepatch-prebuilt
|
/sdk/ninepatch/tests/src/com/android/ninepatch/ |
NinePatchTest.java | 17 package com.android.ninepatch; 25 private NinePatch mPatch; 31 mPatch = NinePatch.load(stream, true /* is9Patch*/, false /* convert */);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
NinePatchDrawable.java | 40 * Canvas and Drawables</a> developer guide. For information about creating a NinePatch image 48 private NinePatch mNinePatch; 69 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), null); 78 this(new NinePatchState(new NinePatch(bitmap, chunk, srcName), padding), res); 84 * @deprecated Use {@link #NinePatchDrawable(Resources, NinePatch)} 88 public NinePatchDrawable(NinePatch patch) { 96 public NinePatchDrawable(Resources res, NinePatch patch) { 272 new NinePatch(bitmap, bitmap.getNinePatchChunk(), "XML 9-patch"), 345 final NinePatch mNinePatch; 351 NinePatchState(NinePatch ninePatch, Rect padding) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BitmapFactory_Delegate.java | 21 import com.android.ninepatch.NinePatchChunk; 64 final boolean isNinePatch = np != null && NinePatch.isNinePatchChunk(np); 108 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load( 112 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), true /*isMutable*/, 114 NinePatchChunk chunk = ninePatch.getChunk();
|
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatch.java | 17 package com.android.ninepatch; 31 * This is a full representation of a NinePatch with both a {@link BufferedImage} and a 39 public class NinePatch { 62 * @return a {@link NinePatch} or <code>null</code>. 65 public static NinePatch load(URL fileUrl, boolean convert) throws IOException { 89 * @return a {@link NinePatch} or <code>null</code>. 92 public static NinePatch load(InputStream stream, boolean is9Patch, boolean convert) 115 * @return a {@link NinePatch} or <code>null</code>. 118 public static NinePatch load(BufferedImage image, boolean is9Patch, boolean convert) { 129 return new NinePatch(image) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/ |
.classpath | 13 <classpathentry kind="lib" path="/adt/libs/ninepatch.jar" sourcepath="/ninepatch"/>
|
/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 21 * The NinePatch class permits drawing a bitmap in nine sections. 27 * bounds of the graphic. For a thorough explanation of a NinePatch image, 33 * tool offers an extremely handy way to create your NinePatch images, 37 public class NinePatch { 52 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) { 62 public NinePatch(NinePatch patch) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/ |
.classpath | 16 <classpathentry kind="lib" path="libs/ninepatch.jar" sourcepath="/ninepatch"/>
|
/frameworks/base/docs/html/sdk/api_diff/4/changes/ |
android.graphics.NinePatch.html | 10 android.graphics.NinePatch 74 Class android.graphics.<A HREF="../../../../reference/android/graphics/NinePatch.html" target="_top"><font size="+2"><code>NinePatch</code></font></A> 86 <A NAME="android.graphics.NinePatch.getDensity_added()"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/graphics/NinePatch.html#getDensity()" target="_top"><code>getDensity</code></A>()</nobr>
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 18 #define LOG_TAG "NinePatch" 138 LOGV("ninepatch [%g %g %g] [%g %g %g]\n", 146 LOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height())); 147 LOGV("======== ninepatch paint bm [%d,%d]\n", bitmap.width(), bitmap.height()); 148 LOGV("======== ninepatch xDivs [%d,%d]\n", chunk.xDivs[0], chunk.xDivs[1]); 149 LOGV("======== ninepatch yDivs [%d,%d]\n", chunk.yDivs[0], chunk.yDivs[1]); 158 if (gTrace) LOGV("======== abort ninepatch draw\n"); 204 LOGV("NinePatch [%d %d] bounds [%g %g %g %g] divs [%d %d]\n",
|
/development/samples/MultiResolution/ |
_index.html | 7 <li><a href="../../../reference/android/graphics/NinePatch.html">9-Patch</a>
|
/sdk/eclipse/scripts/ |
create_bridge_symlinks.sh | 26 LIBS="layoutlib ninepatch"
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ResourceHelper.java | 26 import com.android.ninepatch.NinePatch; 27 import com.android.ninepatch.NinePatchChunk; 182 if (lowerCaseValue.endsWith(NinePatch.EXTENSION_9PATCH)) { 273 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/, 275 if (ninePatch != null) { 277 chunk = ninePatch.getChunk(); 284 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage() [all...] |