Searched refs:ninePatch (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | NinePatchDrawable.java | 611 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding) { in NinePatchState() argument 612 this(ninePatch, padding, null, DEFAULT_DITHER, false); in NinePatchState() 615 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 617 this(ninePatch, padding, opticalInsets, DEFAULT_DITHER, false); in NinePatchState() 620 NinePatchState(@NonNull NinePatch ninePatch, @Nullable Rect padding, in NinePatchState() argument 622 mNinePatch = ninePatch; in NinePatchState() 667 final NinePatch ninePatch = mNinePatchState.mNinePatch; in computeBitmapSize() local 668 if (ninePatch == null) { in computeBitmapSize() 673 final int sourceDensity = ninePatch.getDensity() == Bitmap.DENSITY_NONE ? in computeBitmapSize() 674 targetDensity : ninePatch.getDensity(); in computeBitmapSize() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | BitmapFactory_Delegate.java | 72 com.android.ninepatch.NinePatch ninePatch = com.android.ninepatch.NinePatch.load( in nativeDecodeStream() local 76 bm = Bitmap_Delegate.createBitmap(ninePatch.getImage(), bitmapCreateFlags, in nativeDecodeStream() 78 NinePatchChunk chunk = ninePatch.getChunk(); in nativeDecodeStream()
|
D | BaseCanvas_Delegate.java | 428 /*package*/ static void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument 438 byte[] c = NinePatch_Delegate.getChunk(ninePatch); in nDrawNinePatch()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 457 NinePatch ninePatch = NinePatch.load(stream, true /*is9Patch*/, in getNinePatchDrawable() local 459 if (ninePatch != null) { in getNinePatchDrawable() 461 chunk = ninePatch.getChunk(); in getNinePatchDrawable() 468 bitmap = Bitmap_Delegate.createBitmap(ninePatch.getImage(), in getNinePatchDrawable()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 673 public static void setCached9Patch(String value, NinePatchChunk ninePatch, Object projectKey) { in setCached9Patch() argument 678 map.put(value, new SoftReference<>(ninePatch)); in setCached9Patch() 680 sFramework9PatchCache.put(value, new SoftReference<>(ninePatch)); in setCached9Patch()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 722 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument
|
D | BaseRecordingCanvas.java | 658 private static native void nDrawNinePatch(long nativeCanvas, long nativeBitmap, long ninePatch, in nDrawNinePatch() argument
|