OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Don't rely on the system locale for converting to/from bytes."
Nick Kralevich [Wed, 10 Mar 2010 21:11:46 +0000 (13:11 -0800)]
Merge "Don't rely on the system locale for converting to/from bytes."

14 years agoMerge "Fixing bug 2502522 - Accessibility events contain text of invisible views"
Amith Yamasani [Wed, 10 Mar 2010 20:53:20 +0000 (12:53 -0800)]
Merge "Fixing bug 2502522 -  Accessibility events contain text of invisible views"

14 years agoFix the build.
Romain Guy [Wed, 10 Mar 2010 20:40:04 +0000 (12:40 -0800)]
Fix the build.

Change-Id: I7ed20f3d2fb1a80974fbbfe42fdd2f8f135ee401

14 years agoMerge "Fix: Polished icons for car mode notification"
Dianne Hackborn [Wed, 10 Mar 2010 20:26:40 +0000 (12:26 -0800)]
Merge "Fix: Polished icons for car mode notification"

14 years agoMerge "Add VIBRATE_IN_SILENT to the settings database & backup."
Daniel Sandler [Wed, 10 Mar 2010 20:03:07 +0000 (12:03 -0800)]
Merge "Add VIBRATE_IN_SILENT to the settings database & backup."

14 years agoAdd VIBRATE_IN_SILENT to the settings database & backup.
Daniel Sandler [Wed, 10 Mar 2010 14:45:01 +0000 (09:45 -0500)]
Add VIBRATE_IN_SILENT to the settings database & backup.

Change-Id: Id31e24ef0536278ccb66b22bba7ed2b47eb1a371

14 years agoFixing bug 2502522 - Accessibility events contain text of invisible views
Svetoslav Ganov [Wed, 10 Mar 2010 19:51:20 +0000 (11:51 -0800)]
Fixing bug 2502522 -  Accessibility events contain text of invisible views

Change-Id: I0eccc82ad9f3139e46942cb61212bb83f992c173

14 years agoMerge "Revert "Dedupe resource config pointers""
Kenny Root [Wed, 10 Mar 2010 19:39:12 +0000 (11:39 -0800)]
Merge "Revert "Dedupe resource config pointers""

14 years agoRevert "Dedupe resource config pointers"
Kenny Root [Wed, 10 Mar 2010 19:38:05 +0000 (11:38 -0800)]
Revert "Dedupe resource config pointers"

This reverts commit 7b467d8b44c00d14590c021928b6a9ad5a36348e.

14 years agoDon't rely on the system locale for converting to/from bytes.
Nick Kralevich [Tue, 9 Mar 2010 21:28:14 +0000 (13:28 -0800)]
Don't rely on the system locale for converting to/from bytes.

By default, when java converts Strings to bytes, it uses the
default system locale.  This can be specified by the -Dfile.encoding
option.  If no file encoding is specified, java uses ISO8859_1.

Unfortunately, not all unicode characters can be mapped to
ISO8859_1.  Unmappable characters may be replaced by a byte
within ISO8859_1, which may change the meaning of the String.
This is especially problematic for password strings, and has
been used to compromise the security of passwords in the
past.

Thankfully, Android uses UTF-8 by default, so this bug doesn't
effect Android devices.  However, it's recommended to explicitly
list the character set when converting to/from bytes to
avoid the potential ambiguity.

Change-Id: Iec927e27ed3fc103696c439f6bd3e8779a37ade8

14 years agoMerge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate...
Andreas Huber [Wed, 10 Mar 2010 19:12:56 +0000 (11:12 -0800)]
Merge "Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files."

14 years agoMerge "MEDIA_PLAYER_STATE_ERROR is not a bitmask (b/2502881)"
Marco Nelissen [Wed, 10 Mar 2010 18:58:23 +0000 (10:58 -0800)]
Merge "MEDIA_PLAYER_STATE_ERROR is not a bitmask (b/2502881)"

14 years agoInstead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMe...
Andreas Huber [Wed, 10 Mar 2010 18:55:35 +0000 (10:55 -0800)]
Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files.

Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384
related-to-bug: 2074137

