9048 Commits

Author SHA1 Message Date
Bjorn Bringert
d1b21ff09a Merge "Hide Go button in browser when no text is entered" 2010-03-08 05:45:42 -08:00
Raphael
30df237f19 ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.
SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5
2010-03-06 10:09:54 -08:00
Amith Yamasani
4c2d7b5198 Merge "Update keyboard key assets." 2010-03-05 21:40:23 -08:00
Amith Yamasani
56ddddd426 Update keyboard key assets. 2010-03-05 21:36:29 -08:00
Adam Powell
cb704cd1e0 Fixed a regression setting ListView selection mode without an adapter 2010-03-05 19:51:59 -08:00
Christopher Tate
18c65d309f Merge "Fix up missed refactoring in JNI reg and preloaded-classes" 2010-03-05 18:27:37 -08:00
Christopher Tate
7adc274abd Fix up missed refactoring in JNI reg and preloaded-classes
Change-Id: I079bdf4edfb9083eba3e15d8e4dbf3b2bad9190c
2010-03-05 18:26:41 -08:00
Adam Powell
8f1bfe1a7c ListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
ListView#getCheckedItemIds() now works more reliably.
2010-03-05 18:02:38 -08:00
Romain Guy
0a9355bc72 Merge "Correctly validate numbers when pasted in NumberPicker. Bug #2258525" 2010-03-05 17:34:10 -08:00
Romain Guy
aa516beb79 Correctly validate numbers when pasted in NumberPicker.
Bug #2258525
2010-03-05 17:33:20 -08:00
Christopher Tate
f49501eec5 Fix doc references to "android.backup" to the new "android.app.backup"
Change-Id: Ia347590a374f7e0b8928b0673dc10d55fe785e73
2010-03-05 17:30:42 -08:00
Christopher Tate
9919024d70 Merge "Refactor android.backup => android.app.backup" 2010-03-05 16:29:04 -08:00
Christopher Tate
4528186e0d Refactor android.backup => android.app.backup
Change-Id: I0b21316ff890d7f3c7d4b82837bb60670724c2e8
2010-03-05 16:27:15 -08:00
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
Vasu Nori
16d8cf905b Merge "provide databasename to the logging func registration func" 2010-03-05 10:06:48 -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
Bjorn Bringert
33b167be34 Hide Go button in browser when no text is entered
Fixes http://b/issue?id=2485438

Change-Id: If3d6106eebb22d8b4a2d9aed8d3118c14fdbedde
2010-03-05 16:28:33 +00: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
Daniel Sandler
24e09b9957 New artwork for audio settings on keyguard and power menu.
Introduces new vibe-mode icons for GlobalActions and makes
other icons (volume & silent) consistent on GlobalActions
and the keyguard.

Change-Id: Ic9a04bb8929343faf6c33f5db9894b0c8febaa2d
2010-03-05 09:32:50 -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
Vasu Nori
bd29b7c2b7 provide databasename to the logging func registration func
this will allow sqlite to return this name, along with the message.
otherwise, sqlite logging messages are confusing without database
name to associate them with.
2010-03-04 16:16:03 -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
Eric Fischer
bf8a78f60c Merge "Import new translations" 2010-03-04 14:17:32 -08:00