Commit graph

342 commits

Author SHA1 Message Date
Mathias Agopian
28147965b4 remove unused YUV formats
Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6
2010-06-21 18:22:36 -07:00
Mathias Agopian
e65f0e3725 am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.
Merge commit '373a9c6efebc97ade940dc5996f24992cda450c7' into gingerbread-plus-aosp

* commit '373a9c6efebc97ade940dc5996f24992cda450c7':
  Add some useful YUV formats. Add fourcc version of the definitions.
2010-06-21 15:12:19 -07:00
The Android Open Source Project
984a15cefb am e6d315ed: merge from froyo-plus-aosp
Merge commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0'

* commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0':
  Silenced compiler warning seen only in debug builds.
2010-06-21 11:15:59 -07:00
The Android Open Source Project
e6d315ede7 merge from froyo-plus-aosp
Change-Id: I52f5bbe1b0b7d9cda30d8ae62236e85e3d4e3631
2010-06-21 11:14:15 -07:00
Mike Lockwood
4453b5bfc9 GPS: Add callback for creating threads that can call into the Java VM.
To eliminate an unnecessary thread in the framework GPS code, we now
require the GPS HAL to call callbacks from a thread created using the
create_thread_cb.  Such threads are able to call directly into Java,
eliminating a polling thread in the GpsLocationProvider code.

Change-Id: I91eeea73b8908f10f10a93ae71034c63f806e8a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-20 14:23:10 -07:00
Mathias Agopian
373a9c6efe Add some useful YUV formats. Add fourcc version of the definitions.
also removed incorrect 4:2:0 interleaved formats

Change-Id: Ib477de86504cc67861def16fc4dfdae0dd3eb59d
2010-06-15 17:32:16 -07:00
The Android Open Source Project
da137cc04c ignore from open-source master
Change-Id: Ia7b62aeb66181b7574f0d1b7464d5df43b29fa4d
2010-06-15 11:12:53 -07:00
Dan Murphy
2b9fcc36e2 hardware/include: Add the pressure to the sensor data structure
Add the pressure variable to the sensor.h file for barometer.

Change-Id: Ie05b65f9215639cee6dc3ae926a0cc07e673e5b6
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-06-10 12:21:00 -07:00
Chris Pearson
28648e7303 Silenced compiler warning seen only in debug builds.
Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
2010-06-02 15:54:27 -07:00
Mike Lockwood
b15879a589 GPS API enhancements:
Add set_capabilities callback to inform the framework of the engine's capabilities.
Add more parameters to set_position_mode

Change-Id: I75572979c031ffc0d915bb9e8aebce09d4982336
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 15:38:22 -04:00
Mike Lockwood
d20bbae343 Add wake lock utility functions for the GPS HAL.
Change-Id: Ia7e20dec1a658f5506004ed29632f6a720c77fab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 14:45:49 -04:00
The Android Open Source Project
b9e7ea446e am 804c3e10: merge from open-source master
Merge commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b' into kraken

* commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b':
  New GPS HAL Interface
2010-04-12 13:35:17 -07:00
The Android Open Source Project
804c3e1077 merge from open-source master
Change-Id: Id5e821e29b8d7ad1c1e103c8f219934bb0214eb8
2010-04-12 13:31:56 -07:00
Mike Lockwood
4ea2a7a23c New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
2010-04-08 18:07:34 -07:00
Mike Lockwood
b4a9ae7aeb am da4947ea: New GPS HAL Interface
Merge commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4' into kraken

* commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4':
  New GPS HAL Interface
2010-04-06 07:16:33 -07:00
Mike Lockwood
da4947ea97 New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
2010-04-05 15:45:13 -07:00
Mike Lockwood
9b0b1c34ec New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: Ia4f9f8a9b12d84c239d367db3ad1dfdc830e0aba
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-05 14:21:44 -04:00
Jean-Baptiste Queru
3b13802609 Add an empty CleanSpec.mk
Change-Id: Icc1fdd9c695af86d1fa09c90f7e729391f343d67
2010-03-08 18:04:52 -08:00
Mathias Agopian
19ea59f865 [2472946] Sensor.TYPE_ORIENTATION returns inverted roll values
update the documentation is sensors.h to reflect reality.
2010-02-26 13:30:21 -08:00
Mathias Agopian
9e149fc6e1 fix typo 2010-02-17 21:27:20 -08:00
Mathias Agopian
ad8322bfe4 renumber the YCbCr constants to keep binary compatiblity with previous releases 2010-02-17 17:51:06 -08:00
Mathias Agopian
662b534530 add missing yuv constants 2010-02-16 19:43:19 -08:00
Mathias Agopian
7e734baec7 don't use undefined constants 2010-02-16 17:03:50 -08:00
Dima Zavin
dd473846c3 Merge "hal: Add nv12_tiled/nv21 pixel format constants" 2010-02-16 16:30:26 -08:00
Mathias Agopian
9da751bbf7 fix [2444483] gralloc size for YUV formats 2010-02-16 14:04:00 -08:00
Dima Zavin
38a0138caf hal: Add nv12_tiled/nv21 pixel format constants
Change-Id: I6a906cf9fb1539c1876f3737b409ed0598075c8e
Signed-off-by: Dima Zavin <dima@android.com>
2010-02-16 10:14:47 -08:00
The Android Open Source Project
c212d9d76f am e879c389: am be0a1d3b: reconcile main tree with open-source eclair
Merge commit 'e879c389cf9bbbba209a35dc9c9b152489482711'

