9204 Commits

Author SHA1 Message Date
Daniel Sandler
8957da23aa Merge "Add VIBRATE_IN_SILENT to the settings database & backup." 2010-03-10 12:03:07 -08:00
Daniel Sandler
1c7fa4836b Add VIBRATE_IN_SILENT to the settings database & backup.
Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371
2010-03-10 15:01:25 -05:00
Svetoslav Ganov
be75659485 Fixing bug 2502522 - Accessibility events contain text of invisible views
Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173
2010-03-10 11:51:20 -08:00
Adam Powell
9ceaf70eab Merge "Added ViewConfiguration.getScaledPagingTouchSlop()" 2010-03-10 10:50:38 -08:00
Adam Powell
de8d0834fc Added ViewConfiguration.getScaledPagingTouchSlop()
Change-Id: I9ab5560c4b76d2b87e53d38b10ba8f5ec4868d85
2010-03-10 10:16:21 -08:00
Mike Reed
180403ac10 pin our visible content bounds to the bounds of the doc itself, to account for overscroll
Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502
2010-03-10 13:11:48 -05:00
Mike Reed
36ad54acef force purgeability for assets
Change-Id: I1067cfb91846a05290ed26ce9a62eb82d3170719
http://b/issue?id=1860187
2010-03-10 13:11:47 -05:00
Leon Scroggins
49658cb55b Merge "When context is voice, show the microphone." 2010-03-10 10:07:46 -08:00
Suchi Amalapurapu
6069beb2df Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210

Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c
2010-03-10 09:46:49 -08:00
Leon Scroggins
4f22a54555 When context is voice, show the microphone.
Part of fix for http://b/issue?id=2501400

Change-Id: Ibdf364942bcdc8ec837fb8bb30a33c1af2ba5b06
2010-03-10 12:04:29 -05:00
Chia-chi Yeh
746f666029 Merge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()." 2010-03-10 06:36:06 -08:00
Leon Scroggins
62459c0fa5 If the new text and old text are "", return from onTextChanged.
Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08
2010-03-10 09:08:47 -05:00
Kristian Monsen
a401d559ec Don't cut the url on a redirect
This is a fix for issue 2485033. It is not a final fix, but just starting with this so it can be discussed on code review. The line in question
was added to fix issue 1690652.

Updated fix. Stores the url before it is cut during a redirect. Forwards this to the reponse instead of the cut url.

Update 2: Using the old originalUrl

Change-Id: I286084451aa45e51d5d07811f9d119cf83849592
2010-03-10 12:40:04 +00:00
Chia-chi Yeh
aa86859b10 YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().
Change-Id: I6579ad9241dd5ee6aabf54e1a1128d17b4f6b3e6
2010-03-10 17:08:58 +08:00
Tobias Haamel
eb2d9534bc Fix: Polished icons for car mode notification
Bug #2496930
Bug #2465538

Change-Id: I4ba9a53573791df7813d86c10faa901391247386
2010-03-10 09:17:43 +01:00
Jeff Sharkey
fe62d04c30 Helper for combining multiple selection/selectionArgs.
Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d
2010-03-09 17:44:34 -08:00
Dianne Hackborn
cf244ada58 Add ability for some manifest attributes to reference resources.
This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources.  This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8
2010-03-09 17:18:05 -08:00
Jaikumar Ganesh
ae58f6d747 Merge "Add an API to set the link timeout." 2010-03-09 16:56:36 -08:00
Jaikumar Ganesh
b7e029d03c Add an API to set the link timeout.
This fixes the problem where the car dock is
powered on and off pretty quickly.

Change-Id: I8724641b8c337019f089b005cb236fc90549cf6f
2010-03-09 16:51:09 -08:00
Brad Fitzpatrick
104798b706 Merge "Speed up ContentProvider.query() in simple case by ~30%" 2010-03-09 16:42:44 -08:00
Adam Powell
d274979739 Merge "Fix ListView filter popups when window focus changes" 2010-03-09 15:38:56 -08:00
Adam Powell
97566043af Fix ListView filter popups when window focus changes
Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7
2010-03-09 15:34:09 -08:00
Brad Fitzpatrick
9ffdfa0c23 Speed up ContentProvider.query() in simple case by ~30%
When query() uses bulkQuery() and we know we're going to need some
metadata right afterwards (number of rows and column index of _id, if
present), just asked for it in the initial binder transaction instead
of immediately fetching it again.

Also, this defers loading column names until the client asks for them.

This gets down the simpler (and very common) use cases of
ContentProvider.query() down to 3 binder calls:

   QUERY_TRANSACTION to android.content.ContentProvider$Transport
   GET_CURSOR_WINDOW_TRANSACTION to android.database.CursorToBulkCursorAdaptor
   CLOSE_TRANSACTION to android.database.CursorToBulkCursorAdaptor

More can still be done, but this is a good bite-sized first piece.

Change-Id: I7ad45949f53e0097ff18c2478d659f0f36929693
2010-03-09 15:20:21 -08:00
Mike Lockwood
17bc415ded Merge "Add new shutdown observer for MountService. Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now." 2010-03-09 14:50:18 -08:00
Grace Kloba
1596136562 Merge "Add an api to set WebView over scroll background." 2010-03-09 14:20:34 -08:00
Adam Powell
7e93cde228 Merge "Fix bug with AbsListView position scrolling" 2010-03-09 14:19:47 -08:00
Suchi Amalapurapu
6ffce2e9a3 Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d
2010-03-09 17:00:18 -05:00
Wu-cheng Li
c10275abd6 Document new preview callback methods more clearly.
bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce
2010-03-09 13:55:27 -08:00
Adam Powell
fee20911e3 Fix bug with AbsListView position scrolling
Change-Id: I91338f0533178417c874325f5f126d1b5fbb5f92
2010-03-09 13:45:21 -08:00
Vasu Nori
90ebc55f35 Merge "add REPLACE to the list of cached sql stmnts" 2010-03-09 13:42:20 -08:00
Grace Kloba
2d17e1d212 Add an api to set WebView over scroll background.
If the WebView doesn't support zoom, or WebView does
not use wide viewport and horizontal is just fit,
don't do over scroll.

