META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/draw9patch/
com/android/draw9patch/Application$1.classApplication.java
package com.android.draw9patch
final com.android.draw9patch.Application$1 extends java.lang.Object implements java.lang.Runnable {
final synthetic String[] val$args
void (java.lang.String[])
public void run ()
String arg
com.android.draw9patch.ui.MainFrame frame
}
com/android/draw9patch/Application.classApplication.java
package com.android.draw9patch
public com.android.draw9patch.Application extends java.lang.Object {
public void ()
private static void initUserInterface ()
ClassNotFoundException e
InstantiationException e
IllegalAccessException e
javax.swing.UnsupportedLookAndFeelException e
public static transient void main (java.lang.String[])
String[] args
}
com/android/draw9patch/ui/
com/android/draw9patch/ui/StretchesViewer.classStretchesViewer.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.StretchesViewer extends javax.swing.JPanel {
public static final float DEFAULT_SCALE
private static final int MARGIN
private final java.awt.Container container
private final com.android.draw9patch.ui.ImageViewer viewer
private final java.awt.TexturePaint texture
private java.awt.image.BufferedImage image
private com.android.draw9patch.ui.PatchInfo patchInfo
private com.android.draw9patch.ui.StretchesViewer$StretchView horizontal
private com.android.draw9patch.ui.StretchesViewer$StretchView vertical
private com.android.draw9patch.ui.StretchesViewer$StretchView both
private java.awt.Dimension size
private float horizontalPatchesSum
private float verticalPatchesSum
private boolean showPadding
void (java.awt.Container, com.android.draw9patch.ui.ImageViewer, java.awt.TexturePaint)
java.awt.Container container
com.android.draw9patch.ui.ImageViewer viewer
java.awt.TexturePaint texture
protected void paintComponent (java.awt.Graphics)
java.awt.Graphics g
java.awt.Graphics2D g2
void setScale (float)
float scale
int patchWidth
int patchHeight
int scaledWidth
int scaledHeight
void computePatches ()
java.awt.Rectangle rect
java.util.Iterator i$
int start
java.awt.Rectangle rect
java.util.Iterator i$
java.awt.Rectangle rect
java.util.Iterator i$
java.awt.Rectangle rect
java.util.Iterator i$
int start
java.awt.Rectangle rect
java.util.Iterator i$
int start
java.awt.Rectangle rect
java.util.Iterator i$
int start
java.awt.Rectangle rect
java.util.Iterator i$
int start
boolean measuredWidth
boolean endRow
int remainderHorizontal
int remainderVertical
void setPaddingVisible (boolean)
boolean visible
static synthetic java.awt.image.BufferedImage access$000 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
static synthetic com.android.draw9patch.ui.PatchInfo access$100 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
static synthetic float access$200 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
static synthetic float access$300 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
static synthetic boolean access$400 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
static synthetic java.awt.Dimension access$500 (com.android.draw9patch.ui.StretchesViewer)
com.android.draw9patch.ui.StretchesViewer x0
}
com/android/draw9patch/ui/ImageViewer$2.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$2 extends java.awt.event.MouseAdapter {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void mousePressed (java.awt.event.MouseEvent)
java.awt.event.MouseEvent event
int x
int y
public void mouseReleased (java.awt.event.MouseEvent)
java.awt.event.MouseEvent event
int x
int y
}
com/android/draw9patch/ui/MainFrame.classMainFrame.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.MainFrame extends javax.swing.JFrame {
private javax.swing.ActionMap actionsMap
private javax.swing.JMenuItem saveMenuItem
private com.android.draw9patch.ui.ImageEditorPanel imageEditor
private static final String TITLE_FORMAT
public void (java.lang.String) throws java.awt.HeadlessException
java.io.File file
java.awt.image.BufferedImage img
Exception ex
String path
private void buildActions ()
private void buildMenuBar ()
javax.swing.JMenu fileMenu
javax.swing.JMenuItem openMenuItem
javax.swing.JMenuItem exitMenuItem
javax.swing.JMenuBar menuBar
private void buildContent ()
private void showOpenFilePanel ()
public javax.swing.SwingWorker open (java.io.File)
javax.swing.JFileChooser chooser
int choice
java.io.File file
void showImageEditor (java.awt.image.BufferedImage, java.lang.String)
java.awt.image.BufferedImage image
String name
public javax.swing.SwingWorker save ()
java.io.File file
static synthetic com.android.draw9patch.ui.ImageEditorPanel access$000 (com.android.draw9patch.ui.MainFrame)
com.android.draw9patch.ui.MainFrame x0
}
com/android/draw9patch/ui/StretchesViewer$StretchView.classStretchesViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.StretchesViewer$StretchView extends javax.swing.JComponent {
private final java.awt.Color PADDING_COLOR
int scaledWidth
int scaledHeight
int remainderHorizontal
int remainderVertical
final synthetic com.android.draw9patch.ui.StretchesViewer this$0
void (com.android.draw9patch.ui.StretchesViewer)
protected void paintComponent (java.awt.Graphics)
float extra
int width
java.awt.Rectangle r
java.awt.Rectangle r
float extra
int width
java.awt.Rectangle r
java.awt.Rectangle r
int height
float vExtra
float hWeightSum
float hRemainder
boolean hStretch
java.awt.Graphics g
int x
int y
java.awt.Graphics2D g2
int fixedIndex
int horizontalIndex
int verticalIndex
int patchIndex
boolean vStretch
float vWeightSum
float vRemainder
public java.awt.Dimension getPreferredSize ()
}
com/android/draw9patch/ui/GradientPanel.classGradientPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.GradientPanel extends javax.swing.JPanel {
private static final int DARK_BLUE
void ()
protected void paintComponent (java.awt.Graphics)
java.awt.Graphics g
java.awt.Graphics2D g2
java.awt.Rectangle clip
java.awt.Paint paint
}
com/android/draw9patch/ui/ImageEditorPanel$6.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$6 extends java.lang.Object implements java.awt.event.ActionListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent event
}
com/android/draw9patch/ui/ImageEditorPanel$7.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$7 extends java.lang.Object implements java.awt.event.ActionListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent event
}
com/android/draw9patch/ui/ImageViewer$7.classImageViewer.java
package com.android.draw9patch.ui
synthetic com.android.draw9patch.ui.ImageViewer$7 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$draw9patch$ui$ImageViewer$UpdateRegion
static final synthetic int[] $SwitchMap$com$android$draw9patch$ui$ImageViewer$DrawMode
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/android/draw9patch/ui/ImageViewer$UpdateRegion.classImageViewer.java
package com.android.draw9patch.ui
final enum com.android.draw9patch.ui.ImageViewer$UpdateRegion extends java.lang.Enum {
public static final enum com.android.draw9patch.ui.ImageViewer$UpdateRegion LEFT_PATCH
public static final enum com.android.draw9patch.ui.ImageViewer$UpdateRegion TOP_PATCH
public static final enum com.android.draw9patch.ui.ImageViewer$UpdateRegion RIGHT_PADDING
public static final enum com.android.draw9patch.ui.ImageViewer$UpdateRegion BOTTOM_PADDING
private static final synthetic com.android.draw9patch.ui.ImageViewer$UpdateRegion[] $VALUES
public static com.android.draw9patch.ui.ImageViewer$UpdateRegion[] values ()
public static com.android.draw9patch.ui.ImageViewer$UpdateRegion valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/draw9patch/ui/PatchInfo$P.classPatchInfo.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.PatchInfo$P extends java.lang.Object {
public final java.util.List fixed
public final java.util.List patches
public final boolean startsWithPatch
private void (java.util.List, java.util.List, boolean)
java.util.List f
java.util.List p
boolean s
synthetic void (java.util.List, java.util.List, boolean, com.android.draw9patch.ui.PatchInfo$1)
java.util.List x0
java.util.List x1
boolean x2
com.android.draw9patch.ui.PatchInfo$1 x3
}
com/android/draw9patch/ui/ImageViewer$StatusBar.classImageViewer.java
package com.android.draw9patch.ui
public abstract com.android.draw9patch.ui.ImageViewer$StatusBar extends java.lang.Object {
public abstract void setPointerLocation (int, int)
}
com/android/draw9patch/ui/ImageViewer$UpdateRegionInfo.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo extends java.lang.Object {
public final com.android.draw9patch.ui.ImageViewer$UpdateRegion region
public final com.android.draw9patch.ui.Pair segment
private void (com.android.draw9patch.ui.ImageViewer$UpdateRegion, com.android.draw9patch.ui.Pair)
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
com.android.draw9patch.ui.Pair segment
synthetic void (com.android.draw9patch.ui.ImageViewer$UpdateRegion, com.android.draw9patch.ui.Pair, com.android.draw9patch.ui.ImageViewer$1)
com.android.draw9patch.ui.ImageViewer$UpdateRegion x0
com.android.draw9patch.ui.Pair x1
com.android.draw9patch.ui.ImageViewer$1 x2
}
com/android/draw9patch/ui/PatchInfo.classPatchInfo.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.PatchInfo extends java.lang.Object {
public static final int BLACK_TICK
public static final int RED_TICK
public final java.util.List patches
public final java.util.List fixed
public final java.util.List horizontalPatches
public final java.util.List verticalPatches
public final java.util.List horizontalPatchMarkers
public final java.util.List horizontalPaddingMarkers
public final java.util.List verticalPatchMarkers
public final java.util.List verticalPaddingMarkers
public final boolean verticalStartWithPatch
public final boolean horizontalStartWithPatch
public final com.android.draw9patch.ui.Pair horizontalPadding
public final com.android.draw9patch.ui.Pair verticalPadding
private java.awt.image.BufferedImage image
static final synthetic boolean $assertionsDisabled
public void (java.awt.image.BufferedImage)
java.awt.image.BufferedImage image
int width
int height
int[] row
int[] column
com.android.draw9patch.ui.PatchInfo$P left
com.android.draw9patch.ui.PatchInfo$P top
private java.util.List getVerticalRectangles (java.util.List)
int x
int width
com.android.draw9patch.ui.Pair top
java.util.Iterator i$
java.util.List topPairs
java.util.List rectangles
private java.util.List getHorizontalRectangles (java.util.List)
int y
int height
com.android.draw9patch.ui.Pair left
java.util.Iterator i$
java.util.List leftPairs
java.util.List rectangles
private com.android.draw9patch.ui.Pair getPadding (java.util.List)
int index
java.util.List pairs
private java.util.List getRectangles (java.util.List, java.util.List)
int x
int width
com.android.draw9patch.ui.Pair top
java.util.Iterator i$
int y
int height
com.android.draw9patch.ui.Pair left
java.util.Iterator i$
java.util.List leftPairs
java.util.List topPairs
java.util.List rectangles
private static com.android.draw9patch.ui.PatchInfo$P getPatches (int[])
int pixel
int i
int[] pixels
int lastIndex
int lastPixel
boolean first
boolean startWithPatch
java.util.List fixed
java.util.List patches
static void ()
}
com/android/draw9patch/ui/PngFileFilter.classPngFileFilter.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.PngFileFilter extends javax.swing.filechooser.FileFilter {
void ()
public boolean accept (java.io.File)
java.io.File f
public java.lang.String getDescription ()
}
com/android/draw9patch/ui/ImageViewer$1.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$1 extends java.lang.Object implements javax.swing.event.AncestorListener {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void ancestorRemoved (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
public void ancestorMoved (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
public void ancestorAdded (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
}
com/android/draw9patch/ui/ImageEditorPanel$2.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$2 extends java.lang.Object implements com.android.draw9patch.ui.ImageViewer$StatusBar {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void setPointerLocation (int, int)
int x
int y
}
com/android/draw9patch/ui/ImageViewer.classImageViewer.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.ImageViewer extends javax.swing.JComponent {
private final java.awt.Color CORRUPTED_COLOR
private final java.awt.Color LOCK_COLOR
private final java.awt.Color STRIPES_COLOR
private final java.awt.Color BACK_COLOR
private final java.awt.Color PATCH_COLOR
private final java.awt.Color PATCH_ONEWAY_COLOR
private final java.awt.Color HIGHLIGHT_REGION_COLOR
private final java.awt.Color FOCUS_COLOR
private static final float STRIPES_WIDTH
private static final double STRIPES_SPACING
private static final int STRIPES_ANGLE
private static final float IDEAL_IMAGE_FRACTION_OF_WINDOW
public static final int DEFAULT_ZOOM
public static final int MIN_ZOOM
public static final int MAX_ZOOM
private final java.awt.event.AWTEventListener mAwtKeyEventListener
private int zoom
private boolean showPatches
private boolean showLock
private final java.awt.TexturePaint texture
private final java.awt.Container container
private final com.android.draw9patch.ui.ImageViewer$StatusBar statusBar
private final java.awt.Dimension size
private boolean locked
private int lastPositionX
private int lastPositionY
private boolean showCursor
private boolean eraseMode
private java.util.List corruptedPatches
private boolean showBadPatches
private boolean drawingLine
private int lineFromX
private int lineFromY
private int lineToX
private int lineToY
private boolean showDrawingLine
private int focusX
private int focusY
private final java.util.List hoverHighlightRegions
private String toolTipText
private boolean isEditMode
private com.android.draw9patch.ui.ImageViewer$UpdateRegion editRegion
private final com.android.draw9patch.ui.Pair editSegment
private final java.util.List editHighlightRegions
private java.awt.Rectangle editPatchRegion
private java.awt.image.BufferedImage image
private com.android.draw9patch.ui.PatchInfo patchInfo
private com.android.draw9patch.ui.ImageViewer$DrawMode currentMode
private static final int EDGE_DELTA
private final java.util.Set listeners
static final synthetic boolean $assertionsDisabled
void (java.awt.Container, java.awt.TexturePaint, java.awt.image.BufferedImage, com.android.draw9patch.ui.ImageViewer$StatusBar)
java.awt.Container container
java.awt.TexturePaint texture
java.awt.image.BufferedImage image
com.android.draw9patch.ui.ImageViewer$StatusBar statusBar
public void setShowBadPatches (boolean)
boolean en
private void updateDrawMode (java.awt.event.MouseEvent)
java.awt.event.MouseEvent event
private void resetDrawMode ()
private com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo findVerticalPatch (int, int)
java.util.List markers
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
int x
int y
java.util.List markers
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
private com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo findHorizontalPatch (int, int)
java.util.List markers
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
int x
int y
java.util.List markers
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
private com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo getContainingPatch (java.util.List, int, com.android.draw9patch.ui.ImageViewer$UpdateRegion)
com.android.draw9patch.ui.Pair p
java.util.Iterator i$
java.util.List patches
int a
com.android.draw9patch.ui.ImageViewer$UpdateRegion region
private void updateHoverRegion (int, int)
int x
int y
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo vertical
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo horizontal
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo updateRegion
private void startEditingRegion (int, int)
com.android.draw9patch.ui.ImageViewer$Edge e
int first
int second
boolean start
boolean verticalPatch
int x
int y
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo vertical
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo horizontal
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo updateRegion
private void endEditingRegion (int, int)
int x
int y
private void updateEditRegion (int, int)
int x
int y
private int clamp (int, int, int)
int i
int min
int max
private com.android.draw9patch.ui.ImageViewer$UpdateRegion findNewPatchRegion (int, int)
int x
int y
boolean verticalPatch
boolean horizontalPatch
private void computeHoverHighlightRegions (com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo)
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo vertical
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo horizontal
private void computeHoverRegionTooltip (com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo)
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo vertical
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo horizontal
StringBuilder sb
private void computeEditHighlightRegions ()
int f
int s
int min
int diff
int imageWidth
int imageHeight
private java.util.List getHorizontalHighlightRegions (int, int, int, int)
int x
int y
int w
int h
java.util.List l
java.awt.Rectangle r
private java.util.List getVerticalHighlightRegions (int, int, int, int)
int x
int y
int w
int h
java.util.List l
java.awt.Rectangle r
private void setCursorForRegion (int, int, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo)
java.awt.Cursor c
int x
int y
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo region
private java.awt.Cursor getCursor (int, int, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo)
int x
int y
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo editRegion
com.android.draw9patch.ui.ImageViewer$Edge e
int cursor
private com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo pickUpdateRegion (int, int, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo, com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo)
com.android.draw9patch.ui.ImageViewer$Edge e
com.android.draw9patch.ui.ImageViewer$Edge e
int x
int y
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo vertical
com.android.draw9patch.ui.ImageViewer$UpdateRegionInfo horizontal
private com.android.draw9patch.ui.ImageViewer$Edge getClosestEdge (int, com.android.draw9patch.ui.Pair)
int x
com.android.draw9patch.ui.Pair range
private int imageYCoordinate (int)
int y
int top
private int imageXCoordinate (int)
int x
int left
private java.awt.Point getImageOrigin ()
int left
int top
private java.awt.Rectangle displayCoordinates (java.awt.Rectangle)
java.awt.Rectangle r
java.awt.Point imageOrigin
int x
int y
int w
int h
private void updatePatchInfo ()
private void enableEraseMode (java.awt.event.KeyEvent)
java.awt.event.KeyEvent event
private void startDrawingLine (int, int)
int x
int y
int width
int height
private void moveLine (int, int)
int x
int y
int width
int height
private void endDrawingLine ()
int color
private void setPatchData (int, int, int, int, int, boolean)
int color
int x1
int y1
int x2
int y2
boolean inclusive
int x
int y
int dx
int dy
private void flushEditPatchData (int)
int color
int x1
int y1
int x2
int y2
int min
int max
private void patchesChanged ()
private boolean checkLockedRegion (int, int)
java.awt.Rectangle clip
int x
int y
int oldX
int oldY
int width
int height
boolean previousLock
boolean previousCursor
protected void paintComponent (java.awt.Graphics)
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.Rectangle patch
java.util.Iterator i$
int width
int height
java.awt.Graphics cursor
int w
int h
int left
int top
java.awt.Graphics cursor
java.awt.Rectangle r
java.util.Iterator i$
java.awt.Rectangle r
java.util.Iterator i$
java.awt.Graphics g
int x
int y
java.awt.Graphics2D g2
private void paintStripes (java.awt.Graphics2D, int, int)
double x
java.awt.geom.Line2D line
int i
java.awt.Graphics2D g
int width
int height
java.awt.Shape oldClip
java.awt.geom.Area area
double hypLength
double radians
double spacing
int numLines
public java.awt.Dimension getPreferredSize ()
private void setDefaultZoom ()
float w
float h
float current
float ideal
int frameWidth
int frameHeight
int z
void setZoom (int)
int value
int getZoom ()
private void updateSize ()
int width
int height
void setPatchesVisible (boolean)
boolean visible
void setLockVisible (boolean)
boolean visible
public void setImage (java.awt.image.BufferedImage)
java.awt.image.BufferedImage image
public java.awt.image.BufferedImage getImage ()
public com.android.draw9patch.ui.PatchInfo getPatchInfo ()
public void addPatchUpdateListener (com.android.draw9patch.ui.ImageViewer$PatchUpdateListener)
com.android.draw9patch.ui.ImageViewer$PatchUpdateListener p
public void removePatchUpdateListener (com.android.draw9patch.ui.ImageViewer$PatchUpdateListener)
com.android.draw9patch.ui.ImageViewer$PatchUpdateListener p
private void notifyPatchesUpdated ()
com.android.draw9patch.ui.ImageViewer$PatchUpdateListener p
java.util.Iterator i$
public void dispose ()
static synthetic void access$000 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$100 (com.android.draw9patch.ui.ImageViewer, java.awt.event.MouseEvent)
com.android.draw9patch.ui.ImageViewer x0
java.awt.event.MouseEvent x1
static synthetic int access$200 (com.android.draw9patch.ui.ImageViewer, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
static synthetic int access$300 (com.android.draw9patch.ui.ImageViewer, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
static synthetic void access$400 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic com.android.draw9patch.ui.ImageViewer$DrawMode access$500 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$600 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic java.util.List access$700 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$800 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$900 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic void access$1000 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic boolean access$1100 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic void access$1200 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic void access$1300 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic void access$1400 (com.android.draw9patch.ui.ImageViewer, int, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
int x2
static synthetic void access$1500 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic int access$1602 (com.android.draw9patch.ui.ImageViewer, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
static synthetic int access$1600 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic java.awt.image.BufferedImage access$1700 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic int access$1802 (com.android.draw9patch.ui.ImageViewer, int)
com.android.draw9patch.ui.ImageViewer x0
int x1
static synthetic int access$1800 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$1900 (com.android.draw9patch.ui.ImageViewer)
com.android.draw9patch.ui.ImageViewer x0
static synthetic void access$2000 (com.android.draw9patch.ui.ImageViewer, java.awt.event.KeyEvent)
com.android.draw9patch.ui.ImageViewer x0
java.awt.event.KeyEvent x1
static void ()
}
com/android/draw9patch/ui/ImageViewer$Edge.classImageViewer.java
package com.android.draw9patch.ui
final enum com.android.draw9patch.ui.ImageViewer$Edge extends java.lang.Enum {
public static final enum com.android.draw9patch.ui.ImageViewer$Edge START
public static final enum com.android.draw9patch.ui.ImageViewer$Edge END
public static final enum com.android.draw9patch.ui.ImageViewer$Edge NONE
private static final synthetic com.android.draw9patch.ui.ImageViewer$Edge[] $VALUES
public static com.android.draw9patch.ui.ImageViewer$Edge[] values ()
public static com.android.draw9patch.ui.ImageViewer$Edge valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/draw9patch/ui/MainFrame$SaveTask.classMainFrame.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.MainFrame$SaveTask extends javax.swing.SwingWorker {
private final java.io.File file
final synthetic com.android.draw9patch.ui.MainFrame this$0
void (com.android.draw9patch.ui.MainFrame, java.io.File)
java.io.File file
protected java.lang.Boolean doInBackground () throws java.lang.Exception
Exception e
protected volatile synthetic java.lang.Object doInBackground () throws java.lang.Exception
}
com/android/draw9patch/ui/StretchesViewer$1.classStretchesViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.StretchesViewer$1 extends java.lang.Object implements com.android.draw9patch.ui.ImageViewer$PatchUpdateListener {
final synthetic com.android.draw9patch.ui.StretchesViewer this$0
void (com.android.draw9patch.ui.StretchesViewer)
public void patchesUpdated ()
}
com/android/draw9patch/ui/MainFrame$OpenTask.classMainFrame.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.MainFrame$OpenTask extends javax.swing.SwingWorker {
private final java.io.File file
final synthetic com.android.draw9patch.ui.MainFrame this$0
void (com.android.draw9patch.ui.MainFrame, java.io.File)
java.io.File file
protected java.awt.image.BufferedImage doInBackground () throws java.lang.Exception
protected void done ()
InterruptedException e
java.util.concurrent.ExecutionException e
protected volatile synthetic java.lang.Object doInBackground () throws java.lang.Exception
}
com/android/draw9patch/ui/ImageViewer$4.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$4 extends java.awt.event.ComponentAdapter {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void componentResized (java.awt.event.ComponentEvent)
java.awt.event.ComponentEvent e
}
com/android/draw9patch/ui/ImageEditorPanel$4.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$4 extends java.lang.Object implements javax.swing.event.ChangeListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void stateChanged (javax.swing.event.ChangeEvent)
javax.swing.event.ChangeEvent evt
}
com/android/draw9patch/ui/ImageEditorPanel$1.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$1 extends java.lang.Object implements javax.swing.event.AncestorListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void ancestorAdded (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
public void ancestorRemoved (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
public void ancestorMoved (javax.swing.event.AncestorEvent)
javax.swing.event.AncestorEvent event
}
com/android/draw9patch/ui/ImageViewer$6.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$6 extends java.lang.Object implements java.awt.event.AWTEventListener {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void eventDispatched (java.awt.AWTEvent)
java.awt.AWTEvent event
}
com/android/draw9patch/ui/ImageViewer$DrawMode.classImageViewer.java
package com.android.draw9patch.ui
final enum com.android.draw9patch.ui.ImageViewer$DrawMode extends java.lang.Enum {
public static final enum com.android.draw9patch.ui.ImageViewer$DrawMode PATCH
public static final enum com.android.draw9patch.ui.ImageViewer$DrawMode LAYOUT_BOUND
public static final enum com.android.draw9patch.ui.ImageViewer$DrawMode ERASE
private static final synthetic com.android.draw9patch.ui.ImageViewer$DrawMode[] $VALUES
public static com.android.draw9patch.ui.ImageViewer$DrawMode[] values ()
public static com.android.draw9patch.ui.ImageViewer$DrawMode valueOf (java.lang.String)
String name
private void (java.lang.String, int)
static void ()
}
com/android/draw9patch/ui/ImageViewer$3.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$3 extends java.awt.event.MouseMotionAdapter {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void mouseDragged (java.awt.event.MouseEvent)
java.awt.event.MouseEvent event
int x
int y
public void mouseMoved (java.awt.event.MouseEvent)
java.awt.event.MouseEvent event
int x
int y
}
com/android/draw9patch/ui/PatchInfo$1.classPatchInfo.java
package com.android.draw9patch.ui
synthetic com.android.draw9patch.ui.PatchInfo$1 extends java.lang.Object {
}
com/android/draw9patch/ui/ImageViewer$PatchUpdateListener.classImageViewer.java
package com.android.draw9patch.ui
public abstract com.android.draw9patch.ui.ImageViewer$PatchUpdateListener extends java.lang.Object {
public abstract void patchesUpdated ()
}
com/android/draw9patch/ui/ImageEditorPanel$8.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$8 extends java.lang.Object implements java.awt.event.ActionListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent event
}
com/android/draw9patch/ui/OpenFilePanel.classOpenFilePanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.OpenFilePanel extends javax.swing.JComponent {
private java.awt.image.BufferedImage dropHere
void (com.android.draw9patch.ui.MainFrame)
com.android.draw9patch.ui.MainFrame mainFrame
private void loadSupportImage ()
java.net.URL resource
java.io.IOException e
protected void paintComponent (java.awt.Graphics)
java.awt.Graphics g
int x
int y
}
com/android/draw9patch/ui/ImageEditorPanel$3.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$3 extends java.lang.Object implements javax.swing.event.ChangeListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void stateChanged (javax.swing.event.ChangeEvent)
javax.swing.event.ChangeEvent evt
}
com/android/draw9patch/ui/ImageTransferHandler.classImageTransferHandler.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageTransferHandler extends javax.swing.TransferHandler {
private final com.android.draw9patch.ui.MainFrame mainFrame
void (com.android.draw9patch.ui.MainFrame)
com.android.draw9patch.ui.MainFrame mainFrame
public boolean importData (javax.swing.JComponent, java.awt.datatransfer.Transferable)
Object data
java.io.File file
String mime
java.awt.datatransfer.DataFlavor flave
Object data
String path
java.awt.datatransfer.DataFlavor flavor
java.awt.datatransfer.DataFlavor[] arr$
int len$
int i$
java.awt.datatransfer.UnsupportedFlavorException e
java.net.MalformedURLException e
java.io.IOException e
Exception e
javax.swing.JComponent component
java.awt.datatransfer.Transferable transferable
private static java.lang.String convertPath (java.lang.String)
String path
public boolean canImport (javax.swing.TransferHandler$TransferSupport)
java.awt.datatransfer.DataFlavor flavor
java.awt.datatransfer.DataFlavor[] arr$
int len$
int i$
javax.swing.TransferHandler$TransferSupport support
boolean isCopySupported
}
com/android/draw9patch/ui/ImageViewer$5.classImageViewer.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageViewer$5 extends java.lang.Object implements java.awt.event.KeyListener {
final synthetic com.android.draw9patch.ui.ImageViewer this$0
void (com.android.draw9patch.ui.ImageViewer)
public void keyTyped (java.awt.event.KeyEvent)
java.awt.event.KeyEvent e
public void keyPressed (java.awt.event.KeyEvent)
int rgb
java.awt.event.KeyEvent e
int increment
public void keyReleased (java.awt.event.KeyEvent)
java.awt.event.KeyEvent e
}
com/android/draw9patch/ui/CorruptPatch.classCorruptPatch.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.CorruptPatch extends java.lang.Object {
public void ()
public static java.util.List findBadPatches (java.awt.image.BufferedImage, com.android.draw9patch.ui.PatchInfo)
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.Rectangle patch
java.util.Iterator i$
java.awt.image.BufferedImage image
com.android.draw9patch.ui.PatchInfo patchInfo
java.util.List corruptedPatches
private static boolean corruptPatch (java.awt.image.BufferedImage, java.awt.Rectangle)
int pixel
int[] arr$
int len$
int i$
int reference
java.awt.image.BufferedImage image
java.awt.Rectangle patch
int[] pixels
private static boolean corruptHorizontalPatch (java.awt.image.BufferedImage, java.awt.Rectangle)
int i
java.awt.image.BufferedImage image
java.awt.Rectangle patch
int[] reference
int[] column
private static boolean corruptVerticalPatch (java.awt.image.BufferedImage, java.awt.Rectangle)
int i
java.awt.image.BufferedImage image
java.awt.Rectangle patch
int[] reference
int[] row
}
com/android/draw9patch/ui/ImageEditorPanel.classImageEditorPanel.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.ImageEditorPanel extends javax.swing.JPanel {
private static final String EXTENSION_9PATCH
private static final java.awt.Color HELP_COLOR
private String name
private java.awt.image.BufferedImage image
private boolean is9Patch
private com.android.draw9patch.ui.ImageViewer viewer
private com.android.draw9patch.ui.StretchesViewer stretchesViewer
private javax.swing.JLabel xLabel
private javax.swing.JLabel yLabel
private java.awt.TexturePaint texture
private javax.swing.JSlider zoomSlider
public void (com.android.draw9patch.ui.MainFrame, java.awt.image.BufferedImage, java.lang.String)
com.android.draw9patch.ui.MainFrame mainFrame
java.awt.image.BufferedImage image
String name
private void synchronizeImageViewerZoomLevel ()
public com.android.draw9patch.ui.ImageViewer getViewer ()
private void loadSupport ()
java.net.URL resource
java.awt.image.BufferedImage checker
java.io.IOException e
private void buildImageViewer ()
javax.swing.JPanel panel
javax.swing.JSplitPane splitter
javax.swing.JScrollPane scroller
private static java.awt.Component createHelpPanel ()
javax.swing.JPanel panel
javax.swing.JLabel label
private javax.swing.JComponent buildStretchesViewer ()
javax.swing.JScrollPane scroller
private void buildStatusPanel ()
javax.swing.JPanel status
javax.swing.JLabel label
javax.swing.JLabel maxZoomLabel
javax.swing.JSlider jSlider
javax.swing.JCheckBox showLock
javax.swing.JCheckBox showPatches
javax.swing.JCheckBox showPadding
javax.swing.JCheckBox showBadPatches
private static void ensure9Patch (java.awt.image.BufferedImage)
int pixel
int i
int pixel
int i
java.awt.image.BufferedImage image
int width
int height
private static java.awt.image.BufferedImage convertTo9Patch (java.awt.image.BufferedImage)
java.awt.image.BufferedImage image
java.awt.image.BufferedImage buffer
java.awt.Graphics2D g2
java.io.File chooseSaveFile ()
String path
java.io.File file
javax.swing.JFileChooser chooser
int choice
java.awt.image.RenderedImage getImage ()
public void dispose ()
static synthetic void access$000 (com.android.draw9patch.ui.ImageEditorPanel)
com.android.draw9patch.ui.ImageEditorPanel x0
static synthetic javax.swing.JLabel access$100 (com.android.draw9patch.ui.ImageEditorPanel)
com.android.draw9patch.ui.ImageEditorPanel x0
static synthetic javax.swing.JLabel access$200 (com.android.draw9patch.ui.ImageEditorPanel)
com.android.draw9patch.ui.ImageEditorPanel x0
static synthetic com.android.draw9patch.ui.ImageViewer access$300 (com.android.draw9patch.ui.ImageEditorPanel)
com.android.draw9patch.ui.ImageEditorPanel x0
static synthetic com.android.draw9patch.ui.StretchesViewer access$400 (com.android.draw9patch.ui.ImageEditorPanel)
com.android.draw9patch.ui.ImageEditorPanel x0
static void ()
}
com/android/draw9patch/ui/Pair.classPair.java
package com.android.draw9patch.ui
public com.android.draw9patch.ui.Pair extends java.lang.Object {
Object first
Object second
void (java.lang.Object, java.lang.Object)
Object first
Object second
public java.lang.String toString ()
}
com/android/draw9patch/ui/ImageEditorPanel$5.classImageEditorPanel.java
package com.android.draw9patch.ui
com.android.draw9patch.ui.ImageEditorPanel$5 extends java.lang.Object implements java.awt.event.ActionListener {
final synthetic com.android.draw9patch.ui.ImageEditorPanel this$0
void (com.android.draw9patch.ui.ImageEditorPanel)
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent event
}
com/android/draw9patch/ui/action/
com/android/draw9patch/ui/action/SaveAction.classSaveAction.java
package com.android.draw9patch.ui.action
public com.android.draw9patch.ui.action.SaveAction extends com.android.draw9patch.ui.action.BackgroundAction {
public static final String ACTION_NAME
private com.android.draw9patch.ui.MainFrame frame
public void (com.android.draw9patch.ui.MainFrame)
com.android.draw9patch.ui.MainFrame frame
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent e
}
com/android/draw9patch/ui/action/BackgroundAction.classBackgroundAction.java
package com.android.draw9patch.ui.action
public abstract com.android.draw9patch.ui.action.BackgroundAction extends javax.swing.AbstractAction {
public void ()
protected void executeBackgroundTask (javax.swing.SwingWorker)
javax.swing.SwingWorker worker
}
com/android/draw9patch/ui/action/OpenAction.classOpenAction.java
package com.android.draw9patch.ui.action
public com.android.draw9patch.ui.action.OpenAction extends com.android.draw9patch.ui.action.BackgroundAction {
public static final String ACTION_NAME
private com.android.draw9patch.ui.MainFrame frame
public void (com.android.draw9patch.ui.MainFrame)
com.android.draw9patch.ui.MainFrame frame
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent e
}
com/android/draw9patch/ui/action/ExitAction.classExitAction.java
package com.android.draw9patch.ui.action
public com.android.draw9patch.ui.action.ExitAction extends javax.swing.AbstractAction {
public static final String ACTION_NAME
private javax.swing.JFrame frame
public void (javax.swing.JFrame)
javax.swing.JFrame frame
public void actionPerformed (java.awt.event.ActionEvent)
java.awt.event.ActionEvent e
}
com/android/draw9patch/graphics/
com/android/draw9patch/graphics/GraphicsUtilities.classGraphicsUtilities.java
package com.android.draw9patch.graphics
public com.android.draw9patch.graphics.GraphicsUtilities extends java.lang.Object {
public void ()
public static java.awt.image.BufferedImage loadCompatibleImage (java.net.URL) throws java.io.IOException
java.net.URL resource
java.awt.image.BufferedImage image
public static java.awt.image.BufferedImage createCompatibleImage (int, int)
int width
int height
public static java.awt.image.BufferedImage toCompatibleImage (java.awt.image.BufferedImage)
java.awt.image.BufferedImage image
java.awt.image.ColorModel colorModel
java.awt.image.BufferedImage compatibleImage
java.awt.Graphics g
public static java.awt.image.BufferedImage createCompatibleImage (java.awt.image.BufferedImage, int, int)
java.awt.image.BufferedImage image
int width
int height
private static java.awt.GraphicsConfiguration getGraphicsConfiguration ()
java.awt.GraphicsEnvironment environment
private static boolean isHeadless ()
public static java.awt.image.BufferedImage createTranslucentCompatibleImage (int, int)
int width
int height
public static int[] getPixels (java.awt.image.BufferedImage, int, int, int, int, int[])
java.awt.image.Raster raster
java.awt.image.BufferedImage img
int x
int y
int w
int h
int[] pixels
int imageType
}
images/
images/checker.png
images/drop.png