• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/hardware/
History log of /frameworks/base/core/java/android/hardware/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8edad6f16fc1d60a163e0f63153ff4f8a95e6c0e 09-Mar-2012 Scott Main <smain@google.com> docs: Fix a bunch of misc doc issues from external tracker

Change-Id: I03cae5bdb7b806e81cc6c983a014de212cb80c73
eomagneticField.java
52bfc243684b2f340da326aaa38e9021e4e3b2e6 09-Feb-2012 Scott Main <smain@google.com> docs: fix misc doc bugs from external issue tracker

Change-Id: If6ff3476670e42b321d56d4a1482ccff96d4d500
ensorEvent.java
b7feb1c91f1053adb1815bc522c43db3f2c3f598 06-Jan-2012 Eino-Ville Talvala <etalvala@google.com> Switch camera sounds to always use the system enforced audio stream.

Instead of picking between the music stream and the enforced audio
stream, change the camera service to always play sounds through
enforced system stream. Also update the currently-hidden CameraSound
API to match.

Bug: 5778365
Change-Id: I3cc64b1d1ff567dbac8020a665d5b19846197ff3
ameraSound.java
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 20-Dec-2011 Joe Fernandez <joefernandez@google.com> docs: Add developer guide cross-references, Project ACRE, round 4

Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
sb/UsbAccessory.java
sb/UsbDevice.java
sb/UsbInterface.java
sb/UsbManager.java
sb/package.html
0cac6aa993838cdbac90472237541f9b33c40994 18-Nov-2011 Wu-cheng Li <wuchengli@google.com> Move Camera.Sound to a stand-alone class CameraSound.

bug:5640219

Change-Id: Ibc105351e25b9758c451a94d9a5e50942bf0e926
amera.java
ameraSound.java
b838d8d4a26c3cfea2e2a5ce831daebbb5653ae7 17-Nov-2011 Wu-cheng Li <wuchengli@google.com> Unlock camera AWB lock only when white-balance is changed.

bug:5633546
Change-Id: I90bb4b5b445daedf38a64e2f8fb980fc0f0aaa81
amera.java
8c13670c13a7a965884d92193b039e26c96b95c6 12-Aug-2011 Wu-cheng Li <wuchengli@google.com> Improve camera face detection javadoc.

bug:4460717
Change-Id: I6e040911ce802e597e77dfdde1c92b75d51975c8
amera.java
e0cc55ac725feec88c77b482d1990221c9a80f74 08-Nov-2011 Eino-Ville Talvala <etalvala@google.com> Add a sound-playing method to Camera API.

To allow applications with non-standard Camera use cases to use the
platform sound files and routing, add a method to play any of the
standard Camera sounds (shutter, autofocus, record start/stop) using a
background thread.

Bug: 5447107
Change-Id: I2524853a626e3ce334a7aad2f7de061d5c04abd0
amera.java
11ba6da460572b9ce9cb9dc0d5a76b710e7efdb3 01-Nov-2011 Chih-Chung Chang <chihchung@google.com> am 4b6353ea: Merge "Update camera continuous autofocus javadoc." into ics-mr0

* commit '4b6353ea0265bfed52d0637abd1b17596ce25ff0':
Update camera continuous autofocus javadoc.
d47823e359ac346c7a1b9051866a72e8436f82cd 31-Oct-2011 Pannag Sanketi <psanketi@google.com> Expose video stabilization API

Related to bug:5469735

Change-Id: I0a8245b37eed7f2cb58d35c7a9a7b3b293b64694
amera.java
0f4f97b70f6ad59b32e78720ba7357733bdef3e9 27-Oct-2011 Wu-cheng Li <wuchengli@google.com> Update camera continuous autofocus javadoc.

Suppose applications call autoFocus in CAF picture mode. If
CAF is in the middle of scanning, the picture is very likely to
be blurry. Change focus callback to return when the scanning
finishes.

bug:5514415
Change-Id: Ibcb8f92a5263d7dbd7cce54df3617fb21c6255d4
amera.java
6c5c3c392b8abce93fd2d366f12449c713ed0016 18-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: Camera JavaDoc - added xref to Camera DevGuide

Change-Id: I4b5faa154a63f0830717a9156b617a0199604547
amera.java
53b30912d3e8598c05e47308981971e958e98db2 12-Oct-2011 Wu-cheng Li <wuchengli@google.com> Improve camera javadoc and fix some errors.

bug:5169599
Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d
amera.java
037abb8bb064c2878858c9b69978f6754f242627 11-Oct-2011 Eino-Ville Talvala <etalvala@google.com> Add video stabilization control to Camera parameters.

Hardware video stabilization reduces camera shake in preview
and in recorded videos. It has no effect on still image capture.

Convenience accessor methods hidden for now.

Change-Id: Ie18450bff662b2ef98b85d19719beefc180975fc
amera.java
3c02c12c73fa8719e49a5da6534750196efe3eba 07-Oct-2011 Wu-cheng Li <wuchengli@google.com> Merge "Allow Camera.setDisplayOrientation to be called when preview is active."
d303362ac21fb9de40f2f2366cbe7ecaa113dc12 07-Oct-2011 Wu-cheng Li <wuchengli@google.com> Allow Camera.setDisplayOrientation to be called when preview is active.

bug:5422679

Change-Id: I4c936ab00428fc158b5947fe8f10b1028869bbdb
amera.java
464cb21e2aaa448072449b82156f18bd64c0e613 05-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: Camera class JavaDoc FixIts for ICS

Change-Id: I03d96247d149baf82c53b33aa7737fca11906ce6
amera.java
3d9a9e55df85c720573e69ec3062efc331ea69bb 23-Sep-2011 Wei Huang <weih@google.com> Merge "Update camera javadoc about AE and AWB lock." into ics-factoryrom
664d72e6630522589cc013b25f5c9cdd5d949fa3 23-Sep-2011 Chih-yu Huang <akahuang@google.com> Clear callbacks in camera stopPreview.

Clear those callbacks to remove the references
so the memory can be recycled.

bug:5358774
Change-Id: I3b6034a1891126b3437a6744013f38a64f5bb03b
amera.java
b4f95be03e018df825356fe2cd363797c66303f1 22-Sep-2011 Wu-cheng Li <wuchengli@google.com> Update camera javadoc about AE and AWB lock.

- Autofocus does not lock AE and AWB.
- stopPreview and takePicture do not clear AE and AWB locks.

bug:5356404

Change-Id: I55d9b35f4ff746ecd2bff112c2674f1aa2543aca
amera.java
5263767cdae21f8f6968dfba974623b240746d6e 15-Sep-2011 Mathias Agopian <mathias@google.com> Tweak DELAY_UI for 16Hz to 15Hz

this allows us to hit the lower accel rate.

Change-Id: I21944ee82020cf4b80397b87803bc481ddf51931
ensorManager.java
66bd5e98ec1e626b731394eb8ce63b4f63be1d05 08-Sep-2011 Mathias Agopian <mathias@google.com> Merge "improve the gyroscope javadoc"
ad7f33a29c6ce41f2b662d1de9af7e9cf92f4dc9 08-Sep-2011 Mathias Agopian <mathias@google.com> improve the gyroscope javadoc

change the sample code to something more useful and more
correct.

Change-Id: Ia81f86a2f409edbb395405ababae307663824cb9
ensorEvent.java
4c454d82b6ca2e209323321ef2e712bd1577b032 07-Sep-2011 Wu-cheng Li <wuchengli@google.com> Unhide camera video snapshot supported API.

bug:5187868
Change-Id: Idefde8746012c8ef504f3e3020e3fe1256c60860
amera.java
98bb251c8b527600e7a4cca6cc33499710bbfbf1 30-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add video snapshot camera parameter.

The API is still hidden.

bug:5187868

Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
amera.java
9a10bf0386ac9822e33a15820d8cd1fd8bdb5572 25-Aug-2011 Scott Main <smain@google.com> fix sample code typo
issue 5190961

Change-Id: I15f10bc97b46f0e5f5e31ff5b38d6c3a938ddedf
amera.java
a46c372a75972dbfe73b1813d69fa047c3454b83 23-Aug-2011 Wu-cheng Li <wuchengli@google.com> Merge "Make camera FOCUS_MODE_CONTINUOUS_PICTURE public."
af4f65806e183cc9523b232200031dfe39c2cd3e 19-Aug-2011 Wu-cheng Li <wuchengli@google.com> Make camera FOCUS_MODE_CONTINUOUS_PICTURE public.

bug:5086125
Change-Id: I140dd8357adabb167f2f2efee8f5db00ab86705c
amera.java
7526a6d9235a73f93ae5064e8b82440b61c53929 20-Aug-2011 Wei Hua <whua@google.com> Merge "Added additional Face attributes."
d52b308916d5f207791788e00bc48baecb90d8b8 19-Aug-2011 Wei Hua <whua@google.com> Added additional Face attributes.

bug: 5186701
Change-Id: Id08df922b9a79192a81e6e8bd7c0dccad4664b3b
amera.java
16b67137b893f32491a38ab81d49368322e1ae92 18-Aug-2011 Eino-Ville Talvala <etalvala@google.com> Make changing white-balance mode always disable AWB lock.

Fixes previously unspecified behavior wrt changing white-balance mode
while AWB is locked.

Change-Id: Ib70597319010cc7e6c88b26cae534ceea4fb46ce
amera.java
b9ac75d3dfc53ab4a0a104da147f1dfd7bc8c12f 16-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.

The API is still hidden.

bug:5086125
Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
amera.java
aba367eea4792a1d3778061181e3a38e188f4f06 10-Aug-2011 Wu-cheng Li <wuchengli@google.com> Merge "Unhide camera face detection API."
c0c683b3344c67700882f8059e7d18266366daa9 03-Aug-2011 Wu-cheng Li <wuchengli@google.com> Unhide camera face detection API.

bug:4460717
Change-Id: I8d72b0ada370acd6267c47deb654bb4bf1cfb538
amera.java
08a907149ede244f1ca587b99542744e0260099d 09-Aug-2011 Wu-cheng Li <wuchengli@google.com> Merge "Unhide camera recording hint API."
09f6d67f37d77853dd19fde79523edc524c7c9cd 04-Aug-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add camera bayer image format."
70fb9085044c5e6f52c33c970d238b764cf2373b 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add camera bayer image format.

The API are hidden.

bug:5086073

Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
amera.java
9c53f1c33a433c1e9bd84a26d57e0e99f616fa24 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Unhide camera recording hint API.

bug:4266229
Change-Id: Ic9014e521e22a3940b9c2068ce38783f52d2ac31
amera.java
e51099f110cf6a77c316402adf7970ae5d3311ea 02-Aug-2011 Mike Lockwood <lockwood@android.com> UsbManager: add getDefaultFunction()

Bug: 5108883

Change-Id: I211f1ee39987da4a5456d86b49b954c564fa3bf4
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbManager.java
bb1e275c0e684dd213f124da77110cdd9d6f090c 29-Jul-2011 Wu-cheng Li <wuchengli@google.com> Pass camera frame metadata from camera service to Java.

bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
amera.java
25d8fb51dae37f1becf4fb3d32e8600c418eb6e8 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Add camera recording hint parameter.

The API is still hidden.

bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
amera.java
f0d6a48c6ad852b84687127f14b1ffde02416dc4 27-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add frame metadata parameter to camera data_callback.

bug:4460717
Change-Id: Ib47d7d7df20af8155a719f3dabefe030893bfebc
amera.java
4c2292efbbfe7338138a9a0e8eefeaabdef1a0b4 21-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera face detection API.

API are still hidden.

