aboutsummaryrefslogtreecommitdiffstats
path: root/apps/SdkController/SdkControllerLib/src/com/android/tools
Commit message (Collapse)AuthorAgeFilesLines
* SdkController: merge lib, remove old Lib/Sensor/MT appsRaphael2012-03-252-1042/+0
| | | | | | | | | | | | - SdkController/SdkControllerLib: move files in Apps' .../lib - SdkController/SdkControllerSensor + MultiTouch: remove. - SdkController/SdkControllerApp: move to upper folder, we don't need the subfolders anymore. Besides the removal/move of the file, there's no code change in the app itself. Change-Id: Ib35428d7b10fd6eb849c7ec343fe5a23bf60ed97
* SdkController: fix startup UIRaphael2012-03-161-8/+31
| | | | | | | | | | | | | | | | | SdkController Lib: - separate new EmulatorConnection() from the actual connection. This makes it easier to construct the object first and then start the connection from a thread. Otherwise the onEmulatorBindResult() callback might be called before the main thread gets the EmulatorConnection reference. SdkController App: - Main activity: Display some usage help on the screen. - Sensor handler: Fix the blocking queue used to send the sensor events to the emulator. Also display a status and report any connection errors. Change-Id: Iea0f9e79256ebd5ecfef573d33efce306a0a5722
* SdkController: javadoc for new interfaces/classes.Raphael2012-03-161-2/+4
| | | | | | This should explain what's going on. Change-Id: I328abd139c297dad41dd8cbbdaca8e6c977e30c4
* SdkController: async bind result.Raphael2012-03-162-33/+40
| | | | | | | | | | | | | | | | | | | | | | In SdkControllerLib: - Add an "onEmulatorBindResult" callback to the emulator listener that indicates the result of the bind operation. This makes it easier to create the EmulatorConnection from within a thread and capture the success/error when it happens. In the apps: - Changed to use the new onEmulatorBindResult. - Changed the app names to make them easier to indentify in the home launcher. - Added the missing onPause in the legacy sensors app to close the emulator connection (otherwise trying to restart it fails because the port is still bound by the paused instance) - In fact really the legacy activities should be in singleInstance mode. Change-Id: Ie194a75f9babebe74c899ea9327b3e4dcfe39f41
* SdkController service: sensor handler.Raphael2012-03-161-4/+12
| | | | | | | | | | | | This implement sensor control using the service. The service has a number of "handlers" (e.g. multitouch or sensors). The sensor handler is automatically started by the service. The multitouch handler OTOH will just be waiting till the controlling activity connects to it. Change-Id: Ic5f92063916efba2c4f503d2607b58bbbe4e0ccf
* SdkController: Refactor Emulator + Listener namesRaphael2012-03-142-35/+35
| | | | | | | | Simple rename refactoring in the lib: - Emulator => EmulatorConnection - OnEmulatorListener => EmulatorListener Change-Id: I0827b564dd7edec065c634d0860014cb0e15af35
* Properly disconnect the sdk controller when needed.Xavier Ducrohet2012-03-061-1/+14
| | | | | | | | This is a temporary fix before we move to a full service. Also package the MT controller app in the SDK. Change-Id: Ib8a11f3b69d5545c9f428cbf65b27d903699e7b8
* Implements multitouch app supporting framebuffer transferVladimir Chtchetkine2012-03-012-77/+91
| | | | Change-Id: I26061ec191e00bc9da4852080d9e2fd7c7a6fac0
* Support $BLOB query that transfers an arbitrary array of dataVladimir Chtchetkine2012-01-262-6/+83
| | | | Change-Id: I452287af81c86d6c64e25c6efba368ef826282ed
* Move sdkController app to new folder.Xavier Ducrohet2011-11-282-0/+898
(cherry picked from commit 892b2297a310ebdac4fe39281664ba10963b101e) Change-Id: Icca1826ce777432f635b2c2855f5638cd9bac5cf