3822 Commits

Author SHA1 Message Date
Romain Guy
93f139697f am b6233ffd: Merge "Return early when we cannot allocate a hardware layer Bug #5462308"
* commit 'b6233ffd602642cd47a08f951770744cbed54f22':
  Return early when we cannot allocate a hardware layer Bug #5462308
2011-10-17 17:12:55 -07:00
Romain Guy
b6233ffd60 Merge "Return early when we cannot allocate a hardware layer Bug #5462308" 2011-10-17 17:11:08 -07:00
Romain Guy
5cd5c3f7e4 Return early when we cannot allocate a hardware layer
Bug #5462308

Change-Id: I52dab809662f6f42a49ca03edc50f6b98fc35a06
2011-10-17 17:10:02 -07:00
Mathias Agopian
1d75905837 am 72cdc6d4: am 9a0732af: Merge "SensorManager reconnects to sensor service when the later dies" into ics-mr0
* commit '72cdc6d488578c7e54523e65ff622bdcb89b7b94':
  SensorManager reconnects to sensor service when the later dies
2011-10-17 15:54:17 -07:00
Mathias Agopian
72cdc6d488 am 9a0732af: Merge "SensorManager reconnects to sensor service when the later dies" into ics-mr0
* commit '9a0732af1bd96a7d8247dee124a7da389137a52f':
  SensorManager reconnects to sensor service when the later dies
2011-10-17 15:52:31 -07:00
Mathias Agopian
9a0732af1b Merge "SensorManager reconnects to sensor service when the later dies" into ics-mr0 2011-10-17 15:50:36 -07:00
Jamie Gennis
3ef672a96b am eb587070: am 3a735078: Merge "SurfaceTexture: report binder transaction failures" into ics-mr0
* commit 'eb587070b99742ede04f1e864953106b1d157c84':
  SurfaceTexture: report binder transaction failures
2011-10-17 11:41:03 -07:00
Mathias Agopian
c5f77fc4d6 am 1c8a6bf3: am fefffc68: Merge "add logging and defensive code when initializing sensors" into ics-mr0
* commit '1c8a6bf3b21c4cfddf8d37cf7cd9fb30008a7911':
  add logging and defensive code when initializing sensors
2011-10-17 11:39:17 -07:00
Jamie Gennis
eb587070b9 am 3a735078: Merge "SurfaceTexture: report binder transaction failures" into ics-mr0
* commit '3a73507801b56da83140fad14a1a3d4eced213d9':
  SurfaceTexture: report binder transaction failures
2011-10-17 11:35:53 -07:00
Jamie Gennis
dd669e92a9 am 7f7362c0: Merge changes I4e5ff00c,Id5e3ca1d,I97cbba61
* commit '7f7362c02bcde8750e24781f5c7199f9551301c5':
  SurfaceFlinger: Remove display freezing code
  SurfaceFlinger: add some layer update tests
  SurfaceFlinger: make sync transactions explicit
2011-10-17 11:34:58 -07:00
Mathias Agopian
1c8a6bf3b2 am fefffc68: Merge "add logging and defensive code when initializing sensors" into ics-mr0
* commit 'fefffc685ab703b44f6e32b5ec45292b22d370a3':
  add logging and defensive code when initializing sensors
2011-10-17 11:32:15 -07:00
Jamie Gennis
7f7362c02b Merge changes I4e5ff00c,Id5e3ca1d,I97cbba61
* changes:
  SurfaceFlinger: Remove display freezing code
  SurfaceFlinger: add some layer update tests
  SurfaceFlinger: make sync transactions explicit
2011-10-17 11:31:39 -07:00
Jamie Gennis
3a73507801 Merge "SurfaceTexture: report binder transaction failures" into ics-mr0 2011-10-17 11:25:46 -07:00
Mathias Agopian
de6c44e906 SensorManager reconnects to sensor service when the later dies
if system process ever restarted, processes using a SensorManager
would loose the ability to use it, resulting to a crash.
we now listen for sensor service death and reconnected if necessary.

Bug: 5445240
Change-Id: Ia47f8b26cdcecb729fa22bf11d55e10fcaef8cfc
2011-10-16 22:15:23 -07:00
Alex Sakhartchouk
2343955b15 am a744ead9: Merge "Adding getter functions for script side RS objects. Multiproject change involving on device linker"
* commit 'a744ead977b2beda89091abf295bcda860bf88b2':
  Adding getter functions for script side RS objects. Multiproject change involving on device linker
