Commit Graph

19137 Commits

Author SHA1 Message Date
Chet Haase
9d5670a032 am 5ce34861: Merge "Fix 5335993, calculate correct size of lockscreen buttons"
* commit '5ce348615b6572451c81e9962aadeb061fca19cc':
  Fix 5335993, calculate correct size of lockscreen buttons
2011-09-22 07:56:58 -07:00
Chet Haase
5ce348615b Merge "Fix 5335993, calculate correct size of lockscreen buttons" 2011-09-22 07:55:23 -07:00
Ken Wakasa
ed594d1e22 am 9f48d634: Fix comment
* commit '9f48d6348d0a1c24e51d6526fb6b282997b22ae5':
  Fix comment
2011-09-22 03:52:53 -07:00
Ken Wakasa
9f48d6348d Fix comment
Change-Id: Ic0fd15d0b1b4d2c24eb177a6b22e0cc08ec1de99
2011-09-22 19:24:48 +09:00
Jeff Brown
088663e846 am a829e166: Merge "Handle orientation changes more systematically. Bug: 4981385"
* commit 'a829e16681903e6a41901145195f88bf9d952f88':
  Handle orientation changes more systematically. Bug: 4981385
2011-09-21 21:11:37 -07:00
Jeff Brown
a829e16681 Merge "Handle orientation changes more systematically. Bug: 4981385" 2011-09-21 21:09:10 -07:00
Jeff Brown
01a98ddbdf Handle orientation changes more systematically.
Bug: 4981385

Simplify the orientation changing code path in the
WindowManager.  Instead of the policy calling setRotation()
when the sensor determined orientation changes, it calls
updateRotation(), which figures everything out.  For the most
part, the rotation actually passed to setRotation() was
more or less ignored and just added confusion, particularly
when handling deferred orientation changes.

Ensure that 180 degree rotations are disallowed even when
the application specifies SCREEN_ORIENTATION_SENSOR_*.
These rotations are only enabled when docked upside-down for
some reason or when the application specifies
SCREEN_ORIENTATION_FULL_SENSOR.

Ensure that special modes like HDMI connected, lid switch,
dock and rotation lock all cause the sensor to be ignored
even when the application asks for sensor-based orientation
changes.  The sensor is not relevant in these modes because
some external factor (or the user) is determining the
preferred rotation.

Currently, applications can still override the preferred
rotation even when there are special modes in play that
might say otherwise.  We could tweak this so that some
special modes trump application choices completely
(resulting in a letter-boxed application, perhaps).
I tested this sort of tweak (not included in the patch)
and it seems to work fine, including transitions between
applications with varying orientation.

Delete dead code related to animFlags.

Handle pausing/resuming orientation changes more precisely.
Ensure that a deferred orientation change is performed when
a drag completes, even if endDragLw() is not called because the
drag was aborted before the drop happened.  We pause
the orientation change in register() and resume in unregister()
because those methods appear to always be called as needed.

Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
2011-09-21 19:26:15 -07:00
Svetoslav Ganov
99f5486054 am df8e00ff: am 624181af: Merge "Settings are restored in alphabetical order rather in order of dependency." into ics-factoryrom
* commit 'df8e00ff335be747ec3b99038734d2c6bec6499f':
  Settings are restored in alphabetical order rather in order of dependency.
2011-09-21 19:13:14 -07:00
Jaikumar Ganesh
a42a8038dd am a0c7ec2b: am 90fb9aa9: Merge "Make Bluetooth Health constant public." into ics-factoryrom
* commit 'a0c7ec2b5a6940c504ea5af0db46ebc0ec091155':
  Make Bluetooth Health constant public.
2011-09-21 19:11:02 -07:00
Kenny Root
d5ebd5694f am 0d3647dc: am 9c711282: Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom
* commit '0d3647dc00849872ec5e18cce8ffe0e6ae02dd47':
  Unhide new PackageManager APIs for API 14
2011-09-21 19:10:58 -07:00
Svetoslav Ganov
df8e00ff33 am 624181af: Merge "Settings are restored in alphabetical order rather in order of dependency." into ics-factoryrom
* commit '624181af38f7f9e4fe4a18ca3e15204f30609312':
  Settings are restored in alphabetical order rather in order of dependency.
2011-09-21 19:08:28 -07:00
Svetoslav Ganov
624181af38 Merge "Settings are restored in alphabetical order rather in order of dependency." into ics-factoryrom 2011-09-21 19:06:26 -07:00
Jaikumar Ganesh
a0c7ec2b5a am 90fb9aa9: Merge "Make Bluetooth Health constant public." into ics-factoryrom
* commit '90fb9aa93a350d5571a378923c2566f48e44ad3e':
  Make Bluetooth Health constant public.
