Mathias Agopian
f3e85d4327
take the "transparent region" into account for blending
...
until now it was only used to discard a layer entirely.
we're now reducing the size of the layer if it is still
visible, if possible.
this works for instance when a surfaceView is used and
only the menu bar is displayed over it.
Change-Id: I3f5527c5cd1e69ecc968272c8948f1513ada8c55
2013-05-10 18:35:43 -07:00
Mathias Agopian
6c7f25afb7
reformat Rect.{cpp|h}
...
Change-Id: I45b1f6646541a1abacce1e70df00a770e47b820e
2013-05-10 18:03:31 -07:00
Mathias Agopian
b6df7d0e4c
make all libsurfaceflinger and libsensorservice symbols's visibility hidden
...
we only export the main entry-point.
this saves about 150KB.
Change-Id: I55eb2b6705386fdfa43860deb62f9cdd2a0982aa
2013-05-09 16:51:37 -07:00
Mathias Agopian
5d85d72a17
remove unused declarations and reformat
...
Change-Id: I4e168fb62c275e02621c4b6e0c6000d0f006c327
2013-05-09 14:57:05 -07:00
Mathias Agopian
a6cb0397da
remove reserved virtual slots
...
these consume small amount of space (plt) in every library that
links against libutils.
Change-Id: I1b6b3dd9098aa5a051243f7a5dbf91cd7dcb8b2c
2013-05-09 14:57:05 -07:00
Eino-Ville Talvala
d487ca1ab3
am 87ab83d9
: am f743e3db
: Merge "Add support for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev
...
* commit '87ab83d96b9d826e94a7169a6205bcf9c2ee633a':
Add support for HAL_PIXEL_FORMAT_YCbCr_420_888
2013-05-09 10:19:01 -07:00
Eino-Ville Talvala
87ab83d96b
am f743e3db
: Merge "Add support for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev
...
* commit 'f743e3db27dd639421913ee5e99d7a13ccc236ea':
Add support for HAL_PIXEL_FORMAT_YCbCr_420_888
2013-05-09 10:15:17 -07:00
Eino-Ville Talvala
f743e3db27
Merge "Add support for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev
2013-05-09 17:13:22 +00:00
The Android Automerger
5c469132e2
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-09 05:55:26 -07:00
Mathias Agopian
57e5144a31
Merge "new String8, String16 ctors to initialize empty static strings with static linkage"
2013-05-09 01:13:51 +00:00
Mathias Agopian
8050299f5b
new String8, String16 ctors to initialize empty static strings with static linkage
...
when libutils is statically linked, the ordering of the static
initializer is not guaranteed and therefore it's unsafe to use
empty static strings: e.g.:
static String8 sThisStaticStringIsNotSafe;
instead, this new constructor can be used:
static String8 sThisStaticStringIsSafe(kEmptyString);
Change-Id: Ia3daf1cab1c97d021c0ee9c2b394b5e27e8d6c0d
2013-05-08 18:13:07 -07:00
Jesse Hall
c0db61966a
am dda42952
: am 64f3b2fd
: Merge "Remove experimental HWC virtual display support" into jb-mr2-dev
...
* commit 'dda4295221f831560ca9d554cd9b7be1c672d0b6':
Remove experimental HWC virtual display support
2013-05-08 15:05:15 -07:00
Jamie Gennis
7f9efade0d
am d2a92b5b
: am db733579
: Merge "atrace: add the \'dalvik\' trace category" into jb-mr2-dev
...
* commit 'd2a92b5b97b5a107d327744f216abdea8e0cda89':
atrace: add the 'dalvik' trace category
2013-05-08 15:03:56 -07:00
Jeff Tinker
dc1b01141f
am 2c228354
: am b84d1cad
: Correct native API documentation related to MediaDrm offline use case
...
* commit '2c2283549c72184145c9f030bbfe6124ee75d169':
Correct native API documentation related to MediaDrm offline use case
2013-05-08 15:03:40 -07:00
Jesse Hall
dda4295221
am 64f3b2fd
: Merge "Remove experimental HWC virtual display support" into jb-mr2-dev
...
* commit '64f3b2fd1ea9d30df6fd04ecdb086e540465bc18':
Remove experimental HWC virtual display support
2013-05-08 13:57:56 -07:00
Jesse Hall
64f3b2fd1e
Merge "Remove experimental HWC virtual display support" into jb-mr2-dev
2013-05-08 20:53:42 +00:00
The Android Automerger
91d768c9d9
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-08 05:55:32 -07:00
Mathias Agopian
002e1e58df
libutils clean-up
...
Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
2013-05-07 18:28:11 -07:00
Jamie Gennis
d2a92b5b97
am db733579
: Merge "atrace: add the \'dalvik\' trace category" into jb-mr2-dev
...
* commit 'db733579a4c64eddd7dadb4ac15f54658ccfc0fb':
atrace: add the 'dalvik' trace category
2013-05-07 18:23:18 -07:00
Jamie Gennis
db733579a4
Merge "atrace: add the 'dalvik' trace category" into jb-mr2-dev
2013-05-08 01:21:17 +00:00
Jeff Tinker
2c2283549c
am b84d1cad
: Correct native API documentation related to MediaDrm offline use case
...
* commit 'b84d1cad1d481f75aa03d55ac07e4ff58dbfb84a':
Correct native API documentation related to MediaDrm offline use case
2013-05-07 17:20:56 -07:00
Todd Poynor
b4f1a027cb
Merge "String8: ensure static init done prior to empty string reference"
2013-05-07 23:30:22 +00:00
Erik Gilling
de9ae529b1
Merge "flatland: add 1920x1200 to 16:10 resolutions"
2013-05-07 22:48:05 +00:00
Erik Gilling
1e7714e6ac
Merge "flatland: add 3:2 tests"
2013-05-07 22:47:54 +00:00
Jamie Gennis
eff2e8d237
atrace: add the 'dalvik' trace category
...
Bug: 8856374
Change-Id: Ie7759328333d21d8123ce9d4f1a177cae5ede51e
2013-05-07 15:20:57 -07:00
Jeff Tinker
b84d1cad1d
Correct native API documentation related to MediaDrm offline use case
...
These doc updates were made previously to the java API but some
did not make it into the native API.
Change-Id: I9b7bfcd77bc593685254baca1c148deb7e1f91c7
related-to-bug: 8621588
2013-05-07 15:16:40 -07:00
Dianne Hackborn
ffad7d1fdc
Add new Looper API to check whether the looper is idle.
...
This is just to support the watchdog to give it a faster
way to determine if a thread is deadlocked without having
to post a message to it.
Change-Id: I068dc8b9387caf94fe5811fb4aeb0f9b57b1a080
2013-05-07 15:05:34 -07:00
Erik Gilling
63d076e339
flatland: add 1920x1200 to 16:10 resolutions
...
Change-Id: Ie7540c1ca4ec2c7ea8a307ce118d35479cdf499c
2013-05-07 12:32:59 -07:00
Erik Gilling
7bfdf27539
flatland: add 3:2 tests
...
Change-Id: I90496207fbf972c9a8e6baa2188a7732a282f879
2013-05-07 12:32:59 -07:00
Todd Poynor
1bf3b4a06d
String8: ensure static init done prior to empty string reference
...
Avoid NULL deref on static initialization of empty String8 objects prior
to libutils static init.
Change-Id: I3d420041ba62b97ed8c2dfd2532a2dcd72b84ff1
2013-05-07 12:09:46 -07:00
Jesse Hall
e737c11cd8
Remove experimental HWC virtual display support
...
Bug: 8384764
Change-Id: I97b52ed83ad85466bd91cb9291308994048568a1
2013-05-07 11:58:47 -07:00
Dianne Hackborn
779434378e
am ba8e30a3
: am 223b953c
: Add Dalvik heap definition for 7" xhdpi devices.
...
* commit 'ba8e30a31d54d11d826649bafc404e520d3c6fad':
Add Dalvik heap definition for 7" xhdpi devices.
2013-05-07 10:01:26 -07:00
The Android Automerger
96e4cb0203
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-07 05:55:26 -07:00
Eino-Ville Talvala
c43946b931
Add support for HAL_PIXEL_FORMAT_YCbCr_420_888
...
- Add fields to CpuConsumer::LockedBuffer for new information
- New lock methods for GraphicBuffer and GraphicBufferMapper for
the format
Bug: 8734880
Change-Id: If31f82c62d64b6942cf4cc6e5715585c03273f12
2013-05-06 17:24:05 -07:00
Dianne Hackborn
ba8e30a31d
am 223b953c
: Add Dalvik heap definition for 7" xhdpi devices.
...
* commit '223b953cf748d8197cba26545172db9dcaeea2b4':
Add Dalvik heap definition for 7" xhdpi devices.
2013-05-06 15:21:02 -07:00
Dianne Hackborn
223b953cf7
Add Dalvik heap definition for 7" xhdpi devices.
...
Change-Id: I6a8e406ee98d3061d498bb2fbd1b97aa9e79b4b5
2013-05-06 15:06:20 -07:00
Marco Nelissen
98b50774ae
am 3755dbec
: am 3d3cc6e1
: Merge "Report actual disk space used" into jb-mr2-dev
...
* commit '3755dbec6f16330fb57b18c09319d209a3f8474f':
Report actual disk space used
2013-05-06 13:56:06 -07:00
Marco Nelissen
3755dbec6f
am 3d3cc6e1
: Merge "Report actual disk space used" into jb-mr2-dev
...
* commit '3d3cc6e15ea6398105dc59d3135df3e64d5cf34e':
Report actual disk space used
2013-05-06 11:11:38 -07:00
The Android Automerger
b6d04c2e82
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-05-06 05:55:30 -07:00
Marco Nelissen
3d3cc6e15e
Merge "Report actual disk space used" into jb-mr2-dev
2013-05-05 01:17:48 +00:00
Mathias Agopian
192fa1f914
Merge "use a Framebuffer Object to render all screenshots"
2013-05-02 23:26:11 +00:00
Mathias Agopian
f03e51dd2f
Merge "change how the userspace GLES drivers are named"
2013-05-02 23:25:52 +00:00
Dianne Hackborn
474c7b4c32
am ba018b3f
: am 4fc27d79
: Merge "Fix issue #8768456 : Settings > App Info under reports..." into jb-mr2-dev
...
* commit 'ba018b3fa5ab6f40bdcc2af62ddeeebd7bad1ea5':
Fix issue #8768456 : Settings > App Info under reports...
2013-05-02 15:17:30 -07:00
Dianne Hackborn
ba018b3fa5
am 4fc27d79
: Merge "Fix issue #8768456 : Settings > App Info under reports..." into jb-mr2-dev
...
* commit '4fc27d79c29646b08ff059abc19cc4a7bccaa316':
Fix issue #8768456 : Settings > App Info under reports...
2013-05-02 15:15:17 -07:00
Dianne Hackborn
4fc27d79c2
Merge "Fix issue #8768456 : Settings > App Info under reports..." into jb-mr2-dev
2013-05-02 22:11:17 +00:00
Jesse Hall
16b4f33d2b
am 958ef3d7
: am c8639351
: Generate new EGLExt class
...
* commit '958ef3d79c48ddef3afa5327f7ed15a5ecfd2d1d':
Generate new EGLExt class
2013-05-02 13:49:25 -07:00
Jesse Hall
958ef3d79c
am c8639351
: Generate new EGLExt class
...
* commit 'c86393510c8747519fe34e5aa38ce5218593c19c':
Generate new EGLExt class
2013-05-02 13:48:00 -07:00
Jesse Hall
c86393510c
Generate new EGLExt class
...
Initially populated with EGL_ANDROID_presentation_time (moved from the
EGL14 class) and the ES-relevant parts of EGL_KHR_create_context.
Bug: 8678160
Change-Id: Ifed2ee3da264ca701ae1f4b309a0758f7fcc3acc
2013-05-02 13:44:29 -07:00
Dianne Hackborn
8b41780d73
Fix issue #8768456 : Settings > App Info under reports...
...
...app storage size for apps w/ .so files
The lib directories are tagged with the apk install number,
so must be explicitly passed down to installd.
Change-Id: Iae8815afd6ba964f5b2ed86a0d04a91827391ed6
2013-05-01 18:55:10 -07:00
Marco Nelissen
7719b85bf8
Report actual disk space used
...
Report size based on blocks used, not the "nominal" size.
b/8744465
Change-Id: Idbb72f47af6d475b51305a14be291bf01acb14bb
2013-05-01 10:10:59 -07:00