summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Merge "The com.android.athome api classes are moving android.support.place."Mike Lockwood2012-02-172-10/+10
|\
| * The com.android.athome api classes are moving android.support.place.Joe Onorato2012-02-162-10/+10
| | | | | | | | Change-Id: Ibb9b8cfc8e7d0676df43359f5abaaed5e9e1112d
* | Encapsulate the ViewRootImpl's handler.Jeff Brown2012-02-151-1/+1
|/ | | | | | | | | | | | | | | This change makes it much easier to make sense of the messages that get posted to the ViewRootImpl's handler by encapsulating their point of dispatch within the ViewRootImpl itself. As part of this change, the View.AttachInfo now carries a reference to the ViewRootImpl itself, which simplifies some code that used to try to find the ViewRootImpl by getting the root view's parent. In principle, it might have been nice to hide the ViewRootImpl from the View hierarchy but in practice the two were coupled in many ways. Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
* Modified the constructor of EndpointBaseManuel Roman2012-02-101-1/+5
| | | | | | | | We introduced changes to the Endpoint lifecycle. Modified the AIDL compiler to take into account the changes. Just affected the constructor, which needs now an extra parameter: placeInfo
* Add a getEndpointInfo accessor to AIDL-generated RPC proxy classesJason Simmons2012-02-101-0/+15
|
* Use the new get/putFlattenable methods on RpcData.Joe Onorato2012-02-101-36/+5
| | | | | They handle null correctly.
* Don't try to unmarshal void return types when there are out parameters being ↵Joe Onorato2012-02-101-5/+7
| | | | returned.
* For events, require that the parameters be marked in.Joe Onorato2012-02-101-0/+9
| | | | | (because they won't work otherwise)
* Support putting Flattenables in Lists.Joe Onorato2012-02-102-5/+34
|
* Was generating code that uses the wrong RpcData.Joe Onorato2012-02-101-3/+3
|
* Update aidl for new Broker API.Joe Onorato2012-02-101-43/+42
|
* aidl: All flattenable types now must also be parcelable.Joe Onorato2012-02-106-140/+99
| | | | This is more a limitation of the grammar than anything else triggering laziness on my part.
* Update aidl to new APIs.Joe Onorato2012-02-101-41/+40
|
* Suport RpcData as a parcelable type.Joe Onorato2012-02-102-18/+28
|
* Modified AIDL to support authenticationManuel Roman2012-02-102-8/+28
| | | | | | | We need to pass an RpcContext with information such as the caller's certificate. I also modified the compiler so it does not use Container anymore and uses Context
* Fix PresenterClass by adding a _listener fieldTim Kilbourn2012-02-101-1/+1
|
* add presenters to aidl.Joe Onorato2012-02-104-231/+491
|
* Generate fallthrough for unhandled actions in RPC methods.Joe Onorato2012-02-101-3/+10
|
* Support custom flattenable types for RPC.Joe Onorato2012-02-108-54/+203
|
* Add RpcData as a built-in marshallable type.Joe Onorato2012-02-102-2/+35
|
* Add the full suite of RpcData types.Joe Onorato2012-02-105-55/+204
|
* Checkpoint adding @home RPC support to aidlJoe Onorato2012-02-1013-585/+1486
|
* Add an api to switch to the next IME and subtypesatok2012-02-101-0/+6
| | | | | | Bug: 5975302 Change-Id: I48aa4220159c65f456d61a324efcdf0a1ceec91c
* Only generate private symbols that are needed.Dianne Hackborn2012-02-075-10/+176
| | | | Change-Id: Icc4c86638db8429a387bf87c934cc712f807e213
* Fix a setBackgroundDrawable in layoutlib.Xavier Ducrohet2012-02-061-1/+1
| | | | Change-Id: Id5f3ec8cc6863fa5929743ef4014c331633efce9
* Setup ActionBars in layoutlib the same way the platform does it.Xavier Ducrohet2012-02-064-21/+57
| | | | | | | | | | | Instead of using a simple ImageView for the icon, this uses the platform layout/action_bar_home which uses a custom class to position and resize the icon (and also supports the Up icon that we don't yet support). This ensures that the icon is properly positionned and sized like on devices. Change-Id: I57432afa82d257bb043247001320b368045d7f55
* Merge "Make aapt ignore tools-related data."Xavier Ducrohet2012-02-061-31/+46
|\
| * Make aapt ignore tools-related data.Xavier Ducrohet2012-02-021-31/+46
| | | | | | | | | | | | | | | | | | | | | | This patchset introduces a new standard namespace http://schemas.android.com/tools which will be used for tools specific XML attributes. Any attributes using this namespace will not be compiled into the binary XML file. The namespace node is also not written at all, and its string is not collected to ensure that there is no impact on the devices. Change-Id: I3e75d44cda54e1fa7b5cdc56b3eb27db80fe7761
* | Merge "Rename CancellationSignal using preferred spelling."Jeff Brown2012-02-021-3/+3
|\ \
| * | Rename CancellationSignal using preferred spelling.Jeff Brown2012-02-021-3/+3
| |/ | | | | | | | | Bug: 5943637 Change-Id: I12a339f285f4db58e79acb5fd8ec2fc1acda5265
* | Make Layoutlib compile on Java 6.Xavier Ducrohet2012-02-0226-56/+526
|/ | | | Change-Id: Ic8f0e321c6c218de83664fc01f253a07fa80852c
* aapt now sorts the strings in the resource string pool.Dianne Hackborn2012-01-318-83/+423
| | | | | | | | | | | In our current environment with very many translations, this can save a lot of RAM -- for example over 200K in Gmail just by sorting the strings in the Gmail .apk (not the framework). Also add a new aapt command to print the contents of the resource table string pool. Change-Id: I1da037b3e2c377b890833ff57ab158965314ac48
* Merge "Implement a cancelation mechanism for queries."Jeff Brown2012-01-271-2/+8
|\
| * Implement a cancelation mechanism for queries.Jeff Brown2012-01-271-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Added new API to enable cancelation of SQLite and content provider queries by means of a CancelationSignal object. The application creates a CancelationSignal object and passes it as an argument to the query. The cancelation signal can then be used to cancel the query while it is executing. If the cancelation signal is raised before the query is executed, then it is immediately terminated. Change-Id: If2c76e9a7e56ea5e98768b6d4f225f0a1ca61c61
* | Add xxhdpi; fix ActivityManager.getLauncherLargeIconSize() etc.Dianne Hackborn2012-01-251-3/+8
|/ | | | Change-Id: I519d6cdc527a402d93b98df17a64fc1da52ad598
* am ab9601cd: am 230a7092: Merge "Fix 5863053: Add method to lock screen ↵Jim Miller2012-01-201-0/+4
|\ | | | | | | | | | | | | immediately." into ics-mr1 * commit 'ab9601cdbb95ae94088750eff9a926a572c1a4d6': Fix 5863053: Add method to lock screen immediately.
| * Fix 5863053: Add method to lock screen immediately.Jim Miller2012-01-171-0/+4
| | | | | | | | | | | | | | | | | | | | This fixes a bug where the device fails to lock when DevicePolicyManagerService requests the device to be locked and the screen was off because the user hit the power button. The change allows DPMS to directly invoke screen lock, bypasssing the screen state. Change-Id: Iecdda6fc61e9c519119de495be23c69c3b983921
| * Merge "AAPT fix printf %zd crash on Windows". Do not merge.Raphael2011-12-112-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | There's no printf %zd on Mingw/Cygwin so the verbose printf crashes aapt. SDK bugs: 20395, 20986 Bug: 5742142 (cherry picked from commit f51125d8429ffa71c57ba6fbdca9effc72642a9b) Change-Id: I7545734ce8ce4a1f3e95f8a255daa8a909f870a1
* | Merge "Remove unused code"Romain Guy2012-01-191-11/+0
|\ \
| * | Remove unused codeRomain Guy2012-01-191-11/+0
| | | | | | | | | | | | Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
* | | Fix broken drawCircle LayoutLib.Xavier Ducrohet2012-01-181-1/+1
| | | | | | | | | | | | Change-Id: I5e23bbe0119e385fa2f77854a8f88128351d3759
* | | Improve heuristics for orientation detection.Jeff Brown2012-01-171-47/+69
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Except as otherwise indicated, orientation change happens once the predicted rotation has been stable for 40ms. Noise is suppressed by a low-pass filter with a 200ms time constant which seems to be about as small as is practical given the quality of the sensor data. 2. If the magnitude exceeds a threshold (excessive noise or freefall), resets the predicted orientation. Doesn't happen very often even when shaking the device. This heuristic mainly protects the detector from spurious tilt due to inaccurate determination of the gravity vector. 3. If the device was previously in a flat posture (on a table for at least 1000ms), then it must move out of that posture for at least 500ms before the next orientation change will happen. This heuristic suppresses most spurious rotations that happen while picking up the device. 4. If the device is tilted away from the user by 20 degrees within a span of 300ms, the device is said to be swinging and at least 300ms must elapse after the device stops swinging before the next orientation change will happen. This heuristic suppresses some but not all spurious rotations that happen while putting down a device. Unfortunately, this heuristic sometimes triggers a false positive when turning the device very rapidly due to accelerometer noise. The 300ms pause is a compromise so that occasional mispredicted swings don't significantly delay the rotation. Bug: 5796249 Change-Id: Id7b36c4c563e35b70d6a7ac36d04f3c3d6ea5811
* | Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-2/+2
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* | Merge "Minor tweak to console output."Dan Morrill2012-01-061-0/+169
|\ \
| * | Minor tweak to console output.Dan Morrill2012-01-061-0/+169
| | | | | | | | | | | | Change-Id: I494910eda1d02f6bcff945b9a13c83767f2248b6
* | | Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-062-3/+3
|/ / | | | | | | | | | | | | See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* | Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGESteve Block2012-01-032-57/+57
| | | | | | | | | | | | | | See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
* | Add a new ui mode for "appliance"Joe Onorato2011-12-151-0/+5
| | | | | | | | | | | | | | | | The idea is that this is a device which is more-or-less headless. It might have some limited interaction capabilities, but it's not something that you want to rely on having. Change-Id: Ib92f53a120bf83de781728011721a4859def7d9f
* | Add aapt support for implicitly-granted permissionsKenny Root2011-12-081-0/+19
| | | | | | | | | | | | Bug: 2363582 Bug: 2877343 Change-Id: Iff7b496fb845e45fe1be2317089a96f7d63ed223