summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix connection ID issue in Obex libTao Liejun2009-09-152-7/+7
| | | | ConnectionID should be consistent in one Obex session.
* Merge change 24998 into eclairAndroid (Google) Code Review2009-09-151-2/+2
|\ | | | | | | | | * changes: Add Panasonic KX-TH112 to blacklist.
| * Add Panasonic KX-TH112 to blacklist.Nick Pelly2009-09-151-2/+2
| | | | | | | | Change-Id: I12475aff4046796132beb2554cd067bcec712973
* | Merge change 25050 into eclairAndroid (Google) Code Review2009-09-152-18/+14
|\ \ | | | | | | | | | | | | * changes: Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
| * | Fix issue 2118464: cannot play ring tones and notifications after ↵Eric Laurent2009-09-152-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | disconnecting BT headset while in call. The problem comes from the fact that when the duplicated output is closed after BT headset disconnection, the OUTPUT_CLOSED notification is not sent to AudioSystem. Then the mapping between notification stream and duplicated output cached in AudioSystem is not cleared and next time a notification is played, the duplicated output is selected and the createTrack() request is refused by AudioFlinger as the selected output doesn't exist. The notification is ignored by AudioFlinger because when it is sent by the terminating playback thread, the thread has already been removed from the playback thread list. The fix consists in sending the notification in closeOutput() and not when exiting the playback thread. The same fix is applied to record threads.
* | | Merge change 25012 into eclairAndroid (Google) Code Review2009-09-151-4/+8
|\ \ \ | | | | | | | | | | | | | | | | * changes: PowerManagerService: Use 5 cm threshold for the proximity sensor.
| * | | PowerManagerService: Use 5 cm threshold for the proximity sensor.Mike Lockwood2009-09-151-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This eliminates the assumption that the proximity sensor will always return zero distance when it is active. Change-Id: I6245b074e4c42aeae3a181e6a5087554517046d2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | Merge change 23619 into eclairAndroid (Google) Code Review2009-09-158-2/+71
|\ \ \ \ | |/ / / | | | | | | | | | | | | * changes: Add automatic lighting control framework
| * | | Add automatic lighting control frameworkDan Murphy2009-09-158-2/+71
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add changes to have the ability to turn on and off the automatic light sensing for the device. This is fully configurable and is by default not present. Vendors should override the ALS setting to enable the automatic lighting controls. These changes will add a check box to the Brightness settings menu to give control to the user to allow the device's display lighting to be controlled via the slide bar or the auto lighting system. If the user selects auto then the slide bar will become invisible. Manual mode will present the slide bar to the user. Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73 Signed-off-by: Dan Murphy <D.Murphy@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | Fix 2083478: Camera needs an auto-focus cancel APIChih-Chung Chang2009-09-1511-3/+94
| |/ |/| | | | | Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
* | Merge change 24872 into eclairAndroid (Google) Code Review2009-09-151-2/+3
|\ \ | | | | | | | | | | | | * changes: Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
| * | Fix issue 2115450: a2dp thread is started, even though we are only connected ↵Eric Laurent2009-09-141-2/+3
| | | | | | | | | | | | | | | | | | | | | to headset and not playing music. This is due to a regression introduced by change 24114: when no audio tracks are ready for mixing, 0s are written to audio hardware. However this should only happen if tracks have already been mixed since the audio flinger thread woke up. Also do not write 0s to audio hardware in direct output threads when audio format is not linear PCM.
* | | Merge change 25013 into eclairAndroid (Google) Code Review2009-09-159-48/+115
|\ \ \ | |_|/ |/| | | | | | | | * changes: Various fixed for back key handling.
| * | Various fixed for back key handling.Dianne Hackborn2009-09-149-48/+115
| | | | | | | | | | | | | | | | | | | | | My last change was far from perfect. Hopefully this gets us a little closer. Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
* | | Merge change 24977 into eclairAndroid (Google) Code Review2009-09-143-2/+10
|\ \ \ | | | | | | | | | | | | | | | | * changes: add support for RGBX_8888 surfaces in SurfaceFlinger
| * | | add support for RGBX_8888 surfaces in SurfaceFlingerMathias Agopian2009-09-143-2/+10
| | | |
* | | | Merge change 24887 into eclairAndroid (Google) Code Review2009-09-141-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
| * | | | Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).Daniel Sandler2009-09-141-0/+5
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The underlying ProgressBar implementation doesn't know how to correctly update the thumb graphic, so AbsSeekBar must call invalidate() at key moments to ensure things look correct. This bug is one such instance: when you pick your finger up off the seekbar, the "value" of the progressbar appears not to change, so ProgressBar feels no compunction to repaint. AbsSeekBar now invalidate()s on ACTION_UP and ACTION_CANCEL to ensure that the thumb is correctly drawn.
* | | | Merge change 24850 into eclairAndroid (Google) Code Review2009-09-1414-96/+872
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | * changes: Last big work on #1991910: Make swipes work with capacitive keys
| * | | Last big work on #1991910: Make swipes work with capacitive keysDianne Hackborn2009-09-1414-96/+872
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes care of allowing us to cancel the back button. The back button is a bear because it is strewn all over the place -- everywhere you can close something, there is some code looking for the back button that now needs to deal with being canceled. The main things changed are activity (of course), dialog, input method, search dialog. There are some other misc places in the framework (and some I missed here that I will get in a second pass). To facility all of this, the key dispatching APIs now provide a lot more support for dealing with looking for cancelled keys, and incidentally also provide an actual API for catching long key presses. This also helped clean up the code in PhoneWindow where it deals with all of the combinations of key pressed and releases. (And also allows people to override Activity.onKeyLongPress() to provide a different long press action for a standard key like search.) And while I was doing this, I reworked how we detect long presses by having this be part of the key event delivered by the window manager. This should greatly reduce (hopefully outright eliminate) the problems with long presses being mis-detected when an application is being slow. Change-Id: Ia19066b8d588d573df3eee6d96e1c90fdc19f57d
* | | | Merge change 24662 into eclairAndroid (Google) Code Review2009-09-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix URI returned by IccProvider.
| * | | | Fix URI returned by IccProvider.jsh2009-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | insert() had a typo in the URI it returned. b/2113186
* | | | | Merge change 24968 into eclairAndroid (Google) Code Review2009-09-141-8/+9
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | * changes: Minor perf tweak for fountain.
| * | | | Minor perf tweak for fountain.Jason Sams2009-09-141-8/+9
| | | | |
* | | | | Fix issue #2116977: buttons are huge and bentDianne Hackborn2009-09-1421-114/+308
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we are using preloaded drawables in compatibilty mode, when constructing them from their constant state we need to set the new drawable's target density appropriately. Change-Id: I3665cbea09d38b9ac5f45f8c380dc8641f86b266
* | | | Merge change 24921 into eclairAndroid (Google) Code Review2009-09-141-2/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: add system properties for experimenting with sync timeouts.
| * | | | add system properties for experimenting with sync timeouts.Debajit Ghosh2009-09-141-2/+26
| | | | |
* | | | | Clear the password field when reloading the current page.Leon Scroggins2009-09-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=2119142 Change-Id: I14bfcc6873f295c4d24ef7ee10450fd444dbe82c
* | | | | Merge change 24948 into eclairAndroid (Google) Code Review2009-09-141-2/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: fix [2117464] SF can crash when calling dumpsys
| * | | | | fix [2117464] SF can crash when calling dumpsysMathias Agopian2009-09-141-2/+13
| | | | | |
* | | | | | Merge change 24947 into eclairAndroid (Google) Code Review2009-09-142-5/+17
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * changes: make sure to update the tail pointer when undoing a dequeue
| * | | | | make sure to update the tail pointer when undoing a dequeueMathias Agopian2009-09-142-5/+17
| | | | | |
* | | | | | Merge change 24932 into eclairAndroid (Google) Code Review2009-09-141-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Added a little more logging in OMXCodec.cpp for vendors to be able to reproduce issues...
| * | | | | | Added a little more logging in OMXCodec.cpp for vendors to be able to ↵Andreas Huber2009-09-141-0/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | reproduce issues...
* | | | | | Merge change 24829 into eclairAndroid (Google) Code Review2009-09-1413-72/+448
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Some optizations to wallpaper drawing/scrolling.
| * | | | | | Some optizations to wallpaper drawing/scrolling.Dianne Hackborn2009-09-1413-72/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, fix some issues with the final wallpaper bitmap we use: ensure it is always 16bpp, and make sure dithering of its bitmap is turned off. We take of dithering when loading, to make sure we don't use it when drawing. Also add new APIs to return the wallpaper with the equivalent of Launcher's old FastBitmapDrawable. As doing this, also load the default wallpaper the same way as custom ones, taking care to resize it as needed at load time. Finally implement a mechanism for the window manager to wait for the wallpaper to redraw at its new position before returning from the application's call to change the offset. This ensures that the wallpaper better tracks the application. Note that there is a timeout in this wait that is relatively short, and if it expires we will run for a while without waiting. Change-Id: Ife449437746da85958bd447e0a6cf3d2223b398c
* | | | | | | Merge change 24841 into eclairAndroid (Google) Code Review2009-09-142-65/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: process: Switch to common cutils sched_policy api
| * | | | | | | process: Switch to common cutils sched_policy apiSan Mehat2009-09-122-65/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | | | | | | Merge change 24931 into eclairAndroid (Google) Code Review2009-09-142-3/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix the bogus crashes in layout and reliability tests (the device actually went offline).
| * | | | | | | | Fix the bogus crashes in layout and reliability tests (the device actually ↵Guang Zhu2009-09-142-3/+23
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | went offline).
* | | | | | | | Merge change 24927 into eclairAndroid (Google) Code Review2009-09-142-21/+9
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Fix a possible NPE in View.
| * | | | | | | Fix a possible NPE in View.Romain Guy2009-09-142-21/+9
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: Ieebd176e1f42c78e298aca973e9e5eed2dc3c6d9
* | | | | | | Add black listing of car kits by name.Jaikumar Ganesh2009-09-141-2/+15
| |_|_|/ / / |/| | | | |
* | | | | | Merge change 24814 into eclairAndroid (Google) Code Review2009-09-141-3/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Enable log message for tracking issue #2092299.
| * | | | | | Enable log message for tracking issue #2092299.Jim Miller2009-09-131-3/+2
| | | | | | |
* | | | | | | Bring up the soft keyboard when touching a focused textfield.Leon Scroggins2009-09-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for http://b/issue?id=2118333 Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
* | | | | | | Remove trackball double click. Treat each click as a single click.Grace Kloba2009-09-141-39/+22
| | | | | | |
* | | | | | | Merge change 24847 into eclairAndroid (Google) Code Review2009-09-141-2/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: PowerManagerService: Fix keyboard backlight support:
| * | | | | | | PowerManagerService: Fix keyboard backlight support:Mike Lockwood2009-09-141-2/+12
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turn off keyboard backlight immediately when keyboard is closed. Changing keyboard visibility state signals user activity except in the case where the keyboard is closed and the screen is already off. Fixes bugs b/1351141 and b/1319625 Change-Id: If4bf2c1dd8e0c2bc08196e443b6103a6041f27e1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | Set the minimum fling to the title height.Cary Clark2009-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dragging and flinging have different minimums for the max Y value. Allow the fling to have the title height instead of zero for the minimum max Y so the title can always be removed via fling. This fixes http://b/issue?id=2109006