89200 Commits

Author SHA1 Message Date
Svetoslav Ganov
481a0aac1f am 88ae2e2a: am d9c99124: Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
* commit '88ae2e2abeda94f3ec1d87ffad35e7e5d716a94f':
  Incorrect temporary detach of accessibility focused view may lead to a crash.
2012-10-05 20:09:12 -07:00
Svetoslav Ganov
88ae2e2abe am d9c99124: Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
* commit 'd9c99124d4870361c7c1e28fb78adf245eb1305a':
  Incorrect temporary detach of accessibility focused view may lead to a crash.
2012-10-05 20:06:50 -07:00
Svetoslav Ganov
d9c99124d4 Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev 2012-10-05 20:04:37 -07:00
Jeff Brown
e1afcc3c49 am 0a12b8e5: am 4d12d5be: Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev
* commit '0a12b8e59ba576f7f2e90011d3fa3dc7b9f17acf':
  Recover from bad input event timestamps from the kernel.
2012-10-05 19:50:04 -07:00
Jeff Brown
0a12b8e59b am 4d12d5be: Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev
* commit '4d12d5be8fafc7bfe2f677357d326514ad5986e3':
  Recover from bad input event timestamps from the kernel.
2012-10-05 19:47:41 -07:00
Jeff Brown
4d12d5be8f Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev 2012-10-05 19:44:36 -07:00
Svetoslav Ganov
a7bcb546bc Screen magnification cannot be engaged in landscape on a phone.
1. The reason is that the screen magnifier computes that the whole
   screen is not magnifiable. The miscalculation was caused due to
   an incorrect assumption that the non-magnified area is only at
   the bottom. In fact, on a phone in landscape the non-magnified
   area is both on the right and at the bottom. This change adds
   a correct algorithm for computing the magnified region.

2. Increasing the delay for computing the magnified area when the
   keyguard goes away to allow all windows hidden by the keyguard
   to be shown. In rare occasions the previous delay was not long
   enough resulting in a state where the keyboard is considered
   a part of the magnified region.

3. Removed some dead code.

bug:7293097

Change-Id: Ic5ff91977df8bcf4afd77071685c3eb20555d4f3
2012-10-05 19:39:26 -07:00
Jeff Brown
f33b2b2b24 Recover from bad input event timestamps from the kernel.
This can happen due to a race when the input device is
opened or if the kernel happens to be missing the required
Android patches to set the timestamp correctly.

Bug: 7291243
Change-Id: If4319440eaff2889147c86296abd39efc5664346
2012-10-05 19:33:28 -07:00
Amith Yamasani
abaa0988e7 am 72b04de0: am b71ccfcf: Merge "Fix widget cross-talk between users due to Settings widget" into jb-mr1-dev
* commit '72b04de04b1d2f99be68091b6fe569f0d364aa1f':
  Fix widget cross-talk between users due to Settings widget
2012-10-05 19:18:10 -07:00
Amith Yamasani
72b04de04b am b71ccfcf: Merge "Fix widget cross-talk between users due to Settings widget" into jb-mr1-dev
* commit 'b71ccfcf9b049372cdbd4f3f0bf51159e384f217':
  Fix widget cross-talk between users due to Settings widget
2012-10-05 19:15:33 -07:00
Chris Craik
b30cb10a0c Use offset in line drawing
Partial revert of cb4d6009

bug:7299070
Change-Id: I1db7b035e3015e0f6d15c95aef71ea74dbeca13e
2012-10-05 19:14:02 -07:00
Amith Yamasani
b71ccfcf9b Merge "Fix widget cross-talk between users due to Settings widget" into jb-mr1-dev 2012-10-05 19:13:46 -07:00
Dirk Dougherty
4281a35d50 am e491ab0f: am 2b1cab00: am 42bf1848: am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit 'e491ab0fff3882fe01ffaa0b477c8f37495b0023':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:12:28 -07:00
Dirk Dougherty
e491ab0fff am 2b1cab00: am 42bf1848: am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit '2b1cab00d1a47d51f13c44449c91824d59b8211e':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:09:40 -07:00
Dirk Dougherty
2b1cab00d1 am 42bf1848: am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit '42bf1848fef341f4da38d6342856a189adada8d2':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:07:43 -07:00
Dirk Dougherty
42bf1848fe am daf69014: am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit 'daf69014b5f25accae38dfef3d5880b4b7b87f8b':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:06:06 -07:00
Dirk Dougherty
daf69014b5 am a4c7176d: Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs
* commit 'a4c7176dbc5193085ba3f2f602d16adac12cfa63':
  Doc change: Add core quality and tablet quality docs and spotlight.
