Lines Matching defs:bitmap
20 * The NinePatch class permits drawing a bitmap in nine or more sections.
35 * Struct of inset information attached to a 9 patch bitmap.
37 * Present on a 9 patch bitmap if it optical insets were manually included,
93 * Create a drawable projection from a bitmap to nine patches.
95 * @param bitmap The bitmap describing the patches.
96 * @param chunk The 9-patch data chunk describing how the underlying bitmap
99 public NinePatch(Bitmap bitmap, byte[] chunk) {
100 this(bitmap, chunk, null);
104 * Create a drawable projection from a bitmap to nine patches.
106 * @param bitmap The bitmap describing the patches.
108 * bitmap is split apart and drawn.
109 * @param srcName The name of the source for the bitmap. Might be null.
111 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) {
112 mBitmap = bitmap;
177 * Returns the bitmap used to draw this NinePatch.
216 * Return the underlying bitmap's density, as per
225 * to querying the width of the underlying bitmap returned by {@link #getBitmap()}.
233 * to querying the height of the underlying bitmap returned by {@link #getBitmap()}.
280 private static native long nativeGetTransparentRegion(Bitmap bitmap, long chunk, Rect location);