OSDN Git Service

android-x86/hardware-libhardware.git
14 years agoam 39cd81ce: am b1e212e7: New sensor HAL and test
Mathias Agopian [Thu, 22 Jul 2010 00:49:24 +0000 (17:49 -0700)]
am 39cd81ce: am b1e212e7: New sensor HAL and test

Merge commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7'

* commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7':
  New sensor HAL and test

14 years agoam b1e212e7: New sensor HAL and test
Mathias Agopian [Wed, 21 Jul 2010 23:07:47 +0000 (16:07 -0700)]
am b1e212e7: New sensor HAL and test

Merge commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4' into gingerbread-plus-aosp

* commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4':
  New sensor HAL and test

14 years agoNew sensor HAL and test
Mathias Agopian [Thu, 8 Jul 2010 23:44:54 +0000 (16:44 -0700)]
New sensor HAL and test

Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7

14 years agoam 0e0f617b: am 80107f8e: Remove the YV16 format.
Mathias Agopian [Wed, 14 Jul 2010 23:37:19 +0000 (16:37 -0700)]
am 0e0f617b: am 80107f8e: Remove the YV16 format.

Merge commit '0e0f617befa6987c10f938e44112965b289378e6'

* commit '0e0f617befa6987c10f938e44112965b289378e6':
  Remove the YV16 format.

14 years agoam 80107f8e: Remove the YV16 format.
Mathias Agopian [Wed, 14 Jul 2010 23:33:47 +0000 (16:33 -0700)]
am 80107f8e: Remove the YV16 format.

Merge commit '80107f8e92e25e62c945600325f3e846477bc855' into gingerbread-plus-aosp

* commit '80107f8e92e25e62c945600325f3e846477bc855':
  Remove the YV16 format.

14 years agoRemove the YV16 format.
Mathias Agopian [Wed, 7 Jul 2010 21:54:14 +0000 (14:54 -0700)]
Remove the YV16 format.

Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8

14 years agoam c166ba31: am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into...
Mathias Agopian [Fri, 2 Jul 2010 04:32:10 +0000 (21:32 -0700)]
am c166ba31: am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread

Merge commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b'

* commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b':
  remove h/w specific YUV formats from the HAL

14 years agoam 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread
Mathias Agopian [Fri, 2 Jul 2010 04:29:42 +0000 (21:29 -0700)]
am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread

Merge commit '1daacdc8d2d110d3edd077fcd2befa9884924e10' into gingerbread-plus-aosp

* commit '1daacdc8d2d110d3edd077fcd2befa9884924e10':
  remove h/w specific YUV formats from the HAL

14 years agoMerge "remove h/w specific YUV formats from the HAL" into gingerbread
Mathias Agopian [Fri, 2 Jul 2010 04:28:06 +0000 (21:28 -0700)]
Merge "remove h/w specific YUV formats from the HAL" into gingerbread

14 years agoremove h/w specific YUV formats from the HAL
Mathias Agopian [Fri, 2 Jul 2010 03:36:08 +0000 (20:36 -0700)]
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

14 years agoam 74ca93ca: am 95d78bef: Add 4 private gralloc usage bits.
Jamie Gennis [Fri, 2 Jul 2010 00:01:41 +0000 (17:01 -0700)]
am 74ca93ca: am 95d78bef: Add 4 private gralloc usage bits.

Merge commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3'

* commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3':
  Add 4 private gralloc usage bits.

14 years agoam 95d78bef: Add 4 private gralloc usage bits.
Jamie Gennis [Thu, 1 Jul 2010 23:59:54 +0000 (16:59 -0700)]
am 95d78bef: Add 4 private gralloc usage bits.

Merge commit '95d78bef32edd183fb8c16b7775bf0a069948420' into gingerbread-plus-aosp

* commit '95d78bef32edd183fb8c16b7775bf0a069948420':
  Add 4 private gralloc usage bits.

14 years agoam bab54e08: am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.
Jamie Gennis [Thu, 1 Jul 2010 23:59:52 +0000 (16:59 -0700)]
am bab54e08: am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Merge commit 'bab54e08ff09cce218a9491466d792c1f938b520'

* commit 'bab54e08ff09cce218a9491466d792c1f938b520':
  Fix a typo in the GRALLOC_USAGE_HW_2D constant.