2012-10-05 19:03:51 -07:00
Dirk Dougherty
a4c7176dbc Merge "Doc change: Add core quality and tablet quality docs and spotlight." into jb-dev-docs 2012-10-05 19:01:06 -07:00
Dirk Dougherty
25c063d4e3 am 65a038aa: am bfe4362a: am 07afab6b: am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit '65a038aa950b3e472abb981772afc9f3a613d6d8':
  Doc change: edits to distribute content.
2012-10-05 19:00:50 -07:00
Dirk Dougherty
65a038aa95 am bfe4362a: am 07afab6b: am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit 'bfe4362a4ce707ba8fa03e4257c37f396340914a':
  Doc change: edits to distribute content.
2012-10-05 18:58:23 -07:00
Dirk Dougherty
bfe4362a4c am 07afab6b: am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit '07afab6bd4ef390f97096f14a2bb3d5852836b4c':
  Doc change: edits to distribute content.
2012-10-05 18:56:40 -07:00
Svetoslav Ganov
f772cba597 Accessibility active window not updated on time.
1. The active window is the one the user is touching or the one
   that has input focus. It has to be made current immediately
   after the user has stopped touching the screen because if the
   user types with the IME he should get a feedback for the
   letter typed in the text view which is in the input focused
   window. Note that we always deliver hover accessibility events
   (they are a result of user touching the screen) so change of
   the active window before all hover accessibility events from
   the touched window are delivered is fine.

bug:7296890

Change-Id: I1ae87c8419e2f19bd8eb68de084c7117c66894bc
2012-10-05 18:56:26 -07:00
Dirk Dougherty
07afab6bd4 am 34765caf: am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit '34765caf6543bce8a4669563eb21f0077d4e2d26':
  Doc change: edits to distribute content.
2012-10-05 18:54:45 -07:00
Dirk Dougherty
34765caf65 am d8a4a72a: Merge "Doc change: edits to distribute content." into jb-dev-docs
* commit 'd8a4a72ab5f99d2dc5e95a07d9e3eb6ada40da6b':
  Doc change: edits to distribute content.
2012-10-05 18:52:13 -07:00
Dirk Dougherty
d8a4a72ab5 Merge "Doc change: edits to distribute content." into jb-dev-docs 2012-10-05 18:50:03 -07:00
Svetoslav Ganov
c886060272 Incorrect temporary detach of accessibility focused view may lead to a crash.
1. If an app naither reattaches nor removes detached view that has
   accessibility focus, an exception in the drawing of accessibility
   focus occurs since we are trying to compute the focused rect by
   offseting the bounds of the focused view in coords of the root
   but the focused one is not attached.

bug:7297191

Change-Id: Ib69d52e474b8ea365754f5311f5e809bd757dd1a
2012-10-05 18:47:13 -07:00
Dirk Dougherty
9aeb0a81da Doc change: Add core quality and tablet quality docs and spotlight.
Change-Id: Ia88e66818200fdc20417c0fe20672a5758284028

Conflicts:

	docs/html/distribute/googleplay/quality/core.jd
	docs/html/distribute/googleplay/quality/index.jd
	docs/html/distribute/googleplay/quality/tablet.jd
2012-10-05 18:47:10 -07:00
Adam Cohen
a21bf0c6ea Suppress unnecessary calls to update widget size (issue 7287744)
Change-Id: I2cec03a32b42f7a56e0f538dcd5c09de4ce2e076
2012-10-05 18:20:46 -07:00
Satoshi Kataoka
1bdb01a099 am f23a2df3: am f9485002: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit 'f23a2df326418bdc42c2e27a66383a60935f1f05':
  Fix the issue on the input method switch picker
2012-10-05 18:02:24 -07:00
Satoshi Kataoka
f23a2df326 am f9485002: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit 'f948500239803b2b7247ff5058e39e4d645c5b70':
  Fix the issue on the input method switch picker
2012-10-05 18:01:14 -07:00
Satoshi Kataoka
f948500239 Merge "Fix the issue on the input method switch picker" into jb-mr1-dev 2012-10-05 17:59:09 -07:00
Svetoslav Ganov
5bfa59b32f am 82d5b6e1: am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '82d5b6e1dde07fbd0bd6ed1720c92e06b7dadd93':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:38:27 -07:00
Svetoslav Ganov
82d5b6e1dd am 020daada: Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev
* commit '020daada9d5311921fe3185c68f083cf4aac18f8':
  Accessibility focus not cleared on temporary detach.
2012-10-05 17:36:16 -07:00
Jim Miller
d172ca9191 am 263d99aa: am 5a3322fe: Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
* commit '263d99aaa6a6a827dbac1e1a6b6b18b9bb0f78b7':
  Fix unresponsive back button in keyguard.
