24817 Commits

Author SHA1 Message Date
Gilles Debunne
f874c4f934 Merge "Spell checking in TextViews" 2011-08-24 17:53:42 -07:00
Adam Powell
4dded27cb5 Merge "Fix bug 5211053 - use actionBarItemBackground for overflow" 2011-08-24 17:49:14 -07:00
Dianne Hackborn
c2644096b7 Merge "Fix issue #5050039: Launcher is sometimes rendering underneath the system/status bar" 2011-08-24 17:39:07 -07:00
Dianne Hackborn
49d228b3f3 New API to determine if device has lots of RAM.
Change-Id: Ie243e851960fdd9e1ebeaf1c1929879193620051
2011-08-24 17:37:31 -07:00
Adam Powell
04db9b6b03 Fix bug 5211053 - use actionBarItemBackground for overflow
Change-Id: I3f26a32dca648ae7cc8d77191f4ab24471175cc5
2011-08-24 17:34:20 -07:00
Romain Guy
c39e8e89eb Merge "Add OpenGL backend to ImageWallpaper Bug #5204874" 2011-08-24 17:09:30 -07:00
Dianne Hackborn
19bc995e9a Merge "Fix animation scale to also scale start offset." 2011-08-24 17:07:51 -07:00
Romain Guy
407ec78b82 Add OpenGL backend to ImageWallpaper
Bug #5204874

Currently disabled.

Change-Id: I5e7b35dce2981b0691f107e39c6394b260466543
2011-08-24 17:06:58 -07:00
Dianne Hackborn
fa6b35be12 Fix issue #5050039: Launcher is sometimes rendering underneath the system/status bar
It looks like this is caused by the change in HC to stop activities when
the screen is off.  ViewRootImpl (a.k.a. ViewRoot) has special code to
avoid doing work when it is stopped, and it is now stopped when the screen
is off.  The problem here is if the window's activity is stopped when the
window is first displayed, then it would never do the initial fitSystemWindows()
with the status bar offsets given by the window manager, and never do this
again until the status bar changes.

Also included here is some re-arranging of the code dealing with the offsets
changing, because it was dealt with in two places and only one had a bunch of
code dealing with HW accelerated drawing and performing the fade transition
between states.  Now all of that is unified into one place.

Change-Id: I9828f02664cc622dbf186effb1f685a8aa4456a1
2011-08-24 17:03:54 -07:00
Adam Powell
28853aaf89 Merge "Fix bug 5191728 - Specialized formatting in the split action bar" 2011-08-24 16:58:07 -07:00
Katherine Kuan
1d837232d2 Add DATA_SET value to Entity from EntityIterator cursor
Account name and account type are being retrieved from the
cursor for the contact, but account dataset, which is the
3rd value to uniquely distinguish an account is missing.

Bug: 5210676
Change-Id: I85f93b3fa19839734e4e22928382e0f786ed8ee2
2011-08-24 16:45:59 -07:00
Daniel Lehmann
e8aae096d8 Add Contact ID to StreamItem-Fields
Bug:5134325

Change-Id: I541c6d1c7ac06abb234985cf056f31b3dee712c2
2011-08-24 16:41:00 -07:00
Svetoslav Ganov
8bd69610aa Intra-process view hierarchy interrogation does not work.
The content retrieval APIs are synchronous from a client's
perspective but internally they are asynchronous. The client thread
calls into the system requesting an action and providing a callback
to receive the result after which it waits up to a timeout for that
result. The system enforces security and then delegates the request
to a given view hierarchy where a message is posted (from a binder
thread) describing what to be performed by the main UI thread the
result of which it delivered via the mentioned callback. However,
the blocked client thread and the main UI thread of the target view
hierarchy can be the same one, for example an accessibility service
and an activity run in the same process, thus they are executed on the
same main thread. In such a case the retrieval will fail since the UI
thread that has to process the message describing the work to be done
is blocked waiting for a result is has to compute! To avoid this scenario
when making a call the client also passes its process and thread ids so
the accessed view hierarchy can detect if the client making the request
is running in its main UI thread. In such a case the view hierarchy,
specifically the binder thread performing the IPC to it, does not post a
message to be run on the UI thread but passes it to the singleton
interaction client through which all interactions occur and the latter is
responsible to execute the message before starting to wait for the
asynchronous result delivered via the callback. In this case the expected
result is already received so no waiting is performed.

bug:5138933

Change-Id: I382e2d8689f5189110226613c2387f553df98bd3
2011-08-24 16:26:43 -07:00
Adam Powell
be3c329ebe Fix bug 5191728 - Specialized formatting in the split action bar
Visually center a single text menu item in the split action bar even
when an overflow button is present.

Fix a bug in allocating space in the split action bar.

