19433 Commits

Author SHA1 Message Date
Matthew Xie
06ec66266c Merge "Implement switchConnectable with Powered property setting instead of scan modes" 2011-08-09 12:15:54 -07:00
Ben Murdoch
85765a4365 Merge "Add a flag to force suppression of the auth dialog." 2011-08-09 11:55:26 -07:00
Romain Guy
95b0292fb4 Merge "Fix for bug 5115066 Handler override of toString() hides derived class name" 2011-08-09 11:14:50 -07:00
Dianne Hackborn
6ae7ba3230 Merge "Improve window manager debug output." 2011-08-09 10:41:45 -07:00
Gilles Debunne
1f6ac8b1e0 Merge "Handles' position are updated in case of external change." 2011-08-09 10:22:15 -07:00
Gilles Debunne
b932146135 Merge "The PASTE action is always displayed, even when starting a selection" 2011-08-09 10:22:02 -07:00
Kristian Monsen
588d8560b3 Fix for bug 5115066 Handler override of toString() hides derived class name
Dynamically getting the class name.

Change-Id: I3140bee67ee2e5a1790e53cf4dfc240d3bb25218
2011-08-09 16:27:06 +01:00
Chet Haase
aebd5471ac Merge "Fix ViewPropertyAnimator duration and startDelay issues" 2011-08-09 06:47:07 -07:00
Wu-cheng Li
08a907149e Merge "Unhide camera recording hint API." 2011-08-09 02:54:07 -07:00
Adam Powell
50d3c667eb Merge "Fix bug 5135608 - Let AbsListView take focus while detached" 2011-08-09 00:03:16 -07:00
Adam Powell
b3750133db Fix bug 5135608 - Let AbsListView take focus while detached
While it is valid to request focus while detached from a window,
AbsListView did not handle it gracefully if it had an adapter whose
data changed while the view was detached, since DataSetObservers are
unregistered during this time. Assume that the data could have changed
if we gain focus while detached.

Change-Id: Id135693ffcc48ff5a9d530d335ab449180624c43
2011-08-08 23:50:25 -07:00
Dianne Hackborn
a44abeb125 Improve window manager debug output.
Cleaned this up while I was debugging another issue.

Change-Id: I0663b9ed581c6868b59655a0f994d870971ec1a6
2011-08-08 19:24:28 -07:00
Chet Haase
cbbd93ae70 Fix ViewPropertyAnimator duration and startDelay issues
getDuration() wasn't returning the correct thing in some cases, and
setStartDelay() had no effect whatsoever. Fixed those.

Change-Id: I89f930535ec1acddf57227937a9ad64986548998
2011-08-08 17:34:25 -07:00
Chet Haase
4295ca00e1 Merge "Fix cancellation of AnimatorSet when child animation has delay" 2011-08-08 15:13:12 -07:00
Romain Guy
06db72d5f8 Merge "Don't draw more than what we need." 2011-08-08 15:09:27 -07:00
Chet Haase
8b699792b6 Fix cancellation of AnimatorSet when child animation has delay
Previously, AnimatorSet incorrectly checked whether child animations were
'running' to figure out what to cancel. If a child animation was started, but
sitting in a startDelay phase, it was not 'running', so the right cancel/end
events would not propagate.

The fix is to add a new isStarted() API to Animator, which returns true when
the animator has started (but not yet ended), regardless of whether the animator
has a startDelay or not. It's basically a superset of the existing isRunning()
method, which only returns true when an animator has actually started setting values.

Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
2011-08-08 15:05:53 -07:00
Adam Powell
68c5f17c53 Merge "Fix bug 5116434 - Bookmark label is not highlighted." 2011-08-08 15:00:32 -07:00
Romain Guy
c3166e15f8 Don't draw more than what we need.
Change-Id: Ifeac66d379a48e8a1124188125e029421eb24226
2011-08-08 15:00:03 -07:00
Adam Powell
faa6ffa484 Fix bug 5116434 - Bookmark label is not highlighted.
Let the action bar tab strip handle its own height changes.