14 years agoam aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.
Jamie Gennis [Thu, 1 Jul 2010 23:58:05 +0000 (16:58 -0700)]
am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Merge commit 'aabb70292351f231bfd4daae8b73edb788eeba1a' into gingerbread-plus-aosp

* commit 'aabb70292351f231bfd4daae8b73edb788eeba1a':
  Fix a typo in the GRALLOC_USAGE_HW_2D constant.

14 years agoAdd 4 private gralloc usage bits.
Jamie Gennis [Thu, 1 Jul 2010 23:49:52 +0000 (16:49 -0700)]
Add 4 private gralloc usage bits.

The private gralloc usage bits can be used to specify device-specific
allocation requirements.

Change-Id: Idc4fbdd3dd7b71767143cf3df5886dfaf43e50a4

14 years agoFix a typo in the GRALLOC_USAGE_HW_2D constant.
Jamie Gennis [Thu, 1 Jul 2010 23:49:07 +0000 (16:49 -0700)]
Fix a typo in the GRALLOC_USAGE_HW_2D constant.

Change-Id: I3de500455715298765b2e27bc8c59e2ec6c7a34f

14 years agoam 2dccee88: am 00758793: Merge "GPS: Add callback for creating threads that can...
Mike Lockwood [Wed, 23 Jun 2010 17:30:52 +0000 (10:30 -0700)]
am 2dccee88: am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread

Merge commit '2dccee88188e46811f0d7713b8d5e24a40a95df3'

* commit '2dccee88188e46811f0d7713b8d5e24a40a95df3':
  GPS: Add callback for creating threads that can call into the Java VM.

14 years agoam 79f188b0: am 28147965: remove unused YUV formats
Mathias Agopian [Wed, 23 Jun 2010 17:30:19 +0000 (10:30 -0700)]
am 79f188b0: am 28147965: remove unused YUV formats

Merge commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3'

* commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3':
  remove unused YUV formats

14 years agoam e65f0e37: am 373a9c6e: Add some useful YUV formats. Add fourcc version of the...
Mathias Agopian [Wed, 23 Jun 2010 17:17:33 +0000 (10:17 -0700)]
am e65f0e37: am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.

Merge commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825'

* commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825':
  Add some useful YUV formats. Add fourcc version of the definitions.

14 years agoam 00758793: Merge "GPS: Add callback for creating threads that can call into the...
Mike Lockwood [Tue, 22 Jun 2010 13:45:00 +0000 (06:45 -0700)]
am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread

Merge commit '00758793ab2803ddb463260dbbb0479f254a3959' into gingerbread-plus-aosp

* commit '00758793ab2803ddb463260dbbb0479f254a3959':
  GPS: Add callback for creating threads that can call into the Java VM.

14 years agoMerge "GPS: Add callback for creating threads that can call into the Java VM." into...
Mike Lockwood [Tue, 22 Jun 2010 13:43:50 +0000 (06:43 -0700)]
Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread

14 years agoam 28147965: remove unused YUV formats
Mathias Agopian [Tue, 22 Jun 2010 01:44:14 +0000 (18:44 -0700)]
am 28147965: remove unused YUV formats

Merge commit '28147965b4f3b57893897924bdd2fc8fdc695f84' into gingerbread-plus-aosp

* commit '28147965b4f3b57893897924bdd2fc8fdc695f84':
  remove unused YUV formats

14 years agoremove unused YUV formats
Mathias Agopian [Tue, 22 Jun 2010 00:46:10 +0000 (17:46 -0700)]
remove unused YUV formats

Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6

14 years agoam 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.
Mathias Agopian [Mon, 21 Jun 2010 22:12:19 +0000 (15:12 -0700)]
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.

14 years agoam e6d315ed: merge from froyo-plus-aosp
The Android Open Source Project [Mon, 21 Jun 2010 18:15:59 +0000 (11:15 -0700)]
am e6d315ed: merge from froyo-plus-aosp

Merge commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0'

* commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0':
  Silenced compiler warning seen only in debug builds.

14 years agomerge from froyo-plus-aosp
The Android Open Source Project [Mon, 21 Jun 2010 18:14:15 +0000 (11:14 -0700)]
merge from froyo-plus-aosp

