Searched refs:ninePatch (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 70 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load( in nativeDecodeStream() local 74 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 76 NinePatchChunk chunk = ninePatch.getChunk(); in nativeDecodeStream()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 216 private void setNinePatch(NinePatch ninePatch) { in setNinePatch() argument 217 if (mNinePatch != ninePatch) { in setNinePatch() 218 mNinePatch = ninePatch; in setNinePatch() 219 if (ninePatch != null) { in setNinePatch() 627 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding) { in NinePatchState() argument 628 this(ninePatch, padding, null, DEFAULT_DITHER, false); in NinePatchState() 631 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 633 this(ninePatch, padding, opticalInsets, DEFAULT_DITHER, false); in NinePatchState() 636 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 638 mNinePatch = ninePatch; in NinePatchState()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 295 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/, in getNinePatchDrawable() local 297 if (ninePatch != null) { in getNinePatchDrawable() 299 chunk = ninePatch.getChunk(); in getNinePatchDrawable() 306 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage(), in getNinePatchDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 715 public static void setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) { in setCached9Patch() argument 724 map.put(value, new SoftReference<NinePatchChunk>(ninePatch)); in setCached9Patch() 726 sFramework9PatchCache.put(value, new SoftReference<NinePatchChunk>(ninePatch)); in setCached9Patch()
|