OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Remove compat mode dialog." into honeycomb-mr2
Dianne Hackborn [Tue, 7 Jun 2011 22:45:14 +0000 (15:45 -0700)]
Merge "Remove compat mode dialog." into honeycomb-mr2

13 years agoRemove compat mode dialog.
Dianne Hackborn [Tue, 7 Jun 2011 22:44:22 +0000 (15:44 -0700)]
Remove compat mode dialog.

Change-Id: I37bccdf9d3e7c56048633da5731ad111910e530f

13 years agoMerge "DO NOT MERGE. Experimental compatibility mode UI." into honeycomb-mr2
Dianne Hackborn [Tue, 7 Jun 2011 22:36:51 +0000 (15:36 -0700)]
Merge "DO NOT MERGE. Experimental compatibility mode UI." into honeycomb-mr2

13 years agofix a surface leak introduced by a failed merge (DO NOT MERGE)
Mathias Agopian [Tue, 7 Jun 2011 21:52:22 +0000 (14:52 -0700)]
fix a surface leak introduced by a failed merge (DO NOT MERGE)

Bug: 4558502
Change-Id: Ibf889d03caa806c34603ad45f135b78c3851f55c

13 years agoDO NOT MERGE. Experimental compatibility mode UI.
Daniel Sandler [Tue, 7 Jun 2011 19:29:07 +0000 (15:29 -0400)]
DO NOT MERGE. Experimental compatibility mode UI.

♫ Just another button, for you and me, in the status bar. ♫

(cherry picked from commit 45c0401a0647a5fdc5f37168463c14ad57c5644b)

Change-Id: Ib35d136deadf16f693003b61ea6cfee411f4aa3d

13 years agoMerge "Reveal some network constants." into honeycomb-mr2
Robert Greenwalt [Tue, 7 Jun 2011 19:00:37 +0000 (12:00 -0700)]
Merge "Reveal some network constants." into honeycomb-mr2

13 years agoMake Theme.Holo.Light.NoActionBar and
Adam Powell [Fri, 3 Jun 2011 00:40:51 +0000 (17:40 -0700)]
Make Theme.Holo.Light.NoActionBar and
Theme.Holo.Light.NoActionBar.Fullscreen public.

Change-Id: I623b5908b080e8703b825707a024fa922cd954ab

13 years agoMerge "Fix build." into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 04:06:30 +0000 (21:06 -0700)]
Merge "Fix build." into honeycomb-mr2

13 years agoFix build.
Jeff Brown [Tue, 7 Jun 2011 04:04:14 +0000 (21:04 -0700)]
Fix build.

Change-Id: I9ea07637058e2aa74d20d881bc21fea305cc869e

13 years agoMerge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 03:32:18 +0000 (20:32 -0700)]
Merge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2

13 years agoMerge "Simplify spot tracking logic. Bug: 4124987" into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 03:31:55 +0000 (20:31 -0700)]
Merge "Simplify spot tracking logic. Bug: 4124987" into honeycomb-mr2

13 years agoMerge "Touch pad improvements. Bug: 4124987" into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 03:30:47 +0000 (20:30 -0700)]
Merge "Touch pad improvements. Bug: 4124987" into honeycomb-mr2

13 years agoMerge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 03:27:28 +0000 (20:27 -0700)]
Merge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2

13 years agoRevert velocity damping.
Jeff Brown [Tue, 7 Jun 2011 03:23:54 +0000 (20:23 -0700)]
Revert velocity damping.
Bug: 4364920

Velocity damping proved to be a bad idea because it would
cause a significant ramp in velocity at the beginning of
a gesture, instead of the desired smooth behavior.  Oh well.

Change-Id: Ie631946f47ef2492bd71fbed1ab44bbb39a875a8

13 years agoSimplify spot tracking logic.
Jeff Brown [Tue, 7 Jun 2011 03:03:18 +0000 (20:03 -0700)]
Simplify spot tracking logic.
Bug: 4124987

Since spots are now one-to-one with the touch gesture points,
we can eliminate a lot of redundant logic that assumed they weren't.

Change-Id: Ic60d8d0898c285317f480bc8fb17fb9797770e69

13 years agoTouch pad improvements.
Jeff Brown [Tue, 7 Jun 2011 02:23:05 +0000 (19:23 -0700)]
Touch pad improvements.
Bug: 4124987