Change-Id: I52f5bbe1b0b7d9cda30d8ae62236e85e3d4e3631

14 years agoGPS: Add callback for creating threads that can call into the Java VM.
Mike Lockwood [Sun, 20 Jun 2010 21:23:10 +0000 (14:23 -0700)]
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>
14 years agoAdd some useful YUV formats. Add fourcc version of the definitions.
Mathias Agopian [Tue, 15 Jun 2010 04:08:00 +0000 (21:08 -0700)]
Add some useful YUV formats. Add fourcc version of the definitions.

also removed incorrect 4:2:0 interleaved formats

Change-Id: Ib477de86504cc67861def16fc4dfdae0dd3eb59d

14 years agoignore from open-source master
The Android Open Source Project [Tue, 15 Jun 2010 18:12:53 +0000 (11:12 -0700)]
ignore from open-source master

Change-Id: Ia7b62aeb66181b7574f0d1b7464d5df43b29fa4d

14 years agohardware/include: Add the pressure to the sensor data structure
Dan Murphy [Thu, 10 Jun 2010 13:47:48 +0000 (08:47 -0500)]
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>
14 years agoSilenced compiler warning seen only in debug builds.
Chris Pearson [Wed, 2 Jun 2010 22:54:27 +0000 (15:54 -0700)]
Silenced compiler warning seen only in debug builds.

Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
14 years agoGPS API enhancements:
Mike Lockwood [Wed, 14 Apr 2010 19:36:34 +0000 (15:36 -0400)]
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>
14 years agoAdd wake lock utility functions for the GPS HAL.
Mike Lockwood [Wed, 7 Apr 2010 13:04:25 +0000 (09:04 -0400)]
Add wake lock utility functions for the GPS HAL.

Change-Id: Ia7e20dec1a658f5506004ed29632f6a720c77fab
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam 804c3e10: merge from open-source master
The Android Open Source Project [Mon, 12 Apr 2010 20:35:17 +0000 (13:35 -0700)]
am 804c3e10: merge from open-source master

Merge commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b' into kraken

* commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b':
  New GPS HAL Interface

14 years agomerge from open-source master
The Android Open Source Project [Mon, 12 Apr 2010 20:31:56 +0000 (13:31 -0700)]
merge from open-source master

Change-Id: Id5e821e29b8d7ad1c1e103c8f219934bb0214eb8

14 years agoNew GPS HAL Interface
Mike Lockwood [Tue, 23 Feb 2010 23:42:37 +0000 (18:42 -0500)]
New GPS HAL Interface

This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b

14 years agoam da4947ea: New GPS HAL Interface
Mike Lockwood [Tue, 6 Apr 2010 14:16:33 +0000 (07:16 -0700)]
am da4947ea: New GPS HAL Interface

Merge commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4' into kraken

* commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4':
  New GPS HAL Interface

14 years agoNew GPS HAL Interface
Mike Lockwood [Tue, 23 Feb 2010 23:42:37 +0000 (18:42 -0500)]
New GPS HAL Interface

This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b

14 years agoNew GPS HAL Interface
Mike Lockwood [Tue, 23 Feb 2010 23:42:37 +0000 (18:42 -0500)]
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>
14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:52 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: Icc1fdd9c695af86d1fa09c90f7e729391f343d67

14 years ago[2472946] Sensor.TYPE_ORIENTATION returns inverted roll values
Mathias Agopian [Fri, 26 Feb 2010 21:15:18 +0000 (13:15 -0800)]
[2472946] Sensor.TYPE_ORIENTATION returns inverted roll values

update the documentation is sensors.h to reflect reality.

14 years agofix typo
Mathias Agopian [Thu, 18 Feb 2010 05:27:20 +0000 (21:27 -0800)]
fix typo

14 years agorenumber the YCbCr constants to keep binary compatiblity with previous releases
Mathias Agopian [Thu, 18 Feb 2010 01:51:06 +0000 (17:51 -0800)]
renumber the YCbCr constants to keep binary compatiblity with previous releases

14 years agoadd missing yuv constants
Mathias Agopian [Wed, 17 Feb 2010 03:43:19 +0000 (19:43 -0800)]
add missing yuv constants

