aster:aster.git
7 years agoFix Touch constructor NPE
AZ Huang [Tue, 16 Aug 2011 10:49:09 +0000 (18:49 +0800)]
Fix Touch constructor NPE

7 years agoFix default constructor for Touch and Drag.
AZ Huang [Tue, 16 Aug 2011 10:39:29 +0000 (18:39 +0800)]
Fix default constructor for Touch and Drag.

7 years agoConnection estiblishment is now moved to the original updateScreen thread.
AZ Huang [Tue, 16 Aug 2011 10:29:40 +0000 (18:29 +0800)]
Connection estiblishment is now moved to the original updateScreen thread.

7 years agoDevice connection is now mantained by AsterCommandManager
AZ Huang [Tue, 16 Aug 2011 09:25:45 +0000 (17:25 +0800)]
Device connection is now mantained by AsterCommandManager

Please invoke AsterCommandManager::connect() to connect to the device.
AsterCommandManager::takeSnapShot() is provided to get snapshot from
device.

7 years agoTouch, Drag constructros from String should also instantiate operations.
AZ Huang [Tue, 16 Aug 2011 09:24:15 +0000 (17:24 +0800)]
Touch, Drag constructros from String should also instantiate operations.

7 years agoMerge branch 'kanru/alist'
Kan-Ru Chen [Tue, 16 Aug 2011 06:40:09 +0000 (14:40 +0800)]
Merge branch 'kanru/alist'

7 years agoMerge branch 'walkingice/workspace'
Kan-Ru Chen [Tue, 16 Aug 2011 06:36:08 +0000 (14:36 +0800)]
Merge branch 'walkingice/workspace'

7 years agoAdd Callback interface to AsterCommand and AsterOperation
Julian_Chu [Mon, 15 Aug 2011 20:43:34 +0000 (04:43 +0800)]
Add Callback interface to AsterCommand and AsterOperation

- Once an Operation finished, the callback method will be called.
  It is the same as AsterCommand.

  Any class which ask AsterWorkspace to fill a command, it should also
  provide a AsterCommand.CommandListener.

- Add a Button to AsterWorkspace, if user thinks he is already finish
  Dragging or Touching, he could click the button.

7 years agoBasicActionListUI: Extract the layout algorithm
Kan-Ru Chen [Tue, 16 Aug 2011 06:08:02 +0000 (14:08 +0800)]
BasicActionListUI: Extract the layout algorithm

The layout algorithm is now independent of the preferred size
calculation and components update. Also align the components with
vertical center.

7 years agoUse static method to create Op Drag and Touch
Julian_Chu [Mon, 15 Aug 2011 16:21:00 +0000 (00:21 +0800)]
Use static method to create Op Drag and Touch

 - AsterWorkspace.getOpTouch();
 - AsterWorkspace.getOpDrag();

7 years agoModify interface of command Touch and Drag
Julian_Chu [Mon, 15 Aug 2011 10:28:59 +0000 (18:28 +0800)]
Modify interface of command Touch and Drag

We should construct these two commands without settings.
Settings provide information for the command
However, we need an empty command to fill to provide informations to
settings.

7 years agoAsterMainPanel use CmdSelector to push Command
Julian_Chu [Mon, 15 Aug 2011 10:28:46 +0000 (18:28 +0800)]
AsterMainPanel use CmdSelector to push Command

7 years agoLet CmdSelector generate two Cmds by selecting
Julian_Chu [Mon, 15 Aug 2011 10:28:27 +0000 (18:28 +0800)]
Let CmdSelector generate two Cmds by selecting

Add Command Touch and Drag

7 years agoRemove ActionList.java
Julian_Chu [Mon, 15 Aug 2011 09:41:12 +0000 (17:41 +0800)]
Remove ActionList.java

seems nobody need it yet

7 years agoImplement Operation Touch and Drag
Julian_Chu [Sat, 13 Aug 2011 20:52:30 +0000 (04:52 +0800)]
Implement Operation Touch and Drag

7 years agoAdd a widget ClipRegion
Julian_Chu [Sat, 13 Aug 2011 20:16:05 +0000 (04:16 +0800)]
Add a widget ClipRegion

ClipRegion is a widget on AsterWorkspace which let user
to decide what is the ImageBuffer to clip.

7 years agoChange name: ImageView -> AsterWorkspace
Julian_Chu [Thu, 11 Aug 2011 09:03:18 +0000 (17:03 +0800)]
Change name: ImageView -> AsterWorkspace

