13384 Commits

Author SHA1 Message Date
Amith Yamasani
c9ecb73ccd Add a way to insert a parent bread crumb so that deep linked settings can navigate up.
Bug: 3236568

This adds a way to insert a title as well as get a callback when that title is clicked.
It is not really on the backstack and clicks must be handled via the listener interface.
2010-12-14 15:17:32 -08:00
Robert Greenwalt
7c25cd15bb Merge "DHCP core classes, defining data, behavior, and state transitions for the DHCP protocol. The DHCP client and DHCP server classes are not included in this commit: still working out some integration issues with ethernet & wifi services" 2010-12-14 14:40:49 -08:00
Jeff Brown
2e976df644 Expose split touch API on PopupWindow.
Already exposed the new window flags and layout parameters,
just forgot to make this API visible at the same time.

Bug: 3049580
Change-Id: If8dc3568eb2806fa21881c31b9f879d6045ca890
2010-12-14 13:56:58 -08:00
Gilles Debunne
ebd747ffad Merge "Heterogeneous comment for convertView in getView documentation" 2010-12-14 13:32:23 -08:00
Gilles Debunne
e7018262d1 Merge "Removed no longer used longPressCallback in TextView" 2010-12-14 11:59:01 -08:00
Gilles Debunne
31d4894653 Removed no longer used longPressCallback in TextView
Change-Id: Iadac5579764ef14c2ec7a677c686a396cedc31fa
2010-12-14 11:53:52 -08:00
Gilles Debunne
e1aaf9d76e Heterogeneous comment for convertView in getView documentation
Change-Id: I28d6b93600d840e9b3e8bf74d0f14d93c4be4fd9
2010-12-14 11:48:15 -08:00
Alon Albert
300ed2cda6 Merge "Do not increase backoff before it expires" 2010-12-14 11:32:45 -08:00
Gilles Debunne
2bc248b698 Off by one index error in word selection
Change-Id: Ia6b14b22cc5cf65a235bcdf7cbec48bd76f74460
2010-12-14 10:39:32 -08:00
Christopher Tate
001667313f Merge "Don't restore wildly wrong sized wallpapers" 2010-12-14 10:31:56 -08:00
Gilles Debunne
a3ae4a0656 Make TextView respect the maxLines attribute.
Bug 3186626

Restore some of the changes introduced in CL 78854.

Also added a few comments to the documentation.

Change-Id: I775be85c33ebe4a2384a40b21eec57f34fddcd33
2010-12-14 10:28:35 -08:00
Alon Albert
aeeb620906 Do not increase backoff before it expires
Change-Id: Ia5f382f3cc0b0d41bf382d98665dc50512513dda
2010-12-14 10:09:54 -08:00
Stan Chesnutt
7da02ad3b7 DHCP core classes, defining data, behavior, and state transitions for the DHCP
protocol.  The DHCP client and DHCP server classes are not included in this
commit: still working out some integration issues with ethernet & wifi services

Change-Id: I0c9cc48b7d960005b73ecb757c1fa66f0eb68471
2010-12-14 09:49:26 -08:00
Chet Haase
48ea8d8362 Merge "Adding TimeAnimator capability (hidden for now)" 2010-12-14 09:18:33 -08:00
Chet Haase
051d35e41f Adding TimeAnimator capability (hidden for now)
This new class allows listeners to receive callbacks with elapsed time
that are sent on the same animation updates as other animators in the system.
It will allow simulations that go beyond the current animation system while
handling the actual animation timing system and ensuring that those
simulations sync up with other typical animations.

Change-Id: Iac91c39634218793f6598a7dec5ed71dc9630258
2010-12-14 09:17:02 -08:00
satok
5c58dfcf7d Add a Setting preference "INPUT_METHOD_SELECTOR_VISIBILITY"
Bug: 3142286

Change-Id: I7d30c781a20863b974b496282bbd8b1ba65d72ac
2010-12-14 22:37:23 +09:00
Dianne Hackborn
d2835935d2 Fix issue #3258849: Grab thumbnail when exiting an app via back
Also issue #3281400: Rotating a retained instance fragment leaks the fragment manager

And turn off fragment debug logging.

Change-Id: Ibdd7db82bb35618021bcba421ba92ced7cd691c2
2010-12-13 20:41:17 -08:00
Jeff Brown
28cbf4bd5c Make framework modifier key handling more precise.
Change-Id: I0cc2276b31f882170aea575288f607a3a4ee05d4
2010-12-13 18:31:13 -08:00
Gilles Debunne
97d2dadffe Merge "setTextIsSelectable documentation updated." 2010-12-13 18:11:51 -08:00
Gilles Debunne
6f100f3895 setTextIsSelectable documentation updated.
Change-Id: Ib48c3b8bba606d8874b92fe56da99eab4f335056
2010-12-13 18:04:20 -08:00
Adam Powell
3cd0c571ea Fix bug 3281956 - Cherry-picked from GB
DO NOT MERGE Fix bug 3124899 - timeout in CTS test
ExpandableListViewBasicTest