14 years agodon't use undefined constants
Mathias Agopian [Wed, 17 Feb 2010 01:03:50 +0000 (17:03 -0800)]
don't use undefined constants

14 years agoMerge "hal: Add nv12_tiled/nv21 pixel format constants"
Dima Zavin [Wed, 17 Feb 2010 00:30:26 +0000 (16:30 -0800)]
Merge "hal: Add nv12_tiled/nv21 pixel format constants"

14 years agofix [2444483] gralloc size for YUV formats
Mathias Agopian [Tue, 16 Feb 2010 22:04:00 +0000 (14:04 -0800)]
fix [2444483] gralloc size for YUV formats

14 years agohal: Add nv12_tiled/nv21 pixel format constants
Dima Zavin [Tue, 16 Feb 2010 18:14:47 +0000 (10:14 -0800)]
hal: Add nv12_tiled/nv21 pixel format constants

Change-Id: I6a906cf9fb1539c1876f3737b409ed0598075c8e
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoam e879c389: am be0a1d3b: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:09:58 +0000 (14:09 -0800)]
am e879c389: am be0a1d3b: reconcile main tree with open-source eclair

Merge commit 'e879c389cf9bbbba209a35dc9c9b152489482711'

* commit 'e879c389cf9bbbba209a35dc9c9b152489482711':
  android-2.1_r1 snapshot

14 years agoam be0a1d3b: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:38:43 +0000 (08:38 -0800)]
am be0a1d3b: reconcile main tree with open-source eclair

Merge commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9' into eclair-plus-aosp

* commit 'be0a1d3b7677d08b928479cfa4fa16b734183ec9':
  android-2.1_r1 snapshot

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:18 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

14 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:04 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

14 years agoremove unused code
Mathias Agopian [Wed, 16 Dec 2009 01:22:56 +0000 (17:22 -0800)]
remove unused code

14 years agoremove all references to pmem and simplify the lock/unlock hooks
Mathias Agopian [Tue, 15 Dec 2009 02:27:09 +0000 (18:27 -0800)]
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.

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:55:21 +0000 (14:55 -0800)]
merge from open-source master

14 years agomerge from open-source master
Jean-Baptiste Queru [Sun, 15 Nov 2009 22:06:33 +0000 (14:06 -0800)]
merge from open-source master

Merge commit 'goog/stage-korg-master' into HEAD

14 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:40 +0000 (12:06 -0800)]
merge from eclair

14 years agoeclair snapshot
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:07 +0000 (18:46 -0800)]
eclair snapshot

14 years agoam baf21439: Add brightnessMode field to light_state_t
Mike Lockwood [Tue, 10 Nov 2009 19:59:57 +0000 (11:59 -0800)]
am baf21439: Add brightnessMode field to light_state_t

Merge commit 'baf21439df7b4e641dfa990f12c287dc53c40f09' into eclair-mr2

* commit 'baf21439df7b4e641dfa990f12c287dc53c40f09':
  Add brightnessMode field to light_state_t

14 years agoAdd brightnessMode field to light_state_t
Mike Lockwood [Tue, 10 Nov 2009 12:51:33 +0000 (07:51 -0500)]
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>
14 years agoam a58556d7: Add support for colored jogball (adds hardware flash mode)
Eric Olsen [Thu, 5 Nov 2009 02:01:27 +0000 (18:01 -0800)]
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)

14 years agoAdd support for colored jogball (adds hardware flash mode)
Eric Olsen [Thu, 5 Nov 2009 01:51:56 +0000 (17:51 -0800)]
Add support for colored jogball (adds hardware flash mode)

Signed-off-by: Eric Olsen <eolsen@android.com>
14 years agoam c93ee254: Remove obsolete hardware auto-brightness support.
Mike Lockwood [Tue, 3 Nov 2009 17:37:35 +0000 (09:37 -0800)]
am c93ee254: Remove obsolete hardware auto-brightness support.

Merge commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec' into eclair-mr2

* commit 'c93ee2545a43bc7abdbcc57533e7e3114972d8ec':
  Remove obsolete hardware auto-brightness support.

14 years agoam a2414316: Add documentation for proximity and light sensors.
Mike Lockwood [Tue, 3 Nov 2009 17:37:30 +0000 (09:37 -0800)]
am a2414316: Add documentation for proximity and light sensors.

