19563 Commits

Author SHA1 Message Date
Wu-cheng Li
c10275abd6 Document new preview callback methods more clearly.
bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce
2010-03-09 13:55:27 -08:00
Vasu Nori
90ebc55f35 Merge "add REPLACE to the list of cached sql stmnts" 2010-03-09 13:42:20 -08:00
Jean-Michel Trivi
877a7a2fe6 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." 2010-03-09 13:17:35 -08:00
Jean-Michel Trivi
758559e6b7 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
2010-03-09 12:45:55 -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
Mike LeBeau
e8df25a9c6 Merge "Add new LoggingEvents for more detailed text modification actions for voice input." 2010-03-09 10:43:47 -08:00
Mike LeBeau
b7af28e986 Add new LoggingEvents for more detailed text modification actions for voice input.
Change-Id: I70df3612067f1c8c512a7bbe6c02381724f76bbf
2010-03-09 10:42:35 -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
Suchi Amalapurapu
a2b6c3775e 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
2010-03-09 09:24:35 -08:00
Jean-Michel Trivi
a9fb0a2497 Merge "Unhide API additions to AudioManager for AudioFocus support." 2010-03-09 09:17:45 -08:00
Jean-Michel Trivi
eabb6df2fa Unhide API additions to AudioManager for AudioFocus support.
Change-Id: Ifc7d764703632eb91db11587675ae70ec14510e8
2010-03-09 09:15:19 -08:00
Andreas Huber
15b3287994 Merge "Use a more descriptive user-agent string (similar to PV's before) in stagefright http requests." 2010-03-09 09:09:27 -08:00
Leon Scroggins
3dc02fecbe For flash trackball, send several downs followed by a single up.
Change-Id: I2ca892bc409372ab1389f2da8254f13b2d84351c
2010-03-09 11:27:34 -05:00
Steve Block
33d1fdd6aa Merge "Removes from DumpRenderTree the superfluous result file for tests that time out." 2010-03-09 07:02:18 -08:00
Cary Clark
31b8367570 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
2010-03-09 10:00:30 -05:00
Steve Block
5ac2a3bd69 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
2010-03-09 14:36:00 +00:00
Steve Block
8e461c9add Merge "Removes regex tests from the DumpRenderTree skipped list" 2010-03-09 05:42:09 -08:00
Steve Block
9902279abb 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
2010-03-09 12:29:59 +00:00
Steve Block
9b90a7e842 Merge "Add shared workers tests to DumpRenderTree skipped list" 2010-03-09 04:25:13 -08:00
Steve Block
432e0eade7 Add shared workers tests to DumpRenderTree skipped list
Change-Id: I307bf718253ad3e340d3a95b1056523f37d150be
2010-03-09 12:20:48 +00:00
Brad Fitzpatrick
1bd62bd3ca 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
2010-03-08 22:20:43 -08:00
Brad Fitzpatrick
f19d43d880 Merge "Fix Parcel leak in ContentProvider.call()" 2010-03-08 22:18:52 -08:00
Brad Fitzpatrick
dfb437e17c 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
2010-03-08 22:12:49 -08:00
Dmitri Plotnikov
4a8a310aae New (hidden) API for ContactsProvider status.
Bug: 2498528
Change-Id: I95ab8b68c3d3caa5698e79c60ccb9794091e8b8a
2010-03-08 19:43:21 -08:00
Mathias Agopian
85b8d12207 improve SF logging/debugging a little bit
Change-Id: I6a57f89c25defc293fd748cc1fbd710031c02ec2
2010-03-08 19:30:56 -08:00
Dan Morrill
50ab63f583 Adding definitions & APIs for features that are newly-optional in FroYo.
This also refactors the files containing the features so that they are more
modular. Note that this also changes data/etc/Android.mk so that
required_hardware.xml is NOT copied automatically for all devices
anymore. Accordingly, that file is removed.
2010-03-08 19:28:28 -08:00
Mathias Agopian
8d8a915a93 Merge "Fix a small bug where we could compute SharedBufferStack's tail incorrectly." 2010-03-08 19:24:27 -08:00
Mathias Agopian
4119c54302 Fix a small bug where we could compute SharedBufferStack's tail incorrectly.
Also add "tail" to the debug dump().

Change-Id: I04b1ea375dfc9ddcc22f0c6b6cd01300e507572e
2010-03-08 19:23:26 -08:00
Dan Egnor
ca14320fa2 Merge "More consistent and clear traces.txt reporting." 2010-03-08 19:23:01 -08:00
Dan Egnor
efd1393801 More consistent and clear traces.txt reporting.
Print ANR traces.txt even if it's old.
Print more detailed error messages about VM trace dumps.

Change-Id: I067c90b8f3b3647b6136528eff3120e6cfea5715
2010-03-08 19:21:32 -08:00
Adam Powell
eb6a592a28 Merge "Fix issues with ListView.smoothScrollBy" 2010-03-08 19:11:16 -08:00
Adam Powell
029cfbd6f2 Fix issues with ListView.smoothScrollBy
Change-Id: I4a2752c56a1d2ad3227644f764d6be7a02c9eb8d
2010-03-08 19:07:14 -08:00
Jean-Baptiste Queru
2e2096fc08 Add comments in CleanSpec.mk
Change-Id: Iaa1f9f38c0e621d2988e341a5fcff3164a62cf66
2010-03-08 18:11:37 -08:00