Only show one spot per touch point instead of one spot per
finger for multitouch gestures.

Tweaked the pointer acceleration curves.

Dissociated the hover/tap timeouts from the "tap" timeout
since they mean very different things.

Change-Id: I7c2cbd30feeb65ebc12f6c7e33a67dc9a9f59d4c

13 years agoImprove browser scrolling when using the mouse wheel.
Jeff Brown [Tue, 7 Jun 2011 01:59:41 +0000 (18:59 -0700)]
Improve browser scrolling when using the mouse wheel.

The way that smooth scrolling is implemented in the Browser,
repeated requests to scroll by a certain amount do not add up
to one large scroll by the cumulative amount.  This makes
the mouse wheel unusable on large pages because the Browser
will scroll at a more or less constant rate no matter how often
the wheel is turned.

The fix is to not animate scrolls when using the mouse wheel.

Change-Id: I23c05cdd2383944b8730deb225b7f3f57f1729df

13 years agoMerge "Fix issue #4539687: At least one compatibility-mode app (Androminion)..."...
Dianne Hackborn [Tue, 7 Jun 2011 00:30:50 +0000 (17:30 -0700)]
Merge "Fix issue #4539687: At least one compatibility-mode app (Androminion)..." into honeycomb-mr2

13 years agoFix issue #4539687: At least one compatibility-mode app (Androminion)...
Dianne Hackborn [Tue, 7 Jun 2011 00:27:54 +0000 (17:27 -0700)]
Fix issue #4539687: At least one compatibility-mode app (Androminion)...

...will only launch when held in portrait mode.

There was a bug in the window manager that caused all of the careful code to
update the configuration in sync with movements between activities to break.
Now it is fixed, so this app works, and we no longer see the bad slow orientation
changes when switching between activities that want to be in different
orientations.

Change-Id: I5d93f99649849bdaca2e8bebade6b91b8b6cf645

13 years agoMerge "Import the Layoutlib from hc-mr1." into honeycomb-mr2
Xavier Ducrohet [Mon, 6 Jun 2011 23:17:44 +0000 (16:17 -0700)]
Merge "Import the Layoutlib from hc-mr1." into honeycomb-mr2

13 years agomerge various SF fixes from gingerbread to honeycomb-mr2 (DO NOT MERGE)
Mathias Agopian [Mon, 6 Jun 2011 16:55:15 +0000 (09:55 -0700)]
merge various SF fixes from gingerbread to honeycomb-mr2 (DO NOT MERGE)

  Fix a race that could cause GL commands to be executed from the wrong thread.
  RefBase subclasses can now decide how they want to be destroyed.
  Fix a race in SurfaceFlinger that could cause layers to be leaked forever.
  Fix a race-condtion in SurfaceFlinger that could lead to a crash.

initial cherry-pick:
resolved conflicts for merge of b9783b49 to honeycomb-plus-aosp

Change-Id: I2a335e03fff219e35c18a7b0089b3a11d636576f