Change-Id: I54eff86bf35197030c9c1656ebd71297e3c8b62b
2011-08-24 16:03:31 -07:00
Jeff Sharkey
558a232006 Data usage buckets active time, parsing ISE.
When recording data usage, measure the actual active time, since
buckets can be quite long.  Offer incrementOperationCount() version
that reads thread stats tag for caller.  Rethrow any NPE as ISE
during stats parsing, which callers already handle.

Bug: 5171812, 5184508, 5180659
Change-Id: I6da80ccc0162be68bee279529e3a23b6f98ebd87
2011-08-24 16:00:39 -07:00
Dianne Hackborn
a4bacb8b74 Fix animation scale to also scale start offset.
Also more better info in meminfo dump.

Change-Id: I45ab41821cd8dd81b61605de6a0cf7074e76c71a
2011-08-24 15:12:38 -07:00
Dianne Hackborn
2da59ffbda Merge "Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button" 2011-08-24 12:07:10 -07:00
Flavio Lerda
192df696d3 Merge "Add a few columns for caching to the call log." 2011-08-24 12:07:03 -07:00
Dianne Hackborn
cfb9f2bca3 Fix issue #5192141: systemui asplodes after enough tapping on the windowlist button
Change-Id: I5afb2d54b531d9eac9435660616579324f239812
2011-08-24 12:06:15 -07:00
Irfan Sheriff
a407aef898 Merge "Added support for multiple DNS servers." 2011-08-24 11:46:12 -07:00
Chet Haase
4694b7f186 Merge "Fix docs for fill behavior in Animation class." 2011-08-24 11:38:23 -07:00
Justin Ho
de48515a86 Merge "Updated background assets for notifications." 2011-08-24 11:00:15 -07:00
Narayan Kamath
6d6329621e Deprecate old TTS settings that are no longer in use.
These settings can never be written to by engines and apps
anyway, and reading them does not serve any useful purpose.
The only code that needs to read these settings are the framework
TTS classes.

bug:5149036
Change-Id: I1f95977d241eb6b550105f45d29fee889da3fbd1
2011-08-24 17:45:37 +01:00
Justin Ho
8761db3f46 Updated spinners (again)
Bug: 5076695, 5165156

Change-Id: I939f8332617c04ba07a31955f0b15c0fa4f490f7
2011-08-24 08:32:08 -07:00
Chet Haase
d8991c4ab0 Fix docs for fill behavior in Animation class.
Change-Id: I9230e9b9841dbecead51a6716195749b0c5a0e39
2011-08-24 07:20:53 -07:00
Flavio Lerda
2d538d44e2 Add a few columns for caching to the call log.
These columns store additional information about the contact associated
with a call log entry and are needed by the new functionality present in
the call log.

The information is used only internally by the call log, so these column
do not need to be part of the public API.

Bug: 5101753
Change-Id: Ie2160a157497f10ba5fc95c5fcf3b4095a99753a
2011-08-24 13:02:34 +01:00
satok
cfc0f2c206 Merge "Add functions to set / get SpellCheckerSubtype" 2011-08-24 00:26:01 -07:00
satok
ada8c4e6a3 Add functions to set / get SpellCheckerSubtype
Change-Id: I977326879fe201c4dee4a87da361217175eb6041
2011-08-24 16:00:55 +09:00
Adam Powell
bc714a357d Merge "Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back and forth." 2011-08-23 21:56:16 -07:00
Jeff Sharkey
006efb2470 Merge "Proactively disable data when over policy limit." 2011-08-23 21:26:51 -07:00
Adam Powell
94f67e2af6 Fix bug 5205275 - SwitchPreference doesn't allow Switch to slide back
and forth.

Also have the SwitchPreference's Switch widget's onClick listener
toggle the switch rather than invoke the preference's own onClick
method. This will allow subclasses to assign different behavior to
clicking the preference itself if desired.

Change-Id: I97e3b7a786e9f0e8bdc03c0ed6001caa7dcd991b
2011-08-23 21:17:07 -07:00
Peter Ng
6ccd7a59c6 Updated background assets for notifications.
- Replaced diagonal lines tile for notification icon backgrounds
  - Switched tablet ticker background to use same assets as icon bg
  - Flat #191919 behind notifications
  - Changed date in windowshade (no longer bold)

Change-Id: I2cc260f99e57566160630118b04fbb72274f62f3
2011-08-23 18:56:17 -07:00
Jeff Sharkey
8e9992ae50 Register for kernel global data usage alerts.
Instead of polling every 15 minutes, register for alerts that trigger
when system-wide traffic passes a threshold.  Still mixed with polling
to persist UID stats, but relaxed to 30 minutes.  Currently watches
for every 512kB.

