2637 Commits

Author SHA1 Message Date
Daniel Sandler
3d55e3c68f am f90b44df: am 40e262e0: am b8831168: Merge "Notification & settings panel help." into jb-mr1-dev
* commit 'f90b44df64d9cac5313cf9b6be7f1cef41610e10':
  Notification & settings panel help.
2012-10-07 13:57:08 -07:00
Daniel Sandler
b88311685c Merge "Notification & settings panel help." into jb-mr1-dev 2012-10-07 13:51:57 -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
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
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
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
Craig Mautner
eef14894db am 51e461a9: am f630bd76: am 2874a540: Merge "Add flag for displaying non-user\'s Windows to user." into jb-mr1-dev
* commit '51e461a9853b534b3e62052923a3ea7e39a2e4c9':
  Add flag for displaying non-user's Windows to user.
2012-10-05 16:21:02 -07:00
Craig Mautner
2874a54068 Merge "Add flag for displaying non-user's Windows to user." into jb-mr1-dev 2012-10-05 16:14:12 -07:00
Craig Mautner
88400d3a31 Add flag for displaying non-user's Windows to user.
Created a new flag that indicates that a window should be shown
to all users. For the flag to be valid the owner of the window
must have system permissions.

Also separated system window types into those that show to all
users (e.g. StatusBar, Keyguard, ....) and those that appear only
to the owning users (e.g. Drag, ANR, TOAST, ...). Those that appear
only to their owner can override their default behavior using
the new flag (e.g. LowBattery).

Fixes bug 7211965.

Change-Id: I1fdca25d57b7b523f0c7f8bceb819af656c388d4
2012-10-05 15:29:25 -07:00
John Spurlock
01e2f4f522 Update quick settings wireless display tile per spec.
Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
2012-10-05 17:33:31 -04:00
Daniel Sandler
a9a4eef71d am 42d696f6: am 5a824f4b: am 5b5d31b1: Merge "Lubricate a sticky notification panel." into jb-mr1-dev
* commit '42d696f6ce92524eaca13dbe057efd7aaca1ca57':
  Lubricate a sticky notification panel.
2012-10-05 10:04:52 -07:00
Daniel Sandler
7a03775e6e am fc3d5a1d: am a4b48330: am d7620196: Merge "Restore rubberbanding on initial pulldown." into jb-mr1-dev
* commit 'fc3d5a1d895bf8a0d6a1efcd7f2c46e99aba2499':
  Restore rubberbanding on initial pulldown.
2012-10-05 10:02:12 -07:00
Daniel Sandler
c38bbc391a Lubricate a sticky notification panel.
If the panel was left open when the screen was turned off,
in some cases it might get stuck in an "open" state (the
panel's expanded height would be nonzero) although the
status bar window is in fact fully collapsed (due to
makeExpandedInvisible). The next time the user would go to
open the panel, things would be in an inconsistent state and
the panel wouldn't come down (on phones, the settings panel
would be attempted, but still nothing would happen).

This was easiest to reproduce on the keyguard (turn on
screen, pull down panel, turn off screen).

Bug: 7260868
Change-Id: Iec0000ba020e5a519eb5b4d42ac273b6689a18bd
2012-10-05 12:21:38 -04:00
Daniel Sandler
a801f68624 Restore rubberbanding on initial pulldown.
Broken by change Id93d6a00.

Bug: 7286201
Change-Id: I4155076df09d548aa00ae3793f78e6c154cde5f1
2012-10-05 11:01:05 -04:00
Daniel Sandler
cccd6ada95 am 8b14fda4: am f7eef4e3: am 2a04e740: Merge "Updated clock hands for Quick Settings." into jb-mr1-dev
* commit '8b14fda4f36c86eaa8b4c9e072398d61228a26d7':
  Updated clock hands for Quick Settings.
2012-10-04 22:17:15 -07:00
Daniel Sandler
2a04e74097 Merge "Updated clock hands for Quick Settings." into jb-mr1-dev 2012-10-04 22:09:31 -07:00
Daniel Sandler
96b248affa Updated clock hands for Quick Settings.
Bug: 7281063
Change-Id: I03e7ca236c8cdc809e112e2e844a0006e73ab504
2012-10-05 01:07:07 -04:00
Baligh Uddin
7bfb48dda0 Merge "Import translations. DO NOT MERGE" 2012-10-04 21:54:18 -07:00
Baligh Uddin
b29088540b Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 21:53:02 -07:00
Daniel Sandler
ac377c849a am 3e78586d: am 689a55d8: am f5e2b2c2: Merge "DreamService API revisions." into jb-mr1-dev
* commit '3e78586db6ee28d5052fe9934104dec4c2e87f8b':
  DreamService API revisions.
2012-10-04 21:03:20 -07:00
Daniel Sandler
f5e2b2c26c Merge "DreamService API revisions." into jb-mr1-dev 2012-10-04 20:56:08 -07:00
Daniel Sandler
2d78490292 DreamService API revisions.
Reduce reliance on Service interface overrides, instead
steering clients to the DreamService-specific lifecycle
hooks:

  onAttachedToWindow .. onDreamingStarted ..
  onDreamingStopped .. onDetachedFromWindow

The old Dream.java is finally gone now too.

Bug: 7281802
Change-Id: Ib7802c3397fde60ad1132fa49831da182eef4d7a
2012-10-04 23:38:15 -04:00
John Spurlock
356340db55 am 9b7223a2: am 26f44a1d: am 3c008f26: Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev
* commit '9b7223a2d4fd8ad8d9009d863e96044dce43681a':
  Disable quick settings panel in setup wizard (user 0).