7 years agoTo limit validate region
Julian_Chu [Wed, 10 Aug 2011 08:08:33 +0000 (16:08 +0800)]
To limit validate region

We only care about the region which snapshot drawed on.
Ignore mouse event which is out of the region.

7 years agoAdd snapshot listener
Julian_Chu [Tue, 9 Aug 2011 18:35:11 +0000 (02:35 +0800)]
Add snapshot listener

For class that care about Touch and Drag action on ImageView

7 years agoImageView implements MouseListener
Julian_Chu [Tue, 9 Aug 2011 18:14:36 +0000 (02:14 +0800)]
ImageView implements MouseListener

We need to handle mouse event.

7 years agoImplement Aster Archive(*.ast) export and import functionalities.
AZ Huang [Mon, 15 Aug 2011 09:36:06 +0000 (17:36 +0800)]
Implement Aster Archive(*.ast) export and import functionalities.

AsterCommandManager new supports exporting python script and images into
a ZIP archive with file extension 'ast'. Importing script and images to
aster IDE is also possible.

7 years agoDefaultActionListModel: Correct the stack direction
Kan-Ru Chen [Mon, 15 Aug 2011 12:00:10 +0000 (20:00 +0800)]
DefaultActionListModel: Correct the stack direction

7 years agoAdd back getName() method.
AZ Huang [Fri, 12 Aug 2011 11:40:09 +0000 (19:40 +0800)]
Add back getName() method.

7 years agoAdd landscape flag for WookieeRunner::drag(),touch()
AZ Huang [Fri, 12 Aug 2011 09:17:48 +0000 (17:17 +0800)]
Add landscape flag for WookieeRunner::drag(),touch()

7 years agoFix serial number.
AZ Huang [Fri, 12 Aug 2011 08:49:21 +0000 (16:49 +0800)]
Fix serial number.

7 years agoAdd AsterCommandManager::load(), fix bugs
AZ Huang [Fri, 12 Aug 2011 08:37:05 +0000 (16:37 +0800)]
Add AsterCommandManager::load(), fix bugs

7 years agoUpdate constructers for commands.
AZ Huang [Fri, 12 Aug 2011 08:08:34 +0000 (16:08 +0800)]
Update constructers for commands.

7 years agoAdd AsterCommandManager, CmdTest.
AZ Huang [Fri, 12 Aug 2011 08:07:51 +0000 (16:07 +0800)]
Add AsterCommandManager, CmdTest.

7 years agoRemove redundant cmd interface: getName, getImage, setImage.
AZ Huang [Fri, 12 Aug 2011 06:28:57 +0000 (14:28 +0800)]
Remove redundant cmd interface: getName, getImage, setImage.

7 years agoCorrect cmd interface.
AZ Huang [Fri, 12 Aug 2011 04:21:32 +0000 (12:21 +0800)]
Correct cmd interface.

7 years agoImplement fill() and getSettings()
AZ Huang [Thu, 11 Aug 2011 11:34:43 +0000 (19:34 +0800)]
Implement fill() and getSettings()

7 years agoAdd alternate interface for drag.
AZ Huang [Thu, 11 Aug 2011 10:41:36 +0000 (18:41 +0800)]
Add alternate interface for drag.

7 years agoMinor changes in interface.
AZ Huang [Thu, 11 Aug 2011 10:02:23 +0000 (18:02 +0800)]
Minor changes in interface.

7 years agoMerge remote-tracking branch 'googlecode/master'
AZ Huang [Fri, 12 Aug 2011 11:26:15 +0000 (19:26 +0800)]
Merge remote-tracking branch 'googlecode/master'

7 years agoBasicActionListUI: Use mCommand.getName to get command name
Kan-Ru Chen [Fri, 12 Aug 2011 10:45:28 +0000 (18:45 +0800)]
BasicActionListUI: Use mCommand.getName to get command name

7 years agoMerge branch 'kanru/alist'
Kan-Ru Chen [Fri, 12 Aug 2011 10:32:38 +0000 (18:32 +0800)]
Merge branch 'kanru/alist'

7 years agoJActionList: Improve the scrollable sensitivity
Kan-Ru Chen [Fri, 12 Aug 2011 10:19:29 +0000 (18:19 +0800)]
JActionList: Improve the scrollable sensitivity

7 years agoBasicActionListUI: Delay the painting of CloseButton
Kan-Ru Chen [Fri, 12 Aug 2011 10:13:17 +0000 (18:13 +0800)]
BasicActionListUI: Delay the painting of CloseButton

