74582 Commits

Author SHA1 Message Date
Dianne Hackborn
ff5b158f69 Keep activities stopped while the lock screen is up.
Tell the activity manager when the lock screen is shown, so it
can keep itself (mostly) in sleep mode during this time, having
the foreground actvities remain in their stopped state.

Change-Id: I71c86d3298f23a98014d7ae36fd540c9df9a64e6
2012-04-12 17:26:55 -07:00
Dianne Hackborn
b0398f59aa Merge "Clean up lock screen hide animation." 2012-04-12 15:28:52 -07:00
Dianne Hackborn
0c2acffec8 Clean up lock screen hide animation.
We now have an animation to apply to the thing behind the lock
screen animation when it isn't on the wallpaper, which looks
similar to the animation we use when both are on the wallpaper.

In implementing this, cleaned up the code to figure out up-front
which animation to run, getting rid of that kludgy thing that
cleared the window animation if the wallpaper was not being used
for the lower windows.

Change-Id: Ifc4c8a8894ad384124dcf4bbdaab134f1157b0f3
2012-04-12 15:26:11 -07:00
Wink Saville
dd7bdb0af7 Merge "Fix phone is sometimes in America/Dawson canadian time zone" 2012-04-12 15:25:55 -07:00
Wink Saville
335ef47968 Fix phone is sometimes in America/Dawson canadian time zone
Add code that updates the time zone whenever the country code
or time zone changes. In bug 6269708 the device initially
reported the mcc as 001 and then a short time later it got
the correct code, 311. This could cause the time zone to be
reported as America/Dawson instead of America/Los_Angeles.

Bug: 6269708
Change-Id: Ibfb40ea1158d3b99c121ed9960a1f0b1a45980bd
2012-04-12 15:11:59 -07:00
John Reck
84d5e21921 Merge "Remove debug log" 2012-04-12 15:08:48 -07:00
John Reck
5c44fee5e9 Merge "Improve when highlight rects are shown" 2012-04-12 15:08:39 -07:00
John Reck
d855ffd514 Remove debug log
Change-Id: Ia76103b2a0225df2637af917c5ac352497ca0cf6
2012-04-12 14:45:49 -07:00
John Reck
2d8c13bd1c Improve when highlight rects are shown
Bug: 6319429

Change-Id: I8eb989d94433c01406cdb32e01034c644078a133
2012-04-12 14:19:05 -07:00
Svetoslav Ganov
f21bea245a Merge "CheckBox should not populate AccessibilityEvent with text." 2012-04-12 14:16:42 -07:00
Dianne Hackborn
ed4995d646 Merge "Change window manager to use fixed size for the status bar." 2012-04-12 14:10:41 -07:00
Dianne Hackborn
742696601b Merge "Revert to ICS screen rotation animation." 2012-04-12 14:09:40 -07:00
Svetoslav Ganov
1728c07bfb CheckBox should not populate AccessibilityEvent with text.
1. Accessibility services are the ones that choose how to
   announces the checked state of a checkable control, so
   CheckBox should not add strings for its state to access
   events.

2. Removed some unused accessibility related strings.

bug:6241115

Change-Id: I572b961191da4b3537fb6cad529d9764d39161ec
2012-04-12 13:59:42 -07:00
Dianne Hackborn
187ae2105e Revert to ICS screen rotation animation.
Change-Id: Ida76f17a00e4c8ab828deae51095107e4eeaa321
2012-04-12 13:08:26 -07:00
Quddus Chong
9492947a59 am 5f9d36d5: am 02c6cad7: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '5f9d36d5b987dad1f8f13e2a392f5320cbc6053f':
2012-04-12 13:04:54 -07:00
Quddus Chong
a2a059d6ca am 2a1a1fa6: am 6073985e: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '2a1a1fa626bfc626577730407651d9fca2d375c7':
2012-04-12 13:02:41 -07:00
Quddus Chong
5f9d36d5b9 am 02c6cad7: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '02c6cad7c49942336ed6a8fe015c0cb4eced0c82':
2012-04-12 13:01:29 -07:00
Quddus Chong
4f8b71e41d am a97a7b5a: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit 'a97a7b5a6efac20a112c1833579a0a2b17bc058e':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 13:01:00 -07:00
Quddus Chong
2a1a1fa626 am 6073985e: am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6073985e8a6d3f32f86a24e7a2a6bbf5b6a90b4e':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 13:00:18 -07:00
Quddus Chong
02c6cad7c4 am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:27 -07:00
Quddus Chong
6073985e8a am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:20 -07:00
Quddus Chong
a97a7b5a6e am 6971153d: Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1
* commit '6971153d88ebe2e441b75081a273b88424498a45':
  docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537
2012-04-12 12:58:11 -07:00
Quddus Chong
6971153d88 Merge "docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event). Bug: 6318537" into ics-mr1 2012-04-12 12:56:29 -07:00
Svetoslav Ganov
95487eb90c Merge "Some view not shown on the screen are reported for accessibility." 2012-04-12 12:54:25 -07:00
Svetoslav Ganov
aa6f3de253 Some view not shown on the screen are reported for accessibility.
1. Some applications are keeping around visible views off screen
   to improve responsiveness by drawing them in layers, etc. While
   such a view is not visible on the screen the accessibility layer
   was reporting it since it was visible. Now the check is improved
   to verify whether the view is attached, is in visible window,
   is visible, and has a rectangle that is not clipped by its
   predecessors.