bug:4460717
Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
amera.java
f55df0e26a71b93bda2e10de7a5b2dd9ab843765 19-Jul-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add camera new picture and new video broadcast intents."
10e09c69d659bf54d6efbe1a3660add7f8a39d6e 18-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera new picture and new video broadcast intents.

bug:4964321
Change-Id: I42b45cda2e6a30f3bdf6127e2594933f32ecbaeb
amera.java
875c24b897919a80a711dc79cf625006f1ff366d 18-Jul-2011 Mike Lockwood <lockwood@android.com> UsbManager: document that passing null setCurrentFunction restores default function

Change-Id: I4340b336f3e91b3b8242f2a66c34a7a7f5c3021f
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbManager.java
83d3352cf7a67efd60732c0d40e5928f642f6808 13-May-2011 Eino-Ville Talvala <etalvala@google.com> NEW_API: Add auto-exposure and auto-white balance locking to the Camera.

Unhides the Camera API calls for using the auto-exposure and
auto-white balance locks. Adds documentation about the interaction
between auto-focus and the AE and AWB locks.

Change-Id: I5bf73b9dce1c93e11a17f9d3efb82db1261524c5
amera.java
42419ce28a09eb63e29a8fef87e6f5534f41902f 01-Jun-2011 Wu-cheng Li <wuchengli@google.com> Add framework support for camcorder zoom.

The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to
allow applications using the camera during recording.

Camera service allows only one client at a time. Since camcorder application
needs to own the camera to do things like zoom, the media recorder cannot
access the camera directly during recording. So ICameraRecordingProxy is a proxy
of ICamera, which allows the media recorder to start/stop the recording and
release recording frames. ICameraRecordingProxyListener is an interface that
allows the recorder to receive video frames during recording.

ICameraRecordingProxy
startRecording()
stopRecording()
releaseRecordingFrame()

ICameraRecordingProxyListener
dataCallbackTimestamp()

The camcorder app opens the camera and starts the preview. The app passes
ICamera and ICameraRecordingProxy to the media recorder by
MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in
MediaRecorder::start(). After setup, the recorder disconnects from camera
service. The recorder calls ICameraRecordingProxy::startRecording() and
passes a ICameraRecordingProxyListener to the app. The app connects back to
camera service and starts the recording. The app owns the camera and can do
things like zoom. The media recorder receives the video frames from the
listener and releases them by ICameraRecordingProxy::releaseRecordingFrame.
The recorder calls ICameraRecordingProxy::stopRecording() to stop the
recording.