2012-10-05 17:35:27 -07:00
Jeff Brown
a3225e20de Fix a deadlock involving BatteryService.
The PowerManager may call into the BatteryService while
holding its locks.  We need to be careful that the BatteryService
doesn't call into other services, particularly the ActivityManager
while holding its own locks.

Bug: 7298218
Change-Id: Ibf8ab13224f204a9857825265e864f93583bce8e
2012-10-05 17:34:41 -07:00
Jim Miller
b62305412b Don't disable multi-user widget when Device Policy is enabled.
While fixing this bug, I fixed a few other issues:
- Always call showAppropriateWidgetPage(), even when DPM enabled
- Always disable status view interaction, even when DPM enabled

Fixes bug 7294880

Change-Id: Ia8495555c1940f2b38f42389558f46fde6aab775
2012-10-05 17:34:28 -07:00
Jeff Brown
bfd4e32509 Lock the screen while dreaming after the appropriate timeout.
Bug: 7267187
Change-Id: I26ce3970a2d7cf446efe3e8c810fbbf3ddfcc47b
2012-10-05 17:34:17 -07:00
Jeff Brown
7af8d1bdc5 Ensure that dreams show while docked.
Fixed a race between the UiModeManagerService and PowerManagerService
both of which are trying to wake the device when docked / powered.

Bug: 7281240
Change-Id: Ia41fef48f17f2a2eb56549437d295f9a86c95af2
2012-10-05 17:34:06 -07:00
Jeff Brown
2fc69ff376 Coordinate screen on with the window manager.
Bug: 7267457
Change-Id: Ic2c322253639e1f0b2e4e72a7b145025d0240f93
2012-10-05 17:33:56 -07:00
Svetoslav Ganov
020daada9d Merge "Accessibility focus not cleared on temporary detach." into jb-mr1-dev 2012-10-05 17:33:36 -07:00
Jim Miller
263d99aaa6 am 5a3322fe: Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev
* commit '5a3322fec3be02cda158a0a9c66be725e4056746':
  Fix unresponsive back button in keyguard.
2012-10-05 17:32:25 -07:00
Jim Miller
5a3322fec3 Merge "Fix unresponsive back button in keyguard." into jb-mr1-dev 2012-10-05 17:29:36 -07:00
Svetoslav Ganov
8d0739da7f Accessibility focus not cleared on temporary detach.
1. There was a path for removing a view without clearing its accessibility focus.
   Then when we try to draw the focused rectangle we get an exception since the
   accessibility focused view is not attached to the view tree when computing
   the location of the rectangel to draw.

bug:7297191

Change-Id: I81e3c35e830e27cf95e73accb665629d0c456afb
2012-10-05 17:26:49 -07:00
Amith Yamasani
8320de8e29 Fix widget cross-talk between users due to Settings widget
Bug: 7247911
Bug: 7294899

Also did some cleanup of unused code that resulted from refactoring
the app widget service. Fixed a few more ambiguous calls that weren't
using the correct user id.
Added some logging and improved the dump() formatting.

Change-Id: I27abb5c6341458e1e50a2cc9ab67e8de573ab283
2012-10-05 17:24:37 -07:00
Jeff Brown
5b7d892209 am 3894073c: am fdcb2257: Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev
* commit '3894073c1daa5dc5bf8b459be1e4a60b3832f1bb':
  Fix a deadlock involving BatteryService.
2012-10-05 17:21:31 -07:00
Jim Miller
0a34d9edf0 Fix unresponsive back button in keyguard.
When keyguard doesn't have focus, events weren't being propagated to
keyguard properly.  The fix is to grab the back-button event from the
top-level view and handle it there.

Change-Id: Ied9761919cff30173f43f03e4c2a1732387e618e
2012-10-05 17:15:41 -07:00
Jeff Brown
3894073c1d am fdcb2257: Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev
* commit 'fdcb2257d20435326baa41dd713c7ffee322e84c':
  Fix a deadlock involving BatteryService.
2012-10-05 17:14:13 -07:00
Scott Main
808f5553b4 am 85307740: am 6409e445: am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '853077407489b702504d8c086c0ef48152727fa2':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:12:29 -07:00
Jeff Brown
fdcb2257d2 Merge "Fix a deadlock involving BatteryService." into jb-mr1-dev 2012-10-05 17:11:14 -07:00
Scott Main
8530774074 am 6409e445: am 1c2056d6: am 98d4d719: am 2ed01adc: a few more crosslinks for design guide (to other design docs or dev docs)
* commit '6409e445fbaef14852d13d51441538c0739ec07e':
  a few more crosslinks for design guide (to other design docs or dev docs)
2012-10-05 17:10:23 -07:00