Mathias Agopian
98c5309047
move the old sensorHAL interface into a separate header
...
sensors_deprecated.h is included from sensors.h, for
easier reading.
Change-Id: I97883e1db73beb6c612da2ec023ee6bb8d4858c3
2010-07-19 15:32:24 -07:00
Mathias Agopian
cdefccdba5
new sensor_event_t structure for the new HAL that can handle bigger payloads
...
Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
2010-07-19 14:14:04 -07:00
Mathias Agopian
b1e212e7b6
New sensor HAL and test
...
Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
2010-07-14 20:39:46 -07:00
Mathias Agopian
80107f8e92
Remove the YV16 format.
...
Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8
2010-07-14 15:16:12 -07:00
Mathias Agopian
1daacdc8d2
Merge "remove h/w specific YUV formats from the HAL" into gingerbread
2010-07-01 21:28:06 -07:00
Mathias Agopian
6915eb345b
remove h/w specific YUV formats from the HAL
...
we now only support 2 "standard" yuv format in the HAL.
there is a new reserved range 0x100-0x1FF for OEMs.
Change-Id: I171fb0f8d90ded64773ac9c1e5adcab1e1f25c7f
2010-07-01 21:18:32 -07:00
Jamie Gennis
95d78bef32
Add 4 private gralloc usage bits.
...
The private gralloc usage bits can be used to specify device-specific
allocation requirements.
Change-Id: Idc4fbdd3dd7b71767143cf3df5886dfaf43e50a4
2010-07-01 16:49:52 -07:00
Jamie Gennis
aabb702923
Fix a typo in the GRALLOC_USAGE_HW_2D constant.
...
Change-Id: I3de500455715298765b2e27bc8c59e2ec6c7a34f
2010-07-01 16:49:07 -07:00
Mike Lockwood
00758793ab
Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread
2010-06-22 06:43:50 -07:00
Mathias Agopian
28147965b4
remove unused YUV formats
...
Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6
2010-06-21 18:22:36 -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
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