14 years agoMEDIA_PLAYER_STATE_ERROR is not a bitmask
Marco Nelissen [Wed, 10 Mar 2010 18:53:16 +0000 (10:53 -0800)]
MEDIA_PLAYER_STATE_ERROR is not a bitmask
(b/2502881)

Change-Id: I08e427eb2c36f5d70e40f9aeb8638fa8262de989

14 years agoMerge "Added ViewConfiguration.getScaledPagingTouchSlop()"
Adam Powell [Wed, 10 Mar 2010 18:50:38 +0000 (10:50 -0800)]
Merge "Added ViewConfiguration.getScaledPagingTouchSlop()"

14 years agoAdded ViewConfiguration.getScaledPagingTouchSlop()
Adam Powell [Wed, 10 Mar 2010 01:11:30 +0000 (17:11 -0800)]
Added ViewConfiguration.getScaledPagingTouchSlop()

Change-Id: I9ab5560c4b76d2b87e53d38b10ba8f5ec4868d85

14 years agopin our visible content bounds to the bounds of the doc itself, to account for overscroll
Mike Reed [Wed, 10 Mar 2010 16:34:26 +0000 (11:34 -0500)]
pin our visible content bounds to the bounds of the doc itself, to account for overscroll

Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502

14 years agoforce purgeability for assets
Mike Reed [Wed, 10 Mar 2010 15:28:10 +0000 (10:28 -0500)]
force purgeability for assets

Change-Id: I1067cfb91846a05290ed26ce9a62eb82d3170719
http://b/issue?id=1860187

14 years agoMerge "When context is voice, show the microphone."
Leon Scroggins [Wed, 10 Mar 2010 18:07:46 +0000 (10:07 -0800)]
Merge "When context is voice, show the microphone."

14 years ago Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE
Suchi Amalapurapu [Wed, 10 Mar 2010 17:46:49 +0000 (09:46 -0800)]
Rename ApplicationInfo.FLAG_ON_SDCARD to ApplicationInfo.FLAG_EXTERNAL_STORAGE

    Change-Id: Iadef9f9bb2851c38b6d79be1bafbf932abce4210

Change-Id: I2e412bace3d8005db5057a3497bd836d0038b90c

14 years agoWhen context is voice, show the microphone.
Leon Scroggins [Tue, 9 Mar 2010 22:28:13 +0000 (17:28 -0500)]
When context is voice, show the microphone.

Part of fix for http://b/issue?id=2501400

Change-Id: Ibdf364942bcdc8ec837fb8bb30a33c1af2ba5b06

14 years agoRe-organize access to native interface through WifiStateTracker
Irfan Sheriff [Tue, 9 Mar 2010 17:13:58 +0000 (09:13 -0800)]
Re-organize access to native interface through WifiStateTracker

Bug: 2339709
Change-Id: Ibb2eeb09b83dc24897116ea15a9016f81a08d442

14 years agoMerge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()."
Chia-chi Yeh [Wed, 10 Mar 2010 14:36:06 +0000 (06:36 -0800)]
Merge "YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults()."

14 years agoIf the new text and old text are "", return from onTextChanged.
Leon Scroggins [Tue, 9 Mar 2010 20:14:03 +0000 (15:14 -0500)]
If the new text and old text are "", return from onTextChanged.

Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08

14 years agoDon't cut the url on a redirect
Kristian Monsen [Mon, 8 Mar 2010 19:39:03 +0000 (19:39 +0000)]
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

14 years agoYuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().
Chia-chi Yeh [Wed, 10 Mar 2010 09:08:58 +0000 (17:08 +0800)]
YuvImage: jpeg_set_quality() should be called after jpeg_set_defaults().

Change-Id: I6579ad9241dd5ee6aabf54e1a1128d17b4f6b3e6

14 years agoFix: Polished icons for car mode notification
Tobias Haamel [Wed, 10 Mar 2010 08:17:43 +0000 (09:17 +0100)]
Fix: Polished icons for car mode notification

Bug #2496930
Bug #2465538

Change-Id: I4ba9a53573791df7813d86c10faa901391247386