A certain sequence of events could cause AbsListView to enter an
infinite event loop. Only report reaching a scroll boundary to the
overscroll code path if the Scroller wants to move further, not if
we're done moving.

Change-Id: Ib61897f619e83b28f08b91e82f2b901cb1739e1a
2010-12-13 18:04:11 -08:00
Adam Powell
128b6ba93d Fix bug 3280187 - ActionMode menu content not getting cleared properly when finishing
Fix bug 3279956 - FastScroller resource loading errors

Change-Id: I224b2b820636f88b09740a511aa0a9c480e54a2f
2010-12-13 17:06:03 -08:00
Jaikumar Ganesh
f812760381 Merge "Remove delay with auto connection." 2010-12-13 16:49:50 -08:00
Chet Haase
5d1bf63131 Merge "Fix artifact with concurrent add/remove LayoutTransitions" 2010-12-13 16:47:00 -08:00
Christopher Tate
3f64f8d8fc Don't restore wildly wrong sized wallpapers
If the dimensions of the original are sufficiently different from the
device's preferred dimensions, just don't restore the image.  This
avoids bad letterboxing / clipping on e.g. phone <-> tablet data
migration.

The expansion/shrinkage ratios used here allow restores of saved
wallpaper images among HVGA devices, among WVGA variants, and
among tablets; but skip restoring wallpapers across those
categories (where severe clipping or letterboxing would occur).

Bug 3261863

Change-Id: I75e75d6401d18f1df10d75796ee04e21d2302cfa
2010-12-13 16:41:24 -08:00
Brad Fitzpatrick
996f41da3c am 2d5b11ab: am 0927c902: Merge "Fix StrictMode javadoc copy/paste error." into gingerbread
* commit '2d5b11aba0fec21e1ce3f358eb0d280b62704899':
  Fix StrictMode javadoc copy/paste error.
2010-12-13 16:30:17 -08:00
Nick Kralevich
b019ef6158 am 30ad1e57: am 9dbef975: Merge "Avoid leaking sockets." into gingerbread
* commit '30ad1e576a445b8ffec12ef148f5d7253ebb6ef4':
  Avoid leaking sockets.
2010-12-13 16:30:10 -08:00
Dianne Hackborn
f25eb95b4c Merge "resolved conflicts for merge of 78e9f4cb to master" 2010-12-13 16:28:01 -08:00
Chet Haase
e64ea87f96 Fix artifact with concurrent add/remove LayoutTransitions
There was a bug with LayoutTransitions where if the animations
were of different duration (such as in the current status bar clock),
it was possible to end up in a bad situation because the previous animation
might outlast the new animation, causing the opposite end result
from what was expected. The fix was to keep track of the current
add/remove animations and to cancel any running ones prior to starting
new ones.

Change-Id: I884ce33ce0671f6ba6153ee3951c8d14c5ed5714
2010-12-13 16:15:53 -08:00
Jaikumar Ganesh
2d1fc4e3f5 Remove delay with auto connection.
SDP records are now registered with a dbus call so we don't have to wait
for initiating auto connections.

Also reduce time to connect other profiles case by 2 secs.

Change-Id: I8f0eab6a95d3bfaf11a8eb7495a024949639d7fc
2010-12-13 15:58:44 -08:00
Brad Fitzpatrick
2d5b11aba0 am 0927c902: Merge "Fix StrictMode javadoc copy/paste error." into gingerbread
* commit '0927c9026537166cec36b2f9bb8a764ef8a7c606':
  Fix StrictMode javadoc copy/paste error.
2010-12-13 15:27:25 -08:00
Brad Fitzpatrick
0927c90265 Merge "Fix StrictMode javadoc copy/paste error." into gingerbread 2010-12-13 15:25:09 -08:00
Nick Kralevich
30ad1e576a am 9dbef975: Merge "Avoid leaking sockets." into gingerbread
* commit '9dbef975f0f4370dfe48a0fb040e3d8d1eb91d87':
  Avoid leaking sockets.
2010-12-13 15:05:20 -08:00
Nick Kralevich
9dbef975f0 Merge "Avoid leaking sockets." into gingerbread 2010-12-13 15:03:28 -08:00
Dianne Hackborn
ccc7141313 resolved conflicts for merge of 78e9f4cb to master
Change-Id: I1135361e6d66f524c3f349e2bf1f31bd4191c634
2010-12-13 14:55:25 -08:00
Romain Guy
c0734f6c8d Merge "Improve error detection in HardwareRenderer.draw(). Bug #3280872" 2010-12-13 14:43:41 -08:00
Romain Guy
b8c0de2c27 Improve error detection in HardwareRenderer.draw().
Bug #3280872