13 years agoMerge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
Eric Fischer [Mon, 6 Jun 2011 17:38:42 +0000 (10:38 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into honeycomb-mr2

13 years agoImport the Layoutlib from hc-mr1.
Xavier Ducrohet [Sat, 4 Jun 2011 02:38:03 +0000 (19:38 -0700)]
Import the Layoutlib from hc-mr1.

This is squash commit of all the missing patches.

Change-Id: Ie081c46a173290646deddbde503a720d50c4400f

13 years agoMerge "Fix to not lose state when saving a deactivated fragment." into honeycomb-mr2
Dianne Hackborn [Sat, 4 Jun 2011 00:52:23 +0000 (17:52 -0700)]
Merge "Fix to not lose state when saving a deactivated fragment." into honeycomb-mr2

13 years agoFix to not lose state when saving a deactivated fragment.
Dianne Hackborn [Sat, 4 Jun 2011 00:34:45 +0000 (17:34 -0700)]
Fix to not lose state when saving a deactivated fragment.

Also deactivating a fragment shouldn't put it in the exiting state.

Change-Id: I514f3589ee7bbbee131cd7b4a48803e99b212bd0

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Sat, 4 Jun 2011 00:24:55 +0000 (17:24 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I4bfd9ec60da3b224c71406851f0a7f8bbf0c1120

13 years agoAdd old blog posts as articles, batch 1
Roman Nurik [Thu, 19 May 2011 00:50:39 +0000 (17:50 -0700)]
Add old blog posts as articles, batch 1

Change-Id: Ibe1bcf1ceef2eb1a1b4bc0c1b2451ed69838ee3a

13 years agoFix when managed cursors are required.
Dianne Hackborn [Fri, 3 Jun 2011 22:26:01 +0000 (15:26 -0700)]
Fix when managed cursors are required.

Only do this when we are actually restarting, not when we
are just resuming after a pause.

Change-Id: I32fd263917b03776efca8e096d0343107721398d

13 years agoDO NOT MERGE. Restore status bar on phones.
Daniel Sandler [Fri, 3 Jun 2011 05:25:43 +0000 (01:25 -0400)]
DO NOT MERGE. Restore status bar on phones.

Bug: 4529373
Change-Id: Ie08522dbf762e80ac077ce403ff83312cec907f7

13 years agoMerge "Tap timeout removed on paste. Relying on position only." into honeycomb-mr2
Gilles Debunne [Fri, 3 Jun 2011 17:26:18 +0000 (10:26 -0700)]
Merge "Tap timeout removed on paste. Relying on position only." into honeycomb-mr2

13 years agoMerge "DO NOT MERGE Use unchecked admin lookup for getStorageEncryption()" into honey...
Andy Stadler [Fri, 3 Jun 2011 17:24:27 +0000 (10:24 -0700)]
Merge "DO NOT MERGE Use unchecked admin lookup for getStorageEncryption()" into honeycomb-mr2

13 years ago(Do not merge) Backport a fix for InputMethodManager.java
satok [Fri, 3 Jun 2011 05:45:50 +0000 (14:45 +0900)]
(Do not merge) Backport a fix for InputMethodManager.java

Bug: 4517456

Original CL: Icec380f3ca05cf798cc4b82155d0cecf178633a5

Change-Id: I579fb1ee1b53d312f7cfc5c689d4500cb875352e

13 years agoAdd new Fragment API for explicitly saving/restoring state.
Dianne Hackborn [Fri, 3 Jun 2011 01:33:15 +0000 (18:33 -0700)]
Add new Fragment API for explicitly saving/restoring state.

Also fix issue #4519821:
Blank screen displayed on tapping "Battery Use" option in the settings

We weren't correctly doing the full Activity resume code when coming
back from delivering a new Intent or result.

And fix a fragment problem where we still weren't correctly restoring
the state of list views.  (I think this was from a bad manual-merge
from master.)

Change-Id: If79dc7e998155c39ab8c04781f6c73a82238a9ef

13 years agoMerge "Add a preference panel for mouse speed." into honeycomb-mr2
Jeff Brown [Fri, 3 Jun 2011 00:26:05 +0000 (17:26 -0700)]
Merge "Add a preference panel for mouse speed." into honeycomb-mr2

13 years agoMerge "Implement pointer acceleration." into honeycomb-mr2
Jeff Brown [Fri, 3 Jun 2011 00:25:59 +0000 (17:25 -0700)]
Merge "Implement pointer acceleration." into honeycomb-mr2

13 years agoTap timeout removed on paste. Relying on position only.
Gilles Debunne [Thu, 2 Jun 2011 23:55:15 +0000 (16:55 -0700)]
Tap timeout removed on paste. Relying on position only.

Change-Id: I2e2b4a68f17957a2631a545badd602e4d127cfc3

13 years agoDO NOT MERGE Use unchecked admin lookup for getStorageEncryption()
Andy Stadler [Thu, 2 Jun 2011 23:37:39 +0000 (16:37 -0700)]
DO NOT MERGE Use unchecked admin lookup for getStorageEncryption()

Due to a copy/paste typo, getStorageEncryption() was protected by
getActiveAdminForCallerLocked(), which made the API unreadable if the
caller is not an admin.  This doesn't match the rest of the DPM API which
allows the "get" calls to be made anonymously.

This fix supercedes the proposed workaround CL in the DPM ApiDemo sample.

Backport of: If1a6237634e97ced09a7c6a8876bb6b0f60c9be9

Change-Id: I728b2d85878b7c73a063c906529f0d973e166b49

13 years agoAdd a preference panel for mouse speed.
Jeff Brown [Thu, 2 Jun 2011 08:26:32 +0000 (01:26 -0700)]
Add a preference panel for mouse speed.

Bug: 4124987
Change-Id: I3ce175d268a1d043cf5878481261b1049a15a149

13 years agoImplement pointer acceleration.
Jeff Brown [Wed, 1 Jun 2011 19:33:19 +0000 (12:33 -0700)]
Implement pointer acceleration.

Bug: 4124987
Change-Id: I1f31a28f1594c55302ccabe13fe3ca6d2ff71d50

13 years agoMerge "cherrypick Change-Id: I7a3612a1bc22cf53d382f787fa43fe222978d35e docs: add...
Scott Main [Thu, 2 Jun 2011 16:52:09 +0000 (09:52 -0700)]
Merge "cherrypick Change-Id: I7a3612a1bc22cf53d382f787fa43fe222978d35e docs: add 'animator' resource info" into honeycomb-mr2

13 years agocherrypick Change-Id: I7a3612a1bc22cf53d382f787fa43fe222978d35e
Scott Main [Wed, 18 May 2011 00:00:58 +0000 (17:00 -0700)]
cherrypick Change-Id: I7a3612a1bc22cf53d382f787fa43fe222978d35e
docs: add 'animator' resource info

Change-Id: Ifbd130e5bf762d89300c20db0d86d7f695b4ff4b

13 years agoMerge "cherry pick Change-Id: Id082021be2c27476f106285d0dd68d9e0f5bb514 docs: release...
Scott Main [Thu, 2 Jun 2011 16:49:43 +0000 (09:49 -0700)]
Merge "cherry pick Change-Id: Id082021be2c27476f106285d0dd68d9e0f5bb514 docs: release notes for adt 11" into honeycomb-mr2

13 years agocherry pick Change-Id: Id082021be2c27476f106285d0dd68d9e0f5bb514
Scott Main [Thu, 26 May 2011 21:12:54 +0000 (14:12 -0700)]
cherry pick Change-Id: Id082021be2c27476f106285d0dd68d9e0f5bb514
docs: release notes for adt 11

Change-Id: I9041a5e34fcf34e8a08b3e9becc8c149f773a250

13 years agoMerge "Cherry pick Change-Id: Ie9d68854926544749dde4edfeac9be2ece38560b docs: fix...
Scott Main [Thu, 2 Jun 2011 16:47:31 +0000 (09:47 -0700)]
Merge "Cherry pick Change-Id: Ie9d68854926544749dde4edfeac9be2ece38560b docs: fix broken links" into honeycomb-mr2

13 years agoCherry pick Change-Id: Ie9d68854926544749dde4edfeac9be2ece38560b
Scott Main [Thu, 2 Jun 2011 16:43:05 +0000 (09:43 -0700)]
Cherry pick Change-Id: Ie9d68854926544749dde4edfeac9be2ece38560b
docs: fix broken links

Change-Id: Ibc71e21b6024a8bed0fc07dba5e0a9c6c5d7f8c0

13 years agoMerge "Add new supports-screen API to set maximum allowed size." into honeycomb-mr2
Dianne Hackborn [Thu, 2 Jun 2011 05:28:56 +0000 (22:28 -0700)]
Merge "Add new supports-screen API to set maximum allowed size." into honeycomb-mr2

13 years agoAdd new supports-screen API to set maximum allowed size.
Dianne Hackborn [Thu, 2 Jun 2011 04:27:05 +0000 (21:27 -0700)]
Add new supports-screen API to set maximum allowed size.

Change-Id: I0a7cd4ba73a4c18558e6daee28963d5fd12c7978

13 years agoMerge "doc typo" into honeycomb-mr2
Scott Main [Thu, 2 Jun 2011 01:19:12 +0000 (18:19 -0700)]
Merge "doc typo" into honeycomb-mr2

13 years agoWork around OpenFeint bug.
Dianne Hackborn [Wed, 1 Jun 2011 23:51:20 +0000 (16:51 -0700)]
Work around OpenFeint bug.

Change-Id: Ib8320e50bb63fc56dc0118d5c8e9e328dbd3fcb1

13 years agodoc typo
Scott Main [Wed, 1 Jun 2011 23:28:19 +0000 (16:28 -0700)]
doc typo

Change-Id: Iab3246e12059582096594eb795f2eb42da46f667

13 years agoMerge "Framework: bugfix for menu selector not showing up properly." into honeycomb-mr2
Adam Powell [Wed, 1 Jun 2011 19:48:03 +0000 (12:48 -0700)]
Merge "Framework: bugfix for menu selector not showing up properly." into honeycomb-mr2

13 years agoMerge "Compatibility mode never needed for normal size screens." into honeycomb-mr2
Dianne Hackborn [Wed, 1 Jun 2011 19:43:56 +0000 (12:43 -0700)]
Merge "Compatibility mode never needed for normal size screens." into honeycomb-mr2

13 years agoCompatibility mode never needed for normal size screens.
Dianne Hackborn [Wed, 1 Jun 2011 19:42:55 +0000 (12:42 -0700)]
Compatibility mode never needed for normal size screens.

Change-Id: I3482fa692618b9272e1e19384e766a77f2a53c5d

13 years agoMerge "Fix issue #4500511: Holo effect background doesn't reach top of screen anymore...
Dianne Hackborn [Wed, 1 Jun 2011 19:34:48 +0000 (12:34 -0700)]
Merge "Fix issue #4500511: Holo effect background doesn't reach top of screen anymore" into honeycomb-mr2

13 years agoFix issue #4500511: Holo effect background doesn't reach top of screen anymore
Dianne Hackborn [Wed, 1 Jun 2011 19:28:20 +0000 (12:28 -0700)]
Fix issue #4500511: Holo effect background doesn't reach top of screen anymore

Change-Id: Iebefe924e71206f3e6388eaee64f7b1416bc3239

13 years agoFramework: bugfix for menu selector not showing up properly.
Justin Koh [Wed, 1 Jun 2011 01:51:51 +0000 (18:51 -0700)]
Framework: bugfix for menu selector not showing up properly.

Menu selector wasn't showing up properly because selector state wasn't updated after touch mode.  Added this to resurrectselection call.

http://b/issue?id=4372583

TESTED = runs on M4.

Change-Id: I349c3b86f4e8a1a02a20494b547859d0c12867ee

13 years agoMerge "Fix bug 4501658 - adjust toast frame padding" into honeycomb-mr2
Adam Powell [Wed, 1 Jun 2011 17:27:54 +0000 (10:27 -0700)]
Merge "Fix bug 4501658 - adjust toast frame padding" into honeycomb-mr2

13 years agodocs: fix typos
Scott Main [Wed, 1 Jun 2011 16:46:04 +0000 (09:46 -0700)]
docs: fix typos

Change-Id: I59a34a84075c63715a6b4aaf6d90acead321ea90

13 years agoMerge "Forgot this file." into honeycomb-mr2
Dianne Hackborn [Wed, 1 Jun 2011 01:28:50 +0000 (18:28 -0700)]
Merge "Forgot this file." into honeycomb-mr2

13 years agoForgot this file.
Dianne Hackborn [Wed, 1 Jun 2011 01:27:49 +0000 (18:27 -0700)]
Forgot this file.

Change-Id: I8aa457d8d81d283f8cc36f68eca33fcb3a86ccad

13 years agoMerge "Fix issue #4502672: Wrong xml resources used for homescreen widgets." into...
Dianne Hackborn [Wed, 1 Jun 2011 01:05:26 +0000 (18:05 -0700)]
Merge "Fix issue #4502672: Wrong xml resources used for homescreen widgets." into honeycomb-mr2

13 years agoFix issue #4502672: Wrong xml resources used for homescreen widgets.
Dianne Hackborn [Wed, 1 Jun 2011 00:59:49 +0000 (17:59 -0700)]
Fix issue #4502672: Wrong xml resources used for homescreen widgets.

There was a race in the system process between applying the initial
configuration and executing code in higher-level system services
like the app widget service that relies on the config.  For some
reason it starting showing up more after my code changes; it should
now be completely fixed.

Also fix the activity starting window to run in compatibility mode
if its application is going to be in compatibility mode.

And some various cleanup and small fixes.

Change-Id: I0566933bf1bbb4259c1d99a60c0a3c19af1542e5

13 years agoFix bug 4501658 - adjust toast frame padding
Adam Powell [Wed, 1 Jun 2011 00:59:02 +0000 (17:59 -0700)]
Fix bug 4501658 - adjust toast frame padding

Change-Id: I32fa68e27724ddb20f09a0ac99a497a97c425600

13 years agoCherry pick honeycomb-mr1 I064d4dba to I48ddc26d4f
Joe Malin [Wed, 25 May 2011 21:53:23 +0000 (14:53 -0700)]
Cherry pick honeycomb-mr1 I064d4dba to I48ddc26d4f

Change-Id: I48ddc26d4fc8e2e44627cfb0e98d9f0b596042b6

13 years agoMerge "Use ViewConfiguration to seed input system configuration." into honeycomb-mr2
Jeff Brown [Tue, 31 May 2011 22:42:18 +0000 (15:42 -0700)]
Merge "Use ViewConfiguration to seed input system configuration." into honeycomb-mr2

13 years agoMerge "Button state should reflect actual buttons. (DO NOT MERGE)" into honeycomb-mr2
Jeff Brown [Tue, 31 May 2011 22:42:08 +0000 (15:42 -0700)]
Merge "Button state should reflect actual buttons. (DO NOT MERGE)" into honeycomb-mr2

13 years agoUse ViewConfiguration to seed input system configuration.
Jeff Brown [Fri, 27 May 2011 02:17:02 +0000 (19:17 -0700)]
Use ViewConfiguration to seed input system configuration.

Fix bug where the pointer presentation would be updated on
any input reader timeout rather than only when a pointer gesture
is in progress.

Bug: 4124987
Change-Id: Ie9bba4a0b3228d55e45e65fa2ede5cd6ba887a08

13 years agoButton state should reflect actual buttons. (DO NOT MERGE)
Jeff Brown [Tue, 31 May 2011 22:00:18 +0000 (15:00 -0700)]
Button state should reflect actual buttons. (DO NOT MERGE)

Bug: 4124987
Change-Id: If0585bd1432c8c61ed0c9a6a4f6de4a62e3f6e53

13 years agoMerge "Use Holo background and proper padding for App Permissions UI." into honeycomb-mr2
Amith Yamasani [Tue, 31 May 2011 20:58:34 +0000 (13:58 -0700)]
Merge "Use Holo background and proper padding for App Permissions UI." into honeycomb-mr2

13 years agoUse Holo background and proper padding for App Permissions UI.
Amith Yamasani [Tue, 31 May 2011 20:03:59 +0000 (13:03 -0700)]
Use Holo background and proper padding for App Permissions UI.

Bug: 4515158
Change-Id: I47a8f2fbdc2547dd08e199ccbfa51710048963ae

13 years agoReveal some network constants.
Robert Greenwalt [Fri, 27 May 2011 18:29:13 +0000 (11:29 -0700)]
Reveal some network constants.

Since we've already decided to inc the sdk version we should try to get these in too.

bug:4500218
Change-Id: I6dcb401bf30f1b06f02be0a93681a190d7ee5775

13 years agoFix input type judgment of WebTextView (DO NOT MERGE)
Tadashi G. Takaoka [Sat, 28 May 2011 14:40:19 +0000 (23:40 +0900)]
Fix input type judgment of WebTextView (DO NOT MERGE)

Bug: 4490948
Change-Id: I232b8f1301128f1c77d72d92777a45c63f215a9c

13 years agoReduce the number of notification icons on narrow screens.
satok [Fri, 27 May 2011 10:15:01 +0000 (19:15 +0900)]
Reduce the number of notification icons on narrow screens.

For devices with minimum width between 600 and 720 dp, show
only 3 icons (and then, only in portrait). All other
configurations will show 5.

Bug: 4501374
Change-Id: I88168560fc2876c26cd3eb57f2db0b0cfe8b4fdd

13 years agoFix various places that were using the wrong display metrics.
Dianne Hackborn [Sat, 28 May 2011 00:09:19 +0000 (17:09 -0700)]
Fix various places that were using the wrong display metrics.

Change-Id: I1ac2a0c4a1b7c851dbc99d26f295c7dd49b0bd5c

13 years agoFix compat mode bugs when updating apps.
Dianne Hackborn [Fri, 27 May 2011 23:45:31 +0000 (16:45 -0700)]
Fix compat mode bugs when updating apps.

No longer accidentally puts an app into compatibility mode.

Also various cleanup, freezing screen while switching between modes.

Change-Id: Ic1b3958be7800189a93f68e9dee3c5adfc45fe57

13 years agoAdd "tv" density for 720p screens.
Dianne Hackborn [Fri, 27 May 2011 20:40:26 +0000 (13:40 -0700)]
Add "tv" density for 720p screens.

Change-Id: I028969b007f2fceea66947d77a2ae31ef1d1a630

13 years agoMerge "Small fixes and cleanup of resource config handling." into honeycomb-mr2
Dianne Hackborn [Fri, 27 May 2011 19:40:39 +0000 (12:40 -0700)]
Merge "Small fixes and cleanup of resource config handling." into honeycomb-mr2

13 years agoSmall fixes and cleanup of resource config handling.
Dianne Hackborn [Fri, 27 May 2011 19:09:11 +0000 (12:09 -0700)]
Small fixes and cleanup of resource config handling.

Change-Id: I402c31b68f2b4825cb4c610a65ee8e1da471c7bb

13 years agoMerge "Revert "DO NOT MERGE Correctly implement the CLEAR xfermode."" into honeycomb-mr2
James Dong [Fri, 27 May 2011 18:26:24 +0000 (11:26 -0700)]
Merge "Revert "DO NOT MERGE Correctly implement the CLEAR xfermode."" into honeycomb-mr2

13 years agoRevert "DO NOT MERGE Correctly implement the CLEAR xfermode."
James Dong [Fri, 27 May 2011 18:17:39 +0000 (11:17 -0700)]
Revert "DO NOT MERGE Correctly implement the CLEAR xfermode."

This reverts commit e324197ecd14591d7db0572f50c0d21bbd269bb4.

13 years agoMerge "Fix InputType determination of WebTextView (DO NOT MERGE)" into honeycomb-mr2
Tadashi G. Takaoka [Fri, 27 May 2011 17:47:12 +0000 (10:47 -0700)]
Merge "Fix InputType determination of WebTextView (DO NOT MERGE)" into honeycomb-mr2

13 years agoMerge "docs: adjust what's visible for online and offline docs" into honeycomb-mr2
Scott Main [Fri, 27 May 2011 17:17:41 +0000 (10:17 -0700)]
Merge "docs: adjust what's visible for online and offline docs" into honeycomb-mr2

13 years agodocs: adjust what's visible for online and offline docs
Scott Main [Fri, 27 May 2011 16:53:27 +0000 (09:53 -0700)]
docs: adjust what's visible for online and offline docs

Change-Id: Ie7490973001530098d5001d9ef5e4dbfab86ed08

13 years agoFix InputType determination of WebTextView (DO NOT MERGE)
Tadashi G. Takaoka [Fri, 27 May 2011 12:53:52 +0000 (21:53 +0900)]
Fix InputType determination of WebTextView (DO NOT MERGE)

The InpuType from <input type="email" /> has been broken.

Change-Id: Ie37de69682410cdd58c29910d483e924f5b614b6
Related-Bug: 4490948
Cherry-pick: Ibd7f2977a177f1d97e3a29ac44220e5136bbd653

13 years agoMerge "Add new supports-screens attributes for declaring the compatible screens....
Dianne Hackborn [Fri, 27 May 2011 00:07:52 +0000 (17:07 -0700)]
Merge "Add new supports-screens attributes for declaring the compatible screens." into honeycomb-mr2

13 years agoMerge "DO NOT MERGE Correctly implement the CLEAR xfermode." into honeycomb-mr2
Romain Guy [Thu, 26 May 2011 23:55:33 +0000 (16:55 -0700)]
Merge "DO NOT MERGE Correctly implement the CLEAR xfermode." into honeycomb-mr2

13 years agoDO NOT MERGE Correctly implement the CLEAR xfermode.
Romain Guy [Thu, 26 May 2011 23:51:47 +0000 (16:51 -0700)]
DO NOT MERGE Correctly implement the CLEAR xfermode.

This bug is a regression from the software pipeline and prevents
applications from implementing an "eraser" type tool (for instance
a drawing/painting apps.) This issue affects external applications
when they turn on hardware acceleration.

The previous implementation was using glBlendFunc with the parameters
GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha
sources (anti-aliasing.) The correct implementation is GL_ZERO/
GL_ONE_MINUS_SRC_ALPHA.

Change-Id: I1446e83480e46174b880120069d76fcad14ba300

13 years agoMerge "ExternalStorageFormatter takes an optional StorageVolume target." into honeyco...
Gilles Debunne [Thu, 26 May 2011 22:44:18 +0000 (15:44 -0700)]
Merge "ExternalStorageFormatter takes an optional StorageVolume target." into honeycomb-mr2

13 years agocherry pick Change-Id: Ia5ac228612569684a4ffc79ab3914442c15edfe2
Scott Main [Wed, 25 May 2011 00:17:27 +0000 (17:17 -0700)]
cherry pick Change-Id: Ia5ac228612569684a4ffc79ab3914442c15edfe2
docs: fix typo and slight revision

Change-Id: I33ec5fef9f04dad6deae5681571c36bf70205569

13 years agocherry pick Change-Id: I58ae8210a17f76ff92ee9d064cf42fd4a81ad9b5
Scott Main [Wed, 25 May 2011 00:11:55 +0000 (17:11 -0700)]
cherry pick Change-Id: I58ae8210a17f76ff92ee9d064cf42fd4a81ad9b5
docs: fix markup and typos

Change-Id: Ib0c5a0b41bfa2e9faef9b9b8e2cad8a69e6e1c8b

13 years agocherry pick Change-Id: I183ff47e59617b2c17a92b876ca8c8bcc9b45262
Scott Main [Tue, 24 May 2011 00:27:17 +0000 (17:27 -0700)]
cherry pick Change-Id: I183ff47e59617b2c17a92b876ca8c8bcc9b45262
docs: add document for the compatibility library

Change-Id: I1825ae1fba0be664a7c6a8b0ba32166f216a893f

13 years agoAdd new supports-screens attributes for declaring the compatible screens.
Dianne Hackborn [Thu, 26 May 2011 21:20:23 +0000 (14:20 -0700)]
Add new supports-screens attributes for declaring the compatible screens.

Change-Id: I40d57e4354e48accc1027c9f90916ea73eb5190d
android:requiresSmallestWidthDp provides the smallest supported width.
android:compatibleWidthLimitDp provides the largest compatible width.

13 years agoMerge "DO NOT MERGE - Fix bug 4489946 - Remove placeholder views for phones in smalle...
Adam Powell [Thu, 26 May 2011 20:26:33 +0000 (13:26 -0700)]
Merge "DO NOT MERGE - Fix bug 4489946 - Remove placeholder views for phones in smaller-screen decor layouts." into honeycomb-mr2

13 years agoDO NOT MERGE - Fix bug 4489946 - Remove placeholder views for phones
Adam Powell [Thu, 26 May 2011 20:21:32 +0000 (13:21 -0700)]
DO NOT MERGE - Fix bug 4489946 - Remove placeholder views for phones
in smaller-screen decor layouts.

Keep the internal id declared to keep code in sync with downstream
branches.

Change-Id: I25d2ff7c40c220ecc93b195dfd4e953fe0b4d944

13 years agoMerge "Break apart queries to getInstalled* API DO NOT MERGE" into honeycomb-mr2
Kenny Root [Thu, 26 May 2011 20:10:23 +0000 (13:10 -0700)]
Merge "Break apart queries to getInstalled* API DO NOT MERGE" into honeycomb-mr2

13 years agoDO NOT MERGE
Scott Main [Tue, 24 May 2011 23:55:56 +0000 (16:55 -0700)]
DO NOT MERGE
cherry pick Change-Id: I67ef29f8ccc7b4a754ebb24efd96e9821e3d8662
docs: add accepted values for setting status bar visibility

Change-Id: I255dcd62b71c1b4ca40187b395abce8d6836c249

13 years agoExternalStorageFormatter takes an optional StorageVolume target.
Gilles Debunne [Wed, 25 May 2011 23:27:13 +0000 (16:27 -0700)]
ExternalStorageFormatter takes an optional StorageVolume target.

Change-Id: Ic85689659dbf49a7fcc1b7aaf25e4a94e62848b9

13 years agoI am a dummy.
Dianne Hackborn [Thu, 26 May 2011 18:45:00 +0000 (11:45 -0700)]
I am a dummy.

Change-Id: Ie6908a8931954f83ab0e9b905173b576dbf3661d

13 years agoMerge "Rework how we decide whether to use system or status bar." into honeycomb-mr2
Dianne Hackborn [Thu, 26 May 2011 18:39:22 +0000 (11:39 -0700)]
Merge "Rework how we decide whether to use system or status bar." into honeycomb-mr2

13 years agoMerge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
Eric Fischer [Thu, 26 May 2011 18:36:58 +0000 (11:36 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into honeycomb-mr2