14 years agoMerge "SettingsProvider: dup-suppress from cache."
Brad Fitzpatrick [Wed, 10 Mar 2010 06:48:40 +0000 (22:48 -0800)]
Merge "SettingsProvider: dup-suppress from cache."

14 years agoDedupe resource config pointers
Kenny Root [Wed, 10 Mar 2010 00:55:23 +0000 (16:55 -0800)]
Dedupe resource config pointers

When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.

Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de

14 years agoMerge "Use proper config to enable LVMX."
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:44:06 +0000 (18:44 -0800)]
Merge "Use proper config to enable LVMX."

14 years agoMerge "Use proper config to enable LVMX"
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:43:57 +0000 (18:43 -0800)]
Merge "Use proper config to enable LVMX"

14 years agoUse proper config to enable LVMX.
Glenn Kasten [Wed, 10 Mar 2010 02:38:25 +0000 (18:38 -0800)]
Use proper config to enable LVMX.

Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531

14 years agoUse proper config to enable LVMX
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:13:59 +0000 (18:13 -0800)]
Use proper config to enable LVMX

Change-Id: Ifa75a82884b99aeee139e055f40e7c510cf28213

14 years agoSettingsProvider: dup-suppress from cache.
Brad Fitzpatrick [Wed, 10 Mar 2010 01:58:53 +0000 (17:58 -0800)]
SettingsProvider: dup-suppress from cache.

On insert(), check to see if the value is redundant by checking if
it's the same value already in our cache (but without faulting it in
to check).  If so, avoid hitting sqlite or spamming all the
notification listeners with such uselessness.

This reportedly is happening a fair bit.

Change-Id: If58feb3ff1d00027dd927e0900087388cbcd72ae

14 years agoHelper for combining multiple selection/selectionArgs.
Jeff Sharkey [Tue, 9 Mar 2010 22:59:33 +0000 (14:59 -0800)]
Helper for combining multiple selection/selectionArgs.

Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d

14 years agoMerge "SettingsProvider: defensively cap size of settings kept cached in memory."
Brad Fitzpatrick [Wed, 10 Mar 2010 01:24:51 +0000 (17:24 -0800)]
Merge "SettingsProvider: defensively cap size of settings kept cached in memory."

14 years agoAdd ability for some manifest attributes to reference resources.
Dianne Hackborn [Tue, 9 Mar 2010 23:00:30 +0000 (15:00 -0800)]
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

14 years agoSettingsProvider: defensively cap size of settings kept cached in memory.
Brad Fitzpatrick [Wed, 10 Mar 2010 00:59:30 +0000 (16:59 -0800)]
SettingsProvider: defensively cap size of settings kept cached in memory.

Change-Id: I50289ece2d7f5f50d2ea2efbacac7a0bb1483bf6

14 years agoMerge "Add an API to set the link timeout."
Jaikumar Ganesh [Wed, 10 Mar 2010 00:56:36 +0000 (16:56 -0800)]
Merge "Add an API to set the link timeout."

14 years agoAdd an API to set the link timeout.
Jaikumar Ganesh [Tue, 9 Mar 2010 23:31:24 +0000 (15:31 -0800)]
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

14 years agoMerge "Speed up ContentProvider.query() in simple case by ~30%"
Brad Fitzpatrick [Wed, 10 Mar 2010 00:42:44 +0000 (16:42 -0800)]
Merge "Speed up ContentProvider.query() in simple case by ~30%"

14 years agoMerge "Support unbundled bookmarks. Bug #2460685"
Romain Guy [Wed, 10 Mar 2010 00:39:13 +0000 (16:39 -0800)]
Merge "Support unbundled bookmarks. Bug #2460685"

14 years agoSupport unbundled bookmarks.
Romain Guy [Wed, 10 Mar 2010 00:33:51 +0000 (16:33 -0800)]
Support unbundled bookmarks.
Bug #2460685

Change-Id: I402e342673cd8de88664a595401a141e09583e1d

14 years agoMerge "Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calcul...
Ray Chen [Wed, 10 Mar 2010 00:20:59 +0000 (16:20 -0800)]
Merge "Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed."

