91034 Commits

Author SHA1 Message Date
Craig Mautner
337aa27a63 am 8ee7ac22: am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '8ee7ac22e6aec5df5405a3e2130d593c50bc39b2':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:53:43 -07:00
Craig Mautner
138f272bfc Merge "Save resized windows even if freezing." into jb-mr1-dev 2012-10-07 11:50:55 -07:00
Craig Mautner
8ee7ac22e6 am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '33877e15b8bfc50bd874027689a4794aa93b923d':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:50:54 -07:00
Craig Mautner
33877e15b8 Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev 2012-10-07 11:48:50 -07:00
Daniel Sandler
b17a726f2f Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
2012-10-07 14:48:24 -04:00
Adam Powell
02ff76c5d9 am fee7dded: am f94da061: am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit 'fee7ddedc99e377002aa6a88c3e287cb6e6c405d':
  Quick settings user display and switching
2012-10-07 11:40:19 -07:00
Adam Powell
fee7ddedc9 am f94da061: am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit 'f94da0619c524ec9faf7def068d6888aa5304c96':
  Quick settings user display and switching
2012-10-07 11:37:54 -07:00
Adam Powell
f94da0619c am 786d1092: Merge "Quick settings user display and switching" into jb-mr1-dev
* commit '786d10921b2c525ed22b78ec40ae2554eec85912':
  Quick settings user display and switching
2012-10-07 11:35:34 -07:00
Adam Powell
786d10921b Merge "Quick settings user display and switching" into jb-mr1-dev 2012-10-07 11:33:29 -07:00
John Spurlock
01b28579db am aca8cfc2: am 4101e035: am 7711260e: Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
* commit 'aca8cfc29ad2876a87ba96cb029c5a7589e7ba76':
  Keep quick settings brightness icon/dialog level in sync.
2012-10-07 09:10:35 -07:00
John Spurlock
df52ac86f4 am 0ba37897: am db84d2cc: am fc6825b1: Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
* commit '0ba37897e9ad5e0239dd73e69b43f8cb187b0700':
  Update quick settings wireless display tile per spec.
2012-10-07 09:10:31 -07:00
Jeff Brown
68d0689914 am 38767561: am 4e2fd4c2: am 140cdb7a: Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
* commit '38767561b8b57267bc041b2369b9ca7fb291b7eb':
  Allow the dim brightness to be brighter than the minimum.
2012-10-07 09:10:26 -07:00
Jeff Brown
5b49d07607 am 0ecb72e6: am 00a68f4e: am 2ec390d1: Merge "Increase lock screen timeout when on custom widget page." into jb-mr1-dev
* commit '0ecb72e6d27c360025fd9ceda0c06929da98b414':
  Increase lock screen timeout when on custom widget page.
2012-10-07 09:10:21 -07:00
Svetoslav Ganov
73380439b9 am 134d780b: am 70c0a168: am 1ad0fd9c: Merge "Accessibility active window not updated on time." into jb-mr1-dev
* commit '134d780bab0add90b5f578288e71e7491ea73bfa':
  Accessibility active window not updated on time.
2012-10-07 09:10:17 -07:00
Svetoslav Ganov
ce13d1632c am 3d4ef1c6: am 1a5c9ece: am f81dc4c0: Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
* commit '3d4ef1c60180066982964a17f9f479e775904140':
  Screen magnification cannot be engaged in landscape on a phone.
2012-10-07 09:10:13 -07:00
Dianne Hackborn
bbf0c3b592 am 71c66f0d: am 6d5d7fcb: am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '71c66f0ddaf3db93d0afa9d215a48e44cc23dc43':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:10:08 -07:00
John Spurlock
aca8cfc29a am 4101e035: am 7711260e: Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
* commit '4101e0351f352e569f33244788233452195fb959':
  Keep quick settings brightness icon/dialog level in sync.
2012-10-07 09:07:10 -07:00
John Spurlock
0ba37897e9 am db84d2cc: am fc6825b1: Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
* commit 'db84d2cc6b71cf87aac6f6050f44617837744427':
  Update quick settings wireless display tile per spec.
