| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Update the build.gradle file to specify notice
files, add missing notice files.
Change-Id: Ib5e56bb1c53de3584f3942643bbdf736a872dc06
|
|
|
|
|
|
|
| |
Also round screen dimensions for Nexus devices to nearest
tenth so for the N10 we show 10.1, not 10.0055
Change-Id: I5ef7377e24713dc6e323f5152f8f515b1c12237b
|
|
|
|
| |
Change-Id: I483f1e3dd02a1ac61a06707bcf33ca1c9bb6f034
|
|
|
|
| |
Change-Id: I7d53dd01cc9fc25794ed10bf053f093a4dda9af3
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Change-Id: I7c7536ad871135dd39672dc4164a4f5970028f38
Conflicts:
apps/DeviceConfig/src/com/example/android/deviceconfig/ConfigGenerator.java
|
|
|
|
| |
Change-Id: I045a2d8c9fabc1a3c0f818e9858cc3e10c8a883a
|
|
|
|
| |
Change-Id: I5f7612ec4cdf45b2b93da759ab6ae218af0cd0aa
|
|
|
|
| |
Change-Id: Idad13f9caaf88a919ab91318f775e04ea9f1a4b6
|
|
|
|
|
|
| |
SDK Bug: 6675523
Change-Id: I2d2ec065c1fd31ed682f11be7c80f0dac6816a24
|
|
|
|
| |
Change-Id: Ibed1430fca56506bcc07dfc07c9494fdbf304e06
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The current help contains an obsolete adp port forwarding message. Updated.
Change-Id: I13e0fe383cd9f19ce3ef2389e7da3826da01b68f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This is to prevent it from defaulting to 1.5
and then @override cause lots of warnings.
Change-Id: Iec8a1b459e9d50523b5ef82433bfab23366338f7
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I2ce4006cfc30d2de956d246f1d5059d4032fc32c
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I058abb0660d52ae852b8bd4ee47241f1823035aa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Also refactor some common code from the SensorActivity
into the BaseBindingActivity.
Also rework the handler-to-UI update mechanism.
Change-Id: I0a38b16ae2b2b4adb802298793cefa51b1a73104
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
This should explain what's going on.
Change-Id: I328abd139c297dad41dd8cbbdaca8e6c977e30c4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Simple rename refactoring in the lib:
- Emulator => EmulatorConnection
- OnEmulatorListener => EmulatorListener
Change-Id: I0827b564dd7edec065c634d0860014cb0e15af35
|
|
|
|
|
|
|
|
| |
This is a temporary fix before we move to a full service.
Also package the MT controller app in the SDK.
Change-Id: Ib8a11f3b69d5545c9f428cbf65b27d903699e7b8
|
|
|
|
| |
Change-Id: I26061ec191e00bc9da4852080d9e2fd7c7a6fac0
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I452287af81c86d6c64e25c6efba368ef826282ed
|
|
|
|
|
|
| |
This application is intended to provide realistic multi-touch emulation.
Change-Id: I7bc477d99eea811a349ecc640f32cb4167d3ce18
|
|
(cherry picked from commit 892b2297a310ebdac4fe39281664ba10963b101e)
Change-Id: Icca1826ce777432f635b2c2855f5638cd9bac5cf
|