Merge commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc' into eclair-mr2

* commit 'a2414316075dde4ca5c1393c662f224b36dd3fdc':
  Add documentation for proximity and light sensors.

14 years agoRemove obsolete hardware auto-brightness support.
Mike Lockwood [Tue, 3 Nov 2009 16:39:04 +0000 (11:39 -0500)]
Remove obsolete hardware auto-brightness support.

Change-Id: Iab4bf538268c166a16b4b80f0a2c6361d63c2e2d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd documentation for proximity and light sensors.
Mike Lockwood [Tue, 3 Nov 2009 15:29:50 +0000 (10:29 -0500)]
Add documentation for proximity and light sensors.

Change-Id: I5692e803e33aefbfd79c156fec7700d972140dc4
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam cd2433f3: fix[2222341] Soft reset while going back from camcorder settings
Mathias Agopian [Fri, 30 Oct 2009 21:59:05 +0000 (14:59 -0700)]
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

14 years agofix[2222341] Soft reset while going back from camcorder settings
Mathias Agopian [Fri, 30 Oct 2009 01:29:39 +0000 (18:29 -0700)]
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

14 years agoRemove call to dump_l.
Patrick Scott [Thu, 29 Oct 2009 12:33:42 +0000 (08:33 -0400)]
Remove call to dump_l.

This fail to compile without NDEBUG and the following log statement does
something similar.

14 years agoAdd comment warning to not use hardware based autobrightness support.
Mike Lockwood [Sun, 25 Oct 2009 15:55:00 +0000 (11:55 -0400)]
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>
14 years agoFix a bug that prevents default hw modules to be loaded properly.
David 'Digit' Turner [Fri, 25 Sep 2009 09:31:47 +0000 (02:31 -0700)]
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.

14 years agofix a bug I introduced recently where the "default" HAL module would not be loaded.
Mathias Agopian [Thu, 24 Sep 2009 22:11:04 +0000 (15:11 -0700)]
fix a bug I introduced recently where the "default" HAL module would not be loaded.

14 years agodon't loas inapropriate HAL for a device.
Mathias Agopian [Tue, 22 Sep 2009 05:50:44 +0000 (22:50 -0700)]
don't loas inapropriate HAL for a device.

Once we have determined which HAL to load and checked that the library exists,
we should not try to load another (more generic) HAL if a failure occurs, because
this could result in different process using different HALs for the same component.
Instead we just return an error.

14 years agoAndroid side of the fix for [2121211] Sholes has stutter during animations
Mathias Agopian [Thu, 17 Sep 2009 23:15:36 +0000 (16:15 -0700)]
Android side of the fix for [2121211] Sholes has stutter during animations

a new method, compostionComplete() is added to the framebuffer hal, it is used by surfaceflinger to signal the driver that the composition is complete, BEFORE it releases its client. This gives a chance to the driver to perfrom the proper synchronization.

14 years agoOVERLAY_FORMAT_DEFAULT for overlay
Snigdha Sinha [Thu, 3 Sep 2009 14:53:45 +0000 (09:53 -0500)]
OVERLAY_FORMAT_DEFAULT for overlay

Originally from: https://partner.source.android.com/g/#change,922

14 years agosensors: whitespace clean up
Mike Lockwood [Fri, 4 Sep 2009 16:09:05 +0000 (12:09 -0400)]
sensors: whitespace clean up

Change-Id: I49da2d17dae2f9f958a0ccb205c41a83c123802c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agosensors: Add optional close_data_source call
Mike Lockwood [Sat, 29 Aug 2009 15:55:27 +0000 (11:55 -0400)]
sensors: Add optional close_data_source call

Change-Id: I591afea509ee055211a4beeaa83b12692e251f67
Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agolibhardware: add a field for reporting light levels
Iliyan Malchev [Thu, 20 Aug 2009 23:47:17 +0000 (16:47 -0700)]
libhardware: add a field for reporting light levels

Signed-off-by: Iliyan Malchev <malchev@google.com>
15 years agoMerge changes 21851,21852 into eclair
Android (Google) Code Review [Wed, 19 Aug 2009 20:18:38 +0000 (13:18 -0700)]
Merge changes 21851,21852 into eclair

