18125 Commits

Author SHA1 Message Date
Xia Wang
b97435c94f Modify connectivity manager test suite so that it can be run on Wi-Fi
only device.

DO NOT MERGE

bug id: 3511242

Change-Id: I7dc6d30793cf679b53af571f58b7405ab9e33299
2011-03-03 18:46:24 -08:00
Eric Fischer
190586b723 Import revised translations. DO NOT MERGE
Change-Id: I2468a95f482f8839158250901d9b52ce9d8e41ad
2011-03-02 13:59:44 -08:00
Jason Chen
d616d5054f Merge "Bugfixes in StaticLayout. DO NOT MERGE." into honeycomb 2011-03-01 17:56:06 -08:00
Jason Chen
ef7aed89b6 Merge "DO NOT MERGE Cherry-pick of cd59febcea2 from master" into honeycomb 2011-03-01 17:50:51 -08:00
Gilles Debunne
22847209c4 Bugfixes in StaticLayout. DO NOT MERGE.
Bug 3422121

Cherry-picked from master's 95472.

With ellipsize, lines starting with a very long word that does not
fit inside the width were simply ignored. Cut the long word instead.

start - widthStart index offset shift in BiDi.

The original ellipsize-end patch that added '...' after the last
word on end-ellipsized lines has been punted in favor of a true
ellipsize support in I.

I believe the StaticLayout calculateEllipsise is a no-op since textwidth <= avail
by construction: fitWidth and okwidth are < outerWidth. The only exception is the
paraEnd != here case in generate (when not a single character fits in width).
This case is exercised by StaticLayoutTest in cts (width of 8 pixels) and revealed
an offset error in widstart.

All in all, it looks like this code was probably never really tested. I tried some
typical text configuration to make sure these changes improved the situation.

Change-Id: I6c2cb26436a21f0f89078c275a89e891f0f23b92
2011-03-01 17:41:23 -08:00
Gilles Debunne
4797f020cd DO NOT MERGE Cherry-pick of cd59febcea2 from master
AIOOB exception fix in TabWidget

Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: If5015aaa2d5574939fd5d6c6362ed6db94d35d4a
2011-03-01 16:46:36 -08:00
Eric Fischer
86b7a59726 Import revised translations. DO NOT MERGE
Change-Id: I6f5f40b8dbbe271ccbb5493b3a6d7d1f08d1bdb3
2011-03-01 14:17:03 -08:00
Eric Fischer
877acf5dda Import revised translations. DO NOT MERGE
Change-Id: I4e3908e02fbb60782dbf760dd5ff28e1ff2d75c7
2011-02-28 13:58:10 -08:00
Mike Lockwood
69e19ae15b DO NOT MERGE: KeyguardManager: Fix copy & paste error in isKeyguardLocked()
BUG: 3402847

Change-Id: Ic731e49b43fa40df6f8b658d8620a99a85c346e6
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:22 -05:00
Mike Lockwood
6aea1154ba DO NOT MERGE: KeyguardManager: Add isKeyguardLocked() and isKeyguardSecure()
BUG: 3402847

Change-Id: I7cb199763e8d5386914b4c2173c9e1579b08674c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-26 14:32:00 -05:00
Eric Fischer
0484786af7 Import revised translations. DO NOT MERGE
Change-Id: I75f16cb4c3d9a4caa1234a86fbba9cae6799d180
2011-02-25 10:47:43 -08:00
Eric Fischer
1c38872fd3 Merge "Import revised translations. DO NOT MERGE" into honeycomb 2011-02-24 11:15:53 -08:00
Eric Fischer
f951bbf957 Import revised translations. DO NOT MERGE
Change-Id: I6a05c3031a451b0d288762f079203a412133dd14
2011-02-24 10:50:23 -08:00
Irfan Sheriff
5107eea64e Merge "DO NOT MERGE Add support for background scanning" into honeycomb 2011-02-23 16:59:55 -08:00
Scott Main
201959af6e Merge "docs: fix sensorevent code snippets bug: 3480932" into honeycomb 2011-02-23 15:58:13 -08:00
Irfan Sheriff
ae388dac6d DO NOT MERGE No backup of country and sleep policy
Remove country code and sleep policy setting back up as it
is a device specific setting

