8089 Commits

Author SHA1 Message Date
Cary Clark
6cd80d7389 am db6d939d: if the cursor and focus don\'t match, match them on text view clicks
Merge commit 'db6d939d2bbf457b1caa5479a60dae5e90d023e1' into eclair-plus-aosp

* commit 'db6d939d2bbf457b1caa5479a60dae5e90d023e1':
  if the cursor and focus don't match, match them on text view clicks
2009-09-15 10:40:54 -07:00
Cary Clark
c6a35f8e3f am df344375: compute Y scroll max by scaling only, ignoring title bar height
Merge commit 'df344375a93f3bfe0360f5436c0866f44b7fb6cc' into eclair-plus-aosp

* commit 'df344375a93f3bfe0360f5436c0866f44b7fb6cc':
  compute Y scroll max by scaling only, ignoring title bar height
2009-09-15 10:40:49 -07:00
Mike Reed
1f42641ebf am 5adeba4b: Merge change 25059 into eclair
Merge commit '5adeba4b7f63081257f9d0fb65127bdce0399c79' into eclair-plus-aosp

* commit '5adeba4b7f63081257f9d0fb65127bdce0399c79':
  special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to
2009-09-15 10:26:07 -07:00
Cary Clark
db6d939d2b if the cursor and focus don't match, match them on text view clicks
Call nativeMotionUp from touchUpOnTextField to move the
mouse cursor to the text field if necessary before moving
the text caret to the desired position.

Fixes http://b/issue?id=2075647
2009-09-15 13:24:33 -04:00
Cary Clark
df344375a9 compute Y scroll max by scaling only, ignoring title bar height
without this, the max scroll may be a single pixel
2009-09-15 13:24:32 -04:00
Android (Google) Code Review
5adeba4b7f Merge change 25059 into eclair
* changes:
  special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to round "out" these, to account for the slop in antialiasing, rather than using the existing routines that (correctly) round.
2009-09-15 13:19:56 -04:00
Mike Reed
e9e86b8908 special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to
round "out" these, to account for the slop in antialiasing, rather than using the existing routines
that (correctly) round.
2009-09-15 13:14:20 -04:00
Tao Liejun
f4c60bb273 am e80534ff: Fix connection ID issue in Obex lib
Merge commit 'e80534ff59b2e62a0ddf4359147b81f5ba10de86' into eclair-plus-aosp

* commit 'e80534ff59b2e62a0ddf4359147b81f5ba10de86':
  Fix connection ID issue in Obex lib
2009-09-15 10:12:01 -07:00
Tao Liejun
e80534ff59 Fix connection ID issue in Obex lib
ConnectionID should be consistent in one Obex session.
2009-09-15 09:54:20 -07:00
Nick Pelly
60fb7075ee am 82dbf678: Merge change 24998 into eclair
Merge commit '82dbf6785184a9a0808210294365e32ff21add9c' into eclair-plus-aosp

* commit '82dbf6785184a9a0808210294365e32ff21add9c':
  Add Panasonic KX-TH112 to blacklist.
2009-09-15 08:35:11 -07:00
Eric Laurent
ae4df42005 am 2bccbcc7: Merge change 25050 into eclair
Merge commit '2bccbcc777ca48a08663c16e90ea3f76ace6eb07' into eclair-plus-aosp

* commit '2bccbcc777ca48a08663c16e90ea3f76ace6eb07':
  Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
2009-09-15 08:35:04 -07:00
Android (Google) Code Review
82dbf67851 Merge change 24998 into eclair
* changes:
  Add Panasonic KX-TH112 to blacklist.
2009-09-15 11:29:52 -04:00
Android (Google) Code Review
2bccbcc777 Merge change 25050 into eclair
* changes:
  Fix issue 2118464: cannot play ring tones and notifications after disconnecting BT headset while in call.
2009-09-15 11:29:23 -04:00
Nick Pelly
adbaef234e Add Panasonic KX-TH112 to blacklist.
Change-Id: I12475aff4046796132beb2554cd067bcec712973
2009-09-15 08:24:52 -07:00
Jean-Baptiste Queru
7472788a87 merge from open-source master 2009-09-15 07:52:09 -07:00
Mike Lockwood
5cf8d00f0c am f73f91c5: Merge change 25012 into eclair
Merge commit 'f73f91c5b1f66bbe4b3ca59b743a62ad5a65853f' into eclair-plus-aosp

* commit 'f73f91c5b1f66bbe4b3ca59b743a62ad5a65853f':
  PowerManagerService: Use 5 cm threshold for the proximity sensor.
