META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/ninepatch/
com/android/ninepatch/GraphicsUtilities.classGraphicsUtilities.java
package com.android.ninepatch
public com.android.ninepatch.GraphicsUtilities extends java.lang.Object {
public void ()
public static java.awt.image.BufferedImage loadCompatibleImage (java.net.URL) throws java.io.IOException
public static java.awt.image.BufferedImage loadCompatibleImage (java.io.InputStream) throws java.io.IOException
public static java.awt.image.BufferedImage createCompatibleImage (int, int)
public static java.awt.image.BufferedImage toCompatibleImage (java.awt.image.BufferedImage)
public static java.awt.image.BufferedImage createCompatibleImage (java.awt.image.BufferedImage, int, int)
private static java.awt.GraphicsConfiguration getGraphicsConfiguration ()
private static boolean isHeadless ()
public static java.awt.image.BufferedImage createTranslucentCompatibleImage (int, int)
public static int[] getPixels (java.awt.image.BufferedImage, int, int, int, int, int[])
}
com/android/ninepatch/NinePatch.classNinePatch.java
package com.android.ninepatch
public com.android.ninepatch.NinePatch extends java.lang.Object {
public static final String EXTENSION_9PATCH
private java.awt.image.BufferedImage mImage
private com.android.ninepatch.NinePatchChunk mChunk
public java.awt.image.BufferedImage getImage ()
public com.android.ninepatch.NinePatchChunk getChunk ()
public static com.android.ninepatch.NinePatch load (java.net.URL, boolean) throws java.io.IOException
public static com.android.ninepatch.NinePatch load (java.io.InputStream, boolean, boolean) throws java.io.IOException
public static com.android.ninepatch.NinePatch load (java.awt.image.BufferedImage, boolean, boolean)
public int getWidth ()
public int getHeight ()
public boolean getPadding (int[])
public void draw (java.awt.Graphics2D, int, int, int, int)
private void (java.awt.image.BufferedImage)
private static void ensure9Patch (java.awt.image.BufferedImage)
private static java.awt.image.BufferedImage convertTo9Patch (java.awt.image.BufferedImage)
private java.awt.image.BufferedImage extractBitmapContent (java.awt.image.BufferedImage)
}
com/android/ninepatch/NinePatchChunk$DrawingData.classNinePatchChunk.java
package com.android.ninepatch
final com.android.ninepatch.NinePatchChunk$DrawingData extends java.lang.Object {
private int mRemainderHorizontal
private int mRemainderVertical
private float mHorizontalPatchesSum
private float mVerticalPatchesSum
void ()
static int access$000 (com.android.ninepatch.NinePatchChunk$DrawingData)
static int access$100 (com.android.ninepatch.NinePatchChunk$DrawingData)
static float access$200 (com.android.ninepatch.NinePatchChunk$DrawingData)
static float access$300 (com.android.ninepatch.NinePatchChunk$DrawingData)
static int access$102 (com.android.ninepatch.NinePatchChunk$DrawingData, int)
static int access$002 (com.android.ninepatch.NinePatchChunk$DrawingData, int)
static float access$202 (com.android.ninepatch.NinePatchChunk$DrawingData, float)
static float access$216 (com.android.ninepatch.NinePatchChunk$DrawingData, float)
static float access$302 (com.android.ninepatch.NinePatchChunk$DrawingData, float)
static float access$316 (com.android.ninepatch.NinePatchChunk$DrawingData, float)
}
com/android/ninepatch/NinePatchChunk$Pair.classNinePatchChunk.java
package com.android.ninepatch
com.android.ninepatch.NinePatchChunk$Pair extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
Object mFirst
Object mSecond
void (java.lang.Object, java.lang.Object)
public java.lang.String toString ()
}
com/android/ninepatch/NinePatchChunk.classNinePatchChunk.java
package com.android.ninepatch
public com.android.ninepatch.NinePatchChunk extends java.lang.Object implements java.io.Serializable {
private static final long serialVersionUID
private static final int[] sPaddingRect
private boolean mVerticalStartWithPatch
private boolean mHorizontalStartWithPatch
private java.util.List mFixed
private java.util.List mPatches
private java.util.List mHorizontalPatches
private java.util.List mVerticalPatches
private com.android.ninepatch.NinePatchChunk$Pair mHorizontalPadding
private com.android.ninepatch.NinePatchChunk$Pair mVerticalPadding
public void ()
public static com.android.ninepatch.NinePatchChunk create (java.awt.image.BufferedImage)
public void draw (java.awt.image.BufferedImage, java.awt.Graphics2D, int, int, int, int, int, int)
private void draw (java.awt.image.BufferedImage, java.awt.Graphics2D, int, int, int, int)
public void getPadding (int[])
public int[] getPadding ()
private com.android.ninepatch.NinePatchChunk$DrawingData computePatches (int, int)
private void findPatches (java.awt.image.BufferedImage)
private java.util.List getVerticalRectangles (int, java.util.List)
private java.util.List getHorizontalRectangles (int, java.util.List)
private com.android.ninepatch.NinePatchChunk$Pair getPadding (java.util.List)
private java.util.List getRectangles (java.util.List, java.util.List)
private com.android.ninepatch.NinePatchChunk$Pair getPatches (int[], boolean[])
static void ()
}