The call sequences are as follows:
1. The app: Camera.unlock().
2. The app: MediaRecorder.setCamera().
3. Start recording
(1) The app: MediaRecorder.start().
(2) The recorder: ICamera.unlock() and ICamera.disconnect().
(3) The recorder: ICameraRecordingProxy.startRecording().
(4) The app: ICamera.reconnect().
(5) The app: ICamera.startRecording().
4. During recording
(1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp()
(2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame().
5. Stop recording
(1) The app: MediaRecorder.stop()
(2) The recorder: ICameraRecordingProxy.stopRecording().
(3) The app: ICamera.stopRecording().

bug:2644213

Change-Id: I15269397defc25cbbcae16abc071c8349c123122
amera.java
f59717ddb5ef324ee3fdb12b83e7d1b709793d28 22-Jun-2011 Mike Lockwood <lockwood@android.com> Combine UsbManager.setPrimaryFunction and setDefaultFunction

Due to the property trigger on persist.sys.usb.config,
setting the default function also sets the current function.
Now we combine both of these methods into setCurrentFunction, which has
a "makeDefault" option to make the new function the default.

This change should eliminate some problems with setting properties due to
multiple property triggers happening at the same time.

Change-Id: I9851299e9c2ee20475eada1a8104c0d50bf5a9e1
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/IUsbManager.aidl
sb/UsbManager.java
d8aab93f96a6357dedc791ccdea92412fb423d15 21-Jun-2011 Wu-cheng Li <wuchengli@google.com> Fix camera getMeteringAreas does not return areas correctly.

bug:4494242
Change-Id: Ide5a44fc302ecda22557fc9eba5e7fcd8679712b
amera.java
02e4569b5f126ca916a7473117ddd17d4f2ccbbb 14-Jun-2011 Mike Lockwood <lockwood@android.com> USB: Support for new USB gadget drivers

Change-Id: Id08df50acb873a94f4765a991ee6a6f5b898ddf5
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/IUsbManager.aidl
sb/UsbManager.java
facc8ce116bd92f7ba7e8ecb76cbda3953260ef9 17-Jun-2011 Wu-cheng Li <wuchengli@google.com> Mention device policay manager in Camera.open javadoc.

bug:4185309
Change-Id: I733654a0be1953851dac7686c9c38e7af8f1d73a
amera.java
523510e9b7ae69bde77f0d24a0b744178f3e3dd0 08-Jun-2011 Mike Lockwood <lockwood@android.com> Merge "UsbManager: Clean up extras for ACTION_USB_STATE broadcast"
9eb014aeb0630dab9210f8eb8b6c2f4250d5990e 08-Jun-2011 Mike Lockwood <lockwood@android.com> UsbManager: Clean up extras for ACTION_USB_STATE broadcast

Also added name for new PTP USB function

Change-Id: Ia2775ba2b23ef6a6108ca7e060239eb51c2eecc8
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbManager.java
32a972c693400db50717435139fa292a63bc937a 07-Jun-2011 Eino-Ville Talvala <etalvala@google.com> Updates to Camera API documentation.

Change-Id: I716a36becce436f57ea62fcfecd9021eb29b76ea
amera.java
bde61a5731cdfef76a0691f8bd53b880606f5f6e 07-Jun-2011 Wu-cheng Li <wuchengli@google.com> Improve android.hardware.Camera.Area javadoc.

bug:4553469
Change-Id: Iae88af354fee4925cb7978572c27f6dd5595ca59
amera.java
90f902afde7ac92cdb60363d517e9d142e1f1977 19-May-2011 Mike Lockwood <lockwood@android.com> resolved conflicts for merge of c1730dcf to master

Change-Id: I9e0f9740930c7d3acb51235dd4c67cf2ed54a486
c1730dcf8971950a0e32e3f4fc6e3fb08b7395cd 19-May-2011 Mike Lockwood <lockwood@android.com> am ae448e2c: am a88b42d5: USB: Add method to access raw USB device descriptors

* commit 'ae448e2c90cae096efea53c1c93a70e7b5ca2db7':
USB: Add method to access raw USB device descriptors
a88b42d569a91290477d8f5731a2ee43931271da 19-May-2011 Mike Lockwood <lockwood@android.com> USB: Add method to access raw USB device descriptors

Change-Id: Id5b46ede14a838198a59bdc8ed4732942044cfa8
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbDeviceConnection.java
c6b7a0131e92a0bdeb268cee185404ceae9b54b7 19-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge 111d17ce

Change-Id: I2e0aa4328bc78eb5bcd987e7bf74b0889d2fae7f
111d17ce5141aa0fa51de37deae0811e70555d34 19-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge 4b999030

Change-Id: Ibb94ba77ec8588f5e7636cf6a038b143e3dcb2bd
6c427617be940be32fdebbd9c78f9223b292c814 19-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge "support humidity sensor type"
d9c2601afa46811bcb1345963d38010690981a01 13-May-2011 Eino-Ville Talvala <etalvala@google.com> Add auto-white balance locking to the Camera API.

Adds a new camera parameter for locking auto-white balance to its
current value. Also adds a function for checking if auto-white balance
lock is supported by the current platform. Lock semantics match that
of the auto-exposure lock.

Hidden for now.

Change-Id: Id59339a4be84d55c1b0b8473d765b6aa765999b2
amera.java
26274fae33b7b056cf5fe9fd6e823cae9e4ddae2 05-May-2011 Wu-cheng Li <wuchengli@google.com> Improve camera javadoc.

Preview has to be stopped before chaning preview size.

Change-Id: I6ab30402b2270eed9606a69ebce43ae58e0776a8
amera.java
9d216f7b0ef66e4d2e32f86cd7e31608fcce49b6 04-May-2011 Mathias Agopian <mathias@google.com> Merge "improve documentation for the ROTATION_VECTOR sensor"
557975c2b57b78f163d124f07c541874436df056 04-May-2011 Mathias Agopian <mathias@google.com> Merge "Add documentation for Sensor.TYPE_PRESSURE"
d84d2b7b1ee5c37da878534f4d493d8d00a3f65f 03-May-2011 Mathias Agopian <mathias@google.com> improve documentation for the ROTATION_VECTOR sensor

the documentation didn't specify which reference coordinate
system was used.

Change-Id: I5ff5d1041b59de365863db6ee34cc9d823801d34
ensorEvent.java
1260a89b54436fdd6d80e7c98b7db3c55f85104c 03-May-2011 Mathias Agopian <mathias@google.com> Add documentation for Sensor.TYPE_PRESSURE

Change-Id: I634722a9a22946a1ae96c0b868af0c66d467a3a6
ensorEvent.java
3773eef4e36fa4171a84b495dca849be112df0a8 15-Apr-2011 Eino-Ville Talvala <etalvala@google.com> Add an auto-exposure lock feature to the Camera API.

Adds a new camera parameter for locking auto-exposure to its current
value. Also adds a function for checking if auto-exposure lock is
supported by the current platform.

Hidden for now.

Change-Id: Id452371191ab220318ce2cb98b8ee91bdde9aab6
amera.java
f715bf95ded30821e81ba93bb48c08725e1c34aa 14-Apr-2011 Wu-cheng Li <wuchengli@google.com> Unhide camera focus area and metering area API.

These API are for touch focus.

bug:3475893

Change-Id: I1e213c0bed0c6fe18dcbfb0457c51c52e7cfae30
amera.java
185052e2d1b8b4eb9df5f47e6d7fd05acb739b84 25-Apr-2011 Eino-Ville Talvala <etalvala@google.com> Merge "Clarify the meaning of weight in the focus and metering area HAL."
4e396e063c8b0fa6201b47166f547a98abfd6038 21-Apr-2011 Eino-Ville Talvala <etalvala@google.com> Clarify the meaning of weight in the focus and metering area HAL.

Weigh values must be less than 1000, but have no restriction on their
sum. Weights should be interpreted as per-pixel values, meaning larger
areas will have more influence over focus/metering than smaller areas
of the same weight.

Change-Id: I988b74f988ddba2ff0c49d078ff3174b47cbae18
amera.java
7b1c5c891a09e0e2a2de101fbf951cdc89e03957 15-Apr-2011 Wu-cheng Li <wuchengli@google.com> Fix camera javadoc errors.

Change-Id: Ia5db14ee01af49e81295d1eb4dd38218de8944cd
amera.java
5819051eee071d622e5cb1f32c74112b1c7b1072 29-Dec-2010 Urs Fleisch <urs.fleisch@gmail.com> support humidity sensor type

Change-Id: I4156842677e91de0f922284d196147ff61e71a70
ensor.java
ensorEvent.java
e98e4c806320ccb3078805ac019cca3ed9796123 12-Apr-2011 Wu-cheng Li <wuchengli@google.com> Add camera metering area API.

The API are still hidden.

bug:3475893
Change-Id: Id4147528def5e0fe067e1a3ed315fa34c14a0640
amera.java
30771b773393596812b6cfd2a4ddf490c43437aa 02-Apr-2011 Wu-cheng Li <wuchengli@google.com> Add camera focus area API.

The API are still hidden.

bug:3475893

Change-Id: I92405c9e332b7fb141788cda7ebc9705dd666c67
amera.java
c4740316423fcd669e09408d11fd46227ccb0b05 04-Apr-2011 Robert Ly <robertly@google.com> am cbfeda13: am 6f7e4cb5: am 3f39f653: Adding package description for android.hardware.usb

* commit 'cbfeda13e7da5c1cdf6f02e76d81ac5f878b1225':
Adding package description for android.hardware.usb
3f39f653a90f9727d13be1e9908f0afb8fe66d6e 04-Apr-2011 Robert Ly <robertly@google.com> Adding package description for android.hardware.usb

Change-Id: I4d243424c6747531a1ac6ab2230c2af73bad4fed
sb/package.html
853814957293d0a891f374d1dc8950be866909c6 01-Apr-2011 Mike Lockwood <lockwood@android.com> am 1c56976a: am 38f04c0f: am 11dd5ae9: Improve Javadoc for USB Manager and MTP/PTP support.

* commit '1c56976a774434bd279b6181c4fc3c555c4648c2':
Improve Javadoc for USB Manager and MTP/PTP support.
11dd5ae97b1cd5889bb66862fd12718da62a9c75 01-Apr-2011 Mike Lockwood <lockwood@android.com> Improve Javadoc for USB Manager and MTP/PTP support.

Bug: 4091519

Change-Id: Ida79593d5a984f7ffd0934ae7bded23b8faf9eef
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbAccessory.java
sb/UsbConstants.java
sb/UsbDevice.java
sb/UsbDeviceConnection.java
sb/UsbEndpoint.java
sb/UsbInterface.java
sb/UsbManager.java
sb/UsbRequest.java
a5d42c857818036375fff2da9f0d0ab34219d773 24-Mar-2011 Eino-Ville Talvala <etalvala@google.com> Merge "NEW_API: Add getTimestamp() to SurfaceTexture."
462db220a2986f7d9fc3d7e3e6af6615570eaa0b 23-Mar-2011 Mathias Agopian <mathias@google.com> fix [4056232] Deprecate Sensor.TYPE_TEMPERATURE and add Sensor.TYPE_AMBIENT_TEMPERATURE

Bug: 4056232
Change-Id: Idf165460fc083f856c320f0f6f8841d73661c829
ensor.java
ensorEvent.java
e309a0fd2e528039b3c1f1372a9a7095bcd852cc 21-Mar-2011 Eino-Ville Talvala <etalvala@google.com> NEW_API: Add getTimestamp() to SurfaceTexture.

Like getTransformMatrix, getTimestamp provides a timestamp for the
OpenGL texture produced by the latest call to updateTexImage().

Timestamps are measured in nanoseconds, and are monotonically
increasing. Other properties of the timestamps (zero point,
comparability) depend on the source providing frames to the
SurfaceTexture, and need to be documented by the source.

bug:3300707

Change-Id: I380d94926d0e9f1c77bb5c1576b72d5ef4e2eba1
amera.java
c5f94d8a4779050125145396ca83fbc862c7ed6b 18-Feb-2011 Eino-Ville Talvala <etalvala@google.com> Add support for timestamps into SurfaceTexture.

API addition: The timestamps are represented as nanoseconds from some
arbitrary time point. Like the SurfaceTexture transform matrix, the
timestamp retrieved by getTimestamp is for the last frame sent to the
GL texture using updateTexImage().

Camera HAL change: Expect vendors to set these timestamps using
native_window_set_buffers_timestamp(). For now, they are
autogenerated by SurfaceTextureClient if set_buffers_timestamp() is
never called, but such timing is likely not accurate enough to pass a
CTS test.

bug:3300707

Change-Id: Ife131a0c2a826ac27342e11b8a6c42ff49e1bea7
amera.java
638d7cb3ee0bb3596b01dc19eca9456fa72a36e0 15-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Backport more USB accessory changes from honeycomb

Change-Id: I8459c5ab9fbf0b3cad752041484a5de44ca9badd
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbAccessory.java
015b1ecaec27b7cf5f1a78099d9ae34a0c3169f2 14-Mar-2011 Mike Lockwood <lockwood@android.com> Add support for USB accessory serial numbers

Change-Id: I47b79f091b300ced60bfc61eff2f771139663aae
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbAccessory.java
2cc0377200b94b2f68f34e34554f2aa39e09cbce 12-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: backport recent USB accessory changes from honeycomb

Bug: 4082651

Change-Id: Ie7c2fc796dd3c64f803acbd14210e5949683f4ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/IUsbManager.aidl
sb/UsbAccessory.java
sb/UsbManager.java
62cfeeb821afb2f3d3b78ad93caa13408cd26eac 12-Mar-2011 Mike Lockwood <lockwood@android.com> USB: minor cleanup work

Bug: 4067029

Change-Id: Icd8f912ab8732b5f770a217b9b3731092597ce02
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/IUsbManager.aidl
sb/UsbManager.java
a75075e1671f57217d8b8bb75b2d9c3a6bab37d8 11-Mar-2011 Mike Lockwood <lockwood@android.com> UsbManager: Hide APIs not needed for USB host or accessory support.

Bug: 4067029

Change-Id: Ib63ab95a6571d6a691834bfb583a68d2e4cfd22e
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbManager.java
acc29cc91be634070c92a807df412ced97b9b375 11-Mar-2011 Mike Lockwood <lockwood@android.com> UsbDevice: Move IO related methods to new UsbDeviceConnection class

UsbDevice is now just an immutable parcelable object like UsbInterface and
UsbEndpoint.
All IO related functionality is now contained in UsbDeviceConnection
and UsbRequest.

Bug: 4067029

Change-Id: Ia84da0b512a697acc940eee0c3566711c62e1a68
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbDevice.java
sb/UsbDeviceConnection.java
sb/UsbEndpoint.java
sb/UsbInterface.java
sb/UsbManager.java
sb/UsbRequest.java
cc08c439bc7b0afbdafc5ca18c584d2f7724f3df 10-Mar-2011 Mike Lockwood <lockwood@android.com> Merge "UsbAccessory: Add URI string, replace type string with description" into honeycomb-mr1
ac36d7c715a9cd793b2dce6de547594810101c3a 10-Mar-2011 Mike Lockwood <lockwood@android.com> UsbAccessory: Add URI string, replace type string with description

This is a first step toward adding USB accessory URI support

BUG: 4073248

Modified USB accessory matching logic to look only at manufacturer, model and version
(description and URI are not considered when matching apps to accessories)

Also added test for USB accessory protocol version to accessorytest

BUG: 4080288

Change-Id: I992a3433c74efa7a7db37bf030f02c1f0c92f9e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbAccessory.java
838aa45b99f504596971063003fa8a75e89e4c41 09-Mar-2011 Mathias Agopian <mathias@google.com> Merge "fix [4026375] SensorManager quaternion functions can call sqrt with a negative number" into honeycomb-mr1
980f0430c16a8767061a6f7f3506aabf79735ef6 09-Mar-2011 Mike Lockwood <lockwood@android.com> UsbManager: Fix broken Javadoc links

Change-Id: Ia8ec7b29a7532feb00a28d6d325c129a9e041d2b
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/UsbManager.java
c6f23e8521dedac7a07119031913235be3ca37c3 09-Mar-2011 Mike Lockwood <lockwood@android.com> Change UsbManager.requestPermission to only grant permission temporarily

If the user approves an application to access a USB device or accessory
without choosing it as the default application, then permission is granted
only until the device or accessory is disconnected.
Only applications chosen as the default choice have permissions assigned persistently.

BUG: 4061035

Change-Id: Ic4f6271a91b2fc56bbeef82c579e26d88c63ae56
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb/IUsbManager.aidl
sb/UsbAccessory.java
sb/UsbDevice.java
sb/UsbManager.java
3a68b8338b431eb15d28e92f06452efbbda9493e 08-Mar-2011 Mike Lockwood <lockwood@android.com> USB: Add API and dialog for apps to request permissions for USB devices and accessories

New APIs:

UsbManager.hasPermission returns true if the caller has permission
for the given device or accessory

UsbManager.requestPermission poses a dialog to allow the user to give the caller
permission for the device or accessory.
Result is returned via a PendingIntent.
No dialog is displayed if the caller already has permission.

Also moved UsbResolverActivity to SystemUI package

BUG: 4069037

Change-Id: I93be769501a8776b49ac26e468af19f8fa2114c9
sb/IUsbManager.aidl
sb/UsbManager.java
5f94c315a65569bf66d603227177ba3f5ba5acd4 15-Feb-2011 Mathias Agopian <mathias@google.com> fix [3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external] [DO NOT MERGE]

make sure to not pass negative numbers to sqrt().

Change-Id: Ia31f7ebb7b75c79b548e428c6084fa55031617d0
related-bug: 3452750
ensorManager.java
241d8a84e549c40190ecbbfeb63078293c49dfb0 08-Mar-2011 Mathias Agopian <mathias@google.com> fix [4026375] SensorManager quaternion functions can call sqrt with a negative number [DO NOT MERGE]

Just make sure to clamp the argument to zero.

Bug: 4026375
Change-Id: Idd3d4ef977e87c1b3f6b54371105c3152d7dc6b9
ensorManager.java
0eab8214986faf6e5ba1982b8b01c4f06d61b3c4 08-Mar-2011 Mathias Agopian <mathias@google.com> fix [4026375] SensorManager quaternion functions can call sqrt with a negative number

Just make sure to clamp the argument to zero.

Bug: 4026375
Change-Id: I00c5f6c83659a290d5e1e191a1c8d25ec06834c2
ensorManager.java
40bbf9295d5245d3917629ce15f7b37670aef1ac 01-Mar-2011 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Backport USB accessory support to gingerbread

Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
sb/IUsbManager.aidl
sb/UsbAccessory.aidl
sb/UsbAccessory.java
sb/UsbManager.java
c4308f01c965571dc2354107c3574df113e397ee 01-Mar-2011 Mike Lockwood <lockwood@android.com> Move USB framework support from android.hardware to android.hardware.usb package

Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
UsbManager.aidl
sbAccessory.aidl
sbAccessory.java
sbConstants.java
sbDevice.aidl
sbDevice.java
sbEndpoint.aidl
sbEndpoint.java
sbInterface.aidl
sbInterface.java
sbManager.java
sbRequest.java
sb/IUsbManager.aidl
sb/UsbAccessory.aidl
sb/UsbAccessory.java
sb/UsbConstants.java
sb/UsbDevice.aidl
sb/UsbDevice.java
sb/UsbEndpoint.aidl
sb/UsbEndpoint.java
sb/UsbInterface.aidl
sb/UsbInterface.java
sb/UsbManager.java
sb/UsbRequest.java
02eb8746de2d60563ec2751a34d20923192e4293 27-Feb-2011 Mike Lockwood <lockwood@android.com> UsbManager: Enhancements for managing USB devices and accessories

When a USB device or accessory is connected, the UsbService now asks the
user which application to associate with the device or accessory.
Applications interested in devices or accessories must specify the
devices they work with via meta-data attached to their manifest.
Permission to communicate with the device is assigned when the user chooses
the activity to use for the device.
The user has the option of clicking the "always use this application" checkbox
to make the assignment automatic in the future.
The user may later clear this preference and revoke permission for an application
to have permission to communicate with the device by clicking the "Clear defaults"
button for the activity in the Manage Applications panel in Settings.

Added class UsbResolveActivity (a subclass or ResolveActivity for choosing
an activity for a USB device or accessory)

Added UsbDeviceManager, which manages the mapping between USB devices/accessories
and applications, including default applications for devices and accessories,
and manages application permissions.

Add interface to allow Settings to clear device and accessory
preferences and permissions for an application.

Remove obsolete ACCESS_USB permission.

Add new signatureOrSystem MANAGE_USB permission to allow administrating
preferences and permissions.

Moved UsbService.java to a "usb" subdirectory, along with new classes
UsbResolveActivity and UsbDeviceManager.

Change-Id: I92554381e9779e68ce380daaee4e1401fb875703
Signed-off-by: Mike Lockwood <lockwood@android.com>
UsbManager.aidl
sbAccessory.java
sbManager.java
f13ec7a3ac18ad87936ddab2e18f57c3bf91bfb6 11-Dec-2010 Mike Lockwood <lockwood@android.com> DO NOT MERGE: Clean up USB notifications:

Add support for separate USB connected and configuration events

Include both USB connected/disconnected and configuration state
in USB_STATE Intent

Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast

Move USB disconnnect rebouncing from Tethering to UsbService

Change-Id: I1dea480f4b0daf14247cf37c5f2060498882c002
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
7916432b3cd9d0396872aee6d3d585f19b4b7ef6 28-Jul-2010 Mike Lockwood <lockwood@android.com> DO NOT MERGE UsbManager: squashed commit of:

USB: Add functions for querying if a USB function is supported and enabled.

Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService

Change-Id: I920a211934d993eab8ce744c1cc7b05342389286
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
sbManager.java
0c74819b76752f78803530fb8e4ad0958f0949ed 25-Feb-2011 Wu-cheng Li <wuchengli@google.com> Merge "Improve camera getSupportedPreviewFormats javadoc."
f9293e7d5057f54ec90423f55b78138d5729e30f 25-Feb-2011 Wu-cheng Li <wuchengli@google.com> Improve camera getSupportedPreviewFormats javadoc.

bug:3463624
Change-Id: I4151fc7821e9648c6429acca53582f11f35f8813
amera.java
b607b884bd94d4f75fb4b2ead7457f2027ceb850 24-Feb-2011 Mike Lockwood <lockwood@android.com> Merge "UsbManager: Remove redundant Intent extras from USB device and accessory broadcasts"
e857cc8175d532eccbe75798c56bf3c5378e585e 24-Feb-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add YV12 preview format to camera parameter constants."
10a1b30dfbd0bbeae6776e353600986647c6e0a8 22-Feb-2011 Wu-cheng Li <wuchengli@google.com> Add YV12 preview format to camera parameter constants.

bug:3463624
Change-Id: I8f2992dadfd3fb9e3c9d67743e52da7f3212827e
amera.java
cd4ed5438c0594858aa8edcd0b102878eda0fc81 24-Feb-2011 Scott Main <smain@google.com> am b1eea45a: am 201959af: Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb

* commit 'b1eea45a71a3fffe3014bbe84226df3c57ddbafc':
docs: fix sensorevent code snippets bug: 3480932
188d00b07ef0b8968868b3489e80dd9f53d3bafa 23-Feb-2011 Mike Lockwood <lockwood@android.com> UsbManager: Remove redundant Intent extras from USB device and accessory broadcasts

These extras are also accessable via the UsbDevice and UsbAccessory classes,
which are also included as extras.
Since you can't filter Intents based on extras there is no point in duplicating
this information as separate extras.

Change-Id: I4c8d1e70d66023a1800b3f8f06118898da6b37af
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
d11ee90b6ed54421f0016ffb7de77e5c812bc17f 23-Feb-2011 Scott Main <smain@google.com> docs: fix sensorevent code snippets
bug: 3480932

Change-Id: Id97ca4e0edfb92eaac0f2996bc5e91d757644afb
ensorEvent.java
e00cab707dcaf6f05adb5ccb9c80fdf25c483427 18-Feb-2011 James Dong <jdong@google.com> Application-managed callback buffer support for raw image

bug - 3292153

Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
amera.java
9182d3c4eb1f9065cb33df5a3594969dd0d42acc 15-Feb-2011 Mike Lockwood <lockwood@android.com> UsbManager: New APIs for USB accessories

USB accessories are peripherals that connect to android devices as a USB host.

When connected, the accessory will first identify itself to the android device
by sending manufacturer, product, accessory type and version strings
to the device, and then request the device to enter USB accessory mode.
The device will then enable the USB accessory kernel driver and disable
all other USB functionality except possibly adb
(adb can be used while the android device is connected to the PC
and the PC is running software that emulates a USB accessory)

The class android.hardware.UsbAccessory is used to describe the
currently attached USB accessory.
UsbAccessory contains the manufacturer, product, accessory type
and version strings to identify the accessory.
The accessory can be opened as a ParcelFileDescriptor, which can be used
to communicate with the accessory over two bulk endpoints.

The Intents UsbManager.USB_ACCESSORY_ATTACHED and
UsbManager.USB_ACCESSORY_DETACHED are broadcast when accessories are
connected and disconnected to the device. The USB_ACCESSORY_ATTACHED
contains a UsbAccessory object for the attached accessory as an extra.
The Intent also contains string extras for the manufacturer, product,
accessory type and version strings to allow filtering on these strings.

Change-Id: Ie77cbf51814a4aa44a6b1e62673bfe4c6aa81755
Signed-off-by: Mike Lockwood <lockwood@android.com>
UsbManager.aidl
sbAccessory.aidl
sbAccessory.java
sbManager.java
f27ebdeb39affdc3ce0a1eb4d2bf1db2583ce834 15-Feb-2011 Mathias Agopian <mathias@google.com> Merge "fix [3452769] SensorEventListener can cause a java allocation at each received event [external]"
929ced35698152b84f12a8b3662f5e50cfd12913 15-Feb-2011 Mathias Agopian <mathias@google.com> fix [3452769] SensorEventListener can cause a java allocation at each received event [external]

increase the size of the SensorEvent pool from 1 to num_sensors*2.
and make the pool global instead of having an instance per SensorEventListener.

Change-Id: I1bcc53a9b07cd1f96fac6fe6e3b9da074e3cb1fd
ensorManager.java
7b6e4bd697e76bfc44e59ad42666e758c091b7bf 15-Feb-2011 Mathias Agopian <mathias@google.com> fix [3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external]

make sure to not pass negative numbers to sqrt().

Change-Id: Ifd200c781ae8a94c8a3c600401b60f4cf2430be3
related-bug: 3452750
ensorManager.java
dbc289d6c27968bd05cc547ca73579347c3adc99 09-Feb-2011 Glenn Kasten <gkasten@google.com> Bug 3438513 Fix incorrect throws clause

Change-Id: Ib47c12b2b03b0b03d8df69f1b943839283c9f867
amera.java
8b682ad08a8e55b3ce2cf58f3aff6d3464ab668b 01-Feb-2011 Mike Lockwood <lockwood@android.com> UsbService: Blacklist HID boot subclass devices (keyboards and mice)

Change-Id: I80558c6205e041ad730c7815aba97cb80132e820
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbConstants.java
b2abd8c424a68eb6a5e3615a99f66c0bd46e6063 30-Jan-2011 The Android Open Source Project <initial-contribution@android.com> Mass merge from gingerbread - do not merge

Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
14f3d8626767c9b5ae28b5ce3954f8267ca4d563 28-Jan-2011 Mathias Agopian <mathias@google.com> am 12d014fd: Merge "fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE" into gingerbread

* commit '12d014fdf40f69512e59e84914b230a2d3e7b8eb':
fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE
1fce24b241e386af19ba7c5bc29af5d18461f4ff 27-Jan-2011 Mike Lockwood <lockwood@android.com> Add support for synchronous bulk USB transfers

Change-Id: Id5de49e4d728a702fa1583ecc24f83f36cc57d21
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbDevice.java
c42eb2cce70aa4e985615ef9d4cddfff435f7b7f 27-Jan-2011 Scott Main <smain@google.com> am d2b87091: am 0f2e2b8b: Merge "Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it\'s not a good location and the info is avilable in the dev guide, but also added some of the

* commit 'd2b87091cc30c575496eb78ebea88297da775359':
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description.
d2b87091cc30c575496eb78ebea88297da775359 27-Jan-2011 Scott Main <smain@google.com> am 0f2e2b8b: Merge "Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it\'s not a good location and the info is avilable in the dev guide, but also added some of the info to the R

* commit '0f2e2b8b82c7b589bcc603ce57f8ff3d1c947784':
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description.
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b 07-Jan-2011 Scott Main <smain@google.com> Update package descriptions with editorial revisions.
Notably, this removes exessive info about resources
from the content package, because it's not a good location
and the info is avilable in the dev guide, but also
added some of the info to the Resources class description.

Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
ackage.html
e7d511e148bc901ef41ac44d7b3593e5d803f72f 30-Dec-2010 Mike Lockwood <lockwood@android.com> New APIs for USB host support:

UsbManager:
- is now a service retrievable via Context.getSystemService(Context.USB_SERVICE).
- provides support for returning a list all connected USB devices
- broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices
are added and removed from the USB host bus

UsbDevice:
- represents an attached USB device.

UsbInterface:
- represents an interface on a USB device
- devices may have multiple interfaces if they provide multiple
sets of functionality (for example, android phones typically have interfaces
for both USB mass storage and adb)

UsbEndpoint:
- represents an endpoint on a USB interface
- endpoints are used for sending or receiving data
(only in one or the other direction)

UsbRequest:
- encapsulates a send or receive request to be sent over an endpoint

Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a
Signed-off-by: Mike Lockwood <lockwood@android.com>
UsbManager.aidl
sbConstants.java
sbDevice.aidl
sbDevice.java
sbEndpoint.aidl
sbEndpoint.java
sbInterface.aidl
sbInterface.java
sbManager.java
sbRequest.java
80f3376b3a0f9c677c37c98382d1021bed6c5633 22-Jan-2011 Mathias Agopian <mathias@google.com> am b92a40eb: am 12d014fd: Merge "fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE" into gingerbread

* commit 'b92a40ebfaf49783f942b75b413e1499e149c3bb':
fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE
c2b4e21320d85d48e45f6a76e4927adb380c85b8 17-Jan-2011 Mathias Agopian <mathias@google.com> fix [3355413] Gyro calls onAccuracyChanged and reports accuracy as UNRELIABLE

- make sure to call onAccuracyChanged only when it actually changes
- only call onAccuracyChanged on Magnetic and Orientation sensors, which
are the only ones to support it.
- for other sensors, call onAccuracyChanged only once with the
SENSOR_STATUS_ACCURACY_HIGH value

Change-Id: Ic861e3d48d3b98dab74ffebe2746576f5b69f371
ensorManager.java
fd6f39e147dc077139a41b9c2a4039fbaa20224e 20-Dec-2010 Jamie Gennis <jgennis@google.com> Enable camera preview to a SurfaceTexture.

This change adds a public Java API to use a SurfaceTexture as the
destination of camera preview frames.

Change-Id: If537fed2df12c5c181e2af5f817985c1bda853fb
amera.java
264f6cd0b9215f75dd5917252abea98e8fce6222 06-Jan-2011 Mike Lockwood <lockwood@android.com> Temporarily remove UsbManager support for USB host.

A new USB host API will be added in an upcoming commit

Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
70588bf864f961974c93aace7586d3e2773a54a8 05-Jan-2011 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 3a2c6bf0 to master

Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
69ea4e15e52c456537575d21443ac1efdb03a902 05-Jan-2011 Brad Fitzpatrick <bradfitz@android.com> Documentation fixes found over vacation hacking.

Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
amera.java
d07c9d5d920c261ef10efc825ee5225e83ad1c5b 29-Dec-2010 Mike Lockwood <lockwood@android.com> UsbManager: Add methods to convert between USB device names and IDs

Change-Id: I199a47805b629cc7b1714191d6af2fd70c2bda6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
b92df0f66926252cf60cdda7812bb1d50ce9378e 11-Dec-2010 Mike Lockwood <lockwood@android.com> Clean up USB notifications:

Add support for separate USB connected and configuration events

Include both USB connected/disconnected and configuration state
in USB_STATE Intent

Remove redundant USB_CONNECTED and USB_DISCONNECTED Intents
Now we just have the sticky USB_STATE broadcast

Move USB disconnnect rebouncing from Tethering to UsbService

Change-Id: Id13eb0c5d51152d2a538985d680ba1db7d2241dc
Signed-off-by: Mike Lockwood <lockwood@android.com>
sbManager.java
770126a678ccc9328a89407ffc82f4d998b25427 10-Dec-2010 Mike Lockwood <lockwood@android.com> Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService

In preparation for an upcoming change that will make UsbService into a real system service

Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
sbManager.java
6fa74a54346d136294593a4e60d3a59d94b3493c 07-Dec-2010 Dirk Dougherty <ddougherty@google.com> am 0d49a4e8: am 0871ee0c: Doc change: fix href to axis_globe_inverted orientation diagram.

* commit '0d49a4e838769252a313738e30fe78557f769a59':
Doc change: fix href to axis_globe_inverted orientation diagram.
0871ee0c6f43a7201ce49a66211c1c850eabeb6b 07-Dec-2010 Dirk Dougherty <ddougherty@google.com> Doc change: fix href to axis_globe_inverted orientation diagram.
ensorManager.java
dd0b16c26834d9a58b9865a467c7a26ea14482f3 22-Sep-2010 James Dong <jdong@google.com> Add two methods to Camera.java

o getSupportedVideoSizes() allows us to retrieve the list of the supported
video sizes from the camera

o getPreferredPreviewSizeForVideoRecording() allows us to retrieve the
preferred/recommended preview size for camcorder applications

bug - 3237021

Change-Id: I52fc9938d389bb411406320b0309775b6f44f4dc
amera.java
33962f8c7dee1271be2c08e06f903db938be749b 01-Dec-2010 Mathias Agopian <mathias@google.com> am be0ece6f: am 186b68b7: Merge "allow rotation-vector to have 4 components" into gingerbread

* commit 'be0ece6f855ee2ab52309b6633def90ddeab38ee':
allow rotation-vector to have 4 components
7badd2c402f9e8e9fd13f6915ad2e32301f9f305 23-Nov-2010 Mathias Agopian <mathias@google.com> allow rotation-vector to have 4 components

- upadte documentation for rotation vector
- update method dealing with rotation vector to deal with 4 components
- virtual rotation-vector sensor reports all four components
- improve SensorManager documentation layout

Whent he 4-th component of the rotation-vector is present, we can save
a square-root when computing the quaternion or rotation matrix from it.

Change-Id: Ia84d278dd5f0909fab1c5ba050f8df2679e2c7c8
ensorEvent.java
ensorManager.java
4e911849caa9a4c3fe7ba9d820930465ba54de29 20-Nov-2010 Wu-cheng Li <wuchengli@google.com> am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbread

* commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6':
Improve camera documentation.
589e838116b0dffa696fa39336d0588124877f98 20-Nov-2010 Wu-cheng Li <wuchengli@google.com> Merge "Improve camera documentation." into gingerbread
b4673f757fb62e071824392e364c4a4746e5cb0d 20-Nov-2010 Mathias Agopian <mathias@google.com> am d3b5510b: am 927e7410: Merge "Fix SensorManager.getOrientation() documentation." into gingerbread

* commit 'd3b5510b8505c6c653469193a40f6431272085f3':
Fix SensorManager.getOrientation() documentation.
f71384cd6141c50f589178d309db3ceeb848fb30 20-Nov-2010 Mathias Agopian <mathias@google.com> Fix SensorManager.getOrientation() documentation.

This function doesn't use the same reference coordinate system used
for the rotation matrix, unlike what the documentation previously
stated.

Change-Id: I38abeb74540d33b67f72993b54d7a00a73588dde
ensorManager.java
99a3f3e4e06b4370101ca97cc11dbe81d772fefa 19-Nov-2010 Wu-cheng Li <wuchengli@google.com> Improve camera documentation.

bug:3212606
Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
amera.java
90d6b69426857296ea923306e6c3d7a210b7bc47 10-Nov-2010 Mathias Agopian <mathias@google.com> am 0e438287: am b48189cc: Merge "Improve gyro and accelerometer java doc" into gingerbread

* commit '0e438287995698aacdda715713300fc01a6d1585':
Improve gyro and accelerometer java doc
fa33565714e4192dbab446ee1fbccb87dd414bed 09-Nov-2010 Mathias Agopian <mathias@google.com> Improve gyro and accelerometer java doc

Change-Id: If055512cb51d6e3b9f2094a730bf373ca963d97d
ensorEvent.java
0a514792edfdd8af91f114155585c891ef3ad9d5 09-Nov-2010 Wu-cheng Li <wuchengli@google.com> am 2ee0af48: am a48b70fa: Camera.open() should only return back-facing camera.

* commit '2ee0af48a3ebb4ac1bbf5e867850519b424e5a06':
Camera.open() should only return back-facing camera.
0bae6163644d387a32bf3cd0dde0fa3b9242eb5d 09-Nov-2010 Wu-cheng Li <wuchengli@google.com> am 6025ecec: am 17ae3597: Revert "android.hardware.Camera.open only returns back-facing camera."

* commit '6025ecec2a0c37cdd0b25c85f6ffc54e35b42426':
Revert "android.hardware.Camera.open only returns back-facing camera."
f90a0e84fe80f761bb0f69948a7a59043b11aa2f 09-Nov-2010 Wu-cheng Li <wuchengli@google.com> am 28345ef6: am 07b88fef: android.hardware.Camera.open only returns back-facing camera.

* commit '28345ef6e1171bf5da792bb743c1a986a539ee4b':
android.hardware.Camera.open only returns back-facing camera.
a48b70fa8ff6363d1e5282be70f6be12bc0688dc 08-Nov-2010 Wu-cheng Li <wuchengli@google.com> Camera.open() should only return back-facing camera.

Also update current.xml and 9.xml. setRotationHint was also
missing from 9.xml.
bug:3173302

Change-Id: Idd3f7417a4d35c65910e9b08a1bfd157b91e1baa
amera.java
17ae359721ba74399e785369346509b776999d1f 08-Nov-2010 Wu-cheng Li <wuchengli@google.com> Revert "android.hardware.Camera.open only returns back-facing camera."

This reverts commit 07b88fefd4e6386ad3265da47d008b40e6a58891.
amera.java
07b88fefd4e6386ad3265da47d008b40e6a58891 08-Nov-2010 Wu-cheng Li <wuchengli@google.com> android.hardware.Camera.open only returns back-facing camera.

bug:3173302
Change-Id: I813e41b36c776246f151b66ef289cdf13a05dc2c
amera.java
49686be71e61159d14bf6f73762aec08bfb1c344 04-Nov-2010 Mathias Agopian <mathias@google.com> am b20c2e7c: am 477c4fee: Merge "[3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R." into gingerbread

* commit 'b20c2e7ca03f5ef2694b20ff9a7a10a7249eb936':
[3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R.
34884b409e24c1183b6be4f0611b8ea22e62dc10 04-Nov-2010 Kevin Powell <kpowell@invensense.com> [3163098] Fix bug in angleChange funtion which caused the returned angle change to be zeroall the time. The fix is to use PrevR instead of computing the difference between R and R.

Change-Id: I59cacab4c7108cfb4a17fd1021de7473e6faa74f
ensorManager.java
d55f7e56b9761227f0a310b34d9016fde91613d6 14-Oct-2010 Wu-cheng Li <wuchengli@google.com> Mirror the camera preview if the camera is front-facing.

bug:3095272
Change-Id: Ib1c1d1edc06a33e9d4d2dcb42bc1dd2c25b1310c
amera.java
0c636055351f2e1d26138cf7b3bf3c82553e68c4 22-Oct-2010 Mathias Agopian <mathias@google.com> Merge "Mirror the preview for front-facing cameras. do not merge" into gingerbread
4ef36afa3273bc15a59c3262e41e61d7ccba6c3e 21-Oct-2010 Dirk Dougherty <ddougherty@google.com> am 18cbc0e5: am 3466e1fc: Merge "Doc change: escape angle brackets in javadoc comment." into gingerbread

Merge commit '18cbc0e58a0e68411dff655f116a7010c3f464a2'

* commit '18cbc0e58a0e68411dff655f116a7010c3f464a2':
Doc change: escape angle brackets in javadoc comment.
3466e1fc6db1fed35e2707c67a9ab17673aaf9de 20-Oct-2010 Dirk Dougherty <ddougherty@google.com> Merge "Doc change: escape angle brackets in javadoc comment." into gingerbread
b982fb4fd36a3cd24a0bb17c964139fe4c9cbb47 19-Oct-2010 Wu-cheng Li <wuchengli@google.com> Mirror the preview for front-facing cameras. do not merge

Now overlay does ROT_90 before FLIP_V or FLIP_H. It should be FLIP_V
or FLIP_H first. The formula should be changed after overlay is fixed.

bug:3059865
Change-Id: Ie4366bf7f1fcac7383e8dfc74b1b865997bbbcc6
amera.java
4b3370a31cf9cc497b6de0d4a5414f1951c6f33b 19-Oct-2010 Wu-cheng Li <wuchengli@google.com> am 9bf511db: am f73d48d7: Merge "Fix some camera orientation javadoc errors." into gingerbread

Merge commit '9bf511db85db8e8eff8833b3ec2c30cef12f9188'

* commit '9bf511db85db8e8eff8833b3ec2c30cef12f9188':
Fix some camera orientation javadoc errors.
2fe6fcaff4bdab45484055d6c18dd96d1b7b7be1 15-Oct-2010 Wu-cheng Li <wuchengli@google.com> Fix some camera orientation javadoc errors.

bug:3105659
Change-Id: I0e54f6dd3aa8aeb2494f2596130a5aeb9e1449ba
amera.java
75ceb8d9dbf60943a048098075091bc1e835f1ee 18-Oct-2010 Dirk Dougherty <ddougherty@google.com> Doc change: escape angle brackets in javadoc comment.

Change-Id: Iad525e3575bc8e8cd65c7127b45a56a6fb56245d
ensorEvent.java
e1199e382f875ca6a41ba4991b3e5c3d784729ba 09-Oct-2010 Wu-cheng Li <wuchengli@google.com> am 9df14085: am 29332971: Merge "Add javadoc for display orientation." into gingerbread

Merge commit '9df140851375a977ad99390d71edf8b4a8382fd4'

* commit '9df140851375a977ad99390d71edf8b4a8382fd4':
Add javadoc for display orientation.
c157e0cd161e5b3b28b72bafebb3360ed856a608 07-Oct-2010 Wu-cheng Li <wuchengli@google.com> Add javadoc for display orientation.

Display orientation should be considered while setting preview size,
picture size, or thumbnail size.

bug:3051937
Change-Id: I3b6bd1b920e4752ffdfc8aec56a0da9d474dd630
amera.java
1eb98bdb448ea3bd7d4d2b6b2f3e3406a03fb21b 30-Sep-2010 Wu-cheng Li <wuchengli@google.com> am 6bbc2f15: am 2fb818ca: Fix the javadoc of Parameters.setRotation.

Merge commit '6bbc2f1562ddc1be65aafcce63896f5899596c2a'

* commit '6bbc2f1562ddc1be65aafcce63896f5899596c2a':
Fix the javadoc of Parameters.setRotation.
2fb818ca7dd53d00646854a2473f1a69be43067c 14-Sep-2010 Wu-cheng Li <wuchengli@google.com> Fix the javadoc of Parameters.setRotation.

setRotation needs to consider the orientation of cameras.
Change-Id: I3ef23dc088647dacdddbb83e3f303c16b9251185
amera.java
d276720edb060617168388f44005f0960fa89ad1 21-Sep-2010 Wu-cheng Li <wuchengli@google.com> am 2ad1ebca: am d45cb72a: Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.

Merge commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd'

* commit '2ad1ebcaabb632c8fe714f0c3fd88bdfa14697bd':
Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.
d45cb72ac0d7d57829ffc9223decb89a5fc42ce2 21-Sep-2010 Wu-cheng Li <wuchengli@google.com> Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.

This constant is not public yet. Continuous autofocus should
behave differently in still camera and camcorder. In camcorder,
lens movement may be more smooth. And the triggers to start a
new focus search may be different. If there is a need,
FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future.

Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
amera.java
99ce45732030d379549f74248f1f5cc88dfbf191 17-Sep-2010 Mathias Agopian <mathias@google.com> am 8f476407: am 08710dcd: Merge "part of fix for [3004226] Cannot end the call - Proximity sensor doesn\'t work" into gingerbread

Merge commit '8f476407bf4e6283b128532d594d44cc527e8204'

* commit '8f476407bf4e6283b128532d594d44cc527e8204':
part of fix for [3004226] Cannot end the call - Proximity sensor doesn't work
7bb3e78ff37ebe4e25fbb5e408b9a02032d26369 17-Sep-2010 Mathias Agopian <mathias@google.com> am 3a35f078: am 079ed615: Merge "fix [2931909] SensorManger breaks when using different SensorEventListener w/ the same sensors" into gingerbread

Merge commit '3a35f078e75cd3f63e57b0fffbac486e12a0a933'

* commit '3a35f078e75cd3f63e57b0fffbac486e12a0a933':
fix [2931909] SensorManger breaks when using different SensorEventListener w/ the same sensors
4d3cb63b9b9177b79c575ca1b21040cc42ee7879 17-Sep-2010 Mathias Agopian <mathias@google.com> part of fix for [3004226] Cannot end the call - Proximity sensor doesn't work

- In SensorEventQueue, only bail on errors from Looper::loopOnce
- Improve sensor error logging

Change-Id: Ib3cf8d5d9fdac8513a3d753155827e0feeda1662
ensorManager.java
ec33b82c42f3dd996a72b80359c87524b51ffb2a 15-Sep-2010 Mathias Agopian <mathias@google.com> fix [2931909] SensorManger breaks when using different SensorEventListener w/ the same sensors

- Sensor handle can now be arbitrary instead of being limited to 0-31
- make sure to disable sensors only when no listener uses them anymore

Change-Id: If656c8c24d9827a7db1de3b3aa89961abb7def0c
ensorManager.java
16d508acb318f391f22572a1e1c7ea4ba806cb6e 16-Sep-2010 Wu-cheng Li <wuchengli@google.com> am 4db458b4: am a6f41495: Merge "Update camera API and javadoc for API review comments." into gingerbread

Merge commit '4db458b4f71cd9ccbb98f5bf2c08e1f0eb750548'

* commit '4db458b4f71cd9ccbb98f5bf2c08e1f0eb750548':
Update camera API and javadoc for API review comments.
7836660f5eb45b7b7e1f5119face65c80e2ade17 15-Sep-2010 Wu-cheng Li <wuchengli@google.com> Update camera API and javadoc for API review comments.

bug:3001395
bug:3001399
Change-Id: I7030c4eff94ab11f44b862e8c206fb69a4e5c428
amera.java
612ff27425cf2976396d992f32b58ab900c7d708 07-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> Quell annoying Java ascii/unicode warning.

This fix is already in master, so just cherry-picking it here too.

Change-Id: I28c57171aa3e55933c3e98555575a074b25b2b2a
ensorEvent.java
6ed727e39e945a512cd870e3136dd47927242020 31-Aug-2010 Mike Lockwood <lockwood@android.com> Merge "USB: Add functions for querying if a USB function is supported and enabled."
08bff3b9d4c0a66c3aaac45db68207d08276fd38 31-Aug-2010 Mike Lockwood <lockwood@android.com> USB: Add functions for querying if a USB function is supported and enabled.

Change-Id: I5fc24960e1e01c27e892acc2e76c12ddf8c654cb
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
b8f7f42f70790121f954c2ae3d2e7b915808510a 30-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 6e46e6f7: am 7ec7b997: Remove camera metering mode API.

Merge commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5'

* commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5':
Remove camera metering mode API.
7ec7b9970cc3a6311bf043e228991adf24c43523 28-Aug-2010 Wu-cheng Li <wuchengli@google.com> Remove camera metering mode API.

Metering mode is not supported yet.

Change-Id: Id6906d6ab0cd1a9dcbc5c303d8d5081b2cda699e
amera.java
769690e9ea87e00dee7c15d652333eaa2c6c5264 28-Aug-2010 Wu-cheng Li <wuchengli@google.com> am af610b2b: am 1620d118: Fix SDK build error.

Merge commit 'af610b2b9fbf6a7e5e03d3d8bce2f4e082d21048'

* commit 'af610b2b9fbf6a7e5e03d3d8bce2f4e082d21048':
Fix SDK build error.
7fe6d3f13ae18a85c09bf38ea1f3281280a9fd48 28-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 705c2e66: am d851e6fe: Merge "Unhide camera fps range API and deprecate old ones." into gingerbread

Merge commit '705c2e66dcb358c865cf912a5496825088044b79'

* commit '705c2e66dcb358c865cf912a5496825088044b79':
Unhide camera fps range API and deprecate old ones.
1620d118a49dc6df7b0e83d7343f8a8bb6e23b12 28-Aug-2010 Wu-cheng Li <wuchengli@google.com> Fix SDK build error.

Change-Id: I4705c10da850d684caa7067d656aff11bc65acbb
amera.java
5f1e69c76ef5886ed65e303490c5f660da4756ef 18-Aug-2010 Wu-cheng Li <wuchengli@google.com> Unhide camera fps range API and deprecate old ones.

Original preview frame rate API assumes the frame rate
is fixed. It does not not work with auto frame rate camera.

Change-Id: I1233a22ed64d42f167432085716bb6bfc3d36bbf
amera.java
dcde3a8abec3d2d9c1261fef5fb6015c16382346 26-Aug-2010 Mathias Agopian <mathias@google.com> am a62dfe9e: am 94e939e8: Merge "Improve Sensors documentation a bit" into gingerbread

Merge commit 'a62dfe9e49ea785c4be2173479e4472767771ce5'

* commit 'a62dfe9e49ea785c4be2173479e4472767771ce5':
Improve Sensors documentation a bit
43c87e44fc0d7d7b37e039752c0dec093e227381 25-Aug-2010 Mathias Agopian <mathias@google.com> Improve Sensors documentation a bit

Change-Id: I6f4f9ebfaf1e7f461a795f717b9913e3a021e9d4
ensorManager.java
0a5699654f33fc41a9baed26abb9b867ba439399 24-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am f235a519: am ec58dff0: Fix build - remove dead doc link

Merge commit 'f235a519398d47db1bbb8eb5e773565314b1fa4f'

* commit 'f235a519398d47db1bbb8eb5e773565314b1fa4f':
Fix build - remove dead doc link
1770b21ab597e059eb54c9ef268c6ba9a38116d2 24-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 0460e26a: resolved conflicts for merge of 691be97f to gingerbread-plus-aosp

Merge commit '0460e26a4c9915f77c915d2cc3540969802b02fa'

* commit '0460e26a4c9915f77c915d2cc3540969802b02fa':
add new sensor types for handling gyro data and device orientation
eee09313c659b1c97ef6188b6ae4066c87615159 24-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 346b6126: am 97a56269: Merge "Add camera fps range API." into gingerbread

Merge commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e'

* commit '346b6126d54bda4ddc705b27f49004b5cf3a2b3e':
Add camera fps range API.
7a0541d6b803da02b8724b1d140d6ccaaec23a36 20-Jul-2010 Kevin Powell <kpowell@invensense.com> add new sensor types for handling gyro data and device orientation
more efficiently.

Change-Id: Ifbcf2caae0865eccf1c9b8060342185c22145a30
ensor.java
ensorEvent.java
ensorManager.java
f235a519398d47db1bbb8eb5e773565314b1fa4f 21-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am ec58dff0: Fix build - remove dead doc link

Merge commit 'ec58dff06693342f12f295fdb7b41cfcbaeb4f14' into gingerbread-plus-aosp

* commit 'ec58dff06693342f12f295fdb7b41cfcbaeb4f14':
Fix build - remove dead doc link
ec58dff06693342f12f295fdb7b41cfcbaeb4f14 21-Aug-2010 Jean-Baptiste Queru <jbq@google.com> Fix build - remove dead doc link

Change-Id: I72e05d41819c14bf67d721740e0d48c71eeae397
ensorManager.java
0460e26a4c9915f77c915d2cc3540969802b02fa 21-Aug-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of 691be97f to gingerbread-plus-aosp

Change-Id: Ic095e7f9203eb1465ddf3c195ebf1200e9393124
454630f23784afcf3dd6fc58becbb9fb6aa878a9 12-Aug-2010 Wu-cheng Li <wuchengli@google.com> Add camera fps range API.

Original preview frame rate API assumes the frame rate
is fixed. It does not not work with auto frame rate camera.

Change-Id: I38f7122ac8ec844ffd63558dc0763ffa17b0926a
amera.java
49eda504150e9f1e91c5ea51b1b361c270fa4055 20-Aug-2010 Mathias Agopian <mathias@google.com> am 4195d097: am 8ad86fef: Merge "Improve documentation of getAltitude" into gingerbread

Merge commit '4195d097c535acf9e1c60b323134fcb5609c18b7'

* commit '4195d097c535acf9e1c60b323134fcb5609c18b7':
Improve documentation of getAltitude
f35fd959fe499c61ee0d97d5b0c8feb469397a42 20-Jul-2010 Kevin Powell <kpowell@invensense.com> add new sensor types for handling gyro data and device orientation
more efficiently.

Change-Id: Ie19992f6599e528a79931f4ae592898dac15412e
ensor.java
ensorEvent.java
ensorManager.java
24844c9a30cf20467cd19d28f2e74de74c9c3622 18-Aug-2010 Wu-cheng Li <wuchengli@google.com> am a2527055: am c8696023: Merge "Document that autoFocus must be called in auto and macro mode." into gingerbread

Merge commit 'a2527055f8e3106fe70feeee10ae0c4ddc6596e9'

* commit 'a2527055f8e3106fe70feeee10ae0c4ddc6596e9':
Document that autoFocus must be called in auto and macro mode.
a6704d39b31417dc674d3866f43dad4ce3f850b1 18-Aug-2010 Mathias Agopian <mathias@google.com> Improve documentation of getAltitude

Change-Id: Ie6c61fa6018e54143cec6e65978df9abb48854d9
ensorManager.java
f008f3ea82a0518375ee4ea41b32451badffbd95 17-Aug-2010 Wu-cheng Li <wuchengli@google.com> Document that autoFocus must be called in auto and macro mode.

Change-Id: Ia52f8bc8a75a7473edff50326a4a0467f4295e6a
amera.java
fd83b2f92edf3d1f95161ad3cb2b45826bad6e35 12-Aug-2010 Wu-cheng Li <wuchengli@google.com> am 77a473fb: am ccaa0028: Merge "Improve camera documentation." into gingerbread

Merge commit '77a473fbcea0214832255af91e0a65d853757aae'

* commit '77a473fbcea0214832255af91e0a65d853757aae':
Improve camera documentation.
699fe9397974685e6b2c73f9a3a0eb9e5a5a2ccf 05-Aug-2010 Wu-cheng Li <wuchengli@google.com> Improve camera documentation.

Change-Id: I3c9e5e6de5ce64b8d7d892483930238fa9cc247c
amera.java
fdece4bbbf7d3c9d503827d7da7ee576350d232b 30-Jul-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of dfce290b to master

Change-Id: I9caace962cb0a697dd99ed92c5f35e57690fdf91
ce49d03aa40123a086d6017052873bed83835298 30-Jul-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of 02513855 to master

Change-Id: Ie33d57798d3d5b800edde753dac86de062bc270c
04d7e83e65e246e154b5b346e3eb0081b741ae88 30-Jul-2010 Mathias Agopian <mathias@google.com> Added SensorManager.getAltitude()

this is a helper function to calculate the altitude from the
pressure and pressure at sea level.

Change-Id: I3f6f14fee6190388f95afa36a66287e3d59eef9b
ensorManager.java
050b56244ff46d43e4886018d7cd20f0b1dc02b9 30-Jul-2010 Mathias Agopian <mathias@google.com> Added SensorManager.getMinDelay()

Exposed the new "min delay" sensor property through native and
java sensor apis. This allows the caller to know what is the
maximum rate at which a sensor can return events, or, if a sensor
works in "update" mode (events returned only when the value changes).

Also augmented SensorManager.regusterSensorEvent() so that it can
accept a value in microsecond in addition to the 4 constants already
defined.

Change-Id: If425e9979892666df8c989d7de3c362230fa19e0
ensor.java
ensorManager.java
da39f0e87814c5acb8b6319a1877b93197fb910e 28-Jul-2010 Mike Lockwood <lockwood@android.com> Send Intents when PTP compatible devices are connected/disconnected to USB

Usb.ACTION_USB_CAMERA_ATTACHED and Usb.ACTION_USB_CAMERA_DETACHED are sent
when cameras are connected and disconnected.
The data field of the intent contains a Uri for the camera in the Mtp content provider.

Change-Id: I814221b4f0507b309997c71edb5a041e8efc54f7
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
50558b956157dad980441bf4fb44931ce834e36b 22-Jul-2010 Mathias Agopian <mathias@google.com> resolved conflicts for merge of bc54e63c to master

Change-Id: I4245b15b4cda6963d735442c0c6a04a0477ff5e1
e4764521353e898554931a557460fc49209fb0a9 22-Jul-2010 Mathias Agopian <mathias@google.com> Merge "new SensorService" into gingerbread
02b77f81cfcb7c0105ecc012bcc791f0e2c02e6a 21-Jul-2010 Dan Egnor <egnor@google.com> am 79102ad0: am fb1c0fe7: Merge "resolved conflicts for merge of 9bc4039a to gingerbread" into gingerbread

Merge commit '79102ad0f56135335bccc935bbaeb4c5d8115214'

* commit '79102ad0f56135335bccc935bbaeb4c5d8115214':
COMMENT-ONLY change to clarify Camera documentation.
341ff13689dfe822b598e626272ac2e80041b482 20-Jul-2010 Dan Egnor <egnor@google.com> resolved conflicts for merge of 9bc4039a to gingerbread

Change-Id: I6f9262fb293a67cbc04e5756205ae56e28c299ec
1bf797857e025e8a71db86fb9e79765a767ec1eb 15-Jul-2010 Mathias Agopian <mathias@google.com> new SensorService

remove old sensor service and implement SensorManager
on top of the new (native) SensorManger API.

Change-Id: Iddb77d498755da3e11646473a44d651f12f40281
SensorService.aidl
ensorManager.java
bfcbeffc54e93b1c2e2d95fdc301786df4376d6f 13-Jul-2010 Dan Egnor <egnor@google.com> COMMENT-ONLY change to clarify Camera documentation.

Change-Id: I6b75cfdfc34d1c16d93c02a32649022ce5505b11
amera.java
dbd77cd444f89d94ec5333223c1bc17dbe0c90cd 09-Jul-2010 Romain Guy <romainguy@google.com> Remove support for density compatibility in the hardware renderer.

Change-Id: I535e919986e5ccfb344ede8516ccd84c02642823
ensorEvent.java
f3f25bf80b7d21f12442da8f82d17c79dd371692 07-Jul-2010 Dan Tasse <dantasse@google.com> Added some javadoc to Camera.takePicture()

Change-Id: I62597a1417647eeac7611eaccd0df3bda210e3e7
amera.java
0f791a799dc81d93935fd2597297cf7ac2c0a044 23-Jun-2010 Mathias Agopian <mathias@google.com> More improvements to the SensorManager documentation

Change-Id: I8ab79e8787402f0db572226029820b3cf605086f
ensor.java
ensorEvent.java
ensorManager.java
606d591afee24e31e3885a7330638893db1710f5 29-Jun-2010 Mike Lockwood <lockwood@android.com> Merge "Add new Usb.ACTION_USB_STATE sticky broadcast for monitoring USB connect state" into gingerbread
709981eeedc5c6d640fbb3ecc1ebdcd39d748802 28-Jun-2010 Mike Lockwood <lockwood@android.com> Add new Usb.ACTION_USB_STATE sticky broadcast for monitoring USB connect state

This can be used instead of ACTION_USB_CONNECTED and ACTION_USB_DISCONNECTED
by clients that need to be informed of both USB connect and disconnect events

Change-Id: Ic26927af2e775c2694d18775f9d574c97b095dfd
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
de1057c4a6aa41c3b88bcc4fd49d70f973f1d9eb 14-Jun-2010 Chih-Chung Chang <chihchung@google.com> Unhide new API for supporting multiple cameras.

Change-Id: I916a536c80330444a15986ba380205a6deed2390
amera.java
2423607a32d63a0c646b17758ebeb4dc1d0b791f 23-Jun-2010 Mike Lockwood <lockwood@android.com> Add a new UEventObserver subclass to broadcast an Intent whe USB state changes.

We now broadcast Usb.ACTION_USB_CONNECTED and Usb.ACTION_USB_DISCONNECTED
when USB is connected or disconnected.
The ACTION_USB_CONNECTED extras indicate the enabled/disabled state of
all USB functions.

Change-Id: I11495d039429dbe22bd738067296e39ae415befa
Signed-off-by: Mike Lockwood <lockwood@android.com>
sb.java
74cde2cee9e53006a710f4e80700cd560c2d0e4d 17-Jun-2010 Mathias Agopian <mathias@google.com> Improve SensorManager documentation

this pass is mostly just formating.

Change-Id: Ica7dd014c301817c93e915c08b16da99769eaabb
ensor.java
ensorEvent.java
ensorManager.java
724c52244423feced2677fbd1f905e0b8b0639f2 14-Jun-2010 Chih-Chung Chang <chihchung@google.com> Correct the setDisplayOrientation sample code.

Change-Id: I37af4090b383204a5fd228a4388732e11ef2fa8c
amera.java
b8bb78f54b48868465a9d69d65fda08524ab5ae1 10-Jun-2010 Chih-Chung Chang <chihchung@google.com> Change camera interface to support multiple cameras.

Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
amera.java
2fd73a452268d2acb6e72a1d23a422085ed3c510 11-Jun-2010 Wu-cheng Li <wuchengli@google.com> Unhide camera metering mode API.

Change-Id: Ia3ca83e2a0b5b322e5dbf9ae3d5c1d3b89e0fd31
amera.java
f7f6333831e7b991d92abeddfbd46c2884afa405 03-Jun-2010 Wu-cheng Li <wuchengli@google.com> Add camera metering mode API.

bug:2737111
Change-Id: Ie986fee56ebeaaed2d2efb757701dfe3ffdec8d8
amera.java
00e21f8eb57a7ae2c19516aa0290ab4fb5f251c2 28-May-2010 Wu-cheng Li <wuchengli@google.com> Add javadoc for camera scene modes.

Change-Id: Iab596a6fb77107ffc04fa59d84e18f8e064e336a
amera.java
d2c2929c94bec68741b85f4174e11307fb65157f 28-May-2010 Wu-cheng Li <wuchengli@google.com> Add video frame parameter.

The image format of preview frames and video frames may be different.
We need another parameter for video frame format.

bug:2720893
Change-Id: I966a31b0ce8cab25cdde65db65a18c8cbe9c7bd6
amera.java
185cc455a87c636d48ad9a16c13d2ebad7433735 20-May-2010 Wu-cheng Li <wuchengli@google.com> Fix javadoc of camera focus distances API.

bug:1955650
Change-Id: I073eb533dd1d5fcebbaa430de9af2bf4335c406e
amera.java
e339c5edbebedf446581f18ad70214007309bf4b 13-May-2010 Wu-cheng Li <wuchengli@google.com> Add camera focus distances API.

Applications can use this API to estimate the distance
between the subject and the camera.

bug:1955650
Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27
amera.java
ca099614841bc619f217dfa088da630a7eb1ab65 06-May-2010 Wu-cheng Li <wuchengli@google.com> Add continuous focus mode constant.

bug:2612447
Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
amera.java
e25cc656392d8866e163f78b60c7791455d0fb44 06-May-2010 Chih-Chung Chang <chihchung@google.com> Support multiple cameras in framework.

Change-Id: I081f0fbdca4b633715ea7c3b3d42f8662d27598a
amera.java
c58b42327df5fbc826e2fcc2674ab6db0edfcd92 29-Mar-2010 Wu-cheng Li <wuchengli@google.com> Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.

bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
amera.java
3f4639a6611222ae1ae5493de49213250d292139 04-Apr-2010 Wu-cheng Li <wuchengli@google.com> Update API and javadoc according to API review.

bug:2553570
Change-Id: I0353938f513c119cec0e31eb980dc4569e17d7eb
amera.java
0ca25191c663ef229f1f475b17899f2017ed6980 29-Mar-2010 Wu-cheng Li <wuchengli@google.com> Add some comments for zoom methods.

Also change RuntimeException to IllegalArgumentException.
bug:2458926

Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587
amera.java
02034d3568fb3b984e8d185d70e18ba19e592ba3 22-Mar-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ie60db5faf407344b8fbe3d5c1e7c01e927ff251e
9119caa144c8eafdba986002003521af3aedfe67 16-Mar-2010 Rodrigo Damazio Bovendorp <rdamazio@google.com> Updated to WMM2010

Change-Id: I5937eed4a8775eae044500552ec81030b93acb18
eomagneticField.java
e208377fbab6b90f41e68699700942a81f4caaeb 11-Mar-2010 Ray Chen <raychen@google.com> Add GPSProcessingMethod tag to ExifInterface.

Change-Id: I7575ae3195dc510e7020368794a66bb064839104
amera.java
c10275abd6a494c93a025f683dde104a5d4f2793 09-Mar-2010 Wu-cheng Li <wuchengli@google.com> Document new preview callback methods more clearly.

bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce
amera.java
5b9bcda3a26e9b1f9b1eff28a2be8853d69614f0 07-Mar-2010 Wu-cheng Li <wuchengli@google.com> Unhide new preview callback methods.

bug:2358064
Change-Id: If9655ae8b7622ea6fc51e0054cfac7451962be66
amera.java
540bc0348ab40727a054cdadcf098b098c0bfb0b 05-Mar-2010 Chih-Chung Chang <chihchung@google.com> Unhide reconnect() in Camera.
amera.java
055c986ab841f8f758398841730f1e90313b132a 23-Feb-2010 Ray Chen <raychen@google.com> Add location provider name to gps-processing-method in EXIF header.
amera.java
8cbb8f5e1f939b03515cb4d5942c3fcb226efb9e 01-Mar-2010 Wu-cheng Li <wuchengli@google.com> Unhide zoom API.

bug:2458926
amera.java
61a449393cf29f3960b4e03ec3fad652dac51b88 27-Feb-2010 Mathias Agopian <mathias@google.com> fix [2475541] Deprecate Sensor.TYPE_ORIENTATION

It's much better to use SensorManager.getRotation() instead.
ensor.java
7895da44e32e9c76e07663aae7084f11cbacbbdb 26-Feb-2010 Mathias Agopian <mathias@google.com> SensorManager: handle 270 and 180 rotation in the legacy APIs

Technically these APIs are deprecated, however old apps might still be using them
so we might as well make sure they work in all orientations.
ensorManager.java
210fc914db37b3cf77ebb3bf75b0b509a1ecb07c 26-Feb-2010 Mathias Agopian <mathias@google.com> [2472946] Sensor.TYPE_ORIENTATION returns inverted roll values

Fix the documentation to reflect reality and encourage developpers to use
SensorManager.getRotation() instead of using Sensor.TYPE_ORIENTATION
ensor.java
ensorEvent.java
ensorManager.java
5cb70b54156fb305d579a1cc167424c8705bfdf7 26-Feb-2010 Dianne Hackborn <hackbod@google.com> Rename Display.getOrientation() to Display.getRotation().

Update various docs.
ensorManager.java
0402e7da70715c96af90aa95c16d1bedc5199645 26-Feb-2010 Wu-cheng Li <wuchengli@google.com> Fix SDK build.
amera.java
24b326a8978bf78e3e560723dde221792784325b 20-Feb-2010 Wu-cheng Li <wuchengli@google.com> Unhide exposure compensation API.

bug:2375993
amera.java
a696f5d667227365da732481770767dcb330dd23 18-Feb-2010 Mathias Agopian <mathias@google.com> Add ImageFormat.java and move the Camera/YUV constants from PixelFormat to it.

PixelFormat's corresponding constansts are now deprecated.
amera.java
a18e90176a8e2442837d0503fbfd4adb9df0818f 10-Feb-2010 Wu-cheng Li <wuchengli@google.com> Explain setPreviewFrameRate and getPreviewFrameRate more clearly.
amera.java
ff723b6c43d5a8fd0ae0e0732f5d47012d74e01d 09-Feb-2010 Wu-cheng Li <wuchengli@google.com> Add exposure compensation parameter.

bug:2375993
amera.java
b3dc5eb4e4143b119491a05e89b186763979ef75 04-Feb-2010 Mathias Agopian <mathias@google.com> fix [2313526] sensor enable race condition

Make sure we wait until the SensorThread is running an has open the sensors fd.
Also handle errors when/if this fails.
ensorManager.java
6c8d2760736a0753dad96b4bb8f98c7d075e6d54 27-Jan-2010 Wu-cheng Li <wuchengli@google.com> Add focal length and view angle API.

bug:2375989,2375987
amera.java
4c4300c71229638183d814ab8374e09f722910f5 23-Jan-2010 Wu-cheng Li <wuchengli@google.com> Add Camera.getSupportedThumbnailSizes() and Size.equals().

bug:2375986
amera.java
e7bd22a9d9441916aa9c67d80ee9f02a2d3e10e5 27-Jan-2010 Chih-Chung Chang <chihchung@google.com> Unhide camera api for set display orientation.
amera.java
d1d7706fce19a9a0cf71ff9b65f3aba9b89eeb3b 23-Jan-2010 Chih-Chung Chang <chihchung@google.com> Add support for setting camera display orientation.
amera.java
f5d95cbc1a6974afeb4d3155bdaa8dae55722a39 08-Jan-2010 Joe Onorato <joeo@android.com> less log spew
ensorManager.java
e417158c06c81c8c4dc6794c5421b711e671c7e3 16-Dec-2009 Mathias Agopian <mathias@google.com> fix [2330211] sensors thread priority too low

bump the sensor thread priority to URGENT_DISPLAY. Events will be enqueued
in the UI (or other user provided) thread, which runs at DISPLAY prio.
ensorManager.java
9c79938d47a3caa06e5fb956955374f30c55992b 04-Dec-2009 Wu-cheng Li <wuchengli@google.com> Document that some parameters will not be null and fix getSupportedPictureFormats.
amera.java
40057ce749c8c4d274db0352a2af4344bda92dba 02-Dec-2009 Wu-cheng Li <wuchengli@google.com> Document that stopPreview is not needed before takePicture.

Also, applications can call startPreview after jpeg callback is received.

http://b/2292461
amera.java
4115c518753052add46b017bb3044da6f6169a7b 03-Nov-2009 Mike Lockwood <lockwood@android.com> Add documentation for proximity and light sensors.

Change-Id: I116424c468d1d3afe89e0e17be773ee8b80ada92
Signed-off-by: Mike Lockwood <lockwood@android.com>
ensor.java
ensorEvent.java
94927dffce1626898b59579dfc5af53b5de8cef6 20-Oct-2009 Andrew Harp <andrewharp@google.com> Patching in hidden API to allow app managed preview frame buffers.

Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
amera.java
a6118c6383c6f5703a576d08586a340fd71d28a4 13-Oct-2009 Dave Sparks <davidsparks@android.com> Throttle camera preview frames to the app. Bug 2180302.

With higher frame rates and larger preview frames, we can easily
flood the application with too much data. This patch fakes the
old camera preview mode by doing continuous one-shot frames.
After the previous frame is handled, if the application hasn't
cleared the preview callback, we start another one-shot preview
frame. With this change, the application should never have more
than one preview frame unless it is explicitly saving references
to them.

modified: core/java/android/hardware/Camera.java
amera.java
36f68b8f24df906c969581b0b8e1a47f95dc03cb 29-Sep-2009 Wu-cheng Li <wuchengli@google.com> Add zoom functions and sendCommand.

b2060030
amera.java
2988ab7c322aad7508df930204886f334216b65c 01-Oct-2009 Wu-cheng Li <wuchengli@google.com> Add documentation for scene mode. Other parameters may be changed after setting scene mode.
amera.java
77153ee04e4172cb0e123cadaa1e76671dbd840e 30-Sep-2009 Wu-cheng Li <wuchengli@google.com> Hide zoom api.
amera.java
068ef42c3ffe1eccec10f97f08541304f679fe67 27-Sep-2009 Wu-cheng Li <wuchengli@google.com> Add documentation about flash and change video-light to torch.
amera.java
e6bea600fe5600017a4824adb14752a5b915d164 24-Sep-2009 Wu-cheng Li <wuchengli@google.com> Change setRotation documentaion.
amera.java
36322db5752c7ec196f59ba94abe5d5a63cc19f5 18-Sep-2009 Wu-cheng Li <wuchengli@google.com> Add focus API and FLASH_MODE_VIDEO_LIGHT.
amera.java
ffe1cf251a4f8469695b8acfa37270684dc1b70c 10-Sep-2009 Wu-cheng Li <wuchengli@google.com> Unhide Camera lock and unlock API.
amera.java
eb68c46a40c773eb56ef7bcf8e7ece5c6a5a8d23 18-Sep-2009 Chih-Chung Chang <chihchung@google.com> Fix 2092386: Support yuyv for camera preview format.

Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
amera.java
46ad796186bdca8bac75607340aa0fac0c34a9d8 16-Sep-2009 Chih-Chung Chang <chihchung@google.com> Unhide cancelAutoFocus API in Camera.

Change-Id: I29450867edf9c68ac06e6d76fae0ad93ea89b632
amera.java
7478ea6848c0059e65a4089b4ec2ff4158520870 16-Sep-2009 Wu-cheng Li <wuchengli@google.com> Remove trailing spaces.
amera.java
244f8c26365a303d9dd861bd48a29a4b48578da1 15-Sep-2009 Chih-Chung Chang <chihchung@google.com> Fix 2083478: Camera needs an auto-focus cancel API

Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
amera.java
da0a56df963353a1f1bd1914fa31f870d982dd5a 11-Sep-2009 Scott Main <smain@google.com> resolved conflicts for merge of e0408aa1 to eclair
df4578e8ab7008a7e528d5af2ae761b33cf2bdf4 10-Sep-2009 Scott Main <smain@google.com> docs only.
add documentation to notify developers about variable
camera specifications and add some more links

Change-Id: I46ef9811af17858cbc6547f88e626becb481b043
amera.java
1c632933d93e2c6b845b2a5578019aff68361e2d 02-Sep-2009 Wu-cheng Li <wuchengli@google.com> Fix SDK build breakage.
amera.java
9b6a8ab8221f2df20c32711b0f1e4f301165fac2 17-Aug-2009 Wu-cheng Li <wuchengli@google.com> Add camera parameters constants and methods.
amera.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
ensorListener.java
ensorManager.java
da83f4674a564007baac03db062a289c8158d940 12-Aug-2009 Benny Wong <Benny.Wong@motorola.com> Modified the camera HAL interface to use the same generic callback architecture as camera services
amera.java
e8b26e197f7c5e4acbdf8a5cd3f014fbc242c8ab 14-Jul-2009 Dave Sparks <davidsparks@android.com> Add zoom and postview callbacks to Camera. This patch
adds a zoom callback to the Java layer. If the hardware supports
a smooth zoom function, this provides a way to update the UI as
the zoom is moving from its original setting to the new commanded
setting. This postview callback supports receive a processed
image before the JPEG encode completes. This allows the display
to be rotated without losing the final preview frame.
amera.java
a1b653d41df9a7999e1dba2a508295671ff6771d 02-Jul-2009 James Dong <jdong@google.com> Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
amera.java
b8a10fe45657f2dcc50cae8a06805f8438a6937e 23-Jun-2009 Wu-cheng Li <wuchengli@google.com> Allow setPreviewDisplay after startPreview.
amera.java
c62f9bd13327937aa2d2f20b44215397120634c1 26-Jun-2009 Dave Sparks <davidsparks@android.com> Pipe all the camera callbacks to Java to facilitate the addition
of new features. This will make it easy to add things like zoom
callbacks without modifying the entire camera stack.
Bug 1837832.
amera.java
270e87f71abc2edf446dbec20c725c823e8c7f37 22-May-2009 Mike Lockwood <lockwood@android.com> 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>
SensorService.aidl
ensorManager.java
287b30920102b5466efa53a2f17ed69f2c776c16 28-Apr-2009 Mathias Agopian <mathias@google.com> fix 1812272 SensorManager method returns hidden object
ensorManager.java
ab5b424db30b478570d83a30497319a72e91068c 22-Apr-2009 Wu-cheng Li <wuchengli@google.com> Remove debug messages.
modified: core/java/android/hardware/Camera.java

modified: camera/libcameraservice/CameraService.cpp
amera.java
5a0cb42f3ffc10502233d94fe4fae629c3111c7b 02-Apr-2009 Chris Tate <> AI 144135: am: CL 144134 Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
Original author: ctate
Merged from: //branches/cupcake/...

Automated import of CL 144135
ensorManager.java
6dee6243bf5ecb96291e62ece7d736c5aee1e505 26-Mar-2009 Andreas Huber <> Automated import from //branches/donutburger/...@142801,142801
ensorManager.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
amera.java
eomagneticField.java
SensorService.aidl
ensor.java
ensorEvent.java
ensorEventListener.java
ensorListener.java
ensorManager.java
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
amera.java
eomagneticField.java
SensorService.aidl
ensor.java
ensorEvent.java
ensorEventListener.java
ensorListener.java
ensorManager.java
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
amera.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
amera.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ensorManager.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
amera.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
eomagneticField.java
SensorService.aidl
ensorManager.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
amera.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
amera.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
amera.java
SensorService.aidl
ensor.java
ensorEvent.java
ensorEventListener.java
ensorListener.java
ensorManager.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
amera.java
SensorService.aidl
ensorListener.java
ensorManager.java
ackage.html