This should avoid crashes before we detect a GL error and we switch over to
software rendering.

Change-Id: Ieb4992576d20014e194aab863a456f09c5e19672
2010-12-13 14:44:36 -08:00
Dianne Hackborn
78e9f4cbae am e4a59519: Fix issue #3154576: battery stats checkin should include UID -> packages+ map
* commit 'e4a5951925f16f18dae91ed65567e96528f17fee':
  Fix issue #3154576: battery stats checkin should include UID -> packages+ map
2010-12-13 14:37:09 -08:00
Nick Kralevich
2ed20f8768 Avoid leaking sockets.
When a DNS lookup fails, we end up creating a datagram socket
but never properly close it.  This wastes limited valuable file
descriptors and causes CTS test failures.  Generally, we should
ensure that sockets or files are opened in a try block, and closed
in a finally block.

Bug: 3276283
Change-Id: I3432f3bc061268c7367948230f6edbdfcec55892
2010-12-13 14:32:17 -08:00
Dianne Hackborn
e4a5951925 Fix issue #3154576: battery stats checkin should include UID -> packages+ map
Includes some other small fixes to battery collection and a few
other things.

Output of package info looks like this:

5,0,i,uid,1000,com.android.settings
5,0,i,uid,1000,com.android.providers.subscribedfeeds
5,0,i,uid,1000,com.android.providers.settings
5,0,i,uid,1000,com.android.server.vpn
5,0,i,uid,1000,android
5,0,i,uid,1000,com.android.systemui
5,0,i,uid,1000,com.google.android.backup
5,0,i,uid,1001,com.android.phone
5,0,i,uid,1001,com.android.providers.telephony
5,0,i,uid,1022,com.android.nfc
5,0,i,uid,10021,com.google.android.location
5,0,i,uid,10021,com.google.android.syncadapters.calendar
5,0,i,uid,10021,com.google.android.gsf
5,0,i,uid,10021,com.google.android.syncadapters.contacts
5,0,i,uid,10026,com.android.providers.downloads.ui
5,0,i,uid,10026,com.android.providers.media
5,0,i,uid,10026,com.android.providers.drm
5,0,i,uid,10026,com.android.providers.downloads
5,0,i,uid,10032,com.android.launcher
5,0,i,uid,10039,com.google.android.gm
5,0,i,uid,10041,com.google.android.gallery3d
5,0,i,uid,10049,com.android.providers.calendar

Change-Id: I9e38f254eef146339113ad270f5c6e8b60fb7a1d
2010-12-13 14:31:40 -08:00
Brad Fitzpatrick
320274c5f1 Fix StrictMode javadoc copy/paste error.
Change-Id: Idd49111f0a1af6f331cffa0972191b2d4e25a385
2010-12-13 14:07:39 -08:00
Mike Lockwood
595ca7062e Merge "PowerManager: remove unused import" 2010-12-13 13:54:09 -08:00
Jaikumar Ganesh
faaddc632f Merge "Add direct calls to Bluez to add SDP records." 2010-12-13 13:42:42 -08:00
Mike Lockwood
36e52dce7f PowerManager: remove unused import
Change-Id: I0cfd48bd7ec0af3be7721994ab31d6f00634a4e0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-13 13:42:28 -08:00
Leon Scroggins
a60f00ffec Merge "Use black text on white background for dropdowns." 2010-12-13 13:24:42 -08:00
Jean-Baptiste Queru
dd60ee728d am 6d13b146: am e78a0009: resolved conflicts for merge of 4b94c451 to stage-korg-master
* commit '6d13b146e0444f40f45b9fe5812093c5e611b68e':
  Added dropbox broadcast notification
2010-12-13 13:12:36 -08:00
Jean-Baptiste Queru
6d13b146e0 am e78a0009: resolved conflicts for merge of 4b94c451 to stage-korg-master
* commit 'e78a000955c283509ee8a21b8b7e448060ac8dd8':
  Added dropbox broadcast notification
2010-12-13 13:10:23 -08:00
Leon Scroggins
60344deb7c Use black text on white background for dropdowns.
Bug:3249233
Change-Id: I8c400c4ab043409e40a1180d45effd4513d0657c
2010-12-13 16:08:04 -05:00
Jean-Baptiste Queru
e78a000955 resolved conflicts for merge of 4b94c451 to stage-korg-master
Change-Id: I07b974f96ca598677e58623050e4668822e68f23
2010-12-13 13:06:13 -08:00
Leon Scroggins
3db6af9237 Merge "Do not loop forever." 2010-12-13 13:02:39 -08:00