14 years agoMerge "Initial version of LifeVibes integration. Also changed tabs to spaces in other...
Glenn Kasten [Wed, 10 Mar 2010 00:00:17 +0000 (16:00 -0800)]
Merge "Initial version of LifeVibes integration. Also changed tabs to spaces in other audioflinger files."

14 years agoMerge "Fix NO_CONNECTIVITY flag in some cases."
Robert Greenwalt [Tue, 9 Mar 2010 23:42:34 +0000 (15:42 -0800)]
Merge "Fix NO_CONNECTIVITY flag in some cases."

14 years agoMerge "Fix ListView filter popups when window focus changes"
Adam Powell [Tue, 9 Mar 2010 23:38:56 +0000 (15:38 -0800)]
Merge "Fix ListView filter popups when window focus changes"

14 years agoFix ListView filter popups when window focus changes
Adam Powell [Tue, 9 Mar 2010 23:34:09 +0000 (15:34 -0800)]
Fix ListView filter popups when window focus changes

Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7

14 years agoSpeed up ContentProvider.query() in simple case by ~30%
Brad Fitzpatrick [Tue, 9 Mar 2010 21:18:02 +0000 (13:18 -0800)]
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

14 years agoMerge "Don't let hidden keyguard interfere with button and screen brightness overrides"
Mike Lockwood [Tue, 9 Mar 2010 22:57:41 +0000 (14:57 -0800)]
Merge "Don't let hidden keyguard interfere with button and screen brightness overrides"

14 years agoFix NO_CONNECTIVITY flag in some cases.
Robert Greenwalt [Tue, 9 Mar 2010 22:55:08 +0000 (14:55 -0800)]
Fix NO_CONNECTIVITY flag in some cases.

Airplane mode seemed to hit this bug.

bug:2498268
Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544

14 years agoMerge "Add new shutdown observer for MountService. Use new observer before rebooting...
Mike Lockwood [Tue, 9 Mar 2010 22:50:18 +0000 (14:50 -0800)]
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."

14 years agoAvoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate...
Ray Chen [Tue, 9 Mar 2010 22:23:23 +0000 (14:23 -0800)]
Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed.

Change-Id: I05cb8628f2333c26de5c05ee1c7676b8f79a5e9a

14 years agoMerge "Add an api to set WebView over scroll background."
Grace Kloba [Tue, 9 Mar 2010 22:20:34 +0000 (14:20 -0800)]
Merge "Add an api to set WebView over scroll background."

14 years agoMerge "Fix bug with AbsListView position scrolling"
Adam Powell [Tue, 9 Mar 2010 22:19:47 +0000 (14:19 -0800)]
Merge "Fix bug with AbsListView position scrolling"

14 years agoInitial version of LifeVibes integration.
Glenn Kasten [Fri, 5 Mar 2010 20:18:01 +0000 (12:18 -0800)]
Initial version of LifeVibes integration.
Also changed tabs to spaces in other audioflinger files.

14 years agoAdd new shutdown observer for MountService.
Suchi Amalapurapu [Mon, 8 Mar 2010 22:48:40 +0000 (14:48 -0800)]
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

14 years agoDocument new preview callback methods more clearly.
Wu-cheng Li [Tue, 9 Mar 2010 21:49:21 +0000 (13:49 -0800)]
Document new preview callback methods more clearly.

bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce

14 years agoFix bug with AbsListView position scrolling
Adam Powell [Tue, 9 Mar 2010 21:45:21 +0000 (13:45 -0800)]
Fix bug with AbsListView position scrolling

Change-Id: I91338f0533178417c874325f5f126d1b5fbb5f92

14 years agoMerge "add REPLACE to the list of cached sql stmnts"
Vasu Nori [Tue, 9 Mar 2010 21:42:20 +0000 (13:42 -0800)]
Merge "add REPLACE to the list of cached sql stmnts"

14 years agoMerge "Fix bug 2329540 Part 1 of the fix: when the user doesn't elect to use the...
Jean-Michel Trivi [Tue, 9 Mar 2010 21:17:35 +0000 (13:17 -0800)]
Merge "Fix bug 2329540  Part 1 of the fix: when the user doesn't elect to use the car dock  for music and media, the APM was not aware of the device being  docked.  This is fixed by dissociating the notification for the APM of  the docking to the dock from the sink state change of the A2DP  device.  Also missing was forcing the volumes to be reevaluated whenever  the device is docked or undocked, as volumes for docks may  differ, even when the same output device is being used."