2009-09-15 07:38:56 -07:00
Dan Murphy
fce5c3d6ee am 4e3cdf85: Merge change 23619 into eclair
Merge commit '4e3cdf854441b84c15fd9f127127b6d116834c51' into eclair-plus-aosp

* commit '4e3cdf854441b84c15fd9f127127b6d116834c51':
  Add automatic lighting control framework
2009-09-15 07:38:50 -07:00
Android (Google) Code Review
f73f91c5b1 Merge change 25012 into eclair
* changes:
  PowerManagerService: Use 5 cm threshold for the proximity sensor.
2009-09-15 10:32:13 -04:00
Android (Google) Code Review
4e3cdf8544 Merge change 23619 into eclair
* changes:
  Add automatic lighting control framework
2009-09-15 10:29:26 -04:00
Chih-Chung Chang
e8f77e69c0 am 244f8c26: Fix 2083478: Camera needs an auto-focus cancel API
Merge commit '244f8c26365a303d9dd861bd48a29a4b48578da1' into eclair-plus-aosp

* commit '244f8c26365a303d9dd861bd48a29a4b48578da1':
  Fix 2083478: Camera needs an auto-focus cancel API
2009-09-15 07:19:58 -07:00
Eric Laurent
296a0ec7e1 Fix issue 2118464: cannot play ring tones and notifications after 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.
2009-09-15 07:10:12 -07:00
Chih-Chung Chang
244f8c2636 Fix 2083478: Camera needs an auto-focus cancel API
Change-Id: I13bda991b32aee47e82b5cf9d43b3021c416a9a2
2009-09-15 18:29:03 +08:00
Eric Laurent
ce063a3510 am 54c06152: Merge change 24872 into eclair
Merge commit '54c06152e0d9c666aec61ae5d9686d7d3327ea34' into eclair-plus-aosp

* commit '54c06152e0d9c666aec61ae5d9686d7d3327ea34':
  Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
2009-09-14 23:33:23 -07:00
Mike Lockwood
d20ea369b2 PowerManagerService: Use 5 cm threshold for the proximity sensor.
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>
2009-09-15 02:29:28 -04:00
Dan Murphy
951764b970 Add automatic lighting control framework
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>
2009-09-15 02:29:15 -04:00
Android (Google) Code Review
54c06152e0 Merge change 24872 into eclair
* changes:
  Fix issue 2115450: a2dp thread is started, even though we are only connected to headset and not playing music.
2009-09-15 02:26:19 -04:00
Dianne Hackborn
1c3d36ec6c am 678b4c20: Merge change 25013 into eclair
Merge commit '678b4c20cb92ac2b86f13e52ea86d70301358680' into eclair-plus-aosp

* commit '678b4c20cb92ac2b86f13e52ea86d70301358680':
  Various fixed for back key handling.
2009-09-14 21:30:52 -07:00
Android (Google) Code Review
678b4c20cb Merge change 25013 into eclair
* changes:
  Various fixed for back key handling.
2009-09-15 00:26:45 -04:00
Dianne Hackborn
8d37426c75 Various fixed for back key handling.
My last change was far from perfect.  Hopefully this gets us
a little closer.

Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
2009-09-14 21:21:52 -07:00
Mathias Agopian
515a10c4b3 am 151921a6: Merge change 24977 into eclair
Merge commit '151921a62485f2141ad1316076c196ef00e1b421' into eclair-plus-aosp

* commit '151921a62485f2141ad1316076c196ef00e1b421':
  add support for RGBX_8888 surfaces in SurfaceFlinger
2009-09-14 18:21:10 -07:00
Daniel Sandler
cb805e5caf am bd443c01: Merge change 24887 into eclair
Merge commit 'bd443c01a0fadb2d536ffce1c45950f9037cbc56' into eclair-plus-aosp

* commit 'bd443c01a0fadb2d536ffce1c45950f9037cbc56':
  Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
2009-09-14 18:14:58 -07:00
Dianne Hackborn
a4160068be am 294cd985: Merge change 24850 into eclair
Merge commit '294cd9856e30daa07efbdd7d925b3fad8cb123de' into eclair-plus-aosp

* commit '294cd9856e30daa07efbdd7d925b3fad8cb123de':
  Last big work on #1991910: Make swipes work with capacitive keys
2009-09-14 18:14:51 -07:00
Android (Google) Code Review
151921a624 Merge change 24977 into eclair
* changes:
  add support for RGBX_8888 surfaces in SurfaceFlinger
