Commit graph

95 commits

Author SHA1 Message Date
Kenny Root
e8b8c39057 resolved conflicts for merge of 5e610d6a to master
Change-Id: Ibeaa176ff4b25f81559d14dd8c73283ee4f2eacf
2010-08-24 10:22:45 -07:00
Mathias Agopian
bfbf26c2c8 am 3691181b: am 76022c6f: Merge "revert pixelformat hack" into gingerbread
Merge commit '3691181b21454bcd56c9521e8b61d96ed6e01f84'

* commit '3691181b21454bcd56c9521e8b61d96ed6e01f84':
  revert pixelformat hack
2010-08-21 09:43:27 -07:00
Jean-Baptiste Queru
5e610d6ad6 resolved conflicts for merge of b01a043d to gingerbread-plus-aosp
Change-Id: I60466613c7ea0335a78d553a10876367d65557d9
2010-08-20 17:30:45 -07:00
Mathias Agopian
2250f45ff0 revert pixelformat hack
Change-Id: Ia5e01b2b2f205f48ede1d29275094a64221df2d4
2010-08-19 13:14:46 -07:00
Mathias Agopian
2698f0cd99 Revert hwcomposer HAL. DO NOT MERGE.
This reverts commit cdd44a0db3.
This reverts commit e6b5c05aa0.
This reverts commit 5d3de309f4.
2010-08-17 20:29:08 -07:00
Mathias Agopian
db23b533af am ee1b98f8: am cdd44a0d: added a new hint to tell SF it should clear the FB for some layers
Merge commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093'

* commit 'ee1b98f8b3016173b3aadcb652cc53c5ca09c093':
  added a new hint to tell SF it should clear the FB for some layers
2010-08-12 15:11:19 -07:00
Mathias Agopian
cdd44a0db3 added a new hint to tell SF it should clear the FB for some layers
Change-Id: I784e7c5be2eab84c321773dc53b4cb657ca9a457
2010-08-12 15:04:58 -07:00
Makarand Karvekar
3120b58768 hw: sensors: Add gyro field
Change-Id: I113f0a067fccbc8d69d1949b6af3ed9e119d0355
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-08-11 15:12:52 -07:00
Mathias Agopian
b3ae979489 am 754c7a01: am 60d641e5: Merge "first stab at hwcomposer HAL and default implementation." into gingerbread
Merge commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0'

* commit '754c7a01d76493a2c3afafe21c3d52abbada3ef0':
  first stab at hwcomposer HAL and default implementation.
2010-08-10 13:55:30 -07:00
Mathias Agopian
5d3de309f4 first stab at hwcomposer HAL and default implementation.
Change-Id: I7ff47b94a6b34a8f61031bd94e936a088dcea6ab
2010-08-09 17:15:16 -07:00
Kevin Powell
b01a043df4 add new sensor types for handling gyro data and device orientation more efficiently.
Change-Id: I453b7a2e84b885ca207d9d938b923e1624554644
2010-08-05 09:51:37 -07:00
Mathias Agopian
d521dcac2e am ae3b05e8: am 67d82220: temporary hack to allow compilation of adreno driver
Merge commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba'

* commit 'ae3b05e8f38e588df1a500ccea9f7961c93686ba':
  temporary hack to allow compilation of adreno driver
2010-07-31 12:19:29 -07:00
Mathias Agopian
67d8222063 temporary hack to allow compilation of adreno driver
Change-Id: Ib3c260df2c22e1c59c5380278ea470e34aedbd81
2010-07-30 17:57:02 -07:00
Mathias Agopian
5c0b977701 am bb2c87ea: am 1511e20f: improved comments and added a minDelay attribute to sensor_t
Merge commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb'

* commit 'bb2c87ea03c6bff09ea05dc6ba69796efe31ebdb':
  improved comments and added a minDelay attribute to sensor_t
2010-07-29 18:20:40 -07:00
Mathias Agopian
1a4ca39725 am 0bcdefe8: am 1832f557: Added definition/documentation for pressure sensors
Merge commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377'

* commit '0bcdefe8180c8d44e1d2ad6ec8e332263bd94377':
  Added definition/documentation for pressure sensors
2010-07-29 18:20:38 -07:00
Mathias Agopian
1511e20fbb improved comments and added a minDelay attribute to sensor_t
Change-Id: Ie00fe8260089614e15f1f8035b8392711dff048c
2010-07-29 15:33:22 -07:00
Mathias Agopian
1832f55760 Added definition/documentation for pressure sensors
Change-Id: I68b1bb74ebf1aceee09b6e8cbb8e37b906dbdcd0
2010-07-29 15:22:30 -07:00
Mathias Agopian
0f1aaf80c7 am c0611f0f: am 478994a7: improve sensor HAL documentation
Merge commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce'

* commit 'c0611f0f19b138bba04027d3fb530ab1d85fb9ce':
  improve sensor HAL documentation
2010-07-26 12:27:45 -07:00
Mathias Agopian
478994a758 improve sensor HAL documentation
Change-Id: If443c1d2e48c697fa8774bd94af4e65866d1dedb
2010-07-23 17:23:43 -07:00
Mathias Agopian
2ba551b90b am f0e4ec1a: am 66a4095c: Be more explicit about the rate at which sensor events must be returned
Merge commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2'

* commit 'f0e4ec1a04701c40e38a09a97e6f1c417163e0c2':
  Be more explicit about the rate at which sensor events must be returned
2010-07-22 17:17:45 -07:00
Mathias Agopian
66a4095ca0 Be more explicit about the rate at which sensor events must be returned
Change-Id: I937e84c34c539b4e3ff34eddcf4fb24e2866ebfa
2010-07-22 17:11:50 -07:00
Mathias Agopian
6c84d7a579 resolved conflicts for merge of e153b430 to master
Change-Id: I72e67a7e6b23219f0c1b6fa7d114da2c1e22fdc1
2010-07-21 18:00:36 -07:00
Mathias Agopian
87bd257849 am 97ba26bb: am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads
Merge commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf'

* commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf':
  new sensor_event_t structure for the new HAL that can handle bigger payloads
2010-07-21 17:49:27 -07:00
Mathias Agopian
9de11a9c1c am 39cd81ce: am b1e212e7: New sensor HAL and test
Merge commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7'

* commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7':
  New sensor HAL and test
2010-07-21 17:49:24 -07:00
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
9eed234b60 am 0e0f617b: am 80107f8e: Remove the YV16 format.
Merge commit '0e0f617befa6987c10f938e44112965b289378e6'

* commit '0e0f617befa6987c10f938e44112965b289378e6':
  Remove the YV16 format.
2010-07-14 16:37:19 -07:00
Mathias Agopian
80107f8e92 Remove the YV16 format.
Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8
2010-07-14 15:16:12 -07:00
Mathias Agopian
8b4935ad84 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
2010-07-01 21:32:10 -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
56e36cb544 am 74ca93ca: am 95d78bef: Add 4 private gralloc usage bits.
Merge commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3'

* commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3':
  Add 4 private gralloc usage bits.
2010-07-01 17:01:41 -07:00
Jamie Gennis
920f9dae76 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.
2010-07-01 16:59:52 -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
ffc682e857 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.
2010-06-23 10:30:52 -07:00
Mathias Agopian
421a0c3169 am 79f188b0: am 28147965: remove unused YUV formats
Merge commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3'

* commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3':
  remove unused YUV formats
2010-06-23 10:30:19 -07:00
Mathias Agopian
4d4d4eeb4a 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.
2010-06-23 10:17:33 -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
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
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
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
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