summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 18490fb9 to masterKenny Root2011-04-123-1/+12
|\ | | | | | | Change-Id: I6c68e6fb0f9c1182a955689bbffc161a8f30bd37
| * resolved conflicts for merge of 87b3c0dc to honeycomb-plus-aospKenny Root2011-04-123-1/+12
| |\ | | | | | | | | | Change-Id: Ia1a0024aabf531438203eb9fea3a10dd15eabe53
| | * am 08d9d9a4: Merge "Runtime resource overlay, iteration 1."Kenny Root2011-04-113-1/+12
| | |\ | | | | | | | | | | | | | | | | * commit '08d9d9a46250c4fad66e9b637e8898a3524c4286': Runtime resource overlay, iteration 1.
| | | * Runtime resource overlay, iteration 1.Mårten Kongstad2011-04-013-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime resource overlay allows unmodified applications to appear as if they had been compiled with additional resources defined. See libs/utils/README for more information. This commit is the first iteration of runtime resource overlay. It provides the actual overlay modifications and loading of trusted overlay packages (ie residing in /vendor) targeting framework-res.apk. This commit loads exactly one overlay package. The overlay, if present, must target framework-res.apk and be located at /vendor/overlay/framework/framework-res.apk. Change-Id: If26ee7754813004a96c043dba37fbe99fa3919db
| | * | am 59aad78e: LayoutLib: don\'t render when shader\'s local matrix is set to ↵Xavier Ducrohet2011-04-062-18/+35
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0 scale. * commit '59aad78eae14939c169876b2f632d005f382cf7d': LayoutLib: don't render when shader's local matrix is set to 0 scale.
| | | * | LayoutLib: don't render when shader's local matrix is set to 0 scale.Xavier Ducrohet2011-04-062-18/+35
| | | | | | | | | | | | | | | | | | | | Change-Id: I7726d87f3dd0475ac662f535a08c6435b8b9ed1f
| | * | | am 8a18dba4: Merge c5aeac7f from honeycomb.Xavier Ducrohet2011-04-061-23/+75
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '8a18dba48c354fc47056b07ddec8a32fda266b6a': Merge c5aeac7f from honeycomb.
| | | * | Merge c5aeac7f from honeycomb.Xavier Ducrohet2011-04-061-23/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LayoutLib: Fix issue with rendering mode. When the layout content is embedded inside a decor layout to emulate system bar (top or bottom) and title bar (or action bar) then the code computing the full required size based on the RenderingMode would fail because the decor layout would prevents the content layout to take as much room as possible. There is also an issue with the way we know render dialogs as the dialogs usually as a frame with some padding and the previous measurements would not take into account the dialog padding when increasing the screen size. This fix makes the code measure the size of the content layout in the normal rendering, and then separately from the root layout with the proper MeasureSpec to let the content grown. The difference in size is then added to the screen size. Bug: http://code.google.com/p/android/issues/detail?id=15892 Change-Id: Ie9a6c5e254b16785f817dcb9fae755d4936880aa
| | * | | am c7c8c599: Merge 67450db0 from honeycomb. Do not merge.Xavier Ducrohet2011-03-171-11/+4
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'c7c8c599a636a105db0d2eac3b8b332532a7a40f': Merge 67450db0 from honeycomb. Do not merge.
| | | * | Merge 67450db0 from honeycomb. Do not merge.Xavier Ducrohet2011-03-171-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0ca140dd6d9279ff313f930739ad40fbbed4f335 LayoutLib: TypedArray.getDimensionPixelSize can actually return <0
| | * | | am 0a98226e: Merge 9d76581f from honeycomb. do not merge.Xavier Ducrohet2011-03-152-30/+52
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '0a98226e3c8cda46786558147a0eb6a56c3370c0': Merge 9d76581f from honeycomb. do not merge.
| | | * | Merge 9d76581f from honeycomb. do not merge.Xavier Ducrohet2011-03-152-30/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LayoutLib: Fix Arc rendering. Looks like Java2D and Skia go in different directions for angles. Change-Id: I4d72db56455afe25b4f51f23a9b29d6c438119ba
| | * | | am b243aabd: Merge adaa12cd from honeycomb. do not merge.Xavier Ducrohet2011-03-153-12/+23
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'b243aabdaf1ba6fdfc0579c9f949e00d562456ed': Merge adaa12cd from honeycomb. do not merge.
| | | * | Merge adaa12cd from honeycomb. do not merge.Xavier Ducrohet2011-03-153-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LayoutLib: fix Capabilities and getDimensionPixelSize Commented out a Capability that is not in ADT 10. BridgeTypedArray.getDimensionPixelSize shouldn't call getDimension since most of the code is duplicated, and it prevents use from properly detecting malformed attribute values. Change-Id: I008334af605a89f240247a13c0024009247ec5af
| | * | | am 48a2a5ad: Merge "Merge 6f2fb570 from honeycomb. do not merge." into ↵Xavier Ducrohet2011-03-152-14/+10
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread * commit '48a2a5ad1b7c4979b1d7baf6add4bc32148a75ae': Merge 6f2fb570 from honeycomb. do not merge.
| | | * | Merge 6f2fb570 from honeycomb. do not merge.Xavier Ducrohet2011-03-142-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LayoutLib: Fix dimension parsing to handle negative value. Also make TypedArray.getDimensionPixelSize properly handle negative values (which are not allowed). Change-Id: I03ffcef5ab7ec7ef95419566776dcc798845fd88
| | * | | am 14e1f523: Merge "Merge c12b4093 from honeycomb. do not merge." into ↵Xavier Ducrohet2011-03-151-25/+80
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread * commit '14e1f523c673315cbc3167448ce9252b455d252c': Merge c12b4093 from honeycomb. do not merge.
| | | * | Merge c12b4093 from honeycomb. do not merge.Xavier Ducrohet2011-03-141-25/+80
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icfbb70c097d87bf92415c6f0534346adde4c02fe LayoutLib: Implement some missing add###() method in Path.
| | * | | am edbd6139: Merge "Merge 1911a6f7 into gingerbread. do not merge." into ↵Xavier Ducrohet2011-02-2812-66/+67
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread * commit 'edbd6139b9d699879db2f14fb03b7b6a38bab9ea': Merge 1911a6f7 into gingerbread. do not merge.
| | | * | Merge 1911a6f7 into gingerbread. do not merge.Xavier Ducrohet2011-02-2512-66/+67
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6d56644c4ab1a70eb4a6d0d2e5d84ea4aa674041 LayoutLib: move tests to their own project.
| * | | | Merge 59aad78e from master. do not merge.Xavier Ducrohet2011-04-072-19/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LayoutLib: don't render when shader's local matrix is set to 0 scale. Change-Id: I02c0ddd856026357f468dcc8b81e0520470118de
* | | | | am d7765e35: am 73dc2602: am c5aeac7f: LayoutLib: Fix issue with rendering mode.Xavier Ducrohet2011-04-061-23/+75
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd7765e353cdc6f0bb4156841a8436ea28eb20eea': LayoutLib: Fix issue with rendering mode.
| * | | | LayoutLib: Fix issue with rendering mode.Xavier Ducrohet2011-04-051-23/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the layout content is embedded inside a decor layout to emulate system bar (top or bottom) and title bar (or action bar) then the code computing the full required size based on the RenderingMode would fail because the decor layout would prevents the content layout to take as much room as possible. There is also an issue with the way we know render dialogs as the dialogs usually as a frame with some padding and the previous measurements would not take into account the dialog padding when increasing the screen size. This fix makes the code measure the size of the content layout in the normal rendering, and then separately from the root layout with the proper MeasureSpec to let the content grown. The difference in size is then added to the screen size. Bug: http://code.google.com/p/android/issues/detail?id=15892 Change-Id: Ibb9ca2a67c6c450d10d9f9a8050536e094650f8b
* | | | | Add new resource configurations for screen width/height in "dp".Dianne Hackborn2011-04-063-12/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now specify resource configuration variants "wNNNdp" and "hNNNdp". These are the minimum screen width/height in "dp" units. This allows you to do things like have your app adjust its layout based only on the about of horizontal space available. This introduces a new configuration change flag for screen size. Note that this configuration change happens each time the orientation changes. Applications often say they handle the orientation change to avoid being restarted at a screen rotation, and this will now cause them to be restarted. To address this, we assume the app can handle this new config change if its target SDK version is < ICS. Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
* | | | | am 47b42991: am a0215953: am 026d6be2: Merge "LayoutLib: ↵Xavier Ducrohet2011-03-171-11/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | TypedArray.getDimensionPixelSize can actually return <0" into honeycomb-mr1 * commit '47b42991203b7f8e337b1612d601ed120596ef71': LayoutLib: TypedArray.getDimensionPixelSize can actually return <0
| * | | | LayoutLib: TypedArray.getDimensionPixelSize can actually return <0Xavier Ducrohet2011-03-171-11/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I17853dc242e28f0c59916cad1b2a57beed480a57
* | | | | Merge "Improve VelocityTracker numerical stability."Jeff Brown2011-03-151-0/+289
|\ \ \ \ \
| * | | | | Improve VelocityTracker numerical stability.Jeff Brown2011-03-151-0/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced VelocityTracker with a faster and more accurate native implementation. This avoids the duplicate maintenance overhead of having two implementations. The new algorithm requires that the sample duration be at least 10ms in order to contribute to the velocity calculation. This ensures that the velocity is not severely overestimated when samples arrive in bursts. The new algorithm computes the exponentially weighted moving average using weights based on the relative duration of successive sample periods. The new algorithm is also more careful about how it handles individual pointers going down or up and their effects on the collected movement traces. The intent is to preserve the last known velocity of pointers as they go up while also ensuring that other motion samples do not count twice in that case. Bug: 4086785 Change-Id: I2632321232c64d6b8faacdb929e33f60e64dcdd3
* | | | | | Merge "Add screen layout size as one of the resource filtering axes."Ying Wang2011-03-141-0/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add screen layout size as one of the resource filtering axes.Ying Wang2011-03-141-0/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that we can add screen layout size such as "small/normal/large/xlarge" to PRODUCT_LOCALES to filter unwanted resources. We already handle screen density this way. Bug: 4086309 Change-Id: I0867e22a825faea0e100d8a0075f0f5cb7c0c964
* | | | | LayoutLib: Fix Arc rendering.Xavier Ducrohet2011-03-142-30/+52
|/ / / / | | | | | | | | | | | | | | | | | | | | Looks like Java2D and Skia go in different directions for angles. Change-Id: Ia0c9c70cd66c9a0941fa9921fecf8e4e83538af3
* | | | LayoutLib: fix Capabilities and getDimensionPixelSizeXavier Ducrohet2011-03-083-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commented out a Capability that is not in ADT 10. BridgeTypedArray.getDimensionPixelSize shouldn't call getDimension since most of the code is duplicated, and it prevents use from properly detecting malformed attribute values. Change-Id: I005b17061590dc0668729af16e896fad815f1973
* | | | LayoutLib: Fix dimension parsing to handle negative value.Xavier Ducrohet2011-03-072-14/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make TypedArray.getDimensionPixelSize properly handle negative values (which are not allowed). Change-Id: I960fc1c9e8ad97852d4a14e4f0f71a2c2034b4e7
* | | | LayoutLib: Implement some missing add###() method in Path.Xavier Ducrohet2011-03-071-25/+80
| | | | | | | | | | | | | | | | Change-Id: Ib62b5df0361ba81846483b1e5f8d7cbdbcb57d40
* | | | Fix issue #3485923: Gmail crashDianne Hackborn2011-03-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow application to try to recover if a surface OOM error happens on the client side. Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
* | | | Add notice files for aapt and aidl.Xavier Ducrohet2011-02-282-0/+380
| | | | | | | | | | | | | | | | Change-Id: I51da138475618287760043059790aba87f4c3f35
* | | | am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add ↵Xavier Ducrohet2011-02-283-6/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --non-constant-id to aapt." * commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d': GpsLocationProvider: Clean up HAL initialization/cleanup sequence Fixed GSM encoded network initiated position request Ensuring thread-safe usage of DateFormat. Fixing infinite loop for zero duration. Fix for an infinite loop while scrolling lists. WAPPushManager, WAP Push over SMS message handler Add --non-constant-id to aapt.
| * \ \ \ am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."Xavier Ducrohet2011-02-283-6/+20
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ce57a7f35344e76689d30f45964d1e37b78280cb': GpsLocationProvider: Clean up HAL initialization/cleanup sequence Fixed GSM encoded network initiated position request Ensuring thread-safe usage of DateFormat. Fixing infinite loop for zero duration. Fix for an infinite loop while scrolling lists. WAPPushManager, WAP Push over SMS message handler Add --non-constant-id to aapt.
| | * | | am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."Xavier Ducrohet2011-02-283-6/+20
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6504490cde3ec5d48321d539e654d1f2072b33f9': GpsLocationProvider: Clean up HAL initialization/cleanup sequence Fixed GSM encoded network initiated position request Ensuring thread-safe usage of DateFormat. Fixing infinite loop for zero duration. Fix for an infinite loop while scrolling lists. WAPPushManager, WAP Push over SMS message handler Add --non-constant-id to aapt.
| | | * | am dff6b8e7: Merge "Add --non-constant-id to aapt."Xavier Ducrohet2011-02-283-6/+20
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505': GpsLocationProvider: Clean up HAL initialization/cleanup sequence Fixed GSM encoded network initiated position request Ensuring thread-safe usage of DateFormat. Fixing infinite loop for zero duration. Fix for an infinite loop while scrolling lists. WAPPushManager, WAP Push over SMS message handler Add --non-constant-id to aapt.
| | | | * | Add --non-constant-id to aapt.Xavier Ducrohet2011-02-143-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option enbables creating resource constant in the R class that are not actual constant, but simply static fields. The goal is to build library projects with these types of IDs so that the constant does not get inlined in the library code, since the ID for the library resources only are not the final values. The final resource IDs, generated from the main project and its library(ies), will have proper constant with the final values. This allows us to generate binary library bundle (a jar file and associated resources) that can be distributed. Additionally, this will let us make the library project support in Eclipse much more robust and a better user experience overall. Change-Id: Ibe2f08d68493fde658fc3f7606abf7446f312ad2
| | * | | | am 1175ef7e: Merge "LayoutLib: Adapt the HC layoutlib to GB. do not merge." ↵Xavier Ducrohet2011-02-2440-1422/+296
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread * commit '1175ef7e2e4f68532d8ade672d7f5502d9946ce4': LayoutLib: Adapt the HC layoutlib to GB. do not merge.
| | | * | | LayoutLib: Adapt the HC layoutlib to GB. do not merge.Xavier Ducrohet2011-02-2340-1422/+296
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0b2016987a65fabbc0ce7011514543349e9fb929
| * | | | | resolved conflicts for merge of 86e43034 to honeycomb-plus-aospXavier Ducrohet2011-02-2461-539/+1436
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | Change-Id: Ia9ad4c3b79821fef6ab8493f4c93ca58f877f9ce
| | * | | | resolved conflicts for merge of a4350fc0 to gingerbread-plus-aospXavier Ducrohet2011-02-24138-8365/+17266
| | |\ \ \ \ | | | |/ / / | | | | / / | | | |/ / | | |/| | Change-Id: I065af5d555fa2197847ad47c84003dcd11fe26c7
| | | * | LayoutLib: Original import of Honeycomb's layoutlib. do not merge.Xavier Ducrohet2011-02-23141-8401/+17623
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frameworks/base.git @ f0a53435f14d23d9555fc46014352ee6a7baa647 Change-Id: Ibc215751693dc7650683b61bb458f7c8beaf8060
* | | | | LayoutLib: fix incorrect indices in one of the 2 native_drawTextRun methods.Xavier Ducrohet2011-02-241-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b.android.com/15007 Change-Id: Iff06180def92c5fa25e82520b76192c089edd8cc
* | | | | LayoutLib: move tests to their own project.Xavier Ducrohet2011-02-2412-66/+67
| | | | | | | | | | | | | | | | | | | | Change-Id: I8a9e128e4a17ab57ec7b126a378035d9ce5bc168
* | | | | LayoutLib: Add debug mode.Xavier Ducrohet2011-02-2316-14/+62
| | | | | | | | | | | | | | | | | | | | Change-Id: If4263c7dba63a063f84e0c6988c270eb6d291ac3
* | | | | LayoutLib: downsize the SparseArray when possible.Xavier Ducrohet2011-02-231-3/+11
| | | | | | | | | | | | | | | | | | | | Change-Id: I570b93ab161414b7729f8d2dce8ddadb706f186b