Change-Id: I9b79702c757c736ef7872a43316965cea1a5cc97
2011-08-08 14:48:28 -07:00
Fabrice Di Meglio
98d29b44f7 Merge "Follow up to TextView's baseline is correctly computed for empty text" 2011-08-08 14:47:02 -07:00
Daniel Lehmann
f6d3079f98 Merge "Don't perform query if QuickContactBadge has been initialized via assignContactUri" 2011-08-08 13:06:01 -07:00
Fabrice Di Meglio
535f6dba69 Merge "Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR"" 2011-08-08 12:42:51 -07:00
Fabrice Di Meglio
9c89d5dc82 Revert "Fix bug #5114358 If writing Numbers with Hebrew & Arabic keyboard, they appear as LTR"
This reverts commit 6850c7aff5b08225ab1793dd721a795cb4192f6f

The referenced bug was actually not a bug. It was working as intended.
2011-08-08 12:17:03 -07:00
Chia-chi Yeh
880f64ac10 Merge "VPN: introduce VpnService as the base class for user space VPN." 2011-08-08 11:33:57 -07:00
Chia-chi Yeh
199ed6ef89 VPN: introduce VpnService as the base class for user space VPN.
Change-Id: I4793a6eb51b33f669fc6d39e1a16cf5eb9e3d851
2011-08-08 11:15:41 -07:00
Adam Powell
3a02ff1300 Merge "Fix bug 5112702 - switches should have "ON" on the right" 2011-08-08 09:53:36 -07:00
Adam Powell
e112567b45 Merge "Fix bug 5116342 - don't keep fragment state around once resumed" 2011-08-08 09:53:23 -07:00
Fabrice Di Meglio
850dffa01b Follow up to TextView's baseline is correctly computed for empty text
Was bug http://code.google.com/p/android/issues/detail?id=15598

- optimize https://android-git.corp.google.com/g/#/c/107901/1

Change-Id: I20abd82a97adc71f04a5afba54eb679f708236f8
2011-08-08 09:45:09 -07:00
satok
03b2ea1102 Support xml configuration file for the spell checker and add the spell checker subtype
Change-Id: I74715855525fc0a1282238d593ad37aefd42bfc3
2011-08-08 19:29:26 +09:00
Dianne Hackborn
7d608423b7 Move OOM kernel settings to activity manager.
The activity manager now take care of plugging the correct settings
into the OOM killer in the kernel.  This is a lot cleaner because
it is really central to how the activity manager works, and nobody
else cares about them.

Taking advantage of this, the activity manager computes what it
thinks are appropriate OOM levels based on the RAM and display
size of the device.

Also a small optization to the package manager to keep a binding
to the package install helper for a bit after done using it, to
avoid thrashing on it.

And some new APIs that are now needed by Settings.

Change-Id: I2b2d379194445d8305bde331c19bde91c8f24751
2011-08-07 20:20:56 -07:00
Daniel Lehmann
e13e55b9bb Don't perform query if QuickContactBadge has been initialized via
assignContactUri

Also changes:
 - Remove handling of mMode, as QuickContact now ignores this anyway
 - Don't draw the overlay-triangle if no action can be performed

Bug:5132023
Change-Id: I8d6f8df9caf140fdade8683bd7b22d53c28994f4
2011-08-07 19:51:28 -07:00
Adam Powell
ec1d60369f Fix bug 5112702 - switches should have "ON" on the right
Make Switches obey the Grand Unified Theory of Button Ordering.
This also matches their behavior with volume/brightness sliders.

Change-Id: I4e72801e81b10002542a05f61c99a57991f130ff
2011-08-07 18:03:39 -07:00
Adam Powell
9520251003 Fix bug 5116342 - don't keep fragment state around once resumed
Clear out saved fragment/view state when a fragment is resumed in case
we didn't need to restore it. This keeps it from hanging around and
preventing proper save/restore behavior later.