Fix http://b/issue?id=2498403
Fix http://b/issue?id=2497901
2010-03-09 13:14:04 -08:00
Vasu Nori
8648e37f82 add REPLACE to the list of cached sql stmnts 2010-03-09 12:33:39 -08:00
Robert Greenwalt
1c6743c40f Merge "Re-add tethered notification to framework." 2010-03-09 11:55:53 -08:00
Adam Powell
637c0dce32 Merge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code." 2010-03-09 11:55:05 -08:00
Leon Scroggins
7a37587664 Set mShiftIsPressed properly when the focus is a plugin.
Fix for http://b/issue?id=2484986

Change-Id: I3140c3c3a0bd44af85939aceb0bbd07c0861cde4
2010-03-09 14:52:40 -05:00
Adam Powell
463ceff8a4 Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code.
Change-Id: I4c6a15e5a224bc5e84949ceb4df17154a2874d20
2010-03-09 11:50:51 -08:00
Vasu Nori
f53774bce6 Merge "modify comments to be more accurate" 2010-03-09 11:46:57 -08:00
Andreas Huber
6692239a23 Merge "Fix a typo in VideoView.java that disabled the seek-back button by default." 2010-03-09 11:43:31 -08:00
Vasu Nori
afe806a4a3 modify comments to be more accurate 2010-03-09 11:37:52 -08:00
Grace Kloba
c2242f2b5f Rewrite the WebView touch to support Flash.
When a page is loaded, Flash won't be the touch target.
This is ensured by another CL in external/webkit. When
user taps or uses nav key to make the Flash to be the
document focused node, it will take all the touch
events without time out. If Flash didn't call prevent
default, these touch events will be reprocessed by
the Browser. For double tap and long press, Browser
needs to detect and generate them for Flash.

While Flash is in full screen mode, it will take all
the touch events. If Flash doesn't consume them, they
won't be reprocessed by the Browser. Browser does need
to detect and generate the special events like double
tap and long press for full screen Flash.

Here are changes made for JavaScript touch events.

1. preventDefault on touchMove works now. If the author
calls preventDefault on touchStart, UI will not handle
this touch sequence. If the author didn't call preventDefault
on touchStart, it can call preventDefault on the first
touchMove to prevent UI from panning the page. We
currently do not support alternating preventDefault
during touchMove.

2. The first touchMove is only sent when the movement
is more than the system slop. There was a bug introduced by
https://android-git.corp.google.com/g/#change,42848
where the touch events are not sent to WebCore if 
preventDefault is called. This is fixed now.

3. Move sending TOUCH_EVENT to WebCore into each state.
So if user stops a fling and continue drag, it won't
send the touch_down as we are in drag mode.

4. Remove event time as Adobe doesn't need it any more

Fix http://b/issue?id=2438503
Fix http://b/issue?id=2478701
Fix http://b/issue?id=2390587
2010-03-09 11:33:51 -08:00
Robert Greenwalt
a599fe7c0d Re-add tethered notification to framework.
Add new artwork and string.

Change-Id: I9c4b2b4bdbd10ee9355c3a7ca81b29fba3b5830c
2010-03-09 11:20:13 -08:00
Wu-cheng Li
5b9bcda3a2 Unhide new preview callback methods.
bug:2358064
Change-Id: If9655ae8b7622ea6fc51e0054cfac7451962be66
2010-03-09 11:11:47 -08:00
Jean-Michel Trivi
f4743a869d Merge "Fix bug 2481825 When TTS is synthesizing to a file, return an error if the file cannot be created." 2010-03-09 10:31:30 -08:00
Andreas Huber
2869e952c6 Fix a typo in VideoView.java that disabled the seek-back button by default.
Change-Id: I23a9423b20646529b652e23349266a3291981484
related-to-bug: 2498317
2010-03-09 10:26:13 -08:00
Andrei Popescu
6509662adb Merge "Make sure access to WebView::mWebViewCore is synchronized." 2010-03-09 10:06:23 -08:00
Andrei Popescu
0409857f8f Make sure access to WebView::mWebViewCore is synchronized.
Fix bug: 2498784
2010-03-09 18:04:35 +00:00
Ficus Kirkpatrick
1898a9dbc9 Merge "Add a LOG_TAG for android.graphics.Graphics JNI." 2010-03-09 10:01:00 -08:00
Ficus Kirkpatrick
1a9c27c312 Add a LOG_TAG for android.graphics.Graphics JNI.
It occasionally logs when it fails an allocation but wasn't
defining one before.

Change-Id: Ifc41addc870eb126616ad44465638423d51568d9
2010-03-09 10:00:31 -08:00
Suchi Amalapurapu
abf19abe48 Merge "Add conditions to check for updated system applications. Restrict them to internal flash only even before we copy." 2010-03-09 09:58:40 -08:00
Fred Quintana
f0fd8436b3 - add verbose logging to the authenticator
- fix a bug in AccountManager.getAuthTokenByFeatures() where getAuthToken()
  isn't called after adding the account when necessary
2010-03-09 09:45:16 -08:00