John Reck
35352ebcaa
am be2c5e02: am 44de04b8: Merge "Don\'t run animators in buildLayer" into lmp-dev
...
* commit 'be2c5e02f48b279175c4d3277b67f57918173ccf':
Don't run animators in buildLayer
2014-08-21 20:40:59 +00:00
John Reck
7d37344915
Merge "Don't run animators in buildLayer" into lmp-dev
2014-08-21 20:26:18 +00:00
Chris Craik
a6dd5b1216
am b26e1a9d: am e5b5ad25: Merge "Fix layer shadow transform crash" into lmp-dev
...
* commit 'b26e1a9dfac88fe7ba2588adb9ff0797a1697b3a':
Fix layer shadow transform crash
2014-08-21 19:22:44 +00:00
Chris Craik
88180d269e
Merge "Fix layer shadow transform crash" into lmp-dev
2014-08-21 19:03:25 +00:00
John Reck
9eb9f6f8cb
Don't run animators in buildLayer
...
Bug: 17172689
Change-Id: Ib47d589c002543327fa336718440f9f8c95524e0
2014-08-21 11:23:05 -07:00
Adam Lesinski
ad2d935763
am c931d0d8: am fcb42104: Merge "AAPT: Fix regression generating dynamic ref table for shared libraries" into lmp-dev
...
* commit 'c931d0d8540f7648d5bb247fa1b03e492363debb':
AAPT: Fix regression generating dynamic ref table for shared libraries
2014-08-21 17:48:33 +00:00
Chris Craik
c71bfcaa18
Fix layer shadow transform crash
...
bug:17180252
Change-Id: Ia648b8c98a217a3a4973917bf255d1397802cbbe
2014-08-21 10:18:59 -07:00
John Reck
e4ed4f74d1
am 17ed6e74: am 876f1a1a: Merge "Implement full View.buildLayer" into lmp-dev
...
* commit '17ed6e74ce560916d4a06198d4f6446562d9db34':
Implement full View.buildLayer
2014-08-21 03:00:11 +00:00
Adam Lesinski
6022debdbc
AAPT: Fix regression generating dynamic ref table for shared libraries
...
AAPT stopped generating dynamic reference tables for shared libraries.
Change-Id: Ib0025811bdca1a4756eb21080dd6b6bb3fc1ca3d
2014-08-20 17:55:33 -07:00
Chris Craik
4760ad250d
am 5895f085: am 5bdd7e48: Merge "Early reject drawText calls that will not draw" into lmp-dev
...
* commit '5895f085af7ee10b013df5b4e9b8fe41723d546c':
Early reject drawText calls that will not draw
2014-08-19 23:43:55 +00:00
Chris Craik
2cfd9c90cf
am 21b3486a: am fb52669c: Merge "Respect round rect clip when determining op opaqueness" into lmp-dev
...
* commit '21b3486a5062cb398908a2e4ae2172c27d3efadf':
Respect round rect clip when determining op opaqueness
2014-08-19 17:10:57 +00:00
Chris Craik
2262abbd16
Respect round rect clip when determining op opaqueness
...
bug:17115570
Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab
2014-08-18 19:55:36 -07:00
Chris Craik
83f75c88a0
Merge "Early reject drawText calls that will not draw" into lmp-dev
2014-08-19 02:43:23 +00:00
Chris Craik
947eabf42d
Early reject drawText calls that will not draw
...
bug:17114102
Prevents high contrast text from drawing invisible text.
Also fixes stroked text bounds calculation.
Change-Id: Iaeff51ead8b7b8ef2a1a0ca8b89598564e0d443f
2014-08-19 14:14:38 -07:00
Derek Sollenberger
79c9f91689
Remove invalid premul step from HWUI's matrix color filter.
...
bug: 16186699
Change-Id: Ia0b828e76ce4831ee9e3b4f54c697e6017f1604d
2014-08-18 15:54:13 -04:00
Piotr Jastrzebski
fc1b26fc68
am 626e1c65: am 8a28e16c: Merge "Update ziparchive usage to the new API."
...
* commit '626e1c65ef408fd9eb7d3bbbbb90137e90c82a4e':
Update ziparchive usage to the new API.
2014-08-18 09:12:39 +00:00
John Reck
3e8249568c
Implement full View.buildLayer
...
Bug: 17152292
Change-Id: Ia3cc2aadf72fe14517f50762fc634794df51ad5a
2014-08-20 15:54:07 -07:00
Chris Craik
0092f069d8
am 66781f6c: am b84332d9: Merge "Fix glyph positions underflow issue" into lmp-dev
...
* commit '66781f6c31b11892b207e953e4c496c3fa022d6c':
Fix glyph positions underflow issue
2014-08-16 00:30:47 +00:00
Adam Lesinski
ab9b1f5b2a
am 5bcfb6b9: am 2fdf2db8: Merge "Fix assumption about DynamicRefTable in aapt" into lmp-dev
...
* commit '5bcfb6b98261c94a6ff33438e6b29ca71bb3c0eb':
Fix assumption about DynamicRefTable in aapt
2014-08-15 22:07:59 +00:00
Adam Lesinski
2cb761e3dd
Fix assumption about DynamicRefTable in aapt
...
Packages without any resources should not expect to have
a DynamicRefTable.
Bug:16895517
Bug:17056720
Change-Id: Id006f6bdbf08f30505f6ba5982bc9d1b09db0f0a
2014-08-15 14:01:43 -07:00
Chris Craik
40f67da884
Merge "Fix glyph positions underflow issue" into lmp-dev
2014-08-15 19:21:54 +00:00
Chris Craik
39c5e7cbdf
Fix glyph positions underflow issue
...
bug:16450675
Avoid using unsigned ints in math with negative numbers
Change-Id: Icdfb72451f03380dbf78b3703793869b2cd4e751
2014-08-15 15:46:37 -07:00
Adam Lesinski
f6530bca9b
am e9e52a2a: am 41cdc4c7: Merge "Revert "Fix aapt dump for APKs with no resources"" into lmp-dev
...
* commit 'e9e52a2ae2e80286447767b9a83b04d88c41c112':
Revert "Fix aapt dump for APKs with no resources"
2014-08-15 17:32:04 +00:00
Piotr Jastrzebski
e2134a4b5d
Update ziparchive usage to the new API.
...
Bug: 16162465
Change-Id: If3064e2be3e7e85366b07434294a7879b0e5f9bc
2014-08-15 14:41:08 +01:00
Adam Lesinski
ac44bd1c5b
am 4e790e9e: am b4c3c976: Fix crash in ResStringPool
...
* commit '4e790e9e4b820290284a78c4258d4d60e8d37320':
Fix crash in ResStringPool
2014-08-15 11:51:01 +00:00
Adam Lesinski
fd9205603a
am f3e588ba: am 83b8dc7e: Merge "Fix aapt dump for APKs with no resources" into lmp-dev
...
* commit 'f3e588bae0b6bdfef1c09f739b68b3e07548f58f':
Fix aapt dump for APKs with no resources
2014-08-15 11:49:20 +00:00
Adam Lesinski
20ad556d75
am 3c9b2a54: am b6355bcb: Merge "Print xxxhdpi from ResTable_config::toString" into lmp-dev
...
* commit '3c9b2a540e123a17c91883dd48fb703c6a31982d':
Print xxxhdpi from ResTable_config::toString
2014-08-15 11:49:15 +00:00
Chris Craik
619f45c1d8
am 910ba285: am 6df9d135: Define shadow casting behavior within layers
...
* commit '910ba285503970986941744155a42a570aa1d781':
Define shadow casting behavior within layers
2014-08-15 11:48:56 +00:00
John Reck
0cbdda5965
am 1550e253: am 0566908c: Fix hwuitask & RT priorities
...
* commit '1550e25302419fc06028e914f707ef73f6f1b616':
Fix hwuitask & RT priorities
2014-08-15 11:48:39 +00:00
Adam Lesinski
4b2d0f20db
Fix crash in ResStringPool
...
When a String isn't found in the StringPool,
we should not try to construct a String8 object
from the NULL string.
Bug:15163956
Change-Id: I51e701918b10a72c18a860b8a36dce2afd9c0b82
2014-08-15 06:39:01 +00:00
Adam Lesinski
89147ed84b
Merge "Revert "Fix aapt dump for APKs with no resources"" into lmp-dev
2014-08-15 04:37:53 +00:00
Adam Lesinski
18560886cb
Revert "Fix aapt dump for APKs with no resources"
...
This reverts commit 0e475302cd196f45a01a525c49089018b238d4ba.
I'll re-upload this CL with the correct fix in LoadedApk.
Change-Id: I17c6381f8e5907dab9f996f89c5d435b9c08a13a
2014-08-15 17:18:21 +00:00
Chris Craik
69e5adffb1
Define shadow casting behavior within layers
...
bug:15860114
Savelayers and HW layers both now support shadow casting.
For save layers, the light source should always be correct, for HW
layers, the light source position is set when the layer is created,
and updated when it is resized.
Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
2014-08-15 00:59:44 +00:00
John Reck
21be43e142
Fix hwuitask & RT priorities
...
Bug: 15993695
Change-Id: Ib6f07237cb834e8d10f3074f8fb206d27f91859a
2014-08-15 00:36:11 +00:00
Adam Lesinski
e23a91e2bd
Fix aapt dump for APKs with no resources
...
All APKs are expected to have at least one resource table (even if
it is empty). We were missing the creation of an empty DynamicRefTable.
Bug:16895517
Change-Id: I6a6e887f91b3b4bbcc52b3fd2741ef3d05fab1fd
2014-08-14 21:20:41 +00:00
Adam Lesinski
d7df9d7b38
Merge "Fix aapt dump for APKs with no resources" into lmp-dev
2014-08-14 16:46:52 +00:00
ztenghui
6e974d745f
am 1d37533d: am e629d02b: Bring back the shadow strength tweak
...
* commit '1d37533dbdb961334b5dd097f6597815e45dbd05':
Bring back the shadow strength tweak
2014-08-13 18:41:50 +00:00
ztenghui
14a4e35208
Bring back the shadow strength tweak
...
bug:16712006
Change-Id: Ifc0ecca139d58140b45d7d227536a53069e1d480
2014-08-13 18:22:42 +00:00
Chris Craik
dccfe241da
am fe67a0cf: am a1bd00d4: Merge "Switch to cos interpolation of shadow alpha" into lmp-dev
...
* commit 'fe67a0cf3ec190ecc4325a34b05f013bb2b37453':
Switch to cos interpolation of shadow alpha
2014-08-13 00:16:23 +00:00
Adam Lesinski
ea39c1be30
Merge "Print xxxhdpi from ResTable_config::toString" into lmp-dev
2014-08-12 23:14:35 +00:00
Adam Lesinski
8d5667d2a2
Print xxxhdpi from ResTable_config::toString
...
Change-Id: I2e1a07649cb498c12023b198d8e50534f9d91840
2014-08-14 21:35:37 +00:00
Chris Craik
91a8c7c629
Switch to cos interpolation of shadow alpha
...
bug:16852257
Updates default shadow opacities to compensate.
Also, update variable/constant naming related to vertex alpha.
Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c
2014-08-12 16:00:09 -07:00
Chris Craik
9737abb29d
am ef10f761: am 96093a34: Merge "Rework shadow interpolation" into lmp-dev
...
* commit 'ef10f761d2dd2b46012b8914593e544f7fa06b8d':
Rework shadow interpolation
2014-08-12 19:57:42 +00:00
Chris Craik
32103365d4
am a5920aca: am c5bbadcb: Fix ripples projecting to scrolled view
...
* commit 'a5920aca5984cc71d77d8b672908cdc0fa917d06':
Fix ripples projecting to scrolled view
2014-08-12 19:50:10 +00:00
Chris Craik
b3cca876c2
Fix ripples projecting to scrolled view
...
bug:16873774
1) Fix projectionReceiveIndex, which could in some cases point at
translate/restore ops.
2) Use background translateX / translateY for projected RenderNodes.
This makes them match background position, and thus properly account
for scroll.
Change-Id: Idbd5700858fd67c5abea0270a1012952fe09ac22
2014-08-12 12:33:01 -07:00
Chris Craik
c7d62b777b
Merge "Rework shadow interpolation" into lmp-dev
2014-08-12 19:31:43 +00:00
Chris Craik
bf75945e7a
Rework shadow interpolation
...
bug:16852257
Use pow(alpha, 1.5) to avoid harsh edges on shadow alpha ramps.
Also adjusts shadow constants to compensate.
Change-Id: I5869956d7d292db2a8e496bc320084b6d64c3fb7
2014-08-12 12:44:59 -07:00
Adam Lesinski
9014777956
am ff8afc33: am 248da634: Merge "Fix shared library bug in bag attributes" into lmp-dev
...
* commit 'ff8afc3309d98796767a8859a9a2e262fe1fc165':
Fix shared library bug in bag attributes
2014-08-11 18:03:20 +00:00
Adam Lesinski
ccf25c7bf6
Fix shared library bug in bag attributes
...
A ResTable_map entry has a name attribute, which
could be a dynamic reference if it comes from
a shared library. It was not being patched with
the correct package id.
Bug:16795890
Change-Id: Ia8df6a943269b2fefb2132c3ed74eb1997d7701b
2014-08-11 09:16:01 -07:00
Piotr Jastrzebski
6da63f63a2
am 388aedee: am 07291ccc: Merge "Remove memory leak."
...
* commit '388aedee0483ed7132849584816b86c1a4377799':
Remove memory leak.
2014-08-11 10:04:56 +00:00