Commit graph

993 commits

Author SHA1 Message Date
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
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
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
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
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
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
Mathias Agopian
8255d9d3b6 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.
2009-09-17 16:15:36 -07:00
Snigdha Sinha
adc7f1ba08 OVERLAY_FORMAT_DEFAULT for overlay
Originally from: https://partner.source.android.com/g/#change,922
2009-09-08 22:39:56 -07:00
Mike Lockwood
2bedac69dc sensors: whitespace clean up
Change-Id: I49da2d17dae2f9f958a0ccb205c41a83c123802c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-04 12:09:05 -04:00
Mike Lockwood
fbbb347f17 sensors: Add optional close_data_source call
Change-Id: I591afea509ee055211a4beeaa83b12692e251f67
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-29 11:55:27 -04:00
Iliyan Malchev
61fee89f2d libhardware: add a field for reporting light levels
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-20 16:47:17 -07:00
Mathias Agopian
9d82c1a447 add typedefs to gralloc and hardware.h so it's more C friendly 2009-08-19 11:20:55 -07:00
Mathias Agopian
7d512e3dc3 add support for RGBX_8888 2009-08-07 20:55:37 -07:00
Benny Wong
75cdfbb45d Added resizeInput and setAttributes function declarations to overlay hal 2009-07-29 17:48:04 -07:00
Dan Murphy
e00013c495 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>
2009-07-28 08:48:37 -07:00
Rebecca Schultz Zavin
dbb872157b Remove redundant defines, these were only necessary while changes were
being staged to another repo

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-07-17 16:28:02 -07:00
Benny Wong
49b02f75eb Color Format and Overlay Functions
Add hardware overlay related function declarations and more color format enums
2009-07-17 16:26:25 -07:00
Iliyan Malchev
f5a22bcfa6 libhardware: add data field for proximity sensors
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-07-08 13:54:17 -07:00
Mathias Agopian
689fa73c06 copybit now uses a native_handle_t* instead of a fd/offset 2009-06-24 20:36:52 -07:00
Mathias Agopian
5b44567e00 Merge commit 'goog/master' into merge_master 2009-06-05 15:45:43 -07:00
Bill Napier
8d567480b4 Update open_data_source documentation to accurately reflect the correct return value on error. 2009-06-02 17:46:10 -07:00
Mathias Agopian
8aee7e58cf Merge commit 'goog/master' into merge_master 2009-05-27 14:25:54 -07:00
Mike Lockwood
21b652f933 Sensors: Use a native_handle for the data channel instead of a single file descriptor.
This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-22 17:44:40 -04:00
Mathias Agopian
da1cfb76c5 Merge commit 'goog/master' into merge_master 2009-05-22 00:59:36 -07:00
Mathias Agopian
465cf474be fix [1847499] sensors.h : "roll" documentation is wrong 2009-05-18 14:09:59 -07:00
Mathias Agopian
f5cf8f842a better documentation for (*setUpdateRect)() 2009-05-07 17:39:31 -07:00
Mathias Agopian
485e69809a better documentation and implementation for lock/unlock 2009-05-05 20:49:49 -07:00
Mathias Agopian
295190f426 get rid of unused/needed flags 2009-05-05 18:30:52 -07:00
Mathias Agopian
988b8bd553 lock will now return the vaddr of the buffer. map/umap are gone.
- make sure to return an error if a buffer is locked twice or unlocked while not locked.
- added registerBuffer() and unregisterBuffer() to the gralloc module so that we can do some cleanup when a buffer is no longer needed. this became necessary after we removed map/unmap so we have a place to unmap buffers without the need of a kernel module.
- change the constants for GRALLOC_USAGE_SW_{READ|WRITE}_NEVER to 0, so that NOT specifying them means "NEVER".
2009-05-04 14:26:56 -07:00
Mathias Agopian
a8a75166a2 Integrate from //sandbox/mathias/donut/...@145728
SurfaceFlinger rework for new EGL driver model support.
2009-04-10 14:24:31 -07:00
Mathias Agopian
cfce2add7e AI 143310: am: CL 143161 am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143310
2009-03-27 17:59:33 -07:00
Mathias Agopian
86db8a1f72 AI 143161: am: CL 142857 Add some bluring to the animation. This requires a new kernel which will be checked-in later, at which point the blur effect will automatically be enabled.
Original author: mathias
  Merged from: //branches/cupcake/...

Automated import of CL 143161
2009-03-27 15:40:03 -07:00
The Android Open Source Project
65f2d3aeee auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:47 -07:00
The Android Open Source Project
f53ebec387 auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
The Android Open Source Project
d51f49a11d auto import from //depot/cupcake/@135843 2009-03-03 18:28:48 -08:00
The Android Open Source Project
a5d999ff17 auto import from //branches/cupcake/...@131421 2009-02-13 12:57:52 -08:00
The Android Open Source Project
b376203efb auto import from //branches/cupcake/...@130745 2009-02-10 15:44:04 -08:00
The Android Open Source Project
f87393cb24 auto import from //branches/cupcake/...@127101 2009-01-20 14:03:59 -08:00
The Android Open Source Project
0100d517b1 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:12 -08:00
The Android Open Source Project
699d24ab11 auto import from //branches/cupcake/...@125939 2009-01-09 17:51:24 -08:00
The Android Open Source Project
51704bed79 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:50 -08:00
The Android Open Source Project
d6054a3647 Initial Contribution 2008-10-21 07:00:00 -07:00