19449 Commits

Author SHA1 Message Date
Fabrice Di Meglio
3aa7bf7330 Merge "Fix bug #5017432 NPE when mixing different spans with different font sizes" 2011-08-09 18:35:20 -07:00
Fabrice Di Meglio
b8503eb8ac Fix bug #5017432 NPE when mixing different spans with different font sizes
- fixed typo

Change-Id: I282f8bf2a72117709666e1ffc9ec8e8b5583d321
2011-08-09 18:18:27 -07:00
Jaikumar Ganesh
d2344ce087 Merge "Check for BT state when sending Bond State Change intent." 2011-08-09 17:33:18 -07:00
Jaikumar Ganesh
bc85a087c9 Check for BT state when sending Bond State Change intent.
When users use application specific Bluetooth state changes,
and the bond state changes, we crash.

We need to recheck Bluetooth state in all functions and scenarios
and even maintain a per application pid Bluetooth state, but this fix
is quick fix for a problem.

Change-Id: I905dfb53965907ccb27757ff6ed1816536277f14
2011-08-09 17:18:29 -07:00
Adam Powell
74df8e3492 Merge "Flingable switches" 2011-08-09 16:38:21 -07:00
Amith Yamasani
dd93a7923c Merge "Added methods to change text entry mode in SearchView." 2011-08-09 16:37:53 -07:00
Adam Powell
01d11edc1e Flingable switches
Change-Id: I640656358cf28569242d900d41493a69845f7305
2011-08-09 16:32:12 -07:00
Amith Yamasani
5607a38271 Added methods to change text entry mode in SearchView.
Bug: 5143618

Handle imeOptions and inputType attributes in SearchableInfo.
Methods to directly modify those attributes on SearchView.

Change-Id: I340617767f930ecb1b1ad5ab2696bc613982a20b
2011-08-09 15:16:08 -07:00
Flavio Lerda
af61fd0fd4 Merge "Add geocoded location to call log." 2011-08-09 14:22:10 -07:00
Jeff Sharkey
82f006f672 Merge "Add progress to Notification.Builder." 2011-08-09 14:01:09 -07:00
Jeff Sharkey
541d8ea32d Merge "Fix random stats generation for debugging." 2011-08-09 14:00:57 -07:00
Fabrice Di Meglio
61ccc6a203 Merge changes I46744e51,I1f566cce
* changes:
  Solidify and optimize Paint text related APIs
  Add more optimizations for Text measuring / breaking / getting advances
2011-08-09 13:54:43 -07:00
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
Jeff Sharkey
1c40013bb2 Add progress to Notification.Builder.
Provide method to surface progress when building a notification. Also
manages visibility of various items, including hiding the entire line
when unneeded.

Bug: 4022082, 3399877
Change-Id: I90d8fca383c746001aadc6c5f21c68a23bb937e5
2011-08-09 11:19:32 -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
Flavio Lerda
270f930ce8 Add geocoded location to call log.
Since computing the geocoded location is an expensive operation, add the
geocoded location once and for all when inserting in the call log.

Bug: 5129581
Change-Id: I6017c993a52b461eed395ce5e5a9373018e2087a
2011-08-09 12:01:13 +01: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
Fabrice Di Meglio
15c097a1c2 Add more optimizations for Text measuring / breaking / getting advances
- do not go to native if this is not needed (empty or null text)
- do expandMetricsFromPaint() in TextLine when needed instead of calling handleText()
with emty string just for doing expandMetricsFromPaint()

Change-Id: I1f566ccef66cbc990ebbb77ef149899119e37e84
2011-08-08 14:42:41 -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