summaryrefslogtreecommitdiffstats
path: root/libs
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | | | | | | | | | | | Search all packages for a given type string when looking up resources by nameAdam Lesinski2014-10-092-43/+60
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we would stop at the first match when looking for a type string, but we should search all packages in case a feature Split added a type with the same name. Bug:17924027 Change-Id: I6bc7ef073324db99448538cd8bdf566658f066ff
* | | | | | | | | | | | | | | | | | | am 906fb5b6: am 786afcb3: Trim graphics memory when closing the shadeJorim Jaggi2014-10-081-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '906fb5b6969a4e7ad8367a052f6c1a1598ae32f5': Trim graphics memory when closing the shade
| * | | | | | | | | | | | | | | | | | Trim graphics memory when closing the shadeJorim Jaggi2014-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Graphics memory usually gets trimmed in applications when the activity goes into the background. We use quite a lot of graphics memory when the shade/lockscreen is open, and some of them never gets freed unless the recents activity is closed, because we don't have these activity-trimming-heuristics for the shade. This change proactively trims the graphics memory when the shade gets closed or when the lockscreen is hidden, to emulate the same heuristics as for activities. This change also adds trimMemory on RenderThread to systrace to verify that no jank is introduced with this change. This change immediately saves around 10-30 MB on an xxhdpi device after the shade is closed. Bug: 17581375 Change-Id: I4fb622efb51815fe08187be97ba15d012d4de5d4
* | | | | | | | | | | | | | | | | | | am f11d9de4: am 8cdb0bc0: Merge "Use float instead of double to increase ↵ztenghui2014-10-062-212/+18
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spot shadow perf" into lmp-mr1-dev * commit 'f11d9de43af807ad9d72a62fd1167ff6f9e7b903': Use float instead of double to increase spot shadow perf
| * | | | | | | | | | | | | | | | | | Merge "Use float instead of double to increase spot shadow perf" into ↵ztenghui2014-10-062-212/+18
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev
| | * | | | | | | | | | | | | | | | | | Use float instead of double to increase spot shadow perfztenghui2014-10-032-212/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is helping spot shadow for 15%-20% increase. With the new algorithm, we are less sensitive to the floating point error. b/16712006 Change-Id: Ie30a6ce01e73d56054a0cf65a84549454339a7fd
* | | | | | | | | | | | | | | | | | | | am c4694796: am 6a2296d8: am 9da6e743: am d988a45d: Merge "Cleanup ↵John Reck2014-10-046-41/+36
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DeferredLayerUpdater" into lmp-dev * commit 'c4694796a952014d07e6d083749d2f8b7d06afee': Cleanup DeferredLayerUpdater
| * | | | | | | | | | | | | | | | | | | am 9da6e743: am d988a45d: Merge "Cleanup DeferredLayerUpdater" into lmp-devJohn Reck2014-10-036-41/+36
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9da6e7435945e34d05e0c8c5c9a324218480c6ff': Cleanup DeferredLayerUpdater
| | * | | | | | | | | | | | | | | | | | Cleanup DeferredLayerUpdaterJohn Reck2014-10-036-41/+36
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17765082 DeferredLayerUpdater had fallen behind RT updates. Re-snap to latest expectations, ensuring to call requireGlContext() prior to detachSurfaceTexture to avoid leaking SurfaceTextures Change-Id: Ic65fb9831e5284f658866da8da9ad5af1d227699
* | | | | | | | | | | | | | | | | | | am ab8f73a7: am 497cb6c0: Merge "Avoid creating Caches instance with gfxinfo ↵Chris Craik2014-10-021-4/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dump" into lmp-mr1-dev * commit 'ab8f73a7f17d07bdb4ccb3b6971d3ddc8534bd7d': Avoid creating Caches instance with gfxinfo dump
| * | | | | | | | | | | | | | | | | | Merge "Avoid creating Caches instance with gfxinfo dump" into lmp-mr1-devChris Craik2014-10-021-4/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | Avoid creating Caches instance with gfxinfo dumpChris Craik2014-10-011-4/+7
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17509891 Change-Id: I182851068ba04926d60226b3ace95efea59eac45
* | | | | | | | | | | | | | | | | | | am 00d96e7d: am 59e129fb: Merge "Account for colorfilter transparency in ↵Chris Craik2014-10-023-9/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | determining paint opacity" into lmp-mr1-dev * commit '00d96e7dd161067473b24d9bee57497fa56fb3f5': Account for colorfilter transparency in determining paint opacity
| * | | | | | | | | | | | | | | | | | Merge "Account for colorfilter transparency in determining paint opacity" ↵Chris Craik2014-10-023-9/+14
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| | * | | | | | | | | | | | | | | | | | Account for colorfilter transparency in determining paint opacityChris Craik2014-10-013-9/+14
| | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17765601 Change-Id: I90d76ee199bb357c71fc8f537c1abfa20d848416
* | | | | | | | | | | | | | | | | | | am 3fb45865: am 5f243860: am 9ad17521: am f9033048: Merge "+ correcting ↵ztenghui2014-10-021-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shadow visual appearance (b/17610926)" into lmp-dev * commit '3fb458653e50e350e9e377d071cb79573d531748': + correcting shadow visual appearance (b/17610926)
| * | | | | | | | | | | | | | | | | | am 9ad17521: am f9033048: Merge "+ correcting shadow visual appearance ↵ztenghui2014-10-011-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (b/17610926)" into lmp-dev * commit '9ad17521ac073562991cddb78f14d6df8d5fd05a': + correcting shadow visual appearance (b/17610926)
| | * | | | | | | | | | | | | | | | | + correcting shadow visual appearance (b/17610926)ztenghui2014-10-011-1/+1
| | |/ / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + adjusting spot and ambient shadow opacity constants to achieve desired appearance + reducing ambient scale ratio back to 1.0 to address over-lightening at higher elevations + partially revert ag/546290 Change-Id: I9d7f664f73a7b9b83df73b739103c97054bd4f6e
* | | | | | | | | | | | | | | | | | am 4e789dbf: am 8628387c: am b226d295: am c6a06d43: Merge "Revert "Fix issue ↵Adam Powell2014-10-021-5/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with using locally defined attrs in a shared lib"" into lmp-dev * commit '4e789dbff0bc4d9c259a33d6e8ea595c0f4d5f35': Revert "Fix issue with using locally defined attrs in a shared lib"
| * | | | | | | | | | | | | | | | | am b226d295: am c6a06d43: Merge "Revert "Fix issue with using locally ↵Adam Powell2014-10-011-5/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | / | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined attrs in a shared lib"" into lmp-dev * commit 'b226d2951c8641f9851e40b4e13b4ae25cb1a482': Revert "Fix issue with using locally defined attrs in a shared lib"
| | * | | | | | | | | | | | | | | Revert "Fix issue with using locally defined attrs in a shared lib"Adam Powell2014-10-011-5/+1
| | | |_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5069dd69898bd0d9c69ba2bbd37239ec8d1c9dc6. The reverted commit caused issues loading resources supplied by static libraries. Bug 17748356 Change-Id: I860a4f31451ee7c03c02974826472a67226b029f
* | | | | | | | | | | | | | | | am 06f380e9: am 95731abe: am bb7b5197: am cd8e7381: Merge "Fix issue with ↵Adam Lesinski2014-10-011-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | using locally defined attrs in a shared lib" into lmp-dev * commit '06f380e9efa4698c223077cacaa2df80a704ef96': Fix issue with using locally defined attrs in a shared lib
| * | | | | | | | | | | | | | | am bb7b5197: am cd8e7381: Merge "Fix issue with using locally defined attrs ↵Adam Lesinski2014-10-011-1/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a shared lib" into lmp-dev * commit 'bb7b51978eb5341e9a1204a447c8340bfb248504': Fix issue with using locally defined attrs in a shared lib
| | * | | | | | | | | | | | | | Fix issue with using locally defined attrs in a shared libAdam Lesinski2014-09-301-1/+5
| | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attribute name resource IDs were never fixed up with the runtime package ID so we weren't finding attributes whenever the runtime package ID was different than the build time one, which happened to be when a shared lib referenced itself (0x00 vs 0x02). Bug:17666947 Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266
* | | | | | | | | | | | | | | am bb5f8f5c: am 08897806: Merge "Add tracing for saveLayer" into lmp-mr1-devChris Craik2014-10-011-4/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bb5f8f5c94610f8eb23a6f74c3f0a5a7dd402606': Add tracing for saveLayer
| * | | | | | | | | | | | | | Add tracing for saveLayerChris Craik2014-09-291-4/+24
| |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17702227 Change-Id: Ia9cbf31b360c93f712e021bea406cb63e4cc4c2a
* | | | | | | | | | | | | | am 808583ff: am 1918d884: am a0d0798a: am 737dfe57: Merge "Reject ↵Chris Craik2014-09-231-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transparent draws more conservatively" into lmp-dev * commit '808583ffbbb461c429a8308034dba632d167f2c6': Reject transparent draws more conservatively
| * | | | | | | | | | | | | Reject transparent draws more conservativelyChris Craik2014-09-231-1/+1
| | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17600162 Transparent draws are not safe to reject for all xfermodes other than clear. Now, to be safe, only perform the rejection for SrcOver draws since other modes are fairly uncommon. We could specifically determine whether the xfermode could change the output given a transparent input, but there's little to be gained from the additional complexity. Change-Id: Ia699ac4bdc4da3353955840b53f1922d3cb1d85d
* | | | | | | | | | | | | am 30dca470: am f0a80b68: am ea74883e: am fe01ab10: Merge "Account for alpha ↵Chris Craik2014-09-201-1/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in hasShadow()" into lmp-dev * commit '30dca470d6b261433f0ad11117e5dff7d9124d9e': Account for alpha in hasShadow()
| * | | | | | | | | | | | Merge "Account for alpha in hasShadow()" into lmp-devChris Craik2014-09-191-1/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | |
| | * | | | | | | | | | | Account for alpha in hasShadow()Chris Craik2014-09-191-1/+3
| | | |_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17587220 Change-Id: Ic7f2dea95302b713dc93edb4a0193a7be77fb2eb
* | | | | | | | | | | | resolved conflicts for merge of 1a4527ce to lmp-mr1-dev-plus-aospDan Albert2014-09-192-3/+6
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: If649bd9ef98181a1e1e341cc5b73d237586fb72c
| * | | | | | | | | | | Clean up makefile cruft.Dan Albert2014-09-112-5/+6
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build system already takes care of all these things. Change-Id: Idef80b554e07cef5e5ed2adf1b5740a76f13ef6d
* | | | | | | | | | | resolved conflicts for merge of 8791ebf0 to lmp-mr1-dev-plus-aospDan Albert2014-09-191-1/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ifedb15de5a4db6cb0238fec93aaa2d95f1844694
| * | | | | | | | | | Merge "Clean up test makefiles."Dan Albert2014-09-111-5/+0
| |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Clean up test makefiles.Dan Albert2014-09-111-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build system takes care of linking the correct STL and gtest libraries for you, and specifying them manually confuses the build system when using libc++. Change-Id: I9f76ab26a63ace51293614cfb5ca002f37438e02
* | | | | | | | | | | | am 9ee3ba23: am e7e9ad6d: am 863b1a90: am 19f9d54f: Merge "Fix backwards ↵Adam Lesinski2014-09-192-1/+41
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compat problem with AAPT public attrs" into lmp-dev * commit '9ee3ba23395bd1a13bbfd3fe523ee611a5ca001b': Fix backwards compat problem with AAPT public attrs
| * | | | | | | | | | | Merge "Fix backwards compat problem with AAPT public attrs" into lmp-devAdam Lesinski2014-09-192-1/+41
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| | * | | | | | | | | | Fix backwards compat problem with AAPT public attrsAdam Lesinski2014-09-182-1/+41
| | | |_|_|_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AAPT has traditionally assigned resource IDs to public attributes, and then followed those public definitions with private attributes. --- PUBLIC --- | 0x01010234 | attr/color | 0x01010235 | attr/background --- PRIVATE --- | 0x01010236 | attr/secret | 0x01010237 | attr/shhh Each release, when attributes are added, they take the place of the private attributes and the private attributes are shifted down again. --- PUBLIC --- | 0x01010234 | attr/color | 0x01010235 | attr/background | 0x01010236 | attr/shinyNewAttr | 0x01010237 | attr/highlyValuedFeature --- PRIVATE --- | 0x01010238 | attr/secret | 0x01010239 | attr/shhh Platform code may look for private attributes set in a theme. If an app compiled against a newer version of the platform uses a new public attribute that happens to have the same ID as the private attribute the older platform is expecting, then the behavior is undefined. We get around this by detecting any newly defined attributes (in L), copy the resource into a -v21 qualified resource, and delete the attribute from the original resource. This ensures that older platforms don't see the new attribute, but when running on L+ platforms, the attribute will be respected. We still need to address this problem in the platform moving forward, as this will only help us in the transition from pre L to L. Bug:17520380 Change-Id: Ia2a985798b50006c21c7c3431d30d9598f27cd91
* | | | | | | | | | | am 6fcaf93f: am 40d2705e: am a154d76e: am 340ccfe0: Merge "glFinish to flush ↵John Reck2014-09-191-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deletes" into lmp-dev * commit '6fcaf93f3ad73780bfe4392cd4d60e05cb463b8a': glFinish to flush deletes
| * | | | | | | | | | Merge "glFinish to flush deletes" into lmp-devJohn Reck2014-09-191-0/+1
| |\ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | |
| | * | | | | | | | | glFinish to flush deletesJohn Reck2014-09-191-0/+1
| | | |_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17479800 Change-Id: I4d4a3eeda510e037f806052025184f3cde18c847
* | | | | | | | | | am f9166c19: am 6975554d: am 5db573c7: am 969b5ff4: Merge "Fix garbage ↵Chris Craik2014-09-194-2/+15
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | showing up beneath dialogs" into lmp-dev * commit 'f9166c19773bbde04e1837327b85d5935530cfee': Fix garbage showing up beneath dialogs
| * | | | | | | | | Merge "Fix garbage showing up beneath dialogs" into lmp-devChris Craik2014-09-194-2/+15
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| | * | | | | | | | Fix garbage showing up beneath dialogsChris Craik2014-09-184-2/+15
| | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:17463894 Fixes the setViewport method to immediately affect the return values of getViewportWidth/Height methods. Also works around tiling extension issues observed on first frame after window resize by disabling tiling for that frame. Change-Id: Ie172d572d20d74a1be9cc58ad389af2cffa0e4b6
* | | | | | | | | am c619b9d2: am 1d935afd: am e905b4ff: am fd340229: Merge "Special case ↵John Reck2014-09-183-6/+20
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EGL_BAD_SURFACE" into lmp-dev * commit 'c619b9d2315b28f6cebe68adbf18f4453ce1cd7d': Special case EGL_BAD_SURFACE
| * | | | | | | | Merge "Special case EGL_BAD_SURFACE" into lmp-devJohn Reck2014-09-173-6/+20
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | |
| | * | | | | | | Special case EGL_BAD_SURFACEJohn Reck2014-09-173-6/+20
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17516789 Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6
* | | | | | | | am 39647161: am 0eda5660: am 5c19146f: am 8523ad90: Merge "Change default ↵John Reck2014-09-171-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbo cache size to 0" into lmp-dev * commit '39647161e1ec5521afd159054c1237a80300e0e4': Change default fbo cache size to 0
| * | | | | | | Merge "Change default fbo cache size to 0" into lmp-devJohn Reck2014-09-171-1/+1
| |\ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |