aboutsummaryrefslogtreecommitdiffstats
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* Update to new notice support.Xavier Ducrohet2014-05-201-0/+190
| | | | | | | Update the build.gradle file to specify notice files, add missing notice files. Change-Id: Ib5e56bb1c53de3584f3942643bbdf736a872dc06
* Fix project files for DeviceConfigTor Norbye2013-03-222-10/+8
| | | | | | | Also round screen dimensions for Nexus devices to nearest tenth so for the N10 we show 10.1, not 10.0055 Change-Id: I5ef7377e24713dc6e323f5152f8f515b1c12237b
* Fix device writer to write out XML decimals properlyTor Norbye2012-11-261-1/+3
| | | | Change-Id: I483f1e3dd02a1ac61a06707bcf33ca1c9bb6f034
* Cleanup: dos2unix some files in SdkController.Raphael Moll2012-08-0716-2810/+2810
| | | | Change-Id: I7d53dd01cc9fc25794ed10bf053f093a4dda9af3
* Notification Studio initial commit.John Spurlock2012-07-2745-0/+2341
| | | | | | | | | | | | Demo app for designing/previewing Android notifications on the device itself. Simple UI for tweaking the various options available when constructing notifications, including the new expanded builder styles introduced in api 16. Notification designs can be shared as mockups (images) or code. Uses latest support lib for compatibility back to api 10. Change-Id: I3b6c539b36786ea5335f95a9ded4fb50ea5d0a00
* Updated DeviceConfig to generate button informationMichael Wright2012-07-231-2/+18
| | | | | | | | Change-Id: I7c7536ad871135dd39672dc4164a4f5970028f38 Conflicts: apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java
* Updated DeviceConfig to write out more OpenGL informationMichael Wright2012-07-112-26/+99
| | | | Change-Id: I045a2d8c9fabc1a3c0f818e9858cc3e10c8a883a
* Fixed DeviceConfig to match change made to device schemaMichael Wright2012-06-191-2/+2
| | | | Change-Id: I5f7612ec4cdf45b2b93da759ab6ae218af0cd0aa
* SDK: Upload SDK controller API binary.Raphael Moll2012-06-181-0/+0
| | | | Change-Id: Idad13f9caaf88a919ab91318f775e04ea9f1a4b6
* Fix instructions from SDK Controller appRaphael Moll2012-06-181-2/+4
| | | | | | SDK Bug: 6675523 Change-Id: I2d2ec065c1fd31ed682f11be7c80f0dac6816a24
* Added DeviceConfig applicationMichael Wright2012-06-0560-0/+1549
| | | | Change-Id: Ibed1430fca56506bcc07dfc07c9494fdbf304e06
* Send ACK messages to emulator on FB update events.Vladimir Chtchetkine2012-05-153-0/+6
| | | | | | | This is device-side improvement to FB update protocol. This change allows the emulator not to send new FB update until device has fully processed the previous one. Change-Id: Ib1aa66359e3c8b52e3ed00b037ced4adf59534dc
* Fix help screenVladimir Chtchetkine2012-05-071-1/+1
| | | | | | The current help contains an obsolete adp port forwarding message. Updated. Change-Id: I13e0fe383cd9f19ce3ef2389e7da3826da01b68f
* Implements new communication protocol with the emulator.Vladimir Chtchetkine2012-04-3014-1870/+2071
| | | | | | | | | | | | | The major differences with the old protocol are: 1. All of the emulation handlers are bound to a sinlge UNIX-domain port android.sdk.controller. Note though that although there is one port to bind, each hander communicates with the emulator over its own socket connection. 2. As the result of 1) communication with the emulator is fairly simplified, and doesn't require complex binding, and state monitoring. 3. Messages and queries are no longer string based, but are packed to some binary formats. Change-Id: Icb7a535c3d10a887541ba7a8b3ec1439e0e238ce
* SdkController: enforce java 1.6 compliance.Raphael Moll2012-04-101-0/+12
| | | | | | | This is to prevent it from defaulting to 1.5 and then @override cause lots of warnings. Change-Id: Iec8a1b459e9d50523b5ef82433bfab23366338f7
* SdkController: merge lib, remove old Lib/Sensor/MT appsRaphael2012-03-2559-1745/+85
| | | | | | | | | | | | - 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
* Sdk Controller: improve sensor speed & more.Raphael2012-03-248-58/+256
| | | | | | | | | | | | | | | | | | - Landscape layout for sensor activity. - Fixes some comments from change Ia4ae2e71. - Limit update rate to 50 Hz, default to 20. - Fixed typo in temperature sensor name which prevented it from being recognized. - Replaced the String.format for sending emulator string data by StringBuilder.append(float). On an ADP2 device this reduces the time from an average 9-15 ms to 1-2 ms. Change-Id: Iad5fe3fada23dbdf4bc7cc162fb2daeaf8a113f5
* SdkController: fullscreen for multi-touch activity.Raphael2012-03-245-2/+99
| | | | Change-Id: I2ce4006cfc30d2de956d246f1d5059d4032fc32c
* SdkController: limit sensor update rate.Raphael2012-03-246-79/+219
| | | | | | | | | This adds a sample rate field in the sensor activity. The sensor handler uses that to limit the updates sent to the emulator -- simply discard updates that come in too fast. Change-Id: Ia4ae2e71eda4ed844ddc9b8b0657df2306e03674
* SdkController: Implementation notesRaphael2012-03-231-0/+85
| | | | Change-Id: I058abb0660d52ae852b8bd4ee47241f1823035aa
* SdkController: Optimize sensor display.Raphael2012-03-214-35/+130
| | | | | | | | | | | | | | | | | | | One issue in SdkController now is that for every single sensor update we compute 2 string.formats, which take about forever (around 2-4 ms each on a GN.) One is used for the UI display so we don't need to do it when updating the sensor, instead we can keep track of the sensor values and defer the UI string format at display time. This also adds code to measure timings in the sensor update loop. It's disabled by default. In a next CL I will replace the string.format(%g) by something else. Using Float.toString and a StringBuilder should be a tad more efficient since we don't need Locale-dependant formatting (and arguably should NOT have any in fact). Change-Id: If9e01e88c76bcd9e433df0f40c7ab28d697655e7
* SdkController: MultiTouch handler+activity.Raphael2012-03-1915-264/+1077
| | | | | | | | | Also refactor some common code from the SensorActivity into the BaseBindingActivity. Also rework the handler-to-UI update mechanism. Change-Id: I0a38b16ae2b2b4adb802298793cefa51b1a73104
* SdkController: fix startup UIRaphael2012-03-1611-124/+279
| | | | | | | | | | | | | | | | | 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-1611-13/+164
| | | | | | This should explain what's going on. Change-Id: I328abd139c297dad41dd8cbbdaca8e6c977e30c4
* SdkController: async bind result.Raphael2012-03-1614-90/+129
| | | | | | | | | | | | | | | | | | | | | | 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-1616-159/+1407
| | | | | | | | | | | | 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
* Skeleton for a SdkController app with a sevice.Raphael2012-03-1425-12/+906
| | | | | | | | | | | | | | | | | | This is just a basic app that has a background service and an activity to start/stop the service. The service has a binder interface (so that the activities can control the service) and a listener (so that the service can report to activities.) The service automatically starts with the app and there's a toggle for the user to turn it off/on. The activity also reports errors from the service, if any. There's a notification when the service is running. which brings back to the control activity. Change-Id: I67d37e3d905eb328f4d1f7d13fb118f4c7077b74
* SdkController: Refactor Emulator + Listener namesRaphael2012-03-144-56/+60
| | | | | | | | Simple rename refactoring in the lib: - Emulator => EmulatorConnection - OnEmulatorListener => EmulatorListener Change-Id: I0827b564dd7edec065c634d0860014cb0e15af35
* Properly disconnect the sdk controller when needed.Xavier Ducrohet2012-03-062-3/+33
| | | | | | | | 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-018-130/+498
| | | | Change-Id: I26061ec191e00bc9da4852080d9e2fd7c7a6fac0
* SDK: verbose log for CommonXmlEditor.Raphael2012-02-061-0/+3
| | | | | | | | | | This just adds a simple printf of the resFolder + type when the CommonXmlEditor can't find a matching delegate. Also a 1-character typo fix in a lint message and ignore bin/gen folders for the sdk controller app. Change-Id: If43877e6c4d4158c475507671993fe29716a7c5e
* Support $BLOB query that transfers an arbitrary array of dataVladimir Chtchetkine2012-01-263-15/+102
| | | | Change-Id: I452287af81c86d6c64e25c6efba368ef826282ed
* Implements an app that captures touch events and transfers them to emulator.Vladimir Chtchetkine2011-12-129-0/+354
| | | | | | This application is intended to provide realistic multi-touch emulation. Change-Id: I7bc477d99eea811a349ecc640f32cb4167d3ce18
* Move sdkController app to new folder.Xavier Ducrohet2011-11-2815-0/+1679
(cherry picked from commit 892b2297a310ebdac4fe39281664ba10963b101e) Change-Id: Icca1826ce777432f635b2c2855f5638cd9bac5cf