To avoid wrong event dispatch order, the button should be at the front
of the list, but painted last.

7 years agoActionListModel: Add empty() method
Kan-Ru Chen [Fri, 12 Aug 2011 10:12:29 +0000 (18:12 +0800)]
ActionListModel: Add empty() method

7 years agoUse new class CloseButton to handle the close button
Kan-Ru Chen [Fri, 12 Aug 2011 09:39:27 +0000 (17:39 +0800)]
Use new class CloseButton to handle the close button

7 years agoAsterMainPanel: Let the dialog appear near by the button
Kan-Ru Chen [Fri, 12 Aug 2011 09:14:49 +0000 (17:14 +0800)]
AsterMainPanel: Let the dialog appear near by the button

7 years agoAsterMainPanel: Always show the scroll bar
Kan-Ru Chen [Fri, 12 Aug 2011 08:42:34 +0000 (16:42 +0800)]
AsterMainPanel: Always show the scroll bar

7 years agoAsterMainPanel: Setup sample listener for NewActionList
Kan-Ru Chen [Fri, 12 Aug 2011 08:42:15 +0000 (16:42 +0800)]
AsterMainPanel: Setup sample listener for NewActionList

7 years agoBasicActionListUI: Auto scroll to the bottom
Kan-Ru Chen [Fri, 12 Aug 2011 08:10:11 +0000 (16:10 +0800)]
BasicActionListUI: Auto scroll to the bottom

7 years agoJActionList: Add NewActionListener call backs
Kan-Ru Chen [Fri, 12 Aug 2011 08:09:41 +0000 (16:09 +0800)]
JActionList: Add NewActionListener call backs

7 years agoMerge branch 'master' of https://code.google.com/p/aster
AZ Huang [Fri, 12 Aug 2011 07:52:15 +0000 (15:52 +0800)]
Merge branch 'master' of https://code.google.com/p/aster

7 years agoActionButton: Add close button drawing code
Kan-Ru Chen [Fri, 12 Aug 2011 07:30:37 +0000 (15:30 +0800)]
ActionButton: Add close button drawing code

7 years agoActionButton: Draw antialias string
Kan-Ru Chen [Fri, 12 Aug 2011 07:30:14 +0000 (15:30 +0800)]
ActionButton: Draw antialias string

7 years agoBasicActionListUI: Remove unused ROOT_LABEL
Kan-Ru Chen [Fri, 12 Aug 2011 07:29:46 +0000 (15:29 +0800)]
BasicActionListUI: Remove unused ROOT_LABEL

7 years agoNewActionButton: Move mouse settings into class definition
Kan-Ru Chen [Fri, 12 Aug 2011 05:00:04 +0000 (13:00 +0800)]
NewActionButton: Move mouse settings into class definition

7 years agoTurn on debug mode cause we are still in early development
Julian_Chu [Wed, 10 Aug 2011 13:16:31 +0000 (21:16 +0800)]
Turn on debug mode cause we are still in early development

7 years agoAdd debug mode option to script
Julian_Chu [Wed, 10 Aug 2011 12:48:46 +0000 (20:48 +0800)]
Add debug mode option to script

7 years agoAdd missing images
Kan-Ru Chen [Wed, 10 Aug 2011 13:17:34 +0000 (21:17 +0800)]
Add missing images

7 years agoMerge ActionList to main panel
Kan-Ru Chen [Wed, 10 Aug 2011 13:11:42 +0000 (21:11 +0800)]
Merge ActionList to main panel

7 years agoAdd missing overrides and super call
Kan-Ru Chen [Wed, 10 Aug 2011 13:07:54 +0000 (21:07 +0800)]
Add missing overrides and super call

7 years agoActionButton: use setBounds instead of setLocation
Kan-Ru Chen [Wed, 10 Aug 2011 13:07:29 +0000 (21:07 +0800)]
ActionButton: use setBounds instead of setLocation

7 years agoJActionList: Use empty printChildren
Kan-Ru Chen [Wed, 10 Aug 2011 13:04:03 +0000 (21:04 +0800)]
JActionList: Use empty printChildren

We paint the children by ourself for now. Should change to use a
proper layout manager later.

7 years agoBasicActionListUI: Add NewAddButton class
Kan-Ru Chen [Wed, 10 Aug 2011 11:41:03 +0000 (19:41 +0800)]
BasicActionListUI: Add NewAddButton class

