1cab31a45d9455a7b5a25c0deb447c455be4a178 |
05-Nov-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Document new video snapshot picture size behavior. On some devices, video snapshot may return pictures that are smaller than requested. Make that clear. Bug: 7475089 Change-Id: I0bd759072a7f954e517f3d09cb676fb23f863912
amera.java
|
278a966e80dec29219dfa1356bf4cef07096c913 |
30-Oct-2012 |
Mathias Agopian <mathias@google.com> |
fix an overflow in the orientation sensonr calculations this would cause the TYPE_ORIENTATION sensor to report NaN after 40 to 800 hours of up-time. this problem only affects the older and deprecated SensorListener API. Bug: 7434842 Change-Id: Ie8593cca9c98e4907e417db4106c06151e3ee9a1
egacySensorManager.java
|
92130f6407dc51c58b3b941d28a6daf4e04b8d62 |
25-Oct-2012 |
Jeff Brown <jeffbrown@google.com> |
Add MediaRouter API to get presentation display. This new API makes it possible for an application to ask on which Display it should show a Presentation based on the currently selected media route. Also added a new API on DisplayManager to query displays that support a certain category of uses. Improved the documentation of the Presentation class to explain how to choose an appropriate Display for presentation. Bug: 7409073 Change-Id: Iab451215e570ae55f3718fc228303143c800fe51
isplay/DisplayManager.java
|
4f8e5ce21df881796d05a1b2117dd8868570a57b |
09-Oct-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Query AudioService for shutter sound enforcement. The AudioService now tracks the shutter sound enforcement status, in addition to the existing approach. Check with it when doing shutter sound operations. Bug: 7032634 Change-Id: Ief855d3a36ca5679832cf439f5638b10f70b8636
amera.java
|
fc3f24b4b60c10e0d3f41f70df37e11ea311cc2c |
02-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make USB services multi-user aware. USB settings are now isolated per-user, since they revolve around installed packages. User-specific settings are returned based on calling user, or referenced by UserHandle passed to SystemUI. Each settings Context is wrapped as a specific user, so all broadcasts are sent correctly. Upgrades any existing USB settings to OWNER. Physical events, like new devices, are routed to the currently active user. Switch to using AtomicFile when persisting settings. Bug: 7244888 Change-Id: I8a723ad3d55ac1bff99276c5f3a3f5e8f013432f
sb/IUsbManager.aidl
|
bc335457462a12434a9df6955de1dd693cdccac7 |
27-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Allow applications to connect to known wifi displays. Bug: 7177920 Change-Id: I9d8406e1016988e2cd267dfa52d78a829f1b385e
isplay/DisplayManager.java
isplay/IDisplayManager.aidl
|
487acdfb4eca3859fd688a1ff0a32fe6314b68f6 |
24-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Improve enableShutterSound documentation. Bug: 7216272 Change-Id: I1b9add715c7d3671472b9f98d9b1d80823109365
amera.java
|
5ce25d717059c9c37618aa349314077f99ac34c7 |
22-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "NEW_API: Add android.hardware.Camera.CameraInfo#canDisableShutterSound" into jb-mr1-dev
|
89d5546d7fd3a3bb19820c42e8b4527013dd6545 |
19-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for remembering Wifi display devices. Add a setting to globally disable Wifi display. Fixed a bug where the wifi display broadcast receiver was running on the wrong thread. Removed the wifi-display QuickSettings dialog, all functionality has been moved to Settings. Bug: 7178216 Bug: 7192799 Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
isplay/DisplayManager.java
isplay/DisplayManagerGlobal.java
isplay/IDisplayManager.aidl
isplay/WifiDisplay.java
isplay/WifiDisplayStatus.java
|
f7c6c5ad64c8e5d20e1806cc98b9919334c69614 |
19-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
NEW_API: Add android.hardware.Camera.CameraInfo#canDisableShutterSound Allow applications to check if the camera shutter sound can be disabled. Bug: 7172643 Change-Id: I3e9184325d3676b24830cc5418ebca8dcade8697
amera.java
|
8df3b2b3989df44953153603681e03140fd853d6 |
15-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Document face detection confidence recommendations. Bug: 7108023 Change-Id: I9de583254d127f9c1f702b7ed159a7080bcbfd25
amera.java
|
f353f948a5867fb43c9ee1dbec1ebc93f91655ec |
13-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "NEW_API: Unhide android.hardware.Camera#enableShutterSound" into jb-mr1-dev
|
ff5c9146b53d8429f8ee778f193582c12da0d2b3 |
11-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "NEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR" into jb-mr1-dev
|
7cfd7d5b65b725d7253295becfe02f03767c71fa |
11-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
NEW_API: Unhide android.hardware.Camera.Parameters#SCENE_MODE_HDR Bug: 7054970 Change-Id: I509fa18f1203022bb23cd9ef5c70cb3a3fbb8b77
amera.java
|
a910390b7d64fba46e7c2034f7085b04e5268cab |
11-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Camera: Add SCENE_MODE_HDR." into jb-mr1-dev
|
af87681f48b26f38008bb04fc473e16b7306bc54 |
11-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
NEW_API: Unhide android.hardware.Camera#enableShutterSound Change-Id: I8e7ef3e035dd261be51874f514d6be2fb8933e96
amera.java
|
da2f0ea10822628875a956e4bf096066c0debe9f |
10-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Add SCENE_MODE_HDR. Change-Id: I43262e6ecd4bdd9a2ed2e94c05ad95435b32a0cd
amera.java
|
69fe527bea12f262bfb1a5838f40e3433ad3cb78 |
07-Sep-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Add enableShutterSound method. Some camera apps may wish to replace the system camera shutter sound with their own, especially if they are taking rapid bursts of images. Add method to allow this when possible. Hidden for now. Change-Id: I6520f5441d28675626fafab48c6609c589fc6f7e
amera.java
|
180bbc71810496e280e9993177bfeddb3ad1f558 |
09-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Improve Wifi display discovery API. Change-Id: I4d46503e5413f52da16f79bbc9c631cc5ae9c178
isplay/WifiDisplayStatus.java
|
e08ae388d63c4db8f9d9a7ecd634f9a51f6e91b9 |
08-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Add new wifi display discovery API. The API is quite simple. There are a few extra functions on DisplayManager to scan, connect and disconnect from wifi displays and get status, and a single protected broadcast sent when the status changes. Change-Id: Ic91dbab5ee818e790b27fa32e1a1e93788793be0
isplay/DisplayManager.java
isplay/DisplayManagerGlobal.java
isplay/IDisplayManager.aidl
isplay/WifiDisplay.aidl
isplay/WifiDisplay.java
isplay/WifiDisplayStatus.aidl
isplay/WifiDisplayStatus.java
|
4ed8fe75e1dde1a2b9576f3862aecc5a572c56b5 |
31-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
More improvements to the display manager. Added more complete support for logical displays with support for mirroring, rotation and scaling. Improved the overlay display adapter's touch interactions. A big change here is that the display manager no longer relies on a single-threaded model to maintain its synchronization invariants. Unfortunately we had to change this so as to play nice with the fact that the window manager wants to own the surface flinger transaction around display and surface manipulations. As a result, the display manager has to be able to update displays from the context of any thread. It would be nice to make this process more cooperative. There are already several components competing to perform surface flinger transactions including the window manager, display manager, electron beam, overlay display window, and mouse pointer. They are not manipulating the same surfaces but they can collide with one another when they make global changes to the displays. Change-Id: I04f448594241f2004f6f3d1a81ccd12c566bf296
isplay/DisplayManagerGlobal.java
|
a492c3a7b2c18426fd0cb4d017eacbc368195dc5 |
24-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Initial draft of high-level multi-display APIs. This patch introduces the ability to create a Context that is bound to a Display. The context gets its configuration and metrics from that display and is able to provide a WindowManager that is bound to the display. To make it easier to use, we also add a new kind of Dialog called a Presentation. Presentation takes care of setting up the context as needed and watches for significant changes in the display configuration. If the display is removed, then the presentation simply dismisses itself. Change-Id: Idc54b4ec84b1ff91505cfb78910cf8cd09696d7d
isplay/DisplayManager.java
|
bd6e1500aedc5461e832f69e76341bff0e55fa2b |
28-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add initial multi-display support. Split the DisplayManager into two parts. One part is bound to a Context and takes care of Display compatibility and caching Display objects on behalf of the Context. The other part is global and takes care of communicating with the DisplayManagerService, handling callbacks, and caching DisplayInfo objects on behalf of the process. Implemented support for enumerating Displays and getting callbacks when displays are added, removed or changed. Elaborated the roles of DisplayManagerService, DisplayAdapter, and DisplayDevice. We now support having multiple display adapters registered, each of which can register multiple display devices and configure them dynamically. Added an OverlayDisplayAdapter which is used to simulate secondary displays by means of overlay windows. Different configurations of overlays can be selected using a new setting in the Developer Settings panel. The overlays can be repositioned and resized by the user for convenience. At the moment, all displays are mirrors of display 0 and no display transformations are applied. This will be improved in future patches. Refactored the way that the window manager creates its threads. The OverlayDisplayAdapter needs to be able to use hardware acceleration so it must share the same UI thread as the Keyguard and window manager policy. We now handle this explicitly as part of starting up the system server. This puts us in a better position to consider how we might want to share (or not share) Loopers among components. Overlay displays are disabled when in safe mode or in only-core mode to reduce the number of dependencies started in these modes. Change-Id: Ic2a661d5448dde01b095ab150697cb6791d69bb5
isplay/DisplayManager.java
isplay/DisplayManagerGlobal.java
isplay/IDisplayManager.aidl
isplay/IDisplayManagerCallback.aidl
|
8d8646471cfef1f31b4d2211d9b33c4071776ae4 |
28-Aug-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 1112a376: am 416362e6: Merge "Change StringTokenizer to TextUtils.StringSplitter" * commit '1112a376e81af8ef4c2b661f5bda443596ba37da': Change StringTokenizer to TextUtils.StringSplitter
|
1112a376e81af8ef4c2b661f5bda443596ba37da |
28-Aug-2012 |
Jean-Baptiste Queru <jbq@google.com> |
am 416362e6: Merge "Change StringTokenizer to TextUtils.StringSplitter" * commit '416362e6d8c8d0a34e09704138688f75aa810c9b': Change StringTokenizer to TextUtils.StringSplitter
|
b47bbc3d80badb94229bc4ce7a2d5006faa9ef15 |
23-Aug-2012 |
Craig Mautner <cmautner@google.com> |
Clean up displayId and layerStack usage. Make better use of Display object by saving it in DisplayContent. Only use layerStack when referring to Surfaces. Get displayId from default Display or default DisplayContent. Remove warnings. Fixes bug 7038151. Change-Id: Ie493f0f5e755dc9b91ee969ff561c2a098283ead
isplay/DisplayManager.java
|
4e68bd420b6cfdbeadb5e69aa6448665b2da762b |
26-Apr-2012 |
Benoit Goby <benoit@android.com> |
Add UsbDebuggingManager and UsbDebuggingActivity The UsbDebuggingManager listens to adbd requests and displays a dialog when the public key authentification fails, for the user to confirm if it wants to allow USB debugging from the attached host. If the user chooses to always allow USB debugging, the UsbDebuggingManager writes the public key to adbd's config file so that the public key authenfication succeeds next time. Change-Id: I115c828331d8e326c380844ee33915d5dff22260
sb/IUsbManager.aidl
|
98365d7663cbd82979a5700faf0050220b01084d |
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Refactor for multi-display support. Split WindowManagerImpl into two parts, the WindowManager interface implementation remains where it is but the global communications with the window manager are now handled by the WindowManagerGlobal class. This change greatly simplifies the challenge of having separate WindowManager instances for each Context. Removed WindowManagerImpl.getDefault(). This represents the bulk of this change. Most of the usages of this method were either to perform global functions (now handled by WindowManagerGlobal) or to obtain the default display (now handled by DisplayManager). Explicitly associate each new window with a display and make the Display object available to the View hierarchy. Add stubs for some new display manager API features. Start to split apart the concepts of display id and layer stack. since they operate at different layers of abstraction. While it's true that each logical display uniquely corresponds to a surface flinger layer stack, it is not necessarily the case that they must use the same ids. Added Display.getLayerStack() and started using it in places where it was relatively easy to do. Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
isplay/DisplayManager.java
|
848c2dc93b6795e171f3dd6f64ea0be65e2762ca |
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Stub out display manager service implementation. Reverting to the previous stub as the display adapter registration and the logical to physical mapping is not at all what we are going to need moving forward. Fixed up the service initialization order so that the display manager service has a context from the start. Change-Id: I717f2f1099c7a77180ef207c371ec8329258850a
isplay/DisplayManager.java
|
6a2ef12753e5fa199463e36e23c6af9df0666093 |
11-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a toString() method to Sensor for debugging purposes. Also made the class final, since it cannot be instantiated by applications. Change-Id: I540ad56d19debd99426d37b9b63c163827b4c2fc
ensor.java
|
0a12018e4cd6eaaeaec795f6b2af4499fe3a8bcd |
09-Feb-2011 |
Ali Utku Selen <aliutku.selen@sonyericsson.com> |
Change StringTokenizer to TextUtils.StringSplitter Replacing StringTokenizer to TextUtils.StringSplitter, since TextUtils.StringSplitter is more suitable for basic splitting tasks. Also increased initial values for HashMap and StringBuilders to avoid unnecessary buffer enlargement operations. This improves the performance of these operations. Change-Id: If9a5b68e6596ba9a6d29597876b6164ef34b57ac
amera.java
|
0099d67d6824ea7631a487ad4a91a18944cd3324 |
18-Jul-2012 |
mike wakerly <mikey@google.com> |
Fix typo in UsbManager javadoc. Closes http://b.android.com/32863 Change-Id: I8fc03ee70209413f279f606b393e79c12ee9c0d2
sb/UsbManager.java
|
a3665ba95d806fcb6780d29d49bd0f1032e8bc86 |
10-Aug-2012 |
mike wakerly <mikey@google.com> |
UsbRequest: set ByteBuffer.position() upon success. Also clears allocated buffer before copying. Closes http://b.android.com/28023 Bug: 5385026 Bug: 6766413 Change-Id: Icf2c1d45db4fb2a9bd1fcfdb29aa7308034faaf0
sb/UsbRequest.java
|
1567a4341bf642e17432a079d3de3381c7a93340 |
18-Jul-2012 |
mike wakerly <mikey@google.com> |
Fix typo in UsbManager javadoc. Closes http://b.android.com/32863 Change-Id: I8fc03ee70209413f279f606b393e79c12ee9c0d2
sb/UsbManager.java
|
aa871b0ff0fb38112a1693e80e1146cecc5db21d |
26-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Fix build. Change-Id: Ife2fd58447205407e41ce3d27e28a705b744bede
isplay/DisplayManager.java
|
fa25bf5382467b1018bd9af7f1cb30a23d7d59f7 |
24-Jul-2012 |
Jeff Brown <jeffbrown@google.com> |
Add display manager skeleton. The purpose of this change is to remove direct reliance on SurfaceFlinger for describing the size and characteristics of displays. This patch also starts to make a distinction between logical displays and physical display devices. Currently, the window manager owns the concept of a logical display whereas the new display manager owns the concept of a physical display device. Change-Id: I7e0761f83f033be6c06fd1041280c21500bcabc0
isplay/DisplayManager.java
isplay/IDisplayManager.aidl
|
9be0105fbc56eb1b1813bb7c5fe258a144867a43 |
22-Jun-2012 |
Scott Main <smain@google.com> |
docs: fix several links Change-Id: I89d9fd64dc22c90680bb05415cc966c255165af9
sb/package.html
|
ca367b717806c4c69190641c3361d3520a44ad08 |
31-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Fix race condition with preview callback. Bug: 6301018 Change-Id: I19b8bc03ef3983d69e1e986c0f1a8154af5ab080
amera.java
|
e9c6c9ccfde7a642a4c0554e2d066f3dbbea98ce |
29-May-2012 |
Wu-cheng Li <wuchengli@google.com> |
Fix startFaceDetection will fail after taking a picture. bug:6568961 Change-Id: I353c24496ec00805ed46ba90457729dfb5b2c337
amera.java
|
cf39bdf3dff5e29447f6ce734b76dc3490385e58 |
18-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for switching between multiple keyboard layouts. Also show a notification when an external keyboard is connected and does not have a keyboard layout selected yet. Bug: 6405203 Change-Id: Id0ac6d83b3b381f8a236b2244a04c9acb203db3c
nput/IInputManager.aidl
nput/InputManager.java
|
d9fec5d317c09da6bcc7a54df4e0190a76d21eae |
18-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for grouping keyboard layouts by collection. Bug: 6405203 Change-Id: Id818b27ec09928150795d594a96df186a6e39168
nput/InputManager.java
nput/KeyboardLayout.java
|
fb8909709979b883ff95b21db3e32666788637b4 |
16-May-2012 |
Mathias Agopian <mathias@google.com> |
fix SensorManager.getAngleChange() documentation Bug: 6442517 Change-Id: I4b22540817560bdff134d2cc3274e3b39c92d3b1
ensorManager.java
|
2f0957607411b99810226ad38d59cf18718b86d0 |
11-May-2012 |
Jeff Brown <jeffbrown@google.com> |
Rename kcm attribute to keyboardLayout. Bug: 6478076 Change-Id: I7fc0d8eb36d03a628d070f8fd6ea1e1464b1a163
nput/InputManager.java
|
b0dcf5ebb26e33fde3dd8fbdec58499175f51d65 |
04-May-2012 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Avoid deadlocks when calling autoFocus from onAutoFocus callback." into jb-dev
|
163a3ae770c290f87347e5b413ec8ff9f128a311 |
03-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
|
951516358e2841d2425f610bcd0175d9960135d2 |
03-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Update docs for YV12 format and camera preview callbacks. - Define stride for YV12 when using it for preview callbacks - Include equations for calculating stride and start indexes of Y, U, and V planes for YV12. - Add more cross-references so that equations are easier to find. Bug: 6330501 Change-Id: I85a78757ec767d08173b9fe714adb715835244b4
amera.java
|
f05c1d63d16e790ac78c5854bb12374f45d6118e |
02-May-2012 |
Wu-cheng Li <wuchengli@google.com> |
Avoid deadlocks when calling autoFocus from onAutoFocus callback. Applicatons may use different threads for calling autoFocus and onAutoFocus callback. bug:6026574 Change-Id: I114a60240e22af15ca469b591e080121367db8e2
amera.java
|
248ba23ad28c1f8fb69904663204df08c5818700 |
29-Apr-2012 |
James Dong <jdong@google.com> |
Fix a race condition in Camera API for handling focus In the case where a previous AF completion was outstanding but before the completion notification reached the application, the application cancelled this AF request, and then started a new AF request. Right after the new AF request, the AF completion notification for earlier AF request reached the application. The application could not tell the AF completion notification was meant for the cancelled AF, but thought the new AF was successfully completed. Subsequently, the application trid to take a picture, which failed as a result. The fix is to add an explicit lock in the Camera.java class to fix the race condition to synchornize autoFocus(), cancelAutoFocus() and the callback of the pending AF completion message. o related-to-bug: 6026480 Change-Id: I33d244d908ac066698e792f641ba88fe228b14a9
amera.java
|
166b05e0ce913711d27ce1a116b3f1fd906822e4 |
24-Apr-2012 |
Mike Lockwood <lockwood@google.com> |
UsbService: Add support for accessory initiating USB audio support Change-Id: I0e468f4b841de9e1ca7b75a05fc58299dbc78222 Signed-off-by: Mike Lockwood <lockwood@google.com>
sb/UsbAccessory.java
|
9e6d4b035d4f012d23264d3d2bc946b1ca02dba1 |
20-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Lost the race. Bug: 6373370 Change-Id: If42a3de66b1d407b06064e91ff578dc9ca5ceed8
nput/InputManager.java
|
e17fc7d6693ed36058a880c69332f642ad48cf18 |
20-Apr-2012 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Improve android.hardware.Camera.setRotation javadoc."
|
8969ea12ca55eef75783796ba52a0120f7188095 |
20-Apr-2012 |
Wu-cheng Li <wuchengli@google.com> |
Improve android.hardware.Camera.setRotation javadoc. Change-Id: If6c77044f3f4567ab0c3987fb2ddc47ae307582a
amera.java
|
7bc1b21a5217c3737ae82edd3ff2d901c69a51ad |
18-Apr-2012 |
Wu-cheng Li <wuchengli@google.com> |
Remove new camera open API. Applications are not resumed under the lock screen now. This API is not needed anymore. bug:5584464 Change-Id: I1c18efb5ba1ecd39320eb5fd252c6e1229d7b89c
amera.java
|
4481d9c10ceaf3b886fb5cab1d20941932af5b0f |
17-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Move legacy sensor support to a new class. Bug: 6339552 Change-Id: I2067b754348ac76b1e1f71608031be2c80fc31d2
egacySensorManager.java
ensorManager.java
ystemSensorManager.java
|
25157e458d6e10b027d1ba6b78b0487156c9f57a |
16-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Refactor SensorManager to move non-API bits into a subclass. Changed the SensorManager class so that it only contains API-related bits including what's needed to support legacy sensors. Mostly just moved stuff around. Making the class abstract is safe because it does not have a visible constructor in the API. One minor change is that the cache of sensor type to sensor lists is now per instance of SensorManager instead of being static. We can fix this if desired. Another small change is that we bail out early from registerListener if the listener has already been registered for the particular sensor. This happened for both legacy and standard listeners. The problem is that the ListenerDelegate maintains two lists of sensors, one is a Map and the other is a List. Adding a sensor twice causes one entry to be added to the Map and two entries to be added to the List, but when the sensor is removed the next time, only one entry is removed from the List, leaving it in an inconsistent state. Removed Sensor.getLegacyType() since the value it provides is only needed in LegacyListener and we don't really save any significant computation by caching it. Removing the field makes support for legacy sensors a little more self-contained. Bug: 6339552 Change-Id: I50d41ac97cf535924f2bfa2026d28547a4d00286
ensor.java
ensorManager.java
ystemSensorManager.java
|
90aba7caac78b407347b930cfb6ff7d6658ac90a |
14-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add support for input devices that have vibrators."
|
a47425a13c19f95057df78b8bb65bb25657e8753 |
13-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Add support for input devices that have vibrators. Added a getVibrator() method to InputDevice which returns a Vibrator associated with that input device. Its uses the same API as the system vibrator which makes it easy for applications to be modified to use one or the other. Bug: 6334179 Change-Id: Ifc7f13dbcb778670f3f1c07ccc562334e6109d2e
nput/IInputManager.aidl
nput/InputManager.java
|
5573ac01495f48a21496c18d2ebd66b3187e307a |
13-Apr-2012 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Unhide camera autofocus move callback."
|
af9e8d38184c6ba4d2d3eb5bde7014a66dd8a78b |
13-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Notify applications when input devices change. This change allows the InputManager to keep track of what input devices are registered with the system and when they change. It needs to do this so that it can properly clear its cache of input device properties (especially the key map!) when changes occur. Added new API so that applications can register listeners for input device changes. Fixed a minor bug in EventHub where it didn't handle EPOLLHUP properly so it would spam the log about unsupposed epoll events until inotify noticed that the device was gone and removed it. Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3
nput/IInputDevicesChangedListener.aidl
nput/IInputManager.aidl
nput/InputManager.java
|
6574539baecc8610529596554b7bca0f21b334b8 |
12-Apr-2012 |
Wu-cheng Li <wuchengli@google.com> |
Unhide camera autofocus move callback. Camera autofocus move callback tells the clients when continuous aufofocus is moving. Applications can show autofocus animation based on this. bug:5687212 Change-Id: I3191fd447b1e9de0ccf939eb346344f0be9bcf1a
amera.java
|
9f25b7fdf216c9ef0bd2322cd223eeaf0d60f77f |
10-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Request key maps from input manager service. Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
nput/IInputManager.aidl
nput/InputManager.java
nput/KeyboardLayout.aidl
nput/KeyboardLayout.java
|
69bba1dfb75a732e9d1ee92f1088d6fbe1e26f68 |
07-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add a unique input device descriptor."
|
e38fdfae9196afd1bdc14c5ec6c12793af1e2550 |
06-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Add a unique input device descriptor. The purpose of the input device descriptor is to make it possible to associate persistent settings for each input device, such as the keyboard layout. The descriptor is a hash of the information we have about the device, such as its vendor id, product id, unique id, name, or location. Bug: 6110399 Change-Id: Idb80f946819b3f0dbf4e661bb0a753dbc2b60981
nput/InputManager.java
|
9d5a4be05b6d51ebb768e5fbcfa27ed9a39269b3 |
06-Apr-2012 |
Mike Lockwood <lockwood@google.com> |
Add Intents to notify when USB audio devices or accessories are attached In this change, only the USB audio accessory support is implemented. Change-Id: Id9b411319b07a96dc56649ca74cc5f3f89a55a7c Signed-off-by: Mike Lockwood <lockwood@google.com>
sb/UsbManager.java
|
ac14351e16e1258f1cb54e2bf772b8be004eb2b8 |
06-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Move some APIs from window manager to input manager. Simplified input injection API down to just one call. Removed all input state reading API. It was only used by the window manager policy and required a permission that applications could not obtain. READ_INPUT_STATE is now unused and deprecated. Change-Id: I41278141586ddee9468cae0fb59ff0dced6cbc00
nput/IInputManager.aidl
nput/InputManager.java
|
4532e6158474a263d9d26c2b42240bcf7ce9b172 |
05-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Refactor input system into its own service. Extracted the input system from the window manager service into a new input manager service. This will make it easier to offer new input-related features to applications. Cleaned up the input manager service JNI layer somewhat to get rid of all of the unnecessary checks for whether the input manager had been initialized. Simplified the callback layer as well. Change-Id: I3175d01307aed1420780d3c093d2694b41edf66e
nput/IInputManager.aidl
|
9df6e7a926ce480baf70e97ee1b9ea387193f6ad |
05-Apr-2012 |
Jeff Brown <jeffbrown@google.com> |
Initial commit of InputManager and keyboard layout API. Added a new InputManager service for interacting with input devices and configuring them. This will be the focus of an upcoming refactoring. Added an API for registering keyboard layouts with the system based on the use of a broadcast receiver. Applications can register their own keyboard layouts simply by declaring a broadcast receiver in their manifests. Added the skeleton of a package that will ultimately contain the keyboard layouts and other input device related resources that are part of the base system. Bug: 6110399 Change-Id: Ie01b0ef4adbd5198f6f012e73964bdef3c51805c
nput/InputManager.java
|
8d3c318b2d6690a156cc22ef6599a73bee7ed482 |
16-Mar-2012 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Add a new camera open API that allows taking the ownership."
|
d45f5b5843842426109213dd035b72fb02a55d7a |
16-Mar-2012 |
Scott Main <smain@google.com> |
am af2827ba: am 714d655c: am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1 * commit 'af2827ba96361a63eac792e679027f8d6f2c8482': docs: Fix a bunch of misc doc issues from external tracker
|
a1c41e13b521cdd611a8fc46e43b5ae0a2c00238 |
24-Feb-2012 |
Wu-cheng Li <wuchengli@google.com> |
Add a new camera open API that allows taking the ownership. The purpose is to let face unlock always get the camera successfully. What happened was the camera applications may have opened the camera in onResume under the lock screen. This API lets face unlock take the camera from the camera application. A new permission will be added, so other applicatoins won't be able to take the camera from the face unlock. bug:5584464 Change-Id: Ib3d9dcbc2161815b68db42327dc01148453704c6
amera.java
|
0016813784eb3286cd19bc3f57083342ec499cb0 |
14-Mar-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Add references to MediaActionSound in Camera documentation."
|
cb56923ba6350cf7441260886f6e8a1c6785886d |
12-Mar-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Check for null characters being used in camera parameters. Change-Id: I258bce0fcadaec15e495e3303d3d7a952b72b4b5
amera.java
|
108708b4873fb05cb029b5bcb29a4e917004ca30 |
05-Mar-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Add references to MediaActionSound in Camera documentation. Also includes a few minor doc cleanups. Change-Id: I1742a50f92ceb2b14761e8306891e545a3cf49dd
amera.java
|
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
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
amera.java
ensor.java
|
e69095869c1b324aa20991ed1805c492c3f731e8 |
01-Mar-2012 |
Eino-Ville Talvala <etalvala@google.com> |
NEW_API: Rework CameraSound into MediaActionSound, and unhide it. MediaActionSound is a helper class for applications that use the camera, or include camera-like behavior such as taking screenshots. This class helps applications match the sound-playing behavior of the Camera.takePicture, MediaRecorder.start, and MediaRecorder.stop methods. This is useful for applications that don't use the above methods, but still logically capture images or video, such as the panorama capture feature and the video effects in the platform camera application. Bug: 5029099 Change-Id: I829f6e2941f167f91f9cb506215b7232cb054958
amera.java
ameraSound.java
|
e0dbd002750856e55d637e883b629e09adfc8a4e |
16-Feb-2012 |
Jeff Brown <jeffbrown@google.com> |
Mark input and sensor messages as asynchronous. Set a barrier on traversals. Vsync is still not enabled by default in this patch so there should be no observable effect from these changes. Change-Id: Ie12081b95a8f1e81ed686edf747cc62f2e044b7e
ensorManager.java
|
7dbc4b457d2c2c6dd39fa445e7edd8109796f0a2 |
23-Sep-2011 |
Mike Lockwood <lockwood@android.com> |
Add SerialPort.sendBreak() Signed-off-by: Mike Lockwood <lockwood@android.com>
erialPort.java
|
b01e8bf57b7492b77e3445db51471edcbadda75e |
30-Aug-2011 |
Mike Lockwood <lockwood@android.com> |
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. Signed-off-by: Mike Lockwood <lockwood@android.com>
SerialManager.aidl
erialManager.java
erialPort.java
|
e7eeace594861365b4b5de08eee2cb4c0abf06b2 |
09-Feb-2012 |
Scott Main <smain@google.com> |
am ec12ae99: am 79cfde69: am 52bfc243: docs: fix misc doc bugs from external issue tracker * commit 'ec12ae9933e463181338834387caa7c58b330635': docs: fix misc doc bugs from external issue tracker
|
52bfc243684b2f340da326aaa38e9021e4e3b2e6 |
09-Feb-2012 |
Scott Main <smain@google.com> |
docs: fix misc doc bugs from external issue tracker Change-Id: If6ff3476670e42b321d56d4a1482ccff96d4d500
ensorEvent.java
|
143c7c885487ff665ad87c259d4b3b089d0bfec4 |
07-Jan-2012 |
Eino-Ville Talvala <etalvala@google.com> |
am 4bc873e6: am 7944704e: Merge "Switch camera sounds to always use the system enforced audio stream." into ics-mr1 * commit '4bc873e6ff73200af866f8c9efca66ad8ed23682': Switch camera sounds to always use the system enforced audio stream.
|
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
|
2b072677538de979961b5bf527109fdab1713731 |
23-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1 * commit '201469f54522436be79d4d6665721049bfc74320': docs: Add developer guide cross-references, Project ACRE, round 4
|
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
|
12f3e28544b00ff4b073cc8ac1b277f0c7a93aab |
30-Nov-2011 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Add a method to get empty camera parameters."
|
9d062cfe94dcd24b1d61fc83e5de565cb67965b1 |
14-Nov-2011 |
Wu-cheng Li <wuchengli@google.com> |
Add camera focus move callback. bug:5534973 Change-Id: Iaadcb2738ad040f94849be30ee531326f6199431
amera.java
|
1c04a33c040dfb610952d62da9c93a53c291b2d7 |
22-Nov-2011 |
Wu-cheng Li <wuchengli@google.com> |
Add a method to get empty camera parameters. bug:5656411 Change-Id: I96e1f74c95a7b40bfbf68bdc93d14dad6fd63426
amera.java
|
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
|