Bug: 3481068
Change-Id: Ifc824c1cd3c3706f8cdaf09b06a05a0c94243acb
2011-02-23 13:51:52 -08:00
Scott Main
d11ee90b6e docs: fix sensorevent code snippets
bug: 3480932

Change-Id: Id97ca4e0edfb92eaac0f2996bc5e91d757644afb
2011-02-23 10:57:23 -08:00
Scott Main
2788e4f96a docs: fix some typos
Change-Id: I2dc9855f8fe87234d4337351e8bac6c382fb74d2
2011-02-23 10:54:31 -08:00
Irfan Sheriff
74ff3d23f9 DO NOT MERGE Add support for background scanning
Background scanning (preferred network offload) allows us the
host to sleep while the dongle monitors the presence of any
preferred networks. This allows us for significant power savings
since the system does not have to wake up often to initiate
a scan

Bug: 3453021
Change-Id: I73dcf4e1c9ab4de280c40b6df6147a74ac003123
2011-02-23 10:49:36 -08:00
Nick Pelly
8bbd11cc09 DO NOT MERGE.
Minor doc update.

Change-Id: I915b39fd858dcc0f20853203cc555c72115cb52b
2011-02-18 02:18:19 -08:00
Andy Stadler
b183508516 Merge "@hide DPM global proxy settings" into honeycomb 2011-02-16 12:18:39 -08:00
Andy Stadler
d26727273d @hide DPM global proxy settings
They don't work as advertised, so remove from SDK.

Bug: 3460938

Change-Id: I87f80ebf38b228a4085630f1c2526c1d86b93dd7
2011-02-16 10:53:33 -08:00
Eric Fischer
abe92da72f Import revised translations. DO NOT MERGE
Change-Id: Id7d999bfc9d422292aa81d5a8c579840e9cc1438
2011-02-16 10:18:37 -08:00
Scott Main
13033ea527 docs: fix misc broken links
Change-Id: Id7d0ee36398aca452ceb2c3d15982397f58a06c6
2011-02-15 16:00:37 -08:00
Nick Pelly
a8d3f02aaa DO NOT MERGE
Reconcile documentation updates from gingerbread to honeycomb.

Change-Id: I8c199906beb5cd3c290ded123d6aefd0d1697f30
2011-02-09 23:43:24 -08:00
Eric Fischer
b8a036307a Import revised translations. DO NOT MERGE
Change-Id: I989585acd6f901a82e8db9b07257af5a5736989e
2011-02-08 18:00:38 -08:00
Scott Main
b508d6e26e Merge "docs: fix links to revised fundamentals documents" into honeycomb 2011-02-08 13:34:51 -08:00
Scott Main
7aee61f5a9 docs: fix links to revised fundamentals documents
Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
2011-02-08 11:37:44 -08:00
Eric Fischer
7dd2196e8b Import revised translations. DO NOT MERGE
Change-Id: Icb56518620be62481ed0d152f7eb9ab44d6f759d
2011-02-07 17:19:23 -08:00
Scott Main
b0f1cfffd9 Merge "docs: SearchView is iconified by default" into honeycomb 2011-02-07 09:33:32 -08:00
Scott Main
cccdbe9acb docs: SearchView is iconified by default
Change-Id: Iabe0fdc0b28847f0c401e3692932a73b7d595c88
2011-02-06 16:28:05 -08:00
Paul Eastham
be46d1456b Revert "Fix for StaticLayout bug with ellipsized text"
This reverts commit bbc910f229dec45fa7481a62fbf051f7ff3130e7.
2011-02-04 19:17:54 -08:00
Mike Cleron
2d47fd3c35 Merge "Fix crash when Paths are GCd in hw accelerated apps" into honeycomb 2011-02-04 15:29:28 -08:00
Eric Laurent
2e96f15d8c Merge "Fix issues 3425035 and 3423785." into honeycomb 2011-02-04 14:06:40 -08:00
Gilles Debunne
a324a5810c Merge "Fix for StaticLayout bug with ellipsized text" into honeycomb 2011-02-04 13:59:29 -08:00
Chet Haase
5a7e828842 Fix crash when Paths are GCd in hw accelerated apps
A recent change to optimize path rendering didn't account for
the destruction of native objects by the VM finalizer. We may be
done with the Java level version before we're done with the native
structure that's used by the display list. For example, a drawing
method on a View that creates a temporary path to render into the
canvas will implicitly create a native structure that is put onto
the GL display list. That temporary path may go away, but the native
version should stick around as long as the display list does.