14 years agoAdd an api to set WebView over scroll background.
Grace Kloba [Tue, 9 Mar 2010 18:55:04 +0000 (10:55 -0800)]
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

14 years agoFix bug 2329540
Jean-Michel Trivi [Tue, 9 Mar 2010 17:26:08 +0000 (09:26 -0800)]
Fix bug 2329540
 Part 1 of the fix: when the user doesn't elect to use the car dock
 for music and media, the APM was not aware of the device being
 docked.
 This is fixed by dissociating the notification for the APM of
 the docking to the dock from the sink state change of the A2DP
 device.
 Also missing was forcing the volumes to be reevaluated whenever
 the device is docked or undocked, as volumes for docks may
 differ, even when the same output device is being used.

Change-Id: If5314e27821a71adbd6df6fdf887c45208241d96

14 years agoadd REPLACE to the list of cached sql stmnts
Vasu Nori [Tue, 9 Mar 2010 20:33:39 +0000 (12:33 -0800)]
add REPLACE to the list of cached sql stmnts

14 years agoMerge "Re-add tethered notification to framework."
Robert Greenwalt [Tue, 9 Mar 2010 19:55:53 +0000 (11:55 -0800)]
Merge "Re-add tethered notification to framework."

14 years agoMerge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without...
Adam Powell [Tue, 9 Mar 2010 19:55:05 +0000 (11:55 -0800)]
Merge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code."

14 years agoSet mShiftIsPressed properly when the focus is a plugin.
Leon Scroggins [Tue, 9 Mar 2010 19:26:07 +0000 (14:26 -0500)]
Set mShiftIsPressed properly when the focus is a plugin.

Fix for http://b/issue?id=2484986

Change-Id: I3140c3c3a0bd44af85939aceb0bbd07c0861cde4

14 years agoRestore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable...
Adam Powell [Tue, 9 Mar 2010 19:50:51 +0000 (11:50 -0800)]
Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code.

Change-Id: I4c6a15e5a224bc5e84949ceb4df17154a2874d20

14 years agoMerge "modify comments to be more accurate"
Vasu Nori [Tue, 9 Mar 2010 19:46:57 +0000 (11:46 -0800)]
Merge "modify comments to be more accurate"

14 years agoMerge "Fix a typo in VideoView.java that disabled the seek-back button by default."
Andreas Huber [Tue, 9 Mar 2010 19:43:31 +0000 (11:43 -0800)]
Merge "Fix a typo in VideoView.java that disabled the seek-back button by default."

14 years agomodify comments to be more accurate
Vasu Nori [Tue, 9 Mar 2010 19:37:52 +0000 (11:37 -0800)]
modify comments to be more accurate

14 years agoRewrite the WebView touch to support Flash.
Grace Kloba [Fri, 5 Mar 2010 22:00:26 +0000 (14:00 -0800)]
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

14 years agoRe-add tethered notification to framework.
Robert Greenwalt [Tue, 9 Mar 2010 02:30:14 +0000 (18:30 -0800)]
Re-add tethered notification to framework.

Add new artwork and string.

Change-Id: I9c4b2b4bdbd10ee9355c3a7ca81b29fba3b5830c

14 years agoUnhide new preview callback methods.
Wu-cheng Li [Sun, 7 Mar 2010 22:59:28 +0000 (14:59 -0800)]
Unhide new preview callback methods.

bug:2358064
Change-Id: If9655ae8b7622ea6fc51e0054cfac7451962be66

14 years agoMerge "Add new LoggingEvents for more detailed text modification actions for voice...
Mike LeBeau [Tue, 9 Mar 2010 18:43:47 +0000 (10:43 -0800)]
Merge "Add new LoggingEvents for more detailed text modification actions for voice input."

14 years agoAdd new LoggingEvents for more detailed text modification actions for voice input.
Mike LeBeau [Tue, 9 Mar 2010 18:42:35 +0000 (10:42 -0800)]
Add new LoggingEvents for more detailed text modification actions for voice input.