2012-10-07 09:07:06 -07:00
Jeff Brown
38767561b8 am 4e2fd4c2: am 140cdb7a: Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
* commit '4e2fd4c24796bf831a2354019fb882e3709cc5ff':
  Allow the dim brightness to be brighter than the minimum.
2012-10-07 09:07:03 -07:00
Jeff Brown
0ecb72e6d2 am 00a68f4e: am 2ec390d1: Merge "Increase lock screen timeout when on custom widget page." into jb-mr1-dev
* commit '00a68f4edf0d6da235674bde8274ed51b84b6381':
  Increase lock screen timeout when on custom widget page.
2012-10-07 09:06:59 -07:00
Svetoslav Ganov
134d780bab am 70c0a168: am 1ad0fd9c: Merge "Accessibility active window not updated on time." into jb-mr1-dev
* commit '70c0a168d02146e6f5d43adb13cc0edf0ea8490a':
  Accessibility active window not updated on time.
2012-10-07 09:06:56 -07:00
Svetoslav Ganov
3d4ef1c601 am 1a5c9ece: am f81dc4c0: Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
* commit '1a5c9ecee0a99c3f5eee6e524911e2f6ff5eb747':
  Screen magnification cannot be engaged in landscape on a phone.
2012-10-07 09:06:53 -07:00
Dianne Hackborn
71c66f0dda am 6d5d7fcb: am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '6d5d7fcba944e772041f20022ac275a2ac057eb5':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:06:48 -07:00
John Spurlock
4101e0351f am 7711260e: Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
* commit '7711260e4959686bb1d6f177a843c2108bb04710':
  Keep quick settings brightness icon/dialog level in sync.
2012-10-07 09:02:49 -07:00
John Spurlock
db84d2cc6b am fc6825b1: Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
* commit 'fc6825b1b709e9c73e4c872c8eab5dfab3d1ee08':
  Update quick settings wireless display tile per spec.
2012-10-07 09:02:44 -07:00
Jeff Brown
4e2fd4c247 am 140cdb7a: Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
* commit '140cdb7a5d43e80d1408b05be8dd22c49ad68dfe':
  Allow the dim brightness to be brighter than the minimum.
2012-10-07 09:02:38 -07:00
Jeff Brown
00a68f4edf am 2ec390d1: Merge "Increase lock screen timeout when on custom widget page." into jb-mr1-dev
* commit '2ec390d1ea18eb7f232ce89f7294dc5e640f8b21':
  Increase lock screen timeout when on custom widget page.
2012-10-07 09:02:35 -07:00
Svetoslav Ganov
70c0a168d0 am 1ad0fd9c: Merge "Accessibility active window not updated on time." into jb-mr1-dev
* commit '1ad0fd9c04ae2e352c59129b979145e662f25cbc':
  Accessibility active window not updated on time.
2012-10-07 09:02:27 -07:00
Svetoslav Ganov
1a5c9ecee0 am f81dc4c0: Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
* commit 'f81dc4c08b2985ef369134b73e1b383b8284e912':
  Screen magnification cannot be engaged in landscape on a phone.
2012-10-07 09:02:20 -07:00
Dianne Hackborn
6d5d7fcba9 am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '52177738e8fa38e2f7769db1bcad40e7405baf17':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:02:15 -07:00
John Spurlock
7711260e49 Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev 2012-10-07 06:39:23 -07:00
John Spurlock
fc6825b1b7 Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev 2012-10-07 06:33:42 -07:00
Jeff Brown
140cdb7a5d Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev 2012-10-06 22:53:40 -07:00
Jeff Brown
2ec390d1ea Merge "Increase lock screen timeout when on custom widget page." into jb-mr1-dev 2012-10-06 22:51:59 -07:00
Jeff Brown
c7505bc9dd Increase lock screen timeout when on custom widget page.
Bug: 7290676
Change-Id: I93c48fb24adb24d16ec278a4fdd51a13a85a96c3
2012-10-06 14:25:09 -07:00
Craig Mautner
ade0a9a938 Save resized windows even if freezing.
During app freezes resized windows were being dropped if the freeze
window timed out. This fix adds windows to the list of resized
windows but does not notify the clients of the resize until freezing
is completed.