The fix is to refcount the original native version of the path
and only delete it when the refcoutn reaches zero (which means that
it is no longer needed by any display list). This is a similar mechanism
used for bitmaps and shaders.

Change-Id: I4de1047415066d425d1c689aa60827f97729b470
2011-02-04 12:50:55 -08:00
Eric Laurent
402f7f2963 Fix issues 3425035 and 3423785.
- Make sure that STREAM_MUSIC is affected by ringer mode on non voice capable
devices whatever the saved settings say.

- Added a hidden method to AudioManager for VolumePanel to override
the stream selection logic while the panel is showing.

Change-Id: Ib2ff2a7af63decb4e29c45700c41e5058f79d877
2011-02-04 12:39:14 -08:00
Mike Cleron
b857874110 Merge "Fix issue #3424823: 4-corner trick causes runtime restart" into honeycomb 2011-02-04 11:53:58 -08:00
Dianne Hackborn
912d9d1369 Fix issue #3424823: 4-corner trick causes runtime restart
Change-Id: Ibd3fc63d0ab975a2b74765a00023c7f783b24216
2011-02-04 10:35:36 -08:00
Patrick Scott
b88e52c760 Need a public way to wait for cookie operations.
Hidden for now as we are past the public api deadline.

Bug: 3421214
Change-Id: I8a65ae479d0b8b020af2600d7d29d5d358414add
2011-02-04 12:52:46 -05:00
Romain Guy
43703325d8 Merge "New default wallpaper" into honeycomb 2011-02-03 23:04:50 -08:00
Romain Guy
43a1da0807 New default wallpaper
Change-Id: Iddb593e0b1775725b1bfaa2c74fb2f53fb7a4561
2011-02-03 22:36:03 -08:00
Mike Cleron
f6141980c8 Merge changes I46acd27a,I70b322e1 into honeycomb
* changes:
  aa is better than cc
  Prevent ProgressBar from slowing down everything. bug #3422568
2011-02-03 21:17:09 -08:00
Daniel Sandler
4ad2547fe0 Merge "Ongoing notification for GPS use." into honeycomb 2011-02-03 20:49:10 -08:00
Eric Laurent
e6955f8e38 Merge "Issue 3371080: fix VolumePanel in mute state" into honeycomb 2011-02-03 19:35:57 -08:00
Eric Laurent
d72d51c77a Issue 3371080: fix VolumePanel in mute state
VolumePanel must take stream mute state into account before displaying
the update stream volume.

Change-Id: I03a1697c25fca3fa56f892e3d426d00906abeb79
2011-02-03 18:47:47 -08:00
Jim Miller
0d47ac1176 Merge "Fix 3419077: Allow subclasses to change SeekBarPreference action buttons." into honeycomb 2011-02-03 18:39:39 -08:00
Jim Miller
4ce0cad1b3 Merge "Issue 3371080: fix volume update in mute state." into honeycomb 2011-02-03 18:29:36 -08:00
Daniel Sandler
e40451a89d Ongoing notification for GPS use.
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.

The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).

Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).

Bug: 3412807

Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
2011-02-03 21:11:46 -05:00
Romain Guy
2f57ba56b3 Prevent ProgressBar from slowing down everything.
bug #3422568

Change-Id: I70b322e140a8fdbe504c6984c54a22bcb7b753e7
2011-02-03 18:03:29 -08:00