2012-10-04 13:19:15 -07:00
Baligh Uddin
f9b1b61702 Import translations. DO NOT MERGE
Change-Id: Ia2234c77193b64d5ff569215bd3c321ae452ef0c
Auto-generated-cl: translation import
2012-10-04 13:17:43 -07:00
Baligh Uddin
fb442c8398 Import translations. DO NOT MERGE
Change-Id: Ia8a06130c50c0d369a188f0b780399b51f998f3a
Auto-generated-cl: translation import
2012-10-04 13:16:23 -07:00
John Spurlock
3c008f26ca Merge "Disable quick settings panel in setup wizard (user 0)." into jb-mr1-dev 2012-10-04 13:13:01 -07:00
Daniel Sandler
1a93f5b3da am 5f784230: am 501ddf14: am c30b6da8: Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev
* commit '5f7842309ed09220d77296c055c9a62a17ad2368':
  Bring back the notification panel handle peek animation.
2012-10-04 12:48:07 -07:00
Daniel Sandler
c30b6da804 Merge "Bring back the notification panel handle peek animation." into jb-mr1-dev 2012-10-04 12:41:41 -07:00
Daniel Sandler
0c1b75c17b Bring back the notification panel handle peek animation.
Bug: 7286201
Change-Id: Id93d6a00689ffb7f97e89af935460b1debec3850
2012-10-04 15:37:13 -04:00
Daniel Sandler
f15baefc96 am b94f8160: am 8b4b24b2: am 0a890b3c: Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev
* commit 'b94f8160cb9b35856b95bdbe15ac69915737ba04':
  Remove Start Dreaming^W^W Sleep Now 1x1 widget.
2012-10-04 12:29:04 -07:00
Daniel Sandler
0a890b3ce2 Merge "Remove Start Dreaming^W^W Sleep Now 1x1 widget." into jb-mr1-dev 2012-10-04 12:14:15 -07:00
Daniel Sandler
7aa88f7aad Remove Start Dreaming^W^W Sleep Now 1x1 widget.
If you need its functionality for testing:

  $ adb shell am start -n com.android.systemui/.Somnambulator

Bug: 7267723
Change-Id: I9e0dd9d020e251d1ced4377329436ea46c3a8af5
2012-10-04 15:03:22 -04:00
Baligh Uddin
c5a4a02997 Merge "Import translations. DO NOT MERGE" 2012-10-04 11:02:16 -07:00
Baligh Uddin
b3f55fdef6 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-04 10:55:33 -07:00
John Spurlock
e4e8c5619c Disable quick settings panel in setup wizard (user 0).
Already fixed for additional users, but not the main user.

Bug:7285805
Change-Id: I1ab29470e23b0d06cd21919c72be72c092c86b2c
2012-10-04 09:55:01 -04:00
Chris Wren
09b1d04913 am 7ee2f9d9: am 02065846: am 6295ef32: Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev
* commit '7ee2f9d90e4e3b0926c4f4866652867920f057ef':
  hide the redundant clock when the notification shade is open.
2012-10-04 06:43:33 -07:00
Chris Wren
6295ef3251 Merge "hide the redundant clock when the notification shade is open." into jb-mr1-dev 2012-10-04 06:37:11 -07:00
Baligh Uddin
12cce681ef Import translations. DO NOT MERGE
Change-Id: If91f4a3f2755a7f76cab09c6f3fafe09575c8e23
Auto-generated-cl: translation import
2012-10-03 19:37:34 -07:00
Baligh Uddin
5120adbee7 Import translations. DO NOT MERGE
Change-Id: I3948ca1d5441099dae59c6e0b95e3f53acc47437
Auto-generated-cl: translation import
2012-10-03 19:36:28 -07:00
Daniel Sandler
bd2000d35f am 0923060d: am d564f0c5: am 88c3a511: Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev
* commit '0923060dc33fc78221823b26d28189e5839c48d0':
  Fix a bug in double-swiping panels...
2012-10-03 17:06:27 -07:00
Daniel Sandler
88c3a51123 Merge "Fix a bug in double-swiping panels..." into jb-mr1-dev 2012-10-03 16:58:01 -07:00
Adam Powell
add9d8332d am 9f6cf431: am 402bc176: am b8bb7a0e: Merge "Port unmerged notification changes from jb-dev to jb-mr1-dev" into jb-mr1-dev
* commit '9f6cf431169b49e5f49e727843d2972a9bad69f0':
  Port unmerged notification changes from jb-dev to jb-mr1-dev
2012-10-03 16:07:12 -07:00
Daniel Sandler
4377d1494c Port unmerged notification changes from jb-dev to jb-mr1-dev
Bug 7150006

Single finger notification expansion.

If you liked these changes...

  Change Ie4e79aa5
  Change I8a6f8606
  Change I824937e9
  Change I957b6d50

You'll love this one!

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Fix notification gestures.

Broken by recent changes to ScaleGestureDetector, which we
were using incorrectly.

Conflicts:
	packages/SystemUI/res/values/config.xml
	packages/SystemUI/res/values/dimens.xml

Change-Id: Ie534c5b2d320296531a36a9b1c22f9dd6901e0b8
2012-10-03 15:27:04 -07:00
Daniel Sandler
8c17a04451 am 55ae7beb: am 4fc8b781: am 76366938: Merge "Increase the anti-jitter threshold for status bar flings." into jb-mr1-dev
* commit '55ae7beb228198d14d679f7082bbe2fda471be46':
  Increase the anti-jitter threshold for status bar flings.
2012-10-03 14:05:11 -07:00
Chris Wren
08970499ae am 91490e93: am 04a3e809: am 4b576e39: Merge "change string for wifi not connected state." into jb-mr1-dev
* commit '91490e933629b32d43c8bb512ab404e361f61bba':
  change string for wifi not connected state.
2012-10-03 14:05:07 -07:00