Commit Graph

303 Commits

Author SHA1 Message Date
Joe Fernandez
c4bc9e9651 am be3ffd56: am 3f70aa78: Merge "docs: Camera JavaDoc - added xref to Camera DevGuide" into ics-mr0
* commit 'be3ffd56bfafeee1a16970d02fd702ea19809a1e':
  docs: Camera JavaDoc - added xref to Camera DevGuide
2011-10-18 15:04:53 -07:00
Joe Fernandez
6c5c3c392b docs: Camera JavaDoc - added xref to Camera DevGuide
Change-Id: I4b5faa154a63f0830717a9156b617a0199604547
2011-10-18 14:57:05 -07:00
Wu-cheng Li
cb1192f03a am 7a3ba4d7: am 514a6cfb: Merge "Improve camera javadoc and fix some errors." into ics-mr0
* commit '7a3ba4d732d5ce394aab9783e4099b2e71f1903f':
  Improve camera javadoc and fix some errors.
2011-10-12 23:38:35 -07:00
Wu-cheng Li
53b30912d3 Improve camera javadoc and fix some errors.
bug:5169599
Change-Id: Ic2205770753ff462135f884fee0a888ca8ec832d
2011-10-13 12:04:05 +08:00
Eino-Ville Talvala
e8d7d03d59 am ca2640b2: am 0a273592: Merge "Add video stabilization control to Camera parameters." into ics-mr0
* commit 'ca2640b2ab4136eefe138baf07dcfcbaea86da17':
  Add video stabilization control to Camera parameters.
2011-10-12 20:01:08 -07:00
Eino-Ville Talvala
037abb8bb0 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
2011-10-12 10:34:10 -07:00
Wu-cheng Li
2574798cf1 am 3c02c12c: Merge "Allow Camera.setDisplayOrientation to be called when preview is active."
* commit '3c02c12c73fa8719e49a5da6534750196efe3eba':
  Allow Camera.setDisplayOrientation to be called when preview is active.
2011-10-07 05:46:42 -07:00
Wu-cheng Li
3c02c12c73 Merge "Allow Camera.setDisplayOrientation to be called when preview is active." 2011-10-07 03:08:23 -07:00
Wu-cheng Li
d303362ac2 Allow Camera.setDisplayOrientation to be called when preview is active.
bug:5422679

Change-Id: I4c936ab00428fc158b5947fe8f10b1028869bbdb
2011-10-07 18:01:09 +08:00
Joe Fernandez
fb6b4d96da am 1d4a2555: Merge "docs: Camera class JavaDoc FixIts for ICS"
* commit '1d4a25556a9fca40f08b908c2d146664eab5aac2':
  docs: Camera class JavaDoc FixIts for ICS
2011-10-05 09:24:42 -07:00
Joe Fernandez
464cb21e2a docs: Camera class JavaDoc FixIts for ICS
Change-Id: I03d96247d149baf82c53b33aa7737fca11906ce6
2011-10-04 16:56:47 -07:00
Wei Huang
68d7e0d2ab am e448f557: am 3d9a9e55: Merge "Update camera javadoc about AE and AWB lock." into ics-factoryrom
* commit 'e448f557f620ae30dcead7a4423059dfb7d70add':
  Update camera javadoc about AE and AWB lock.
2011-09-23 10:07:33 -07:00
Wei Huang
3d9a9e55df Merge "Update camera javadoc about AE and AWB lock." into ics-factoryrom 2011-09-23 10:04:02 -07:00
Mike Lockwood
78b19b4307 Merge "Add SerialPort.sendBreak()" into ics-aah 2011-09-23 09:02:20 -07:00
Mike Lockwood
6010dafe06 Add SerialPort.sendBreak()
Change-Id: If25ba7724cf69489f2b04fc995baa9c164b5ea58
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-09-23 11:43:42 -04:00
Wei Huang
0205a57284 am 4cd34752: am 5d87227b: Merge "Clear callbacks in camera stopPreview." into ics-factoryrom
* commit '4cd34752cb229f3e1716e1e92f54f58dd847745c':
  Clear callbacks in camera stopPreview.
2011-09-23 08:37:20 -07:00
Chih-yu Huang
664d72e663 Clear callbacks in camera stopPreview.
Clear those callbacks to remove the references
so the memory can be recycled.

bug:5358774
Change-Id: I3b6034a1891126b3437a6744013f38a64f5bb03b
2011-09-23 20:28:28 +08:00
Wu-cheng Li
b4f95be03e 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
2011-09-22 18:19:02 +08:00
Mathias Agopian
628a89c0f9 am ab6d77a4: Merge "Tweak DELAY_UI for 16Hz to 15Hz"
* commit 'ab6d77a45cf2f0f350ae40ceceb65f94fb1711b4':
  Tweak DELAY_UI for 16Hz to 15Hz
2011-09-14 18:22:21 -07:00
Mathias Agopian
5263767cda Tweak DELAY_UI for 16Hz to 15Hz
this allows us to hit the lower accel rate.

Change-Id: I21944ee82020cf4b80397b87803bc481ddf51931
2011-09-14 18:18:11 -07:00
Mathias Agopian
1825f0a284 am 66bd5e98: Merge "improve the gyroscope javadoc"
* commit '66bd5e98ec1e626b731394eb8ce63b4f63be1d05':
  improve the gyroscope javadoc
2011-09-07 15:59:42 -07:00
Mathias Agopian
66bd5e98ec Merge "improve the gyroscope javadoc" 2011-09-07 15:58:39 -07:00
Mathias Agopian
ad7f33a29c improve the gyroscope javadoc
change the sample code to something more useful and more
correct.