Bug: 7094175 fixed.
Change-Id: Iee1f5f532a0e661fbf900e4540146ae4b645d68e
2012-10-06 13:55:07 -07:00
Craig Mautner
5962b12bed Adds showWhenLocked attribute to Activities.
The new attribute allows an Activity such as the alarm to appear
on all users screens.

Bug: 7213805 fixed.
Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
2012-10-06 13:09:58 -07:00
Jeff Brown
b76eebff47 Allow the dim brightness to be brighter than the minimum.
Defines the lower end of the allowable screen brightness range
as the lesser of the dim level, the user brightness setting
minimum value and the lowest auto-brightness level.

Bug: 7295909
Change-Id: I7a72b4611631f9e51578205ff12898c5bae02b1b
2012-10-06 12:37:47 -07:00
Svetoslav Ganov
1ad0fd9c04 Merge "Accessibility active window not updated on time." into jb-mr1-dev 2012-10-06 12:17:56 -07:00
Svetoslav Ganov
f81dc4c08b Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev 2012-10-06 12:11:29 -07:00
Dianne Hackborn
52177738e8 Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev 2012-10-06 11:08:17 -07:00
John Spurlock
48f37ec8c9 Keep quick settings brightness icon/dialog level in sync.
We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).

We also listen for user switches, since the brightness setting is per-user.

The manual brightness level is now kept in sync with level set in Settings.

This change is tightly scoped to brightness only.  Any other
QS bugs should be triaged separately.

Bug:7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
2012-10-06 11:57:52 -04:00
Adam Powell
6f2a3d2982 Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.

Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.

Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.

Bug 7175023
Bug 7257997

Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
2012-10-05 22:36:13 -07:00
Dianne Hackborn
4c1e3183ba Fix issue #7296314, issue #7296314.
7296314 Crashing dreams are stuck
7296510 Transition from lock screen to dreaming is really bad

The window layer for dreams is now moved down below the keyguard,
so that some of the expected stuff like crash and ANR dialogs can
be seen on top of them.  While doing this, I reorganized how we
define the layers so the constants are just in the switch statement,
so it is much less crazy-making trying to read how things go
together.

We now have some special cases for when a dream is being shown
to turn off its animation if the keyguard is currently shown.
Since we know it will be hiding the keyguard we need it to be
shown immediately so that you don't see whatever is behind it.

Cleaned up some handling of when the lock screen is displayed
while a FLAG_SHOW_WHEN_LOCKED window is displayed, so that the
lockscreen doesn't transiently get shown and mess up the fullscreen
or system UI state.  This also fixes problems with any normal
activity that is doing this.

Hid the methods on DreamService for setting lights out mode.  It
doesn't make sense to have such methods on DreamService, because
you can just as well do that on your own View that is showing the
dream content, and when you can do that you can fully participate
in the (required) interactions about it such as being told when
the mode goes away.

The DreamService method for going fullscreen now uses the window
flag for doing this, which is what you want, because you want this
state to persistent on that window and not get knocked out if
something above the window tickles the system UI state.

Also fixed the problem where dreams that hid the status bar would
have a jerky animation when going away, since they were causing the
activity behind them to be layed out without the lock screen.  This
is a kind-of ugly special case in the window manager right now to
just not layout windows that are behind a dream.  Good enough for MR1.

Change-Id: Ied2ab86ae068b1db0ff5973882f6d17b515edbcd
2012-10-05 20:38:31 -07:00
Svetoslav Ganov
9c377bd2d6 am 481a0aac: am 88ae2e2a: am d9c99124: Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
* commit '481a0aac1f28233854ead339f0c9697eb1286653':
  Incorrect temporary detach of accessibility focused view may lead to a crash.
2012-10-05 20:11:14 -07:00
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
dde8e78ecc am e1afcc3c: am 0a12b8e5: am 4d12d5be: Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev
* commit 'e1afcc3c494ed74f0bfdb49889fa66e7b7dbc7e9':
  Recover from bad input event timestamps from the kernel.
2012-10-05 19:52:01 -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