2009-09-14 21:11:56 -04:00
Mathias Agopian
64a7c6bf5b add support for RGBX_8888 surfaces in SurfaceFlinger 2009-09-14 18:10:30 -07:00
Android (Google) Code Review
bd443c01a0 Merge change 24887 into eclair
* changes:
  Fix http://b/issue?id=2098873 (drawing glitch in SeekBar).
2009-09-14 21:07:00 -04:00
Android (Google) Code Review
294cd9856e Merge change 24850 into eclair
* changes:
  Last big work on #1991910: Make swipes work with capacitive keys
2009-09-14 20:56:46 -04:00
Dianne Hackborn
83fe3f5592 Last big work on #1991910: Make swipes work with capacitive keys
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
2009-09-14 17:53:52 -07:00
jsh
1c0d94b862 am 53793416: Merge change 24662 into eclair
Merge commit '53793416d408366270d21f81734997db348bd918' into eclair-plus-aosp

* commit '53793416d408366270d21f81734997db348bd918':
  Fix URI returned by IccProvider.
2009-09-14 17:48:06 -07:00
Jason Sams
316f3629d0 am 4503cb75: Merge change 24968 into eclair
Merge commit '4503cb75a02f6465bd576366945a1c5f2c8c13f3' into eclair-plus-aosp

* commit '4503cb75a02f6465bd576366945a1c5f2c8c13f3':
  Minor perf tweak for fountain.
2009-09-14 17:48:00 -07:00
Android (Google) Code Review
53793416d4 Merge change 24662 into eclair
* changes:
  Fix URI returned by IccProvider.
2009-09-14 20:30:43 -04:00
Android (Google) Code Review
4503cb75a0 Merge change 24968 into eclair
* changes:
  Minor perf tweak for fountain.
2009-09-14 20:15:31 -04:00
Dianne Hackborn
23b141efe5 am c2974809: Fix issue #2116977: buttons are huge and bent
Merge commit 'c2974809373697147cbe5754835cc871fb93aef1' into eclair-plus-aosp

* commit 'c2974809373697147cbe5754835cc871fb93aef1':
  Fix issue #2116977: buttons are huge and bent
2009-09-14 17:09:28 -07:00
Debajit Ghosh
426ec7f306 am e7f47f50: Merge change 24921 into eclair
Merge commit 'e7f47f50ad0a97e32c87104e56f311db910e98f1' into eclair-plus-aosp

* commit 'e7f47f50ad0a97e32c87104e56f311db910e98f1':
  add system properties for experimenting with sync timeouts.
2009-09-14 16:34:39 -07:00
Leon Scroggins
dc0ec6d6da am 74077c8f: Clear the password field when reloading the current page.
Merge commit '74077c8f2ed67b79be67df853158932fbd774865' into eclair-plus-aosp

* commit '74077c8f2ed67b79be67df853158932fbd774865':
  Clear the password field when reloading the current page.
2009-09-14 16:34:33 -07:00
Dianne Hackborn
c297480937 Fix issue #2116977: buttons are huge and bent
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
2009-09-14 16:32:56 -07:00
Android (Google) Code Review
e7f47f50ad Merge change 24921 into eclair
* changes:
  add system properties for experimenting with sync timeouts.
2009-09-14 19:30:37 -04:00
Debajit Ghosh
44ee0f03f9 add system properties for experimenting with sync timeouts. 2009-09-14 16:22:12 -07:00
Mathias Agopian
b942000592 am b06aac86: Merge change 24948 into eclair
Merge commit 'b06aac86d1be8cd018f2568d64f50d61c421d1f0' into eclair-plus-aosp

* commit 'b06aac86d1be8cd018f2568d64f50d61c421d1f0':
  fix [2117464] SF can crash when calling dumpsys
2009-09-14 16:09:10 -07:00
Mathias Agopian
1a82f5705b am a1212578: Merge change 24947 into eclair
Merge commit 'a1212578bfd11bd391c686c82c18b21b4a3a69b4' into eclair-plus-aosp

* commit 'a1212578bfd11bd391c686c82c18b21b4a3a69b4':
  make sure to update the tail pointer when undoing a dequeue
2009-09-14 16:09:04 -07:00
Leon Scroggins
74077c8f2e Clear the password field when reloading the current page.
Fixes http://b/issue?id=2119142

Change-Id: I14bfcc6873f295c4d24ef7ee10450fd444dbe82c
2009-09-14 19:06:04 -04:00