2011-09-21 18:57:00 -07:00
Kenny Root
0d3647dc00 am 9c711282: Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom
* commit '9c711282ad234e104c34eb4408d85fc1bb149ded':
  Unhide new PackageManager APIs for API 14
2011-09-21 18:56:52 -07:00
Adam Powell
1ad36c30d4 am c3e4454f: Merge "Fix bug 5300621 - Share menu disappears in gallery"
* commit 'c3e4454fdb57391c8d7c77a9d61381d0f4d857e8':
  Fix bug 5300621 - Share menu disappears in gallery
2011-09-21 18:27:20 -07:00
Adam Powell
c3e4454fdb Merge "Fix bug 5300621 - Share menu disappears in gallery" 2011-09-21 18:26:13 -07:00
Svetoslav Ganov
a571a5836c Settings are restored in alphabetical order rather in order of dependency.
Settings were restore in alphabetical order and capturing dependency
among them required keys to be chosen in such a way that after sorting
they apprear in dependency order. Now settings are exported and restored
in the order they are declared in the arrays of settings to backup.
Hence, the order in this array will capture the dependency order.

bug:5343351

Change-Id: I93a40bcdd194943cd6f85aa18f1557d546e38274
2011-09-21 18:21:24 -07:00
Jaikumar Ganesh
90fb9aa93a Merge "Make Bluetooth Health constant public." into ics-factoryrom 2011-09-21 17:44:32 -07:00
Adam Powell
823f074a73 Fix bug 5300621 - Share menu disappears in gallery
ActionProviders (or action views) unfortunately had no way to report
that they had opened a sub-UI that would affect menu visibility
listeners used to hide action bars when not in use. This caused the
Gallery UI to hide its action bar when the share popup was open.

Add hidden API (to be made public later) to ActionProvider that can be
used to inform the menu system that a sub UI has opened or
closed. Account for this in menu visibility callbacks. Fix
ShareActionProvider to use this when its popup windows open and close.

Fix a regression where submenus were not properly reporting visibility
changes.

Change-Id: Ia6f45fb463ad106105c40d01f141c2e5c8b96f78
2011-09-21 17:21:47 -07:00
Kenny Root
9c711282ad Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom 2011-09-21 16:35:52 -07:00
Jaikumar Ganesh
fd966a124f Make Bluetooth Health constant public.
Change-Id: I366f1231056fe978d85ee80c773d5911badb22e2
2011-09-21 16:03:42 -07:00
Mangesh Ghiware
230b11b832 am f2bf48b7: Merge "Use overview scale when restored scale is 0."
* commit 'f2bf48b7c6d9edfe4c391687e744484a5b65672f':
  Use overview scale when restored scale is 0.