Change-Id: Ie3fce5534ee4f8fdb4116281f9ac6a9cfa392561
2011-08-07 17:20:17 -07:00
Adam Powell
8868f9797c Merge "Fix bug 5011824 - New Holo overflow menu for physical menu key devices" 2011-08-07 16:59:02 -07:00
Adam Powell
a7845ed44a Fix bug 5124712 - allow partial items when measuring height of list popups
Change-Id: I59c9fc6d5dcd21679ba67d7c233ecd9d7e19d21c
2011-08-07 15:48:25 -07:00
Adam Powell
dfee59afb3 Fix bug 5011824 - New Holo overflow menu for physical menu key devices
The new Holo-style overflow menu now appears from the edge of the screen
where the device's physical menu key can be found. The policy determining
this lives in getPreferredOptionsPanelGravity() in WindowManagerService.

Change-Id: I8851a2265547156591e82044e50b5cfc58d3eefa
2011-08-07 14:17:30 -07:00
Isaac Levy
8dc6a1b282 Watchdog notify on explicit connect
Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
2011-08-05 20:45:08 -07:00
Dianne Hackborn
9c181ffbda Merge "Improved memory use reporting." 2011-08-05 18:18:52 -07:00
Dianne Hackborn
b437e090ec Improved memory use reporting.
Change-Id: I38e53e6228bba92a142bafeedb5af8df4e4e5724
2011-08-05 18:18:05 -07:00
Gilles Debunne
cb2516bb66 The PASTE action is always displayed, even when starting a selection
Change-Id: I5269490f411de2bf6195956aead240a3908026e7
2011-08-05 17:02:54 -07:00
Gilles Debunne
232cbab493 Handles' position are updated in case of external change.
A 'Select All' for instance will alter the selection and the handles
have to updated accordingly.

Change-Id: I8ac91c858e7944a7b4ce1b37a3d90609a3003d22
2011-08-05 16:54:45 -07:00
Wink Saville
fb87cf606a Merge "resolved conflicts for merge of 7bb2d942 to master" 2011-08-05 13:55:39 -07:00
Matthew Xie
c5708036b4 Implement switchConnectable with Powered property setting instead of scan modes
Bluez powered property setting is more apropriate for what this method intend to
achieve and it fixes a bug that incoming connection request wake up the stack in
HotOff state
bug 5080232

Change-Id: I1e29314041f082c1536b46f9707d17d463ae0fd7
2011-08-05 11:58:23 -07:00
Wink Saville
2b30afdbad resolved conflicts for merge of 7bb2d942 to master
Change-Id: I026b01805c81d8b26d22e4a195e5e38655a34d32
2011-08-05 11:40:22 -07:00
Jaikumar Ganesh
32a1e19aba Merge "Provide address and name in BT Hot off state." 2011-08-05 11:37:22 -07:00
Jaikumar Ganesh
a66590ed78 Provide address and name in BT Hot off state.
Clients need this before BT is turned on.
Todo: If BT "hot" feature is off, read from system properties.

Change-Id: I266c2d4731cacde7a53c65e3d5fb43a2cbe29481
2011-08-05 11:34:06 -07:00
Philip Milne
c218cacee0 Merge "Remove call to setPadding() in setUseDefaultMargins()." 2011-08-05 11:32:20 -07:00
Philip Milne
b559976a50 Remove call to setPadding() in setUseDefaultMargins().
It is not possible for teh user to override the assigned padding values
because the XML attributes are processed in the opposite order.

Also, make the XML and Java examples grid3.xml and Activity2.java
consistent in preparation for a move to API demos.

Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
2011-08-05 11:24:55 -07:00
Martijn Coenen
a37fcbce59 Add Android app RTD type and convenience method.
Change-Id: I4e6351c86a0062efc9a9f90e75c04f6520e50c4f
2011-08-05 09:59:45 -07:00
Ben Murdoch
a7f0ed4620 Add a flag to force suppression of the auth dialog.
Requires external/webkit change:
If8c6f22e8307e1e13b8f7ad29f79305ce24b3255

Requires packages/apps/Browser change:
Id901855830bbe17ede8a18293cff2bbc0aad4ba8

Bug: 5094761
Change-Id: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8
2011-08-05 16:08:52 +01:00