Change-Id: I70df3612067f1c8c512a7bbe6c02381724f76bbf

14 years agoMerge "Fix bug 2481825 When TTS is synthesizing to a file, return an error if the...
Jean-Michel Trivi [Tue, 9 Mar 2010 18:31:30 +0000 (10:31 -0800)]
Merge "Fix bug 2481825 When TTS is synthesizing to a file, return an error if the file cannot be created."

14 years agoFix a typo in VideoView.java that disabled the seek-back button by default.
Andreas Huber [Tue, 9 Mar 2010 17:18:01 +0000 (09:18 -0800)]
Fix a typo in VideoView.java that disabled the seek-back button by default.

Change-Id: I23a9423b20646529b652e23349266a3291981484
related-to-bug: 2498317

14 years agoMerge "Make sure access to WebView::mWebViewCore is synchronized."
Andrei Popescu [Tue, 9 Mar 2010 18:06:23 +0000 (10:06 -0800)]
Merge "Make sure access to WebView::mWebViewCore is synchronized."

14 years agoMake sure access to WebView::mWebViewCore is synchronized.
Andrei Popescu [Tue, 9 Mar 2010 12:23:19 +0000 (12:23 +0000)]
Make sure access to WebView::mWebViewCore is synchronized.

Fix bug: 2498784

14 years agoMerge "Add a LOG_TAG for android.graphics.Graphics JNI."
Ficus Kirkpatrick [Tue, 9 Mar 2010 18:01:00 +0000 (10:01 -0800)]
Merge "Add a LOG_TAG for android.graphics.Graphics JNI."

14 years agoAdd a LOG_TAG for android.graphics.Graphics JNI.
Ficus Kirkpatrick [Sat, 6 Mar 2010 01:05:08 +0000 (17:05 -0800)]
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

14 years agoMerge "Add conditions to check for updated system applications. Restrict them to...
Suchi Amalapurapu [Tue, 9 Mar 2010 17:58:40 +0000 (09:58 -0800)]
Merge "Add conditions to check for updated system applications. Restrict them to internal flash only even before we copy."

14 years ago- add verbose logging to the authenticator
Fred Quintana [Mon, 8 Mar 2010 20:48:05 +0000 (12:48 -0800)]
- add verbose logging to the authenticator
- fix a bug in AccountManager.getAuthTokenByFeatures() where getAuthToken()
  isn't called after adding the account when necessary

14 years agoAdd conditions to check for updated system applications. Restrict them
Suchi Amalapurapu [Sat, 6 Mar 2010 01:40:11 +0000 (17:40 -0800)]
Add conditions to check for updated system applications. Restrict them
to internal flash only even before we copy.

Return error codes when install flag options mismatch.
Some conditions for existings apps
 - install flags override existing location
 - explicity manifest option install location overrides previous location
 - if upgraded package's install location is unspecified or auto, fall
   back to recommended install policy which considers user setting as well.

Check for sdcard status before finding available size on sdcard
Add light weight parsing for manifest attributes including package name and
install location only

Change-Id: I5143dda87c88c595f564b317326c926d0ec3ceb8

14 years agoMerge "Unhide API additions to AudioManager for AudioFocus support."
Jean-Michel Trivi [Tue, 9 Mar 2010 17:17:45 +0000 (09:17 -0800)]
Merge "Unhide API additions to AudioManager for AudioFocus support."

14 years agoUnhide API additions to AudioManager for AudioFocus support.
Jean-Michel Trivi [Tue, 9 Mar 2010 00:19:01 +0000 (16:19 -0800)]
Unhide API additions to AudioManager for AudioFocus support.

Change-Id: Ifc7d764703632eb91db11587675ae70ec14510e8

14 years agoMerge "Use a more descriptive user-agent string (similar to PV's before) in stagefrig...
Andreas Huber [Tue, 9 Mar 2010 17:09:27 +0000 (09:09 -0800)]
Merge "Use a more descriptive user-agent string (similar to PV's before) in stagefright http requests."

14 years agoFor flash trackball, send several downs followed by a single up.
Leon Scroggins [Tue, 9 Mar 2010 16:27:34 +0000 (11:27 -0500)]
For flash trackball, send several downs followed by a single up.