2011-10-16 12:15:28 -07:00
Alex Sakhartchouk
a744ead977 Merge "Adding getter functions for script side RS objects. Multiproject change involving on device linker" 2011-10-16 12:13:18 -07:00
Mathias Agopian
a338379873 add logging and defensive code when initializing sensors
Bug: 5445240
Change-Id: I9dc7d27d3e8b4f15989488859831526d8c7ded3b
2011-10-16 00:38:30 -07:00
Alex Sakhartchouk
7e6aac1533 Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -07:00
Jeff Brown
f8b952f3e4 am a39a0553: Merge "Deprecate local-only CursorWindows."
* commit 'a39a055304968e799c49e99b700399667eab006a':
  Deprecate local-only CursorWindows.
2011-10-14 21:09:58 -07:00
Jeff Brown
a39a055304 Merge "Deprecate local-only CursorWindows." 2011-10-14 21:05:58 -07:00
Jamie Gennis
122aa6bae9 SurfaceFlinger: make sync transactions explicit
This change enables a layer or orientation update transaction sent to
SurfaceFlinger to explicitly request a synchronous transaction.

Change-Id: I97cbba610c13679849f66114b216fa6dbf12f2a9
2011-10-14 16:11:51 -07:00
Jamie Gennis
6cb76588d7 SurfaceTexture: report binder transaction failures
This change fixes the ISurfaceTexture error reporting for the case where
the binder transaction fails.

Bug: 5082219
Change-Id: I6517532992e3a76dc9eb5e4a36af43a562391aaa
2011-10-14 15:17:07 -07:00
Jamie Gennis
c9b2944e93 am 93c299d0: am a1e273ae: Merge "Surface: fix a protected buffer test" into ics-mr0
* commit '93c299d0d0fc46c2407edca569960c36043c137a':
  Surface: fix a protected buffer test
2011-10-14 13:01:10 -07:00
Jamie Gennis
93c299d0d0 am a1e273ae: Merge "Surface: fix a protected buffer test" into ics-mr0
* commit 'a1e273ae590ee08cf27baca7facfce51e598d995':
  Surface: fix a protected buffer test
2011-10-14 12:58:37 -07:00
Jamie Gennis
a1e273ae59 Merge "Surface: fix a protected buffer test" into ics-mr0 2011-10-14 12:56:28 -07:00
Jason Sams
fdcce1719e am 3fda6ed3: am 43b57ec4: Fix error printing if no command string is set.
* commit '3fda6ed3c751d959d93dc9fb6d3b65f3617d04f5':
  Fix error printing if no command string is set.
2011-10-13 16:14:30 -07:00
Jason Sams
3fda6ed3c7 am 43b57ec4: Fix error printing if no command string is set.
* commit '43b57ec48ec7652addc11bbc9fef652c2394b7f5':
  Fix error printing if no command string is set.
2011-10-13 16:13:07 -07:00
Jason Sams
43b57ec48e Fix error printing if no command string is set.
Change-Id: I588c0d0a4e1b8f80c967ebfb6aff179a0cac4a36
2011-10-13 16:05:27 -07:00
Jeff Brown
5e5d6d8ba0 Deprecate local-only CursorWindows.
There is no difference and has never really been a difference
between local-only and remotable CursorWindows.  By removing the
distinction officially in the API, we will make it easier to
implement CrossProcessCursor correctly.  CrossProcessCursor
is problematic currently because it's not clear whether a call
to getWindow() will return a local-only window or a remotable window.
As a result, the bulk cursor adaptor has special case handling
for AbstractWindowedCursors vs. ordinary CrossProcessCursors
so that it can set a remotable window before the cursor fills it.
All these problems go away if we just forget about local-only
windows being special in any way.

Change-Id: Ie59f517968e33d0ecb239c3c4f60206495e8f376
2011-10-12 22:19:41 -07:00
Jason Sams
8c9a022cee am 731934d1: Merge "Fix bug with 1D arrays and threading. Some elements got launched multiple times."
* commit '731934d12c559a8c1bea9bdaaaba227f5974f58a':
  Fix bug with 1D arrays and threading. Some elements got launched multiple times.
2011-10-12 21:11:44 -07:00
Romain Guy
7afaec5217 am 17d8e416: Merge "Add missing public native API"
* commit '17d8e4160f0c34fffe692d9d799049efc74ed3e4':
  Add missing public native API
2011-10-12 20:43:01 -07:00
Romain Guy
6c9e3e9eb8 am 19de9efc: Merge "Reduce the size of libhwui by 50%"
* commit '19de9efcc4b0367cd6cfde78c90d2d3b213814e9':
  Reduce the size of libhwui by 50%
