7539 Commits

Author SHA1 Message Date
Amith Yamasani
6005ab5b4a Merge "Logging to track down an elusive bug with Messaging app losing IME focus in landscape." 2010-03-05 16:06:50 -08:00
Amith Yamasani
a8b00c8801 Logging to track down an elusive bug with Messaging app losing IME focus in landscape.
bug: 2200728
2010-03-05 15:41:31 -08:00
Adam Powell
931bf89d32 Merge "Added accessors for view overscroll modes" 2010-03-05 14:48:06 -08:00
Mark Wagner
9277c6d972 Merge "don't assume Cursor.getExtras returns non-null" 2010-03-05 13:08:13 -08:00
Grace Kloba
c0068adc86 Merge "Adding over scroll to webview. We will always apply over scroll vertically. In horizontal direction, if the page can't be zoomed and the current content just fit, we will not do over scroll." 2010-03-05 13:06:15 -08:00
Brad Fitzpatrick
1877d0158b Add "call" method on ContentProvider.
This permits implementing interfaces which are faster than using
remote Cursors.  It then uses it for Settings & SettingProvider, which
together account for ~50% of total ContentProvider event loop stalls
across Froyo dogfooders.

For fetching Settings this looks like it should reduce average
Settings lookup from 10 ms to 0.4 ms on Sholes, once the
SettingsProvider serves most gets from in-memory cache.  Currently it
brings the Sholes average down from 10ms to 2.5 ms while still using
SQLite queries on each get.
2010-03-05 12:08:39 -08:00
Grace Kloba
d7625dd281 Adding over scroll to webview. We will always apply
over scroll vertically. In horizontal direction, if
the page can't be zoomed and the current content just
fit, we will not do over scroll.

Per UI request, only draw the shadow when title bar
is not visible.
2010-03-05 11:51:02 -08:00
Adam Powell
51c5a0c50e Added accessors for view overscroll modes 2010-03-05 11:28:16 -08:00
Dianne Hackborn
7299c41630 Refactor car mode.
Extract all UI behavior from dock observer and ACTION_DOCK_EVENT.

Also introduce a desk type to go along with the car type all through
the resource system, since we now need to have corresponding high-level
broadcasts for desk dock mode.  As part of that I also reworked some
of the logic for switching modes to all funnel through a single
update() call that looks all of the current state to decide what to
do next, and fixed various locking issues.