* commit 'e879c389cf9bbbba209a35dc9c9b152489482711':
  android-2.1_r1 snapshot
2010-02-05 14:09:58 -08:00
The Android Open Source Project
e879c389cf am be0a1d3b: reconcile main tree with open-source eclair
Merge commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9' into eclair-plus-aosp

* commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9':
  android-2.1_r1 snapshot
2010-02-05 08:38:43 -08:00
The Android Open Source Project
be0a1d3b76 reconcile main tree with open-source eclair 2010-02-05 08:09:38 -08:00
The Android Open Source Project
d910467a28 reconcile android-2.1_r1 snapshot 2010-01-29 14:09:18 -08:00
The Android Open Source Project
a6612f8442 android-2.1_r1 snapshot 2010-01-12 15:19:04 -08:00
Mathias Agopian
ee4e57e949 remove unused code 2009-12-15 17:22:56 -08:00
Mathias Agopian
f96b2064d7 remove all references to pmem and simplify the lock/unlock hooks
this gralloc module is only used on the emulator or without a h/w
renderer. therefore there is no synchronization to do in lock/unlock
and pmem buffers are not relevant.

hopefully this will remove some of the confusion about how gralloc
should be implemented and make it more obvious that this implementation
is not intended to be used by h/w renderers.
2009-12-15 15:00:57 -08:00
Jean-Baptiste Queru
058c1fce99 merge from open-source master 2009-11-15 14:55:21 -08:00
Jean-Baptiste Queru
e6d60500e7 merge from open-source master
Merge commit 'goog/stage-korg-master' into HEAD
2009-11-15 14:06:33 -08:00
Jean-Baptiste Queru
410c0077b0 merge from eclair 2009-11-15 12:06:40 -08:00
Jean-Baptiste Queru
1202e079cf eclair snapshot 2009-11-12 18:46:07 -08:00
Mike Lockwood
ecc3bfa617 am baf21439: Add brightnessMode field to light_state_t
Merge commit 'baf21439df7b4e641dfa990f12c287dc53c40f09' into eclair-mr2

* commit 'baf21439df7b4e641dfa990f12c287dc53c40f09':
  Add brightnessMode field to light_state_t
2009-11-10 11:59:57 -08:00
Mike Lockwood
baf21439df Add brightnessMode field to light_state_t
This is to allow the framework to inform the lights HAL of the current
lighting mode for the LCD backlight.

Change-Id: I665653c4b9097c4dd92bf0aaa5d83953e134a886
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-10 07:51:33 -05:00
Eric Olsen
97bba48017 am a58556d7: Add support for colored jogball (adds hardware flash mode)
Merge commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4' into eclair-mr2

* commit 'a58556d7d8919ca193ec894b3f8553357bbbccc4':
  Add support for colored jogball (adds hardware flash mode)
2009-11-04 18:01:27 -08:00
Eric Olsen
a58556d7d8 Add support for colored jogball (adds hardware flash mode)
Signed-off-by: Eric Olsen <eolsen@android.com>
2009-11-04 17:51:56 -08:00
Mike Lockwood
cbda89c50b am c93ee254: Remove obsolete hardware auto-brightness support.
Merge commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec' into eclair-mr2

* commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec':
  Remove obsolete hardware auto-brightness support.
2009-11-03 09:37:35 -08:00
Mike Lockwood
fb9c9a63f3 am a2414316: Add documentation for proximity and light sensors.
Merge commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc' into eclair-mr2

* commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc':
  Add documentation for proximity and light sensors.
2009-11-03 09:37:30 -08:00
Mike Lockwood
c93ee2545a Remove obsolete hardware auto-brightness support.
Change-Id: Iab4bf538268c166a16b4b80f0a2c6361d63c2e2d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-03 11:39:04 -05:00
Mike Lockwood
a241431607 Add documentation for proximity and light sensors.
Change-Id: I5692e803e33aefbfd79c156fec7700d972140dc4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-03 10:29:50 -05:00
Mathias Agopian
5a5d4ad61b am cd2433f3: fix[2222341] Soft reset while going back from camcorder settings
Merge commit 'cd2433f3804a537aedc26f595b1c05f95a05244a' into eclair-mr2

* commit 'cd2433f3804a537aedc26f595b1c05f95a05244a':
  fix[2222341] Soft reset while going back from camcorder settings
2009-10-30 14:59:05 -07:00
Mathias Agopian
cd2433f380 fix[2222341] Soft reset while going back from camcorder settings
add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger
2009-10-30 14:38:22 -07:00
Patrick Scott
baf99300f7 Remove call to dump_l.
This fail to compile without NDEBUG and the following log statement does
something similar.
2009-10-29 08:33:42 -04:00
Mike Lockwood
4016d6bc35 Add comment warning to not use hardware based autobrightness support.
This is deprecated and will be removed in the next release.

Change-Id: I5a5e93b99ae722dfcd0e9cf6415c8af6a71e6eab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-25 11:55:00 -04:00
David 'Digit' Turner
2b811adcbc Fix a bug that prevents default hw modules to be loaded properly.
The problem was a simple typo, which prevented modules like
/system/lib/hw/lib<module>.default.so from being loaded even if they
were found on the system.

This is required to fix the generic build when run in the emulator.
2009-09-25 02:31:47 -07:00