2011-10-12 20:42:54 -07:00
Jamie Gennis
b001cfb4da am c2091130: am 075e4c3d: Merge "SurfaceFlinger: update orientation via transactions" into ics-mr0
* commit 'c2091130ae1a1b37956f49d0fe81fb82413cd2dd':
  SurfaceFlinger: update orientation via transactions
2011-10-12 20:42:40 -07:00
Jason Sams
fdccbab9f7 am 678f8ccb: Merge "Improve rsForEach overhead."
* commit '678f8ccb3e6d84fa4154af435c919a39523619bd':
  Improve rsForEach overhead.
2011-10-12 20:42:32 -07:00
Eino-Ville Talvala
e8d7d03d59 am ca2640b2: am 0a273592: Merge "Add video stabilization control to Camera parameters." into ics-mr0
* commit 'ca2640b2ab4136eefe138baf07dcfcbaea86da17':
  Add video stabilization control to Camera parameters.
2011-10-12 20:01:08 -07:00
Jamie Gennis
74f7dfa803 Surface: fix a protected buffer test
This change renames the ScreenshotsOfProtectedBuffersFail to
ScreenshotsOfProtectedBuffersSucceed and changes the test to verify that
the screenshot succeeds.

Change-Id: I960bb8eed4211578cb4dc446b08392937da064b6
2011-10-12 18:42:33 -07:00
Jason Sams
731934d12c Merge "Fix bug with 1D arrays and threading. Some elements got launched multiple times." 2011-10-12 18:36:58 -07:00
Jason Sams
2802dae197 Fix bug with 1D arrays and threading.
Some elements got launched multiple times.

Change-Id: Icb257019df591a5d9525867c8ef8d18ef7d4cde5
2011-10-12 18:33:01 -07:00
Romain Guy
17d8e4160f Merge "Add missing public native API" 2011-10-12 14:12:22 -07:00
Romain Guy
71e36aa7db Add missing public native API
Change-Id: Ie3bc706b2ac91d686a5b888e8ae841820e9d37c7
2011-10-12 14:11:32 -07:00
Romain Guy
19de9efcc4 Merge "Reduce the size of libhwui by 50%" 2011-10-12 13:50:11 -07:00
Romain Guy
7953745dd5 Reduce the size of libhwui by 50%
This change removes unnessary symbols. All symbols are hidden by
default, public APIs with exported symbols are explicitly marked
with ANDROID_API.

Change-Id: I692fde432a86c12108de1cfd1f6504919a7d5f3f
2011-10-12 13:48:51 -07:00
Jamie Gennis
c2091130ae am 075e4c3d: Merge "SurfaceFlinger: update orientation via transactions" into ics-mr0
* commit '075e4c3d2e6a8a9eb3506dfedc8da938fb65fb65':
  SurfaceFlinger: update orientation via transactions
2011-10-12 13:04:36 -07:00
Jamie Gennis
075e4c3d2e Merge "SurfaceFlinger: update orientation via transactions" into ics-mr0 2011-10-12 13:03:11 -07:00
Jeff Brown
2b60484225 am 241fe477: am 58bf986c: Merge "Use ashmem for CursorWindows. Bug: 5332296" into ics-mr0
* commit '241fe477edba539bcc58df4410c307d9540a4233':
  Use ashmem for CursorWindows. Bug: 5332296
2011-10-12 12:37:46 -07:00
Romain Guy
fabdc4fba7 am bd3f526e: Merge "Correctly apply transforms when getting a TextureView\'s bitmap Bug #5439406"
* commit 'bd3f526eabcdb77cb2b3ed062072a959924dd95b':
  Correctly apply transforms when getting a TextureView's bitmap Bug #5439406
2011-10-12 12:37:13 -07:00
Jason Sams
678f8ccb3e Merge "Improve rsForEach overhead." 2011-10-12 12:20:04 -07:00
Eino-Ville Talvala
ca2640b2ab am 0a273592: Merge "Add video stabilization control to Camera parameters." into ics-mr0
* commit '0a2735928030229b3340074eb11c2423342fda93':
  Add video stabilization control to Camera parameters.
2011-10-12 10:40:11 -07:00
Eino-Ville Talvala
0a27359280 Merge "Add video stabilization control to Camera parameters." into ics-mr0 2011-10-12 10:37:57 -07:00
Eino-Ville Talvala
037abb8bb0 Add video stabilization control to Camera parameters.
Hardware video stabilization reduces camera shake in preview
and in recorded videos. It has no effect on still image capture.

Convenience accessor methods hidden for now.

Change-Id: Ie18450bff662b2ef98b85d19719beefc180975fc
2011-10-12 10:34:10 -07:00