7 years agoBasicActionListUI: Use actionList as Container.
Kan-Ru Chen [Wed, 10 Aug 2011 11:23:16 +0000 (19:23 +0800)]
BasicActionListUI: Use actionList as Container.

7 years agoLittleArrow: draw the little arrow between buttons
Kan-Ru Chen [Wed, 10 Aug 2011 07:56:35 +0000 (15:56 +0800)]
LittleArrow: draw the little arrow between buttons

7 years agoJActionList: Add JScrollPane support
Kan-Ru Chen [Wed, 10 Aug 2011 06:28:13 +0000 (14:28 +0800)]
JActionList: Add JScrollPane support

7 years agoBasicActionListUI: Use ActionButton to handle repaint and layout
Kan-Ru Chen [Wed, 10 Aug 2011 05:40:39 +0000 (13:40 +0800)]
BasicActionListUI: Use ActionButton to handle repaint and layout

7 years agoBasicActionListUI: Add command wrapper ActionButton
Kan-Ru Chen [Wed, 10 Aug 2011 02:37:31 +0000 (10:37 +0800)]
BasicActionListUI: Add command wrapper ActionButton

7 years agoActionListModel: Add interfaces to get list of commands
Kan-Ru Chen [Wed, 10 Aug 2011 02:36:28 +0000 (10:36 +0800)]
ActionListModel: Add interfaces to get list of commands

7 years agoUpdate adb to 64-bit version.
AZ Huang [Wed, 10 Aug 2011 00:19:52 +0000 (08:19 +0800)]
Update adb to 64-bit version.

7 years agoMerge branch 'master' of https://code.google.com/p/aster
AZ Huang [Tue, 9 Aug 2011 14:05:58 +0000 (22:05 +0800)]
Merge branch 'master' of https://code.google.com/p/aster

7 years agoFix command execution.
AZ Huang [Tue, 9 Aug 2011 13:49:56 +0000 (21:49 +0800)]
Fix command execution.

7 years agoImplement execute() for AsterCommands
AZ Huang [Tue, 9 Aug 2011 13:18:55 +0000 (21:18 +0800)]
Implement execute() for AsterCommands

7 years agoBasicActionListUI: Use ninepatch to draw button
Kan-Ru Chen [Tue, 9 Aug 2011 04:06:21 +0000 (12:06 +0800)]
BasicActionListUI: Use ninepatch to draw button

7 years agoAdd NinePatch library
Kan-Ru Chen [Tue, 9 Aug 2011 04:04:58 +0000 (12:04 +0800)]
Add NinePatch library

7 years agoWe don't need the layout manager
Kan-Ru Chen [Mon, 8 Aug 2011 06:14:01 +0000 (14:14 +0800)]
We don't need the layout manager

7 years agoInitialize default model
Kan-Ru Chen [Mon, 8 Aug 2011 06:12:07 +0000 (14:12 +0800)]
Initialize default model

7 years agoChange default target to dist
Kan-Ru Chen [Mon, 8 Aug 2011 04:39:14 +0000 (12:39 +0800)]
Change default target to dist

7 years agoAdd default action list model implementation.
Kan-Ru Chen [Mon, 8 Aug 2011 04:31:46 +0000 (12:31 +0800)]
Add default action list model implementation.

7 years agoTidy the indentation according to the coding style.
Kan-Ru Chen [Mon, 8 Aug 2011 04:30:57 +0000 (12:30 +0800)]
Tidy the indentation according to the coding style.

7 years agoActionListModel: pop method doesn't need the argument.
Kan-Ru Chen [Mon, 8 Aug 2011 04:29:19 +0000 (12:29 +0800)]
ActionListModel: pop method doesn't need the argument.

7 years agoAdd commandCellRenderer for other commands.
AZ Huang [Mon, 8 Aug 2011 03:27:15 +0000 (11:27 +0800)]
Add commandCellRenderer for other commands.

7 years agoModify scriptrunner so that WokieeRunnerStarter can run string in local context.
AZ Huang [Fri, 5 Aug 2011 12:22:47 +0000 (20:22 +0800)]
Modify scriptrunner so that WokieeRunnerStarter can run string in local context.

7 years agoRemove uneeded import
AZ Huang [Fri, 5 Aug 2011 11:27:42 +0000 (19:27 +0800)]
Remove uneeded import

7 years agoImplemnet getName(), getOperations() method for commands.
AZ Huang [Fri, 5 Aug 2011 11:09:39 +0000 (19:09 +0800)]
Implemnet getName(), getOperations() method for commands.