Change-Id: Ia81f86a2f409edbb395405ababae307663824cb9
2011-09-07 15:56:03 -07:00
Wu-cheng Li
0b28d84f97 am cb58757d: Merge "Unhide camera video snapshot supported API."
* commit 'cb58757d2fc3dd23ca8da192fe6955fcb1fb801f':
  Unhide camera video snapshot supported API.
2011-09-07 14:56:23 -07:00
Wu-cheng Li
4c454d82b6 Unhide camera video snapshot supported API.
bug:5187868
Change-Id: Idefde8746012c8ef504f3e3020e3fe1256c60860
2011-09-08 02:32:20 +08:00
Wu-cheng Li
7437294555 am 98bb251c: Add video snapshot camera parameter.
* commit '98bb251c8b527600e7a4cca6cc33499710bbfbf1':
  Add video snapshot camera parameter.
2011-09-01 04:17:12 -07:00
Wu-cheng Li
98bb251c8b Add video snapshot camera parameter.
The API is still hidden.

bug:5187868

Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
2011-09-01 13:37:14 +08:00
Mike Lockwood
1bf3c4bba2 Make Serial Manager APIs public
Change-Id: I9b96ff288a4757c4c4465a6a5ea3b4ed9c432e06
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:33 -04:00
Mike Lockwood
8b3b98d622 New Serial Manager API:
SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Change-Id: I6afa78ceacf08486aaebced4156ecd2e33051879
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:26 -04:00
Scott Main
9a10bf0386 fix sample code typo
issue 5190961

Change-Id: I15f10bc97b46f0e5f5e31ff5b38d6c3a938ddedf
2011-08-24 19:09:48 -07:00
Wu-cheng Li
a46c372a75 Merge "Make camera FOCUS_MODE_CONTINUOUS_PICTURE public." 2011-08-23 00:05:00 -07:00
Wu-cheng Li
af4f65806e Make camera FOCUS_MODE_CONTINUOUS_PICTURE public.
bug:5086125
Change-Id: I140dd8357adabb167f2f2efee8f5db00ab86705c
2011-08-22 23:21:03 +08:00
Wei Hua
7526a6d923 Merge "Added additional Face attributes." 2011-08-19 17:20:54 -07:00
Wei Hua
d52b308916 Added additional Face attributes.
bug: 5186701
Change-Id: Id08df922b9a79192a81e6e8bd7c0dccad4664b3b
2011-08-19 13:01:51 -07:00
Eino-Ville Talvala
16b67137b8 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
2011-08-18 13:57:49 -07:00
Wu-cheng Li
b9ac75d3df Add new camera focus mode FOCUS_MODE_CONTINUOUS_PICTURE.
The API is still hidden.

bug:5086125
Change-Id: I69268a95ad6aae249771d3a8dfb423ffe2d87081
2011-08-18 00:15:40 +08:00
Wu-cheng Li
aba367eea4 Merge "Unhide camera face detection API." 2011-08-10 02:55:29 -07:00
Wu-cheng Li
c0c683b334 Unhide camera face detection API.
bug:4460717
Change-Id: I8d72b0ada370acd6267c47deb654bb4bf1cfb538
2011-08-10 08:45:26 +08:00
Wu-cheng Li
08a907149e Merge "Unhide camera recording hint API." 2011-08-09 02:54:07 -07:00
Wu-cheng Li
09f6d67f37 Merge "Add camera bayer image format." 2011-08-04 01:46:56 -07:00
Wu-cheng Li
70fb908504 Add camera bayer image format.
The API are hidden.

bug:5086073

Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
2011-08-04 16:40:28 +08:00
Wu-cheng Li
9c53f1c33a Unhide camera recording hint API.
bug:4266229
Change-Id: Ic9014e521e22a3940b9c2068ce38783f52d2ac31
2011-08-03 23:39:07 +08:00
Mike Lockwood
e51099f110 UsbManager: add getDefaultFunction()
Bug: 5108883

Change-Id: I211f1ee39987da4a5456d86b49b954c564fa3bf4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-02 12:54:49 -04:00
Wu-cheng Li
bb1e275c0e Pass camera frame metadata from camera service to Java.
bug:4460717
Change-Id: I2fae6e1dfca6b8f3a5ee5716fc7817f5417bf657
2011-08-02 15:48:41 +08:00
Wu-cheng Li
25d8fb51da Add camera recording hint parameter.
The API is still hidden.

bug:4266229
Change-Id: I5e4c24e9e2808582aecb55ac4f1d5be3ed7e36a2
2011-08-02 14:27:58 +08:00
Wu-cheng Li
f0d6a48c6a Add frame metadata parameter to camera data_callback.
bug:4460717
Change-Id: Ib47d7d7df20af8155a719f3dabefe030893bfebc
2011-07-29 07:14:38 +08:00
Wu-cheng Li
4c2292efbb Add camera face detection API.
API are still hidden.

bug:4460717
Change-Id: I1a515061f141a89bd61c875257712789fb15d2d4
2011-07-27 05:25:35 +08:00
Wu-cheng Li
f55df0e26a Merge "Add camera new picture and new video broadcast intents." 2011-07-19 11:16:20 -07:00
Wu-cheng Li
10e09c69d6 Add camera new picture and new video broadcast intents.
bug:4964321
Change-Id: I42b45cda2e6a30f3bdf6127e2594933f32ecbaeb
2011-07-19 06:19:26 +08:00
Mike Lockwood
875c24b897 UsbManager: document that passing null setCurrentFunction restores default function
Change-Id: I4340b336f3e91b3b8242f2a66c34a7a7f5c3021f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-07-18 10:54:32 -07:00