Make persistence decision separately for network versus UID, and use
total delta bytes when making decision.  Use light bootstrap during
systemReady() instead of heavy poll, which had been force-loading all
UID data unnecessarily.

Bug: 5023631
Change-Id: I04b723d6c4bf872fb1028071122dba66a8e1b576
2011-08-23 18:46:14 -07:00
Jeff Sharkey
8e28b7d782 Proactively disable data when over policy limit.
Add policy controls to NetworkStateTracker which are combined with
other user preference and internal flags to decide if data connection
should be established.  Better locking around enabled flags.

When data network would be over limit, proactively disable data on
that network.  Enable when policy is snoozed or when cycle resets.

Track and dismiss notifications from now-stale policies.

Bug: 4587023, 5178147
Change-Id: Ibfcc9f73cda7c369209af701b46eddd3d1943f2d
2011-08-23 18:45:44 -07:00
Dianne Hackborn
332645960c Merge "Fix issue #4279860: previous UI flashes before showing lock screen..." 2011-08-23 18:13:51 -07:00
Dianne Hackborn
29aae6f36e Fix issue #4279860: previous UI flashes before showing lock screen...
...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition.  There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
2011-08-23 17:44:52 -07:00
Adam Powell
0e1e5223f9 Merge "Fix bug 5149918 - Can't call ProgressDialog.setProgressNumberFormat() before dialog is shown" 2011-08-23 17:11:33 -07:00
Adam Powell
5d4faa91f7 Fix bug 5149918 - Can't call ProgressDialog.setProgressNumberFormat()
before dialog is shown

Change-Id: I287637e022fb653f02b45b34075eccb68e4a9221
2011-08-23 16:52:35 -07:00
Justin Ho
5b56f7d6f6 Merge "Updated spinners Bug: 5076695, 5165156" 2011-08-23 16:49:55 -07:00
Justin Ho
a34b06309e Updated spinners
Bug: 5076695, 5165156

Change-Id: I5613d03806ddf27742509e32b4050733ba45dbfb
2011-08-23 16:44:55 -07:00
Christopher Tate
60ce25b34d Merge "Warn only if we're tearing down "live" DeathRecipient content" 2011-08-23 16:43:30 -07:00
Christopher Tate
2611f89ab4 Warn only if we're tearing down "live" DeathRecipient content
If the native-side bookkeeping still has strong references to VM-side
DeathRecipient objects at the time when it's being torn down, that
suggests that the app is doing unwholesome.  Log a warning to that
effect, with the class name of the objects to try to help the developer
figure out what they're mishandling.

Fixes bug 5202777 -- in particular, it no longer logs in the
working-as-intended case following delivery of the death notices,
when we've got the existing list shell but the weak refs have properly
cleared.  Also step down from "error" to "warning" logging as befits
the nature of the actual situation now being described.

Change-Id: Ic393560824800fbd912a6e69692c65be4fcc7544
2011-08-23 16:26:57 -07:00
Chet Haase
09d569a57e Merge "Fix invalidation roundoff error with old animations" 2011-08-23 15:11:48 -07:00
Chet Haase
530b22ab4e Fix invalidation roundoff error with old animations
We need to add .5 to the width/height of invalidation areas to
avoid truncation errors.

Change-Id: Iaa2407a91a6a7f6d729af21d45e77e436197df11
2011-08-23 14:36:55 -07:00
Justin Ho
09162403b5 Merge "Updated popup assets Bug: 5080369" 2011-08-23 14:22:14 -07:00
Adam Powell
4af9ce060d Merge "Fix bug 5202226 - Leave menu button visible for no-button phones if targetSdk < ICS" 2011-08-23 14:15:05 -07:00
Adam Powell
82349c54ce Fix bug 5202226 - Leave menu button visible for no-button phones if
targetSdk < ICS

Compatibility support for existing apps. Apps in the wild that
properly target <=GB phones and HC tablets should be able to expect
that their small-screen UI will continue to work as intended on ICS
devices. Make sure that we show the soft menu button in the nav bar if
the current device was not officially supported in Honeycomb, the app
does not target ICS or newer, and the window does not have an action
bar.

Change-Id: I069c30841d3827a60ef8040831fde6f4c051d0ee
2011-08-23 14:12:06 -07:00
Justin Ho
3f75d161b8 Updated popup assets
Bug: 5080369

Change-Id: Iff129a4509d6242c7b85bd9dc8201fca3c237021
2011-08-23 14:05:32 -07:00
Isaac Levy
79e43f679d Added support for multiple DNS servers.
Also increased delay on repeat checks for WWSM.

Change-Id: Ic11b1f37a910c483f48e04dadb539b39fe50e622
2011-08-23 14:04:40 -07:00
Jaikumar Ganesh
234144b56a Merge "Make profile connection state API public." 2011-08-23 13:45:59 -07:00