Wu-cheng Li
a18e90176a
Explain setPreviewFrameRate and getPreviewFrameRate more clearly.
2010-02-10 16:06:57 +08:00
Wu-cheng Li
ff723b6c43
Add exposure compensation parameter.
...
bug:2375993
2010-02-09 18:28:50 +08:00
Mathias Agopian
b3dc5eb4e4
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.
2010-02-04 15:25:05 -08:00
Wu-cheng Li
6c8d276073
Add focal length and view angle API.
...
bug:2375989,2375987
2010-01-30 20:36:04 +08:00
Wu-cheng Li
4c4300c712
Add Camera.getSupportedThumbnailSizes() and Size.equals().
...
bug:2375986
2010-01-30 19:44:52 +08:00
Chih-Chung Chang
e7bd22a9d9
Unhide camera api for set display orientation.
2010-01-27 17:05:21 -08:00
Chih-Chung Chang
d1d7706fce
Add support for setting camera display orientation.
2010-01-26 11:07:07 -08:00
Joe Onorato
f5d95cbc1a
less log spew
2010-01-08 15:46:24 -05:00
Mathias Agopian
e417158c06
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.
2009-12-15 17:37:46 -08:00
Wu-cheng Li
9c79938d47
Document that some parameters will not be null and fix getSupportedPictureFormats.
2009-12-08 09:41:08 +08:00
Wu-cheng Li
40057ce749
Document that stopPreview is not needed before takePicture.
...
Also, applications can call startPreview after jpeg callback is received.
http://b/2292461
2009-12-03 16:10:08 +08:00
Mike Lockwood
4115c51875
Add documentation for proximity and light sensors.
...
Change-Id: I116424c468d1d3afe89e0e17be773ee8b80ada92
Signed-off-by: Mike Lockwood <lockwood@android.com >
2009-11-03 10:36:24 -05:00
Andrew Harp
94927dffce
Patching in hidden API to allow app managed preview frame buffers.
...
Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
2009-10-23 01:44:47 -04:00
Dave Sparks
a6118c6383
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
2009-10-13 02:52:00 -07:00
Wu-cheng Li
36f68b8f24
Add zoom functions and sendCommand.
...
b2060030
2009-10-06 13:25:10 -07:00
Wu-cheng Li
2988ab7c32
Add documentation for scene mode. Other parameters may be changed after setting scene mode.
2009-09-30 19:44:58 -07:00
Wu-cheng Li
77153ee04e
Hide zoom api.
2009-09-29 16:16:33 -07:00
Wu-cheng Li
068ef42c3f
Add documentation about flash and change video-light to torch.
2009-09-27 17:29:44 -07:00
Wu-cheng Li
e6bea600fe
Change setRotation documentaion.
2009-09-23 16:40:10 -07:00
Wu-cheng Li
36322db575
Add focus API and FLASH_MODE_VIDEO_LIGHT.
2009-09-22 06:28:09 +08:00
Wu-cheng Li
ffe1cf251a
Unhide Camera lock and unlock API.
2009-09-21 07:28:44 +08:00
Chih-Chung Chang
eb68c46a40
Fix 2092386: Support yuyv for camera preview format.
...
Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
2009-09-21 04:38:19 +08:00
Chih-Chung Chang
46ad796186
Unhide cancelAutoFocus API in Camera.
...
Change-Id: I29450867edf9c68ac06e6d76fae0ad93ea89b632
2009-09-16 22:43:46 +08:00
Wu-cheng Li
7478ea6848
Remove trailing spaces.
2009-09-16 18:52:55 +08:00
Chih-Chung Chang
244f8c2636
Fix 2083478: Camera needs an auto-focus cancel API
...
Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
2009-09-15 18:29:03 +08:00
Scott Main
da0a56df96
resolved conflicts for merge of e0408aa1 to eclair
2009-09-10 18:08:37 -07:00
Scott Main
df4578e8ab
docs only.
...
add documentation to notify developers about variable
camera specifications and add some more links
Change-Id: I46ef9811af17858cbc6547f88e626becb481b043
2009-09-10 15:02:49 -07:00
Wu-cheng Li
1c632933d9
Fix SDK build breakage.
2009-09-02 14:35:08 +08:00
Wu-cheng Li
9b6a8ab822
Add camera parameters constants and methods.
2009-09-02 12:45:23 +08:00
Dianne Hackborn
4a51c20ce6
I am getting tired of the java doc warnings, so fix them.
...
Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
2009-08-24 17:37:32 -07:00
Benny Wong
da83f4674a
Modified the camera HAL interface to use the same generic callback architecture as camera services
2009-08-13 10:46:28 -07:00
Dave Sparks
e8b26e197f
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.
2009-07-17 17:24:07 -07:00
James Dong
a1b653d41d
Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
2009-07-02 10:04:20 -07:00
Wu-cheng Li
b8a10fe456
Allow setPreviewDisplay after startPreview.
2009-07-01 01:41:25 +08:00
Dave Sparks
c62f9bd133
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.
2009-06-26 13:33:32 -07:00
Mike Lockwood
270e87f71a
Sensors: Use a native_handle for the data channel instead of a single file descriptor.
...
This eliminates the requirement that all sensors share a single file descriptor.
This, along with concurrent changes in other projects, fixes bugs b/1614524 and b/1614481
Signed-off-by: Mike Lockwood <lockwood@android.com >
2009-05-23 13:22:08 -04:00
Mathias Agopian
287b309201
fix 1812272 SensorManager method returns hidden object
2009-04-27 18:08:10 -07:00
Wu-cheng Li
ab5b424db3
Remove debug messages.
...
modified: core/java/android/hardware/Camera.java
modified: camera/libcameraservice/CameraService.cpp
2009-04-22 16:22:01 +08:00
Chris Tate
5a0cb42f3f
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
2009-04-01 16:01:18 -07:00
Andreas Huber
6dee6243bf
Automated import from //branches/donutburger/...@142801,142801
2009-03-25 17:54:39 -07:00
The Android Open Source Project
9066cfe988
auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce
auto import from //depot/cupcake/@135843
2009-03-03 18:28:45 -08:00
The Android Open Source Project
076357b856
auto import from //depot/cupcake/@132589
2009-03-03 14:04:24 -08:00
The Android Open Source Project
3dec7d563a
auto import from //depot/cupcake/@137055
2009-03-02 22:54:33 -08:00
The Android Open Source Project
15ab3eae2e
auto import from //branches/cupcake/...@132569
2009-02-20 07:38:31 -08:00
The Android Open Source Project
da996f390e
auto import from //branches/cupcake/...@131421
2009-02-13 12:57:50 -08:00
The Android Open Source Project
d24b8183b9
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:00 -08:00
The Android Open Source Project
22f7dfd234
auto import from //branches/cupcake/...@127101
2009-01-20 14:03:58 -08:00
The Android Open Source Project
b798689749
auto import from //branches/cupcake/...@125939
2009-01-09 17:51:23 -08:00
The Android Open Source Project
f013e1afd1
Code drop from //branches/cupcake/...@124589
2008-12-17 18:05:43 -08:00