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 commit '53793416d408366270d21f81734997db348bd918' into eclair-plus-aosp
* commit '53793416d408366270d21f81734997db348bd918':
Fix URI returned by IccProvider.
Merge commit '4503cb75a02f6465bd576366945a1c5f2c8c13f3' into eclair-plus-aosp
* commit '4503cb75a02f6465bd576366945a1c5f2c8c13f3':
Minor perf tweak for fountain.
Merge commit 'c2974809373697147cbe5754835cc871fb93aef1' into eclair-plus-aosp
* commit 'c2974809373697147cbe5754835cc871fb93aef1':
Fix issue #2116977: buttons are huge and bent
Merge commit 'e7f47f50ad0a97e32c87104e56f311db910e98f1' into eclair-plus-aosp
* commit 'e7f47f50ad0a97e32c87104e56f311db910e98f1':
add system properties for experimenting with sync timeouts.
Merge commit '74077c8f2ed67b79be67df853158932fbd774865' into eclair-plus-aosp
* commit '74077c8f2ed67b79be67df853158932fbd774865':
Clear the password field when reloading the current page.
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 commit 'b06aac86d1be8cd018f2568d64f50d61c421d1f0' into eclair-plus-aosp
* commit 'b06aac86d1be8cd018f2568d64f50d61c421d1f0':
fix [2117464] SF can crash when calling dumpsys
Merge commit 'a1212578bfd11bd391c686c82c18b21b4a3a69b4' into eclair-plus-aosp
* commit 'a1212578bfd11bd391c686c82c18b21b4a3a69b4':
make sure to update the tail pointer when undoing a dequeue
Merge commit '0d5581133285cef4d7582b531e0bf09cee86aa90' into eclair-plus-aosp
* commit '0d5581133285cef4d7582b531e0bf09cee86aa90':
Added a little more logging in OMXCodec.cpp for vendors to be able to reproduce issues...
Merge commit 'd023f9a9a90705410250cd86bc6446c738423a99' into eclair-plus-aosp
* commit 'd023f9a9a90705410250cd86bc6446c738423a99':
Some optizations to wallpaper drawing/scrolling.
Merge commit 'aa931bcb0acb93ce760f4e5d27153fb1c6d33a10' into eclair-plus-aosp
* commit 'aa931bcb0acb93ce760f4e5d27153fb1c6d33a10':
process: Switch to common cutils sched_policy api
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 commit '55bfddad197f1a82d94152ee82bb110d8a9f32d9' into eclair-plus-aosp
* commit '55bfddad197f1a82d94152ee82bb110d8a9f32d9':
Fix the bogus crashes in layout and reliability tests (the device actually went offline).
Merge commit '944808f392e416858e3265b14b9e0a4410a1dbbf' into eclair-plus-aosp
* commit '944808f392e416858e3265b14b9e0a4410a1dbbf':
Fix a possible NPE in View.
Merge commit '482d54bb0cd9e00fd929185c31fea3ad845d97bc' into eclair-plus-aosp
* commit '482d54bb0cd9e00fd929185c31fea3ad845d97bc':
Add black listing of car kits by name.
Merge commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef' into eclair-plus-aosp
* commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef':
Bring up the soft keyboard when touching a focused textfield.
Merge commit 'dd8174928c9c2966b1491acd604612a3b38e600a' into eclair-plus-aosp
* commit 'dd8174928c9c2966b1491acd604612a3b38e600a':
Remove trackball double click. Treat each click as a single click.
Merge commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7' into eclair-plus-aosp
* commit '298d32e1934cddf6b93e6a4588ab05630cd39ec7':
Set the minimum fling to the title height.
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
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>
Merge commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78' into eclair-plus-aosp
* commit '13bc4ad18bc401c2a80e7dde8cba18841d709a78':
Add "rtsp" to the list of URL schemes that get linkified.