| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
|
|
|
|
| |
Change-Id: Idfe3db88eb3c7493a4ccde0713ec925b4dfb8769
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patches are created in draw9patch by clicking on the 1 pixel
boundary. This is quite cumbersome when creating patches
that span certain regions.
This CL adds support for dragging markers to mark ranges
that are stretchable (or indicate content region). Based on
the location of the mouse pointer, a patch or padding region
is created in the image.
Change-Id: Ic0203efe9b12d4616f1eb76ddd3ca55d0f81cf01
|
|
|
|
| |
Change-Id: I0ae90c2867e2599a71ddf11f83352db4868deca2
|
|
|
|
|
|
|
| |
This CL highlights regions of the image covered by patch or
padding markers depending on the current mouse location.
Change-Id: I60066a7b1ea988019cda72dad0d8d6233c650ef5
|
|
|
|
| |
Change-Id: I1ec7032385fc62eec53c7bd9973387407a34158a
|
|
|
|
|
|
|
| |
Also collects all 9 patch related information into PatchInfo,
add adds some basic tests for PatchInfo.
Change-Id: If5d8acbb169416290a2a0298526889b8f7960e32
|
|
|
|
| |
Change-Id: I64abaaf75b438b46e1a496f4b1e974c1240361fe
|
|
|
|
|
|
| |
Remove references to the org.jdesktop version
Change-Id: I443ce115e950d678eaaf12eedad758bf56958f91
|
|
|
|
|
|
|
|
|
| |
I changed the tool to draw lines when you are draging mouse. Before
my change it puts pixels when draging but that way it misses some pixels
because user cannot make straight line with mouse.
Change-Id: I64d6f2eb7924a67051cafabdbfb0950d07a206c7
Signed-off-by: Kaloyan Donev <kdonev@gmail.com>
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I7bbba4491e6ebb7379b141dc85bdbdf3fc71d1e6
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Ie604a42d014999243e66367fed4568fd5d613083
|
| |
| |
| |
| |
| |
| |
| |
| | |
draw9patch tool on Mac OS X.
Issue: http://code.google.com/p/android/issues/detail?id=28978
Change-Id: I844880528d98c5c83e90edf64d2dffb413a92ec1
|
|/
|
|
|
|
| |
Bug: 6087201
Change-Id: I40ab7656b85cf5b3c395143b561bbf30866797f8
|
|
|
|
| |
Change-Id: I5c19b481d6b78b7dc302353f816f0c9f5fd2028c
|
|
|
|
|
|
| |
specifying the filename.
Change-Id: Icbf8c7a61d6c184df5ba46f39ca978cd55e67e93
|
|
|
|
|
|
| |
tool.
Change-Id: Iad52e227696403752c6deea590b183c74624c12b
|
|
|
|
|
|
|
|
|
|
| |
Also fix some makefiles to make sure the notices are
picked up.
- move the makefile outside of the source folder.
- resources are now in the source folder directly instead
of being inside src/resources. It's much simpler.
Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Initialize the zoom field to 1 instead of the default 0 since
I ran into a scenario where a division by an uninitialized zoom
caused a divide by zero exception.
Exception in thread "AWT-EventQueue-0" java.lang.ArithmeticException:
/ by zero
at com.android.draw9patch.ui.ImageEditorPanel$ImageViewer.checkLockedR
egion(ImageEditorPanel.java:894)
at com.android.draw9patch.ui.ImageEditorPanel$ImageViewer.access$1800(
ImageEditorPanel.java:646)
at com.android.draw9patch.ui.ImageEditorPanel$ImageViewer$3.mouseMoved
(ImageEditorPanel.java:745)
at java.awt.Component.processMouseMotionEvent(Component.java:6397)
Change-Id: I7d2252f07458864d591be91636477ace4b520855
|
|
|
|
| |
Change-Id: Ie4d6408858db5b2bafb76ecb916e6b7c00ba0bb7
|
|
|
|
|
|
|
| |
If a big PNG image will be loading, HelpPanel hides ImageView.
This patch fix that problem.
Change-Id: I615705849b475e5b88daae7bef2af92cb5fa0657
|
| |
|
| |
|
| |
|
| |
|
|
|