In addition I found there were bugs in the configuration change
handling causing us to only switch into the car mode config and
then never get out of it.  Unfortunately now that we are actually
changing the configuration for each mode change, the transitions
between them are really crummy as we restart all kinds of
activities. :(
2010-03-05 10:57:47 -08:00
Mark Wagner
4d891d173a don't assume Cursor.getExtras returns non-null 2010-03-05 10:39:44 -08:00
Gloria Wang
3b7991efec Merge "Release mediaplayer if the current state is not suspending. Fix for bug 2480093." 2010-03-05 10:22:04 -08:00
Gloria Wang
efb882cf75 Release mediaplayer if the current state is not suspending. Fix for bug 2480093. 2010-03-05 10:14:33 -08:00
Ben Murdoch
9a823c4d81 Merge "It is possible that we may get a call from WebCore that the first layout has completed before we've successfully syncd the webview dimensions from Java to native and in this case, we end up syncing a height of 0 to WebKit. This causes hit detection to fail, as WebKit thinks we have a 0-height visible area. This patch fixes this scenario by syncing the height of the webview back to WebKit in the case that the first layout comes back before we've sent our dimensions." 2010-03-05 09:42:06 -08:00
Shimeng (Simon) Wang
065efeb6ec Merge "Squashed commit of the following:" 2010-03-05 09:40:42 -08:00
Ben Murdoch
d1bee05d64 It is possible that we may get a call from WebCore that the first layout has
completed before we've successfully syncd the webview dimensions from Java to
native and in this case, we end up syncing a height of 0 to WebKit. This causes
hit detection to fail, as WebKit thinks we have a 0-height visible area. This
patch fixes this scenario by syncing the height of the webview back to WebKit
in the case that the first layout comes back before we've sent our dimensions.

Fix for b/2449863

Change-Id: Id72c37b17411f3409edc7104d83ca5ffd17ab09b
2010-03-05 17:25:44 +00:00
Chih-Chung Chang
540bc0348a Unhide reconnect() in Camera. 2010-03-05 09:24:42 -08:00
Shimeng (Simon) Wang
1c02c6a7d8 Squashed commit of the following:
commit 35ade1c72b5fe34c177712108ccbc070eab11a87
Author: Shimeng (Simon) Wang <swang@google.com>
Date:   Thu Mar 4 16:29:01 2010 -0800

    Alternative way to fix the history picture drawing issue.

    Disable zoom part for history picture mode.

    Bug: 2462039

commit 1a27acaa36c60546e5e6b2e1caf4ce5488dad14b
Author: Shimeng (Simon) Wang <swang@google.com>
Date:   Thu Mar 4 16:06:41 2010 -0800

    Use the screen width to derive the desired scale.

    This is to fix the history picture draw issue.  Since the mActualScale
    will be changed in some other places.

    Bug: 2462039
2010-03-05 09:22:41 -08:00
Mike Reed
e354bba55d Merge "return false if any exception is thrown from savePicture" 2010-03-05 07:30:16 -08:00
Mike Reed
189e7355e6 return false if any exception is thrown from savePicture 2010-03-05 10:12:29 -05:00
Robert Greenwalt
1533020321 Merge "Update framework tethering UI" 2010-03-04 18:47:24 -08:00
Romain Guy
51ced54099 Merge "Do not select any item when the user clicks outside of the list content. Bug #2485544" 2010-03-04 18:30:52 -08:00
Romain Guy
090e0f08b9 Do not select any item when the user clicks outside of the list content.
Bug #2485544
2010-03-04 18:29:15 -08:00
Dmitri Plotnikov
28853c5f09 Merge "Adding a mime type for the phone lookup URI." 2010-03-04 18:28:00 -08:00
Robert Greenwalt
e7085e909d Update framework tethering UI
Getting rid of notification dialog - maybe the entire TetherActivity.
Also getting rid of toasts - to ephemeral.
2010-03-04 18:20:58 -08:00
Dmitri Plotnikov
0b0b8a8dae Adding a mime type for the phone lookup URI.
Bug: 2486764
Change-Id: I0077fff8af0044efc4c5322816768073636e072f
2010-03-04 18:20:08 -08:00
Fred Quintana
bcfcafe18c Merge "Defend against an unexpected null bundle that causes blockingGetAuthToken() to throw an NPE." 2010-03-04 17:12:39 -08:00
Romain Guy
55535c83fd Merge "Report an offset change in a live wallpaper when the wallpaper is resized. Bug #2489288" 2010-03-04 16:52:16 -08:00
Romain Guy
04cde3413c Report an offset change in a live wallpaper when the wallpaper is resized.
Bug #2489288

Prior to this change, changing the display's orientation would not send an offset
change, which could cause live wallpapers relying on pixel offsets to display the
wrong position.
2010-03-04 16:07:49 -08:00
Irfan Sheriff
5321aef4a2 Wifi AP framework changes first pass
Bug: 2421638
Change-Id: Ic5ea8f7560a7fe5e1b0769daa5d92cc33eefc692
2010-03-04 16:07:14 -08:00
Debajit Ghosh
0dc59b00f2 switching from ro.secure to ro.debuggable for relaxing ssl cert check.
Conflicts:

	core/java/android/net/SSLCertificateSocketFactory.java
2010-03-04 15:25:48 -08:00
Amith Yamasani
f87900361e Merge "Show AutoCompleteTextView dropdown in Search dialog when cursor updates. Fixes b/2426929" 2010-03-04 14:45:16 -08:00
Amith Yamasani
defb1df520 Show AutoCompleteTextView dropdown in Search dialog when cursor updates. Fixes b/2426929
Calls onFilterComplete when the data set changes, so that it can recompute whether
the dropdown should be shown or not.
2010-03-04 14:29:54 -08:00
Fred Quintana
96580e0065 Defend against an unexpected null bundle that causes blockingGetAuthToken() to throw an NPE.
http://b/issue?id=2420608
2010-03-04 13:42:42 -08:00
Joe Onorato
1a31ae34a0 Merge "Fix typo. According to grep, this is the only place in the tree that has it." 2010-03-04 13:13:42 -08:00
Joe Onorato
8a051a4ec3 Fix typo. According to grep, this is the only place in the tree that has it. 2010-03-04 15:54:50 -05:00
Dianne Hackborn
438865cd8c Merge "Fix some bugs." 2010-03-04 11:56:12 -08:00
Dianne Hackborn
20cb56e26e Fix some bugs.
Bug #2376231: Apps lose window focus (and back key causes ANR) if the
lock screen is dismissed while the phone is in landscape mode

This is another case where we weren't recomputing the focused window
after changing the visibility policy.

bug #2479958: Investigate source of "Resources don't contain package
for resource number 0x7f0a0000"

Um, okay, so it turns out there were bugs all over the place where
we would load an XML resource from a another application, but not
use the Resources for that application to retrieve its resources...!
I think the only reason any of this stuff was working at all was
because it typically only cared about retrieving the resource
identifiers of the items (it would look up the values later).

Bug #2401082: Passion ERE26 monkey crash - InputMethodManagerService

Add some null checks.
2010-03-04 11:52:14 -08:00
Vasu Nori
4c4106be3d Merge "a dbobject is closed twice and that causes incorrect warnings" 2010-03-04 11:47:12 -08:00
Vasu Nori
fb3803a360 a dbobject is closed twice and that causes incorrect warnings 2010-03-04 11:40:49 -08:00
Ray Chen
055c986ab8 Add location provider name to gps-processing-method in EXIF header. 2010-03-05 03:03:48 +08:00
Adam Powell
d2e45244f5 Merge "Awaken ListView scroll bars for overscroll" 2010-03-04 10:21:30 -08:00
Adam Powell
e14dd39b52 Merge "Fix VelocityTracker for CTS tests" 2010-03-04 10:21:02 -08:00
Cary Clark
966641a8da add comment for public function
http://b/242036
2010-03-04 08:58:33 -05:00
Leon Scroggins
75a36c2bc7 Remove an overzealous call to setDefaultSelection.
This was added to try and fix an earlier bug,
http://b/issue?id=2431351  However, it results in all
touches setting to the default selection, which
is incorrect.

Fix for http://b/issue?id=2486721
2010-03-04 08:44:56 -05:00
Adam Powell
ca8faae6b9 Awaken ListView scroll bars for overscroll 2010-03-03 20:55:07 -08:00
Adam Powell
0bba68ddc7 Fix VelocityTracker for CTS tests 2010-03-03 19:50:49 -08:00
Daisuke Miyakawa
e8b9ce2293 Merge "Use "My Contacts"" 2010-03-03 18:55:41 -08:00
Daisuke Miyakawa
72d3397b50 Use "My Contacts"
Bug: 2487348
2010-03-04 11:54:45 +09:00
Daisuke Miyakawa
01f4385d86 Handle the string "default" and ignore it appropriately. 2010-03-04 11:01:25 +09:00
Adam Powell
37f700a83c Merge "InputDevice filtering for jumpy screens. Updated ScaleGestureDetector for framework deprecations." 2010-03-03 17:22:15 -08:00