* changes:
  split gralloc_priv.h and make sure it is C friendly
  integrate this change from the generic gralloc

15 years agoadd typedefs to gralloc and hardware.h so it's more C friendly
Mathias Agopian [Wed, 19 Aug 2009 18:20:55 +0000 (11:20 -0700)]
add typedefs to gralloc and hardware.h so it's more C friendly

15 years agosplit gralloc_priv.h and make sure it is C friendly
Mathias Agopian [Wed, 19 Aug 2009 00:35:44 +0000 (17:35 -0700)]
split gralloc_priv.h and make sure it is C friendly

15 years agointegrate this change from the generic gralloc
Mathias Agopian [Wed, 19 Aug 2009 00:22:51 +0000 (17:22 -0700)]
integrate this change from the generic gralloc

15 years agodon't memset ashmem region, especially before they're mmapped
Mathias Agopian [Sun, 9 Aug 2009 00:01:18 +0000 (17:01 -0700)]
don't memset ashmem region, especially before they're mmapped

15 years agoadd support for RGBX_8888
Mathias Agopian [Sat, 8 Aug 2009 03:55:37 +0000 (20:55 -0700)]
add support for RGBX_8888

15 years agomake sure to clear surface's buffers when they are allocated
Mathias Agopian [Sat, 8 Aug 2009 01:13:47 +0000 (18:13 -0700)]
make sure to clear surface's buffers when they are allocated

15 years agoAdded resizeInput and setAttributes function declarations to overlay hal
Benny Wong [Sat, 25 Jul 2009 00:28:26 +0000 (19:28 -0500)]
Added resizeInput and setAttributes function declarations to overlay hal

15 years agolights: Header file updates for ALS support codes
Dan Murphy [Tue, 21 Jul 2009 13:56:12 +0000 (08:56 -0500)]
lights: Header file updates for ALS support codes

These changes adds ALS support to the lighting system

Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
15 years agoreconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master

15 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master

15 years agoMerge change 7784
Android (Google) Code Review [Mon, 20 Jul 2009 18:34:39 +0000 (11:34 -0700)]
Merge change 7784

* changes:
  Remove redundant defines, these were only necessary while changes were being staged to another repo

15 years agoMerge change 5893
Android (Google) Code Review [Sat, 18 Jul 2009 06:37:19 +0000 (23:37 -0700)]
Merge change 5893

* changes:
  Color Format and Overlay Functions

15 years agoRemove redundant defines, these were only necessary while changes were
Rebecca Schultz Zavin [Fri, 17 Jul 2009 23:28:02 +0000 (16:28 -0700)]
Remove redundant defines, these were only necessary while changes were
being staged to another repo

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
15 years agoColor Format and Overlay Functions
Benny Wong [Tue, 7 Jul 2009 16:43:52 +0000 (11:43 -0500)]
Color Format and Overlay Functions

Add hardware overlay related function declarations and more color format enums

15 years agoFix the simulator build.
Marco Nelissen [Fri, 17 Jul 2009 18:14:53 +0000 (11:14 -0700)]
Fix the simulator build.

15 years agofix [1980202] Surfaceflinger crash with transparent rollo on firestone
Mathias Agopian [Fri, 17 Jul 2009 01:04:54 +0000 (18:04 -0700)]
fix [1980202] Surfaceflinger crash with transparent rollo on firestone

we now automatically size the pmem region isntead of using hardcoded values

15 years agogeneric gralloc HAL doesn't need to support partial updates using msm7k specific...
Mathias Agopian [Wed, 15 Jul 2009 22:01:10 +0000 (15:01 -0700)]
generic gralloc HAL doesn't need to support partial updates using msm7k specific ioctl.

15 years agobetter logs
Mathias Agopian [Tue, 14 Jul 2009 01:32:37 +0000 (18:32 -0700)]
better logs

15 years agoautomatically detect update-on-demand
Mathias Agopian [Mon, 13 Jul 2009 21:30:48 +0000 (14:30 -0700)]
automatically detect update-on-demand

15 years agolibhardware: add data field for proximity sensors
Iliyan Malchev [Wed, 8 Jul 2009 20:54:17 +0000 (13:54 -0700)]
libhardware: add data field for proximity sensors

Signed-off-by: Iliyan Malchev <malchev@google.com>