2. AccessibilityNodeInfo bounds in screen were not properly set
   since only the top left point was offset appropriately to
   take into account any predecessor's transformation matrix
   and the not transformed width and height were used. Now
   the bounds are properly offset.

bug:6291855

Change-Id: I244d1d9af81391676c1c9e0fe86cf4574ff37225
2012-04-12 12:51:27 -07:00
Robert Ly
108c0b9929 am 03c8a189: am 920e2eef: am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '03c8a189901fe5cb71e6e5fa5d171bd64ef6df33':
2012-04-12 12:37:50 -07:00
Robert Ly
c868f47495 am 75364054: am 9a00e8f1: am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '75364054ac22a375ae737adbb571a98afa0c21a6':
2012-04-12 12:35:25 -07:00
Quddus Chong
ee71b1fa2d docs: Fixed method description for onKeyDown(int keyCode, KeyEvent event).
Bug: 6318537

Change-Id: I4fb0f103bfe3ddf485e1bfa76eb39a51adce1aaa
2012-04-12 12:34:53 -07:00
Robert Ly
03c8a18990 am 920e2eef: am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '920e2eeff321a7b029af9c1aee35b9070b2d18e8':
2012-04-12 12:34:43 -07:00
Robert Ly
75364054ac am 9a00e8f1: am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '9a00e8f138b13b551a96104675c93035ea1eface':
  docs: fix bug 5158332
2012-04-12 12:32:18 -07:00
Robert Ly
607abafe01 am 127fe418: am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '127fe418d664eee99f91123011717bf25c00fc1f':
  docs: fix bug 5158332
2012-04-12 12:32:16 -07:00
Robert Ly
9a00e8f138 am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '070827e6031a312d368f33fb1ad8babff92e64e4':
  docs: fix bug 5158332
2012-04-12 12:29:33 -07:00
Robert Ly
920e2eeff3 am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '070827e6031a312d368f33fb1ad8babff92e64e4':
  docs: fix bug 5158332
2012-04-12 12:29:29 -07:00
Robert Ly
127fe418d6 am 070827e6: Merge "docs: fix bug 5158332" into ics-mr1
* commit '070827e6031a312d368f33fb1ad8babff92e64e4':
  docs: fix bug 5158332
2012-04-12 12:29:20 -07:00
Robert Ly
070827e603 Merge "docs: fix bug 5158332" into ics-mr1 2012-04-12 12:27:20 -07:00
James Dong
f3d9f5d097 Merge "Fix failure from setDataSource(String path) when path is a local file" 2012-04-12 12:08:31 -07:00
Chet Haase
793807fff1 Merge "Fix AnimatorSet duration issue" 2012-04-12 12:02:13 -07:00
James Dong
e00b6f3a57 Fix failure from setDataSource(String path) when path is a local file
o the failure was because the mediaserver does not have read permission to sdcard
o related-to-bug: 6325960,6322913

Change-Id: I4feec01b8165c78563eee8aab69cb24df3244d03
2012-04-12 11:50:17 -07:00
Romain Guy
decd3039ca Merge "Don't wait for screen on to finish animations" 2012-04-12 11:35:58 -07:00
Romain Guy
eb37889071 Don't wait for screen on to finish animations
OldAnimations™ would set their start time during the first frame drawn
after calling View.startAnimation(). If this method was invoked while
the screen was off, this would cause the animation to start playing
when the screen turned back on.

Change-Id: Ic45a1af2020a7f5e81c2544bd8f16a6bedbd6849
2012-04-12 11:33:14 -07:00
Amith Yamasani
2b23adbc33 Merge "Make dumpsys activity services work again." 2012-04-12 11:18:08 -07:00
Steve Block
b187d52f8a Merge "Minor clean-up in DeviceOrientation and DeviceMotion" 2012-04-12 11:02:29 -07:00
Amith Yamasani
7463adacbd Make dumpsys activity services work again.
Due to the step to query the users, dumpsys was crashing when run
as non-root. Clearing the calling identity after checking perms
fixes this.

Bug: 6311443
Change-Id: I0b0bca5c7305cea19adc772b3bfec34c16bb24c4
2012-04-12 10:41:19 -07:00
Jeff Brown
bf68a02b5f Merge "HID usage should take precedence over scan code." 2012-04-12 10:24:31 -07:00
Jeff Brown
cc11698319 HID usage should take precedence over scan code.
Change-Id: Ibd8988e3dcc0d64f4019ffe491d9789733f9d243
2012-04-12 10:05:41 -07:00
John Reck
a3fab1cbd2 Merge "Cleanup unused code" 2012-04-12 09:54:28 -07:00
Brian Colonna
28705f4a96 Merge "Changed FUL calls to more general biometric sensor calls" 2012-04-12 08:36:20 -07:00
Chet Haase
c299a33841 Fix AnimatorSet duration issue
Setting the duration on an AnimatorSet should propagate that value
to its children. This works, but only if all children are added to the set
before setDuration() is called. This fix delays that propagation until
the set is started, making it possible to have a more flexible order of when
the children are added and when the duration is set.

Issue #6324904 AnimatorSet durations too long

Change-Id: I797971c2310eb2e3fe931b4aa35de505f2a519f7
2012-04-12 07:51:50 -07:00
Steve Block
5ba2efeb9f Minor clean-up in DeviceOrientation and DeviceMotion
No functional change.

See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700

Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
2012-04-12 11:08:13 +01:00
Jonathan Dixon
39edeeefe7 Merge "Hide WebView.getZoomControls()" 2012-04-12 02:29:50 -07:00