Change-Id: I2ca892bc409372ab1389f2da8254f13b2d84351c

14 years agoMerge "Removes from DumpRenderTree the superfluous result file for tests that time...
Steve Block [Tue, 9 Mar 2010 15:02:18 +0000 (07:02 -0800)]
Merge "Removes from DumpRenderTree the superfluous result file for tests that time out."

14 years agorequestChildRectangleOnScreen takes layers into account
Cary Clark [Tue, 9 Mar 2010 14:20:34 +0000 (09:20 -0500)]
requestChildRectangleOnScreen takes layers into account

Call native LayerAndroid::subtractLayers so
the layers can be removed from the visible portion of the screen
when computing how much to scroll.

companion fix in external/webkit

Change-Id: Ib441b826ab5b2baaba20f41f392848a28a9e09ee
http://b/2453841

14 years agoRemoves from DumpRenderTree the superfluous result file for tests that time out.
Steve Block [Tue, 9 Mar 2010 14:36:00 +0000 (14:36 +0000)]
Removes from DumpRenderTree the superfluous result file for tests that time out.

This file is currently not used. Tests that time out are reported as failures.

Also fixes naming in code for tests that have no text results.

Change-Id: I6412db4dcf9884abdc80f5cff525ef9431bad001

14 years agoMerge "Removes regex tests from the DumpRenderTree skipped list"
Steve Block [Tue, 9 Mar 2010 13:42:09 +0000 (05:42 -0800)]
Merge "Removes regex tests from the DumpRenderTree skipped list"

14 years agoDon't let hidden keyguard interfere with button and screen brightness overrides
Mike Lockwood [Tue, 9 Mar 2010 13:28:22 +0000 (08:28 -0500)]
Don't let hidden keyguard interfere with button and screen brightness overrides

Change-Id: Ibdc115b8fb6900b0f859085c13a707750deeab57
BUG: 2252317

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemoves regex tests from the DumpRenderTree skipped list
Steve Block [Tue, 9 Mar 2010 12:23:57 +0000 (12:23 +0000)]
Removes regex tests from the DumpRenderTree skipped list

It looks like these were previously exluded due to taking too long. However,
they run in a reasonable time on passion.

Also removes AppleScript from the skipped list, as this directory no longer exists.

Change-Id: I98e3d0b3222dcd79287b15c512430341fab4f0f8

14 years agoMerge "Add shared workers tests to DumpRenderTree skipped list"
Steve Block [Tue, 9 Mar 2010 12:25:13 +0000 (04:25 -0800)]
Merge "Add shared workers tests to DumpRenderTree skipped list"

14 years agoAdd shared workers tests to DumpRenderTree skipped list
Steve Block [Fri, 5 Mar 2010 18:54:55 +0000 (18:54 +0000)]
Add shared workers tests to DumpRenderTree skipped list

Change-Id: I307bf718253ad3e340d3a95b1056523f37d150be

14 years agoCache hot settings in-memory in the SettingsProvider.
Brad Fitzpatrick [Tue, 9 Mar 2010 02:30:52 +0000 (18:30 -0800)]
Cache hot settings in-memory in the SettingsProvider.

This brings down Settings lookups to 0.5 ms on sholes.  (down from
~10.5 ms originally, and ~2.5 ms after the ContentProvider.call()
interface)

Change-Id: Ibde7c3d21e0b0e5714714a2075f314726edfc19d

14 years agoMerge "Fix Parcel leak in ContentProvider.call()"
Brad Fitzpatrick [Tue, 9 Mar 2010 06:18:52 +0000 (22:18 -0800)]
Merge "Fix Parcel leak in ContentProvider.call()"

14 years agoFix Parcel leak in ContentProvider.call()
Brad Fitzpatrick [Tue, 9 Mar 2010 06:11:50 +0000 (22:11 -0800)]
Fix Parcel leak in ContentProvider.call()

This manifested itself as memory allocation and Binder failures during
my load testing / benchmarking.

BUG=2498615

Change-Id: I260fd916f97777fc98bee98d10474f12deb21dee