2011-09-21 15:22:01 -07:00
Mangesh Ghiware
f2bf48b7c6 Merge "Use overview scale when restored scale is 0." 2011-09-21 15:20:03 -07:00
Mangesh Ghiware
faab93d1ac Use overview scale when restored scale is 0.
If restored scale and text wrap scale are set to 0 (meaning the previous
scale wasn't saved), set them to overview and reading level scale
respectively.

Bug: 5230909
Change-Id: If7724e9a0cd948c88d0a001728266a3282083bdc
2011-09-21 14:57:11 -07:00
Wink Saville
0db163c9aa am d30f7372: am 4aa8d943: Merge "Reduce connectivity logging" into ics-factoryrom
* commit 'd30f73725bf6f7b668244a0e51245a85005c3e9f':
  Reduce connectivity logging
2011-09-21 14:16:10 -07:00
Wink Saville
d30f73725b am 4aa8d943: Merge "Reduce connectivity logging" into ics-factoryrom
* commit '4aa8d943a970008915b703758743b107927d96fa':
  Reduce connectivity logging
2011-09-21 14:14:28 -07:00
Wink Saville
4aa8d943a9 Merge "Reduce connectivity logging" into ics-factoryrom 2011-09-21 14:12:42 -07:00
Wink Saville
c9acde9aa6 Reduce connectivity logging
Change-Id: I5d45b8fbcd01e42df7f2b1cf02fb5b226128abb8
2011-09-21 11:05:43 -07:00
Gilles Debunne
453afc8ca3 am a80599f5: Revert "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
* commit 'a80599f5be394edd9f3918ba03c490850a1d9e7f':
  Revert "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
2011-09-21 11:02:10 -07:00
Gilles Debunne
a80599f5be Revert "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
This reverts commit 6e405f84b8.

Change-Id: I9593273d414aee1f9817f84b462cf45360ff19e3
2011-09-21 10:58:03 -07:00
Chih-Chung Chang
a5f8b2b1c0 am 73d84df8: Merge "Fix 5229466: don\'t consume pointer events outside the window"
* commit '73d84df819a5086cb7baa8f95872c6786c0e0df7':
  Fix 5229466: don't consume pointer events outside the window
2011-09-21 02:28:25 -07:00
Chih-Chung Chang
d1396fbc64 Fix 5229466: don't consume pointer events outside the window
Change-Id: Ifa3d1d5edd81346e6ca80e113f80914ee2c47055
2011-09-21 15:56:26 +08:00
Gilles Debunne
82f3d6c6ee am 576b6bb2: Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up"
* commit '576b6bb2f9a72cc7599a254818b8d6a1df25ecb5':
  Bug 5248215: Even though I turned off the Spelling correction, it still shows up
2011-09-20 18:04:35 -07:00
Gilles Debunne
576b6bb2f9 Merge "Bug 5248215: Even though I turned off the Spelling correction, it still shows up" 2011-09-20 18:02:45 -07:00
Svetoslav Ganov
bb7d74b49e am 4877b85a: Merge "ActivityChooserView not showing highest ranked target if default action not shown."
* commit '4877b85aea6ae1e4c486e28fc5c684ea02fe82be':
  ActivityChooserView not showing highest ranked target if default action not shown.
2011-09-20 17:43:42 -07:00
Svetoslav Ganov
4877b85aea Merge "ActivityChooserView not showing highest ranked target if default action not shown." 2011-09-20 17:41:59 -07:00
Svetoslav Ganov
0fb757440d am acee06fa: Merge "TextView not adding text to accessibility events."
* commit 'acee06fa6297c456dba86e37ba715392a7f43c3b':
  TextView not adding text to accessibility events.
2011-09-20 16:25:38 -07:00
Matthew Xie
ce08bd76c8 am e0515aad: am 778eccf4: Merge "Check null of pidPair to skip the case the service record has been removed" into ics-factoryrom
* commit 'e0515aad3a51aa2eadce5c448f771d2372916939':
  Check null of pidPair to skip the case the service record has been removed
2011-09-20 16:24:29 -07:00
RoboErik
d6814dd9cf am 0f337df1: am bbb11b80: Merge "Add a warning to changing colors in the docs" into ics-factoryrom
* commit '0f337df1c06035ba463bf630357a92e62e698893':
  Add a warning to changing colors in the docs
2011-09-20 16:24:06 -07:00
Svetoslav Ganov
efab4e7f59 ActivityChooserView not showing highest ranked target if default action not shown.
The view was not showing the highest ranked activity if the default action
button was not shown (happens if no history is present).

bug:5224159

Change-Id: I66536513e14496568ea2034467bd29ea4bc93cdb
2011-09-20 15:13:35 -07:00
Svetoslav Ganov
acee06fa62 Merge "TextView not adding text to accessibility events." 2011-09-20 14:57:57 -07:00
Jason Simmons
8d3538d016 resolved conflicts for merge of 0799e951 to ics-aah
Change-Id: I4f968fa84aa395c63c28053ef0f489161530bf86
2011-09-20 14:36:22 -07:00
Kenny Root
3a9b5fbb97 Unhide new PackageManager APIs for API 14
Change-Id: I83110285ccee39a4cd872a1c2af8357f541833d4
2011-09-20 14:35:10 -07:00
Ben Murdoch
5f9a717a88 am f9580d59: Merge "Cleanup for bug 5278763"
* commit 'f9580d594a489aab2a3bbaf8ffc1bdbbe3aaf8b6':
  Cleanup for bug 5278763
2011-09-20 14:15:37 -07:00
Chih-Chung Chang
59ec02e87f am ed4cfe70: Merge "Fix 5224359: Add width and height to media store."
* commit 'ed4cfe70ca165b6469d2c9fb1b5296afdff1faae':
  Fix 5224359: Add width and height to media store.
2011-09-20 14:15:03 -07:00
Matthew Xie
e0515aad3a am 778eccf4: Merge "Check null of pidPair to skip the case the service record has been removed" into ics-factoryrom
* commit '778eccf4923571c77f158e92b2f5f0f7dfd21875':
  Check null of pidPair to skip the case the service record has been removed
2011-09-20 14:14:29 -07:00
RoboErik
0f337df1c0 am bbb11b80: Merge "Add a warning to changing colors in the docs" into ics-factoryrom
* commit 'bbb11b80106c8687f2833c3d4b538029fc0805e6':
  Add a warning to changing colors in the docs
2011-09-20 14:14:11 -07:00
Svetoslav Ganov
d37848af08 TextView not adding text to accessibility events.
Reversed conditional.

bug:5342756

Change-Id: Ia2a523af6f7b12e27275e6095ea1b137768ea14c
2011-09-20 14:03:59 -07:00
Matthew Xie
778eccf492 Merge "Check null of pidPair to skip the case the service record has been removed" into ics-factoryrom 2011-09-20 13:55:48 -07:00
Dianne Hackborn
0799e951a6 Merge "Fix issue #5312624: Lock screen very flickery" 2011-09-20 12:37:10 -07:00