Searched refs:ninePatch (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 597 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding) { in NinePatchState() argument 598 this(ninePatch, padding, null, DEFAULT_DITHER, false); in NinePatchState() 601 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 603 this(ninePatch, padding, opticalInsets, DEFAULT_DITHER, false); in NinePatchState() 606 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 608 mNinePatch = ninePatch; in NinePatchState() 662 final NinePatch ninePatch = mNinePatchState.mNinePatch; in computeBitmapSize() local 663 if (ninePatch == null) { in computeBitmapSize() 667 final int sourceDensity = ninePatch.getDensity(); in computeBitmapSize() 703 ninePatch.getHeight(), sourceDensity, targetDensity, true); in computeBitmapSize() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 71 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load( in nativeDecodeStream() local 75 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 77 NinePatchChunk chunk = ninePatch.getChunk(); in nativeDecodeStream()
|
D | Canvas_Delegate.java | 768 long nativeBitmap, long ninePatch, final float dstLeft, final float dstTop, in native_drawNinePatch() argument 778 byte[] c = NinePatch_Delegate.getChunk(ninePatch); in native_drawNinePatch()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 380 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/, in getNinePatchDrawable() local 382 if (ninePatch != null) { in getNinePatchDrawable() 384 chunk = ninePatch.getChunk(); in getNinePatchDrawable() 391 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage(), in getNinePatchDrawable()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 721 public static void setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) { in setCached9Patch() argument 730 map.put(value, new SoftReference<NinePatchChunk>(ninePatch)); in setCached9Patch() 732 sFramework9PatchCache.put(value, new SoftReference<NinePatchChunk>(ninePatch)); in setCached9Patch()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 2086 long ninePatch, float dstLeft, float dstTop, float dstRight, float dstBottom, in native_drawNinePatch() argument
|