7 years agoMove AsterOperation.java to operations (Just like AsterCommand.java)
AZ Huang [Fri, 5 Aug 2011 11:05:12 +0000 (19:05 +0800)]
Move AsterOperation.java to operations (Just like AsterCommand.java)

Add OpGetInput.java (For Type command)

Add OpSelectKey.java (For press command)

7 years agoFixing WookieeRunner docs
AZ Huang [Fri, 5 Aug 2011 08:19:06 +0000 (16:19 +0800)]
Fixing WookieeRunner docs

7 years agoAdd interface defination
Julian_Chu [Thu, 4 Aug 2011 10:18:05 +0000 (18:18 +0800)]
Add interface defination

According to our discussion, add some interface to ASTER

7 years agoAdd skeletons of JActionList
Kan-Ru Chen [Thu, 4 Aug 2011 11:39:47 +0000 (19:39 +0800)]
Add skeletons of JActionList

7 years agoSet default build target to `compile'
Kan-Ru Chen [Thu, 4 Aug 2011 11:18:17 +0000 (19:18 +0800)]
Set default build target to `compile'

7 years agoAdd Press.java, Type.java
AZ Huang [Wed, 3 Aug 2011 04:48:48 +0000 (12:48 +0800)]
Add Press.java, Type.java

7 years agoAdd Touch.java, Drag.java
AZ Huang [Wed, 3 Aug 2011 04:21:23 +0000 (12:21 +0800)]
Add Touch.java, Drag.java

7 years agoFix wookieruuner script framework path
AZ Huang [Mon, 1 Aug 2011 04:31:24 +0000 (12:31 +0800)]
Fix wookieruuner script framework path

7 years agoUpdate SURFMatcher.java code
AZ Huang [Mon, 1 Aug 2011 04:05:17 +0000 (12:05 +0800)]
Update SURFMatcher.java code

7 years agoMerge branch 'walkingice_working' of gitorious.org:aster/aster into walkingice_working
AZ Huang [Mon, 1 Aug 2011 02:25:30 +0000 (10:25 +0800)]
Merge branch 'walkingice_working' of gitorious.org:aster/aster into walkingice_working

Conflicts:
src/org/zeroxlab/aster/AsterMainPanel.java

7 years agoSet initial size of Panel
Julian_Chu [Sat, 30 Jul 2011 18:54:11 +0000 (02:54 +0800)]
Set initial size of Panel

7 years agoUpdate Snapshot in another thread
Julian_Chu [Sat, 30 Jul 2011 18:49:17 +0000 (02:49 +0800)]
Update Snapshot in another thread

7 years agoDraw snapshot in preferred size and position
Julian_Chu [Fri, 29 Jul 2011 09:39:57 +0000 (17:39 +0800)]
Draw snapshot in preferred size and position

In general, the snapshot is too large to display. There are two
preferred size.
 Landscape: 240 x 400
 Portrait : 400 x 240

I am not sure dynamic size according to the window is better or not.

7 years agoRefectoring
Julian_Chu [Fri, 29 Jul 2011 08:08:37 +0000 (16:08 +0800)]
Refectoring

7 years agoReplace Syste.out.println with Logger
AZ Huang [Fri, 29 Jul 2011 08:36:47 +0000 (16:36 +0800)]
Replace Syste.out.println with Logger

7 years agoUse WookieeAPI for aster backend.
AZ Huang [Fri, 29 Jul 2011 08:01:10 +0000 (16:01 +0800)]
Use WookieeAPI for aster backend.

7 years agoAdd WookieeRuuner python wrapper.
AZ Huang [Fri, 29 Jul 2011 07:47:27 +0000 (15:47 +0800)]
Add WookieeRuuner python wrapper.

7 years agoRemove tags file
AZ Huang [Fri, 29 Jul 2011 03:45:04 +0000 (11:45 +0800)]
Remove tags file

7 years agoUpdate execute script
Julian_Chu [Thu, 28 Jul 2011 09:45:52 +0000 (17:45 +0800)]
Update execute script

Therefore you can execute the script in another path

7 years agoUse local.properties to specify personal configuration
Julian_Chu [Thu, 28 Jul 2011 09:07:54 +0000 (17:07 +0800)]
Use local.properties to specify personal configuration

Everyone has his own configuration. To store personal
configuration into local.properties.

For example, if you put AOSP under /home/foo/aosp

$ echo 'framework.dir=/home/foo/aosp/out/host/linux-x86/framework' \
        > local.properties