OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "We must keep up with the Joneses." into honeycomb-mr2
Dianne Hackborn [Thu, 16 Jun 2011 00:08:04 +0000 (17:08 -0700)]
Merge "We must keep up with the Joneses." into honeycomb-mr2

13 years agoMerge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
Eric Fischer [Wed, 15 Jun 2011 23:38:43 +0000 (16:38 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into honeycomb-mr2

13 years agoWe must keep up with the Joneses.
Dianne Hackborn [Wed, 15 Jun 2011 18:41:48 +0000 (11:41 -0700)]
We must keep up with the Joneses.

Change-Id: Ifa2ab0167c09ba18b24c8b6c618db807e17519f5

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 15 Jun 2011 22:06:18 +0000 (15:06 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Iaff03724a335f856f7d28b1bc2c219f4208c4151

13 years agoMerge "Updated art for compat mode dialog." into honeycomb-mr2
Justin Ho [Wed, 15 Jun 2011 21:52:52 +0000 (14:52 -0700)]
Merge "Updated art for compat mode dialog." into honeycomb-mr2

13 years agoMerge "Fix lease duration handling" into honeycomb-mr2
Irfan Sheriff [Wed, 15 Jun 2011 21:00:23 +0000 (14:00 -0700)]
Merge "Fix lease duration handling" into honeycomb-mr2

13 years agoUpdated art for compat mode dialog.
Daniel Sandler [Wed, 15 Jun 2011 19:00:10 +0000 (15:00 -0400)]
Updated art for compat mode dialog.

Also finalizes on the following language & ordering in the menu:

  ( ) Stretch to fill screen
  ( ) Zoom to fill screen

Bug: 4595256
Change-Id: Ie92b1e0d829341fd73043a562e78437af2b128ec

13 years agoFix lease duration handling
Irfan Sheriff [Fri, 10 Jun 2011 23:18:25 +0000 (16:18 -0700)]
Fix lease duration handling

Convert lease time in seconds to long before alarm
set up and add sanity check

Change-Id: I99524c97d9a643ffa8234d016d0e819a284977a1

13 years agoClean up some edge cases in the compat mode UI:
Dianne Hackborn [Wed, 15 Jun 2011 18:16:06 +0000 (11:16 -0700)]
Clean up some edge cases in the compat mode UI:

- Don't put up multiple dialogs if a switch happens between activities
  that both can use compat mode.
- Remove the help dialog if the user switches away from an app that
  can use compat mode.
- Don't set the "don't show" preference until the user explicitly hits
  the button.
- Hide the compat mode switch UI if the compat mode button is hidden.

Change-Id: I8dd2aab1385a264232a9256284d4a75b8e058e47

13 years agoMerge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2
Daniel Sandler [Wed, 15 Jun 2011 13:10:32 +0000 (06:10 -0700)]
Merge "One-time-only compatibility mode explanation dialog." into honeycomb-mr2

13 years agoMerge "Final UI for compatibility mode." into honeycomb-mr2
Daniel Sandler [Wed, 15 Jun 2011 13:10:27 +0000 (06:10 -0700)]
Merge "Final UI for compatibility mode." into honeycomb-mr2

13 years agoOne-time-only compatibility mode explanation dialog.
Daniel Sandler [Wed, 15 Jun 2011 05:03:02 +0000 (01:03 -0400)]
One-time-only compatibility mode explanation dialog.

Don't miss it!

Bug: 4595256
Change-Id: I80c0949e6118e3ea3af089d4cad160ce63e7d8ce

13 years agoFinal UI for compatibility mode.
Daniel Sandler [Tue, 14 Jun 2011 15:30:28 +0000 (11:30 -0400)]
Final UI for compatibility mode.

Bug: 4595256
Change-Id: Idaa96393fb809c828b5f661f29e8b687fdf3d104

13 years agoTesting done, compatibility mode no longer on by default.
Dianne Hackborn [Wed, 15 Jun 2011 04:05:03 +0000 (21:05 -0700)]
Testing done, compatibility mode no longer on by default.

Change-Id: I5bcc98d2b3a1a02ca788ab61440f0aa5d4f7fb4e

13 years agoFix a major problem in fragment lifecycle.
Dianne Hackborn [Wed, 15 Jun 2011 01:36:14 +0000 (18:36 -0700)]
Fix a major problem in fragment lifecycle.

When animating away a fragment, we were not putting it through
the last part of its lifecycle (onDestroy() etc).

Also, retained fragments that have a target were broken.  Oops.

Change-Id: I5a669b77a2f24b581cde2a0959acf62edb65e326

13 years agoMerge "Fix issue #4592768: Xoom display does not resize when..." into honeycomb-mr2
Dianne Hackborn [Wed, 15 Jun 2011 02:16:46 +0000 (19:16 -0700)]
Merge "Fix issue #4592768: Xoom display does not resize when..." into honeycomb-mr2

13 years agoMerge "cherrypick from hc mr1 Change-Id: I2d17c5ea710964b0fe57e6adea4383f30d74bf7d...
Robert Ly [Wed, 15 Jun 2011 00:45:04 +0000 (17:45 -0700)]
Merge "cherrypick from hc mr1 Change-Id: I2d17c5ea710964b0fe57e6adea4383f30d74bf7d" into honeycomb-mr2

13 years agoMerge "cherry pick from hc mr1 Change-Id: I6f48d245e2837226096fe42d08fb0243e416dbbc...
Robert Ly [Wed, 15 Jun 2011 00:43:38 +0000 (17:43 -0700)]
Merge "cherry pick from hc mr1 Change-Id: I6f48d245e2837226096fe42d08fb0243e416dbbc" into honeycomb-mr2

13 years agoFix issue #4592768: Xoom display does not resize when...
Dianne Hackborn [Tue, 14 Jun 2011 23:45:21 +0000 (16:45 -0700)]
Fix issue #4592768: Xoom display does not resize when...

...plugging in HDMI cable connected to a HDMI monitor

Change-Id: If3394e972131aa5124db2d1abf23b2214512773a

13 years agoMerge "cherrypick from hc mr1 Change-Id: I0685106aba681a429ce92c0ec1a4fab592d186ac...
Robert Ly [Tue, 14 Jun 2011 23:36:17 +0000 (16:36 -0700)]
Merge "cherrypick from hc mr1 Change-Id: I0685106aba681a429ce92c0ec1a4fab592d186ac" into honeycomb-mr2

13 years agoMerge "Revert "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90...
Robert Ly [Tue, 14 Jun 2011 23:35:22 +0000 (16:35 -0700)]
Merge "Revert "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7"" into honeycomb-mr2

13 years agoMerge "Revert "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb...
Robert Ly [Tue, 14 Jun 2011 23:35:12 +0000 (16:35 -0700)]
Merge "Revert "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb"" into honeycomb-mr2

13 years agoMerge "Stability fixes for PreferenceFragments." into honeycomb-mr2
Amith Yamasani [Tue, 14 Jun 2011 22:35:13 +0000 (15:35 -0700)]
Merge "Stability fixes for PreferenceFragments." into honeycomb-mr2

13 years agoMerge "Fix issue #4603422: Compatibility mode button doesn't always update" into...
Dianne Hackborn [Tue, 14 Jun 2011 22:12:01 +0000 (15:12 -0700)]
Merge "Fix issue #4603422: Compatibility mode button doesn't always update" into honeycomb-mr2

13 years agoRevert "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb"
Robert Ly [Tue, 14 Jun 2011 22:09:41 +0000 (15:09 -0700)]
Revert "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb"

This reverts commit 1431fd98b1a9b69a8b9a03d07bc408aefe30c28e

13 years agoStability fixes for PreferenceFragments.
Amith Yamasani [Tue, 14 Jun 2011 22:07:49 +0000 (15:07 -0700)]
Stability fixes for PreferenceFragments.

Unregister the click listener as early as possible, so that clicks
don't get delivered after the activity is detached.

Bug: 4599586

This should also fix: 4603030460110545987154598712.

Change-Id: I7bcff719bed14ea61b482bd6d29ae1fa5e322e41

13 years agoMerge "cherrypick from hc mr1 Change-Id: I106cddd6e22d72c48edeaadbf296b0453813d06a...
Robert Ly [Tue, 14 Jun 2011 22:06:42 +0000 (15:06 -0700)]
Merge "cherrypick from hc mr1 Change-Id: I106cddd6e22d72c48edeaadbf296b0453813d06a" into honeycomb-mr2

13 years agoFix issue #4603422: Compatibility mode button doesn't always update
Dianne Hackborn [Tue, 14 Jun 2011 22:00:32 +0000 (15:00 -0700)]
Fix issue #4603422: Compatibility mode button doesn't always update

We now tell the system bar every time the top activity has changed for
it to re-evaluate its UI state.

Also fix issue #: 4607102 Low rider notifications.  It turns out this
was due to the change in the dialog asset; the notification UI was relying
on this having a lot of padding to make it sit above the status bar.
Now we have an explicitly mechanism to set how much it overlaps (or doesn't)
the status bar.

Change-Id: Iab5ebd86e620ff4fc4cd77206e18af962ec2830e

13 years agoRevert "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7"
Robert Ly [Tue, 14 Jun 2011 22:02:42 +0000 (15:02 -0700)]
Revert "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7"

This reverts commit f25be17f6413417aa6a1e3a5a791302099d15008

13 years agoMerge "cherry pick from hc mr1 Change-Id: Icd86c888b061e7b6770363443fea490c49b7739e...
Robert Ly [Tue, 14 Jun 2011 21:58:32 +0000 (14:58 -0700)]
Merge "cherry pick from hc mr1 Change-Id: Icd86c888b061e7b6770363443fea490c49b7739e" into honeycomb-mr2

13 years agoMerge "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb...
Robert Ly [Tue, 14 Jun 2011 21:56:00 +0000 (14:56 -0700)]
Merge "cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb" into honeycomb-mr2

13 years agoMerge "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7...
Robert Ly [Tue, 14 Jun 2011 21:55:35 +0000 (14:55 -0700)]
Merge "cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7" into honeycomb-mr2

13 years agoDO NOT MERGE. may fix build on some version of gcc
Mathias Agopian [Tue, 14 Jun 2011 18:50:22 +0000 (11:50 -0700)]
DO NOT MERGE. may fix build on some version of gcc

Change-Id: Iff6d9ab3a7caf58f65fc3f60633a3bd577b7af25

13 years agocherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7
Robert Ly [Tue, 14 Jun 2011 18:50:19 +0000 (11:50 -0700)]
cherrypick from hc mr1 Change-Id: I23143ecaa0eeab68d55d007b8594a51bf90fbab7

Conflicts:

docs/html/guide/topics/usb/adk.jd

Change-Id: I09b7fafd5d946a9e0d42c025089bdab717c8ca3e

13 years agocherrypick from hc mr1 Change-Id: I106cddd6e22d72c48edeaadbf296b0453813d06a
Robert Ly [Thu, 9 Jun 2011 05:23:42 +0000 (22:23 -0700)]
cherrypick from hc mr1 Change-Id: I106cddd6e22d72c48edeaadbf296b0453813d06a

Change-Id: I8b7848139e93df385d0727f9536be73124687cc7

13 years agoMerge "Update resources documentation with new qualifiers." into honeycomb-mr2
Dianne Hackborn [Tue, 14 Jun 2011 18:27:09 +0000 (11:27 -0700)]
Merge "Update resources documentation with new qualifiers." into honeycomb-mr2

13 years agocherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb
Robert Ly [Tue, 14 Jun 2011 18:26:39 +0000 (11:26 -0700)]
cherrypick from hc mr1 Change-Id: I507c9b98289b873cb5c40e0e34be433e4eb0d4cb

Conflicts:

docs/html/sdk/sdk_toc.cs

Change-Id: I03be3486734960c4c691d4d2abe6b17c5114b1a9

13 years agoMerge "Add new landscape and portrait orientation features." into honeycomb-mr2
Dianne Hackborn [Tue, 14 Jun 2011 18:24:29 +0000 (11:24 -0700)]
Merge "Add new landscape and portrait orientation features." into honeycomb-mr2

13 years agoAdd new landscape and portrait orientation features.
Dianne Hackborn [Tue, 14 Jun 2011 02:33:22 +0000 (19:33 -0700)]
Add new landscape and portrait orientation features.

Updates aapt to know about these.  Also updates aapt badging to:

- No longer crash due to the change to how we match unspecified
configuration resources.
- Report the new "smallest screen" supported screen configs.
- Infer old screen size buckets based on new smallest width attrs.
- Report all of the different labels and icons in an app.

Change-Id: I7376042b817391bd070f549cebbc7f03be4635c8

13 years agocherrypick from hc mr1 Change-Id: I0685106aba681a429ce92c0ec1a4fab592d186ac
Robert Ly [Fri, 27 May 2011 23:54:03 +0000 (16:54 -0700)]
cherrypick from hc mr1 Change-Id: I0685106aba681a429ce92c0ec1a4fab592d186ac

Change-Id: I7a1ca07b5aac9979b710e78b4d0e33f78ac18cee

13 years agocherrypick from hc mr1 Change-Id: I2d17c5ea710964b0fe57e6adea4383f30d74bf7d
Robert Ly [Tue, 7 Jun 2011 18:17:27 +0000 (11:17 -0700)]
cherrypick from hc mr1 Change-Id: I2d17c5ea710964b0fe57e6adea4383f30d74bf7d

Change-Id: I88d74001d58176ac9ca24265512d92646c345488

13 years agoUpdate resources documentation with new qualifiers.
Dianne Hackborn [Tue, 14 Jun 2011 05:01:13 +0000 (22:01 -0700)]
Update resources documentation with new qualifiers.

Change-Id: I4a3e0d3ece64d8a177157e469c39dbb282094373

13 years agofix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)
Mathias Agopian [Mon, 13 Jun 2011 01:05:53 +0000 (18:05 -0700)]
fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

Bug: 4595257
Change-Id: I1db83149107d7dab1f0b7e73c684e0ff82e17e62

13 years agoMerge "Fix some problems with moving in and out of detached state." into honeycomb-mr2
Dianne Hackborn [Sat, 11 Jun 2011 01:37:22 +0000 (18:37 -0700)]
Merge "Fix some problems with moving in and out of detached state." into honeycomb-mr2

13 years agoFix some problems with moving in and out of detached state.
Dianne Hackborn [Sat, 11 Jun 2011 00:03:42 +0000 (17:03 -0700)]
Fix some problems with moving in and out of detached state.

Loaders were not being re-initialized correctly when coming back
(this would also impact the back stack).  The ListView also wasn't
working correctly, and there were also problems with simply
re-using a Fragment instance after it had been removed.

Change-Id: I534b091ae09c0ef7ffffe9d68049e6840e8926b3

13 years agoFix layout issue on table when device thinks there's a SIM.
Jim Miller [Sat, 21 May 2011 00:11:04 +0000 (17:11 -0700)]
Fix layout issue on table when device thinks there's a SIM.

bug:4411799
Change-Id: I9d9ef036d4cf424ed760e0db157bb1f020b7c678

13 years agoMerge "fix one NPE when webChromeClient don't have progress view support" into honeyc...
Teng-Hui Zhu [Fri, 10 Jun 2011 21:19:22 +0000 (14:19 -0700)]
Merge "fix one NPE when webChromeClient don't have progress view support" into honeycomb-mr2

13 years agofix one NPE when webChromeClient don't have progress view support
Teng-Hui Zhu [Fri, 10 Jun 2011 17:56:33 +0000 (10:56 -0700)]
fix one NPE when webChromeClient don't have progress view support

Change-Id: I5a88365f216d5dea38ab2eac9562d26b00a2d617

13 years agoCommit final (maybe) MR 2 API.
Dianne Hackborn [Fri, 10 Jun 2011 02:22:05 +0000 (19:22 -0700)]
Commit final (maybe) MR 2 API.

Change-Id: I42f72819a29d4ac7902b7be5af0b5d353d790eae

13 years agoQuiet the log.
Dianne Hackborn [Fri, 10 Jun 2011 00:27:05 +0000 (17:27 -0700)]
Quiet the log.

Change-Id: Ie814b579997bb555eae014c22da0f41f1a46940f

13 years agoOkay *now* really enforce the limit on non-public styles.
Dianne Hackborn [Thu, 9 Jun 2011 23:17:53 +0000 (16:17 -0700)]
Okay *now* really enforce the limit on non-public styles.

Change-Id: Ie8df6acf7cc3dec00f615b2fa9a5122ec79a0aae

13 years agoUmmm... f*, stop breaking the build.
Dianne Hackborn [Thu, 9 Jun 2011 18:29:08 +0000 (11:29 -0700)]
Ummm...  f*, stop breaking the build.

Change-Id: I6a42cb60e7cebda6d17222e6af1f327889323c40

13 years agoMerge "Enforce public resource restriction on bag parents." into honeycomb-mr2
Dianne Hackborn [Thu, 9 Jun 2011 22:55:54 +0000 (15:55 -0700)]
Merge "Enforce public resource restriction on bag parents." into honeycomb-mr2

13 years agoEnforce public resource restriction on bag parents.
Dianne Hackborn [Thu, 9 Jun 2011 18:29:08 +0000 (11:29 -0700)]
Enforce public resource restriction on bag parents.

Need to put some more styles in the SDK to avoid breaking apps.

Also, welcome Android 3.2.

Change-Id: Ia31d07c9b1b91ad868d8630437fdc1b5ae24f37d

13 years agocherry pick from hc mr1 Change-Id: I6f48d245e2837226096fe42d08fb0243e416dbbc
Robert Ly [Thu, 19 May 2011 16:48:33 +0000 (09:48 -0700)]
cherry pick from hc mr1 Change-Id: I6f48d245e2837226096fe42d08fb0243e416dbbc

Change-Id: I77ae1a4f999ae0f4fff925bf8a7f9caf0b868329

13 years agocherry pick from hc mr1 Change-Id: Icd86c888b061e7b6770363443fea490c49b7739e
Robert Ly [Wed, 1 Jun 2011 16:44:22 +0000 (09:44 -0700)]
cherry pick from hc mr1 Change-Id: Icd86c888b061e7b6770363443fea490c49b7739e

Change-Id: I3a91d80c1d298ed0aa9e01c1e1be313e1e72b444

13 years agoMerge "Revert "Add avg bandwidth estimate every 2 seconds - do not merge."" into...
James Dong [Thu, 9 Jun 2011 18:56:09 +0000 (11:56 -0700)]
Merge "Revert "Add avg bandwidth estimate every 2 seconds - do not merge."" into honeycomb-mr2

13 years agoUsbService: Fix JNI reference leak
Mike Lockwood [Thu, 9 Jun 2011 18:48:11 +0000 (14:48 -0400)]
UsbService: Fix JNI reference leak

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

Change-Id: Ice0174e0db2a785d32ac16694ebf3b7ddb1b7fb3
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Updating default wallpaper of large devices to match xlarge" into honeycomb-mr2
Justin Ho [Thu, 9 Jun 2011 17:18:13 +0000 (10:18 -0700)]
Merge "Updating default wallpaper of large devices to match xlarge" into honeycomb-mr2

13 years agoMerge changes Idbb70f53,I10426a3f into honeycomb-mr2
Xavier Ducrohet [Thu, 9 Jun 2011 17:12:40 +0000 (10:12 -0700)]
Merge changes Idbb70f53,I10426a3f into honeycomb-mr2

* changes:
  Merge 06942bc4 from hc-mr1.
  Merge 988eeeb5 from hc-mr1.

13 years agoUpdating default wallpaper of large devices to match xlarge
Justin Ho [Thu, 9 Jun 2011 16:42:22 +0000 (09:42 -0700)]
Updating default wallpaper of large devices to match xlarge

Change-Id: I3fbcefce70e862fdc8e332f919485f1ec904a1b1

13 years agoMerge "Fix for not reporting correct "sw" in compat mode." into honeycomb-mr2
Dianne Hackborn [Thu, 9 Jun 2011 05:33:34 +0000 (22:33 -0700)]
Merge "Fix for not reporting correct "sw" in compat mode." into honeycomb-mr2

13 years agoFix for not reporting correct "sw" in compat mode.
Dianne Hackborn [Thu, 9 Jun 2011 04:51:44 +0000 (21:51 -0700)]
Fix for not reporting correct "sw" in compat mode.

Change-Id: Ia225c94b36ccc3589d417aafd5680247678eddfd

13 years agoFix issue #4582417: Need to add new PackageManager...
Dianne Hackborn [Thu, 9 Jun 2011 03:24:29 +0000 (20:24 -0700)]
Fix issue #4582417: Need to add new PackageManager...

...FEATURE_ constant for FAKE_MULTITOUCH in MR2

Change-Id: Ib6950d9dbdd58618aec593de7e0cf1c01b7d6ef9

13 years agoMerge "Work on issue #4518815: Compatibility mode introduces compatibility regression...
Dianne Hackborn [Thu, 9 Jun 2011 03:00:50 +0000 (20:00 -0700)]
Merge "Work on issue #4518815: Compatibility mode introduces compatibility regression..." into honeycomb-mr2

13 years agoMerge "Fix a leak in RefBase" into honeycomb-mr2
Mathias Agopian [Thu, 9 Jun 2011 02:28:39 +0000 (19:28 -0700)]
Merge "Fix a leak in RefBase" into honeycomb-mr2

13 years agoWork on issue #4518815: Compatibility mode introduces compatibility regression...
Dianne Hackborn [Tue, 7 Jun 2011 21:09:47 +0000 (14:09 -0700)]
Work on issue #4518815: Compatibility mode introduces compatibility regression...

...for Market App iRunner

There were a lot of serious issues with how we updated (or often didn't update)
the display and resource state when switching compatibility mode in conjunction
with restarting and updating application components.  This addresses everything
I could find.

Unfortunately it does *not* fix this particular app.  I am starting to think this
is just an issue in the app.  This change does fix a number of other problems
I could repro, such as switching the compatibility mode of an IME.

Also a few changes here and there to get rid of $#*&^!! debug logs.

Change-Id: Ib15572eac9ec93b4b9966ddcbbc830ce9dec1317

13 years agoMerge 06942bc4 from hc-mr1.
Xavier Ducrohet [Wed, 8 Jun 2011 00:48:35 +0000 (17:48 -0700)]
Merge 06942bc4 from hc-mr1.

Layoutlib - use the new getParser callback when possible.

Change-Id: Idbb70f5391addd539afa5c2f5b55c70beefed223

13 years agoMerge 988eeeb5 from hc-mr1.
Xavier Ducrohet [Wed, 8 Jun 2011 00:03:10 +0000 (17:03 -0700)]
Merge 988eeeb5 from hc-mr1.

Support for custom declare-styleable attr with enum/flag in layoutlib.

Change-Id: I10426a3f2c76bed207c03fab7885b4269337a70f

13 years agoMerge "Public styles for action bar tabs" into honeycomb-mr2
Adam Powell [Wed, 8 Jun 2011 23:54:50 +0000 (16:54 -0700)]
Merge "Public styles for action bar tabs" into honeycomb-mr2

13 years agoFix a leak in RefBase
Mathias Agopian [Wed, 8 Jun 2011 23:05:30 +0000 (16:05 -0700)]
Fix a leak in RefBase

this bug was introduced recently. it caused RefBase's weakref_impl
structure to be leaked for every RefBase object (about 20 bytes).

Change-Id: Id85e749ba04521199555dd701198edd097c313d4

13 years agoPublic styles for action bar tabs
Adam Powell [Wed, 8 Jun 2011 22:13:50 +0000 (15:13 -0700)]
Public styles for action bar tabs

Change-Id: Id77d32c6d83ea72662ae8972710860f5fe42e617

13 years agoDo not merge. Return null id for Non-phone device.
John Wang [Tue, 7 Jun 2011 22:37:09 +0000 (15:37 -0700)]
Do not merge. Return null id for Non-phone device.

For non-phone device, i.e. tablet doesn't have voice capability,

getDeviceId returns null while getPhoneType returns PHONE_TYPE_NONE.

This behavior is suggested by developer scheme

http://android-developers.blogspot.com/2011/03/identifying-app-installations.html

and enforced by CTS testGetDeviceId.

bug:4464907
Change-Id: Iaa3832b7323a50deccd438cb884c8e776a7a9640

13 years agoMerge "Fix swipe gesture cosine calculation. Bug: 4124987" into honeycomb-mr2
Jeff Brown [Tue, 7 Jun 2011 23:58:06 +0000 (16:58 -0700)]
Merge "Fix swipe gesture cosine calculation. Bug: 4124987" into honeycomb-mr2

13 years agoFix swipe gesture cosine calculation.
Jeff Brown [Tue, 7 Jun 2011 23:50:14 +0000 (16:50 -0700)]
Fix swipe gesture cosine calculation.
Bug: 4124987

Recent changes introduced a multiplication factor into the
distance calculation which ended up being absent from the
dot product calculation.

Change-Id: Ia367912b9ac09b6285d5a498a0c271563c9e9e39

13 years agoMerge "Fix bug 4533120 - rough handling of invalid event streams in ScaleGestureDetec...
Adam Powell [Tue, 7 Jun 2011 23:19:26 +0000 (16:19 -0700)]
Merge "Fix bug 4533120 - rough handling of invalid event streams in ScaleGestureDetector" into honeycomb-mr2

13 years agoFix bug 4533120 - rough handling of invalid event streams in
Adam Powell [Tue, 7 Jun 2011 23:13:08 +0000 (16:13 -0700)]
Fix bug 4533120 - rough handling of invalid event streams in
ScaleGestureDetector

Make ScaleGestureDetector a bit more tolerant of bogus event streams.

Change-Id: I28a8b1ea494b7f1ca9d4c4623b95aee38f213369

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