523 Commits

Author SHA1 Message Date
John Spurlock
5e9049a362 QS: Add limit to cellular data panel.
Change-Id: I4d69ffe0681b89670d052ed18c5e4be4674d2d62
2014-07-08 23:50:04 -04:00
John Spurlock
b98f747c71 QS: Basic cellular data detail panel.
Change-Id: I1f19a8bf3e01d7f1d49e82d7096a215c863eab61
2014-07-08 17:23:58 -04:00
John Spurlock
d71517be7c Include timers in no-interruptions warning, always show.
Bug:15831713
Change-Id: I83434d882ba1168bba4de8f1d58334742eb863a3
2014-07-08 11:40:15 -04:00
Winson Chung
88085ad05b Merge "Refactoring to support groups." 2014-07-07 17:47:39 +00:00
Winson Chung
ffa2ec6644 Refactoring to support groups.
- Removing RecentService, determining animations just in time
- Fixing a few issues with animations of newly picked up tasks from the pool
- Moving helper classes into sub package

Change-Id: Ie10385d1f9ca79eea918b16932f56b60e2802304
2014-07-07 17:33:31 -07:00
Jorim Jaggi
853b070f19 Add % for battery in expanded QS; make it clickable
Also removes the "xx minutes until full" label in expanded QS.

Bug: 15392950
Bug: 15863237
Change-Id: I41e85a9ffeb3cba31b58769f8faee9147a3b031e
2014-07-08 01:38:41 +02:00
John Spurlock
ae641c9ccd Implement new volume UI design.
- Add segmented zen-mode picker to the rocker UI.
- Add a new "no interruptions" value to the zen setting.
- Implement expandable condition subpanel on the rocker UI.
- Remove the old circle&slash icons.
- Suppress alarm sounds if in "no interruptions" mode.
- Add warning re: alarms to the condition UI.
- Allow rocker UI to display over the keyguard.
- Remove Notifications QS tile.
- Realign volume rocker to the top of the screen.
- Add support for new "days" sleepMode.
- New icon policy rules for "volume" slot.
- New important icon (star).

Associated Settings change:
  I6ed56791784968adfbd684f490dbbebed285a2dd

Bug:15831713
Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
2014-07-07 18:48:25 -04:00
Selim Cinek
d83771ee46 Fixed a visual stack collapsing bug
When the stack is collapsed, the second card is padded slightly
to appear as if it was in the bottom stack.

Bug: 15169254
Change-Id: I9e9418dc057ffec01c7f56358ec60bac477497a4
2014-07-04 16:56:18 +02:00
Selim Cinek
ad3e5afdd2 Fixed some logic in the stack scroller algorithm
Also made the top stack slow down a little bit smaller, such that
the speedbump doesn't jump anymore when entering it.

Bug: 15022817
Change-Id: I66c3123a043c66fd9f8aaef50e5ffade4bc17989
2014-07-04 10:31:21 +00:00
Jorim Jaggi
ed2f4b77da Merge "Quick settings improvements" 2014-07-02 19:56:47 +00:00
Jorim Jaggi
540454259d Quick settings improvements
- Remove hole in landscape when no notifications are shown.
- Start intercepting touch events directly when already flinging.
- Fix jump in top panel when collapsing QS in landscape.

Change-Id: If2da5215ee20ea1b0d3a0f88f32c8f5b0dd147da
2014-07-03 22:50:20 +02:00
Jorim Jaggi
30c305ce62 Implement nice motion for collapsing panel while QS open
Also remove the delay for actions which close the panel. Delaying is
no longer necessary as you still see the touch feedback when the
panel is closed.

Change-Id: I0dffae6998fc41b1590cb182667323f40be3a7d5
2014-07-03 17:24:24 +02:00
Selim Cinek
3d2b94bf8e Made notifications below speedbump grey.
Also fixed a small scrimming bug where headsup where
scrimmed.

Bug: 15408642
Change-Id: I8319ccb001a1d654af055276de3c64ae388a7e47
2014-07-03 11:40:54 +00:00
Selim Cinek
697178b124 Refactored the notification backgrounds
The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
2014-07-03 11:40:21 +00:00
John Spurlock
7f8f22a530 QS: Wifi control panel.
Create first example of an inline detail view with line
items, bind to new access-point controller.

Move the common bits of all control panels into a
common abstraction.  Share common parts of layout
(More settings / done button).

Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
2014-07-03 12:28:46 -04:00
Adrian Roos
b83777ba5c Add flashlight to quick settings
Bug: 15934851

Change-Id: I86f61fa11fe64e76adb032391ce7e7170f59549d
2014-07-02 12:33:36 +00:00
John Spurlock
39076ed379 QS: Improve dual tile labels.
Use the solid dropdown caret and improve vertical spacing.

Change-Id: I839fb3130a0fc621a2217e5211fb7b4f053a5685
2014-07-01 10:19:24 -04:00
Jorim Jaggi
2580a976ec Improve motion when expanding/collapsing status bar.
- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
2014-06-30 22:53:27 +02:00
John Spurlock
92d9b19e1b QS: Add a caret to the dual tile labels.
Also tweak some of the vertical spacing between the tiles
to get closer to the redlines.

Bug:15852139
Change-Id: I251fde261a74335c16b37ba07ab554f6db05d367
2014-06-29 17:45:24 -04:00
John Spurlock
6612727c18 Doze: allow devices to opt-out of sigmotion trigger.
For devices with unreliable significant motion sensors, allow
the tease signal to be disabled via device config.

Also add doze state to dream service dumpsys.

Bug:15863249
Change-Id: I23eeec09c69cc3bd43b187e49555391ac0a99d9f
2014-06-28 11:31:44 -04:00
John Spurlock
d42f495849 QS: Tile text to 70% white.
Change-Id: I4dcad126b1b2467b780192ae220493c301cdb5bb
2014-06-27 15:33:21 -04:00
John Spurlock
0557c3f0e0 SystemUI garbage collection.
Remove obsolete pieces from PhoneStatusBar + NotificationPanelView

Change-Id: Ib6b2d6f1a4e7c4aeaab775f928a74abdfe2b4168
2014-06-25 14:57:32 -04:00
Christoph Studer
6cb9e0f1f9 Remove suppression of ZEN'd notifications
Bug: 15286335
Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
2014-06-24 17:18:20 +02:00
Winson Chung
653b0d6a59 Ensuring that we unload all resources after a transition.
- Fixed case where we weren't deleting task data after it was removed via a package event
- Reducing time for dismiss button to appear
- Working around animation issue where we appear to see frames before the animation starts (perhaps it is posted now?)

Change-Id: I1dc0e203485f517e7384b0f7ee08979bfd286013
2014-06-20 19:03:16 -07:00
Selim Cinek
00a78899af Merge "Scrimming the notifications when QS is open." 2014-06-20 00:11:43 +00:00
Selim Cinek
f54090e9bb Scrimming the notifications when QS is open.
Bug: 15394230
Change-Id: I4234bde0259ef296db73a43f69a765dbde5ddacd
2014-06-19 17:20:44 -07:00
Adrian Roos
cdf74c2881 Merge "Implement keyguard user switcher" 2014-06-19 20:37:59 +00:00
Adrian Roos
8ddb2da875 Implement keyguard user switcher
Bug: 15545213
Change-Id: I2d18cc3c83d76991fe11fc4bff7e8eecc25df4b5
2014-06-19 15:47:46 -07:00
Winson Chung
7ab650cb43 Adding start delay to the task view transforms.
- Adding slight delay to task bar buttons to allow touch feedback to show

Change-Id: I9f31ca378541fc34c7b741840c7f038340684b13
2014-06-18 14:30:32 -07:00
Winson Chung
e0e45bc26d Re-enabling task based filtering in Recents using package name.
- Also front-loading creating the new thumbnail when animating up from Recents
2014-06-18 00:59:29 +00:00
Winson Chung
06795630f6 Adding status bar scrim, reducing extra work updating configuration values.
- Making the app icon larger for tapping
2014-06-17 16:37:56 -07:00
Jorim Jaggi
129e7ac809 Fix paddings for user switch and status bar icons.
Bug: 15540707
Change-Id: If7288d032b9625e0fbb5b657afcf680d178e63ee
(cherry picked from commit 5d545e7c89231ac80ab2b666bd83f63bcf54f78f)
2014-06-17 10:36:31 -07:00
Jorim Jaggi
d34804cfb3 am b6d02956: Merge "Bigger clock." into lmp-preview-dev
* commit 'b6d029569675a486dde2a7117fdc94658e1576fe':
  Bigger clock.
2014-06-16 16:28:35 +00:00
Jorim Jaggi
4dda93ffa3 am 261caa08: Change style of clock in status bar.
* commit '261caa08828d11ab827bc5da71b2e5a1a9581819':
  Change style of clock in status bar.
2014-06-16 16:28:10 +00:00
Geoff Mendal
803c5eb17d Merge commit 'fd7ef123c01718e44c13ed638b86a7483ae2d9c9'
Conflicts:
	packages/SystemUI/res/values/dimens.xml
2014-06-16 09:06:45 -07:00
Jorim Jaggi
ea384193d9 Change style of clock in status bar.
Bug: 15570452
Change-Id: I39ec2e2a18d382f378d5cccd94a6a8630b55a240
2014-06-14 06:22:34 +02:00
Jorim Jaggi
587e9e1831 Merge "Revert "Improve unlock motion."" into lmp-preview-dev 2014-06-13 21:09:46 +00:00
Jorim Jaggi
cc693247dc Revert "Improve unlock motion."
This reverts commit 03599a4c8fcc539948174136878f5e0ceec1eeda.

Change-Id: Iacd5f7ecd755ee2c8efdf1e37060a21702bcf08a
2014-06-14 03:04:35 +00:00
Jorim Jaggi
220bf5cf9a Bigger clock.
Also fixes a bug where notifications would be wrongly padded
on Keyguard after rotating the screen.

Bug: 15244051
Change-Id: I2418692c3d2ffdd5fe642361f2924629bf9a75eb
2014-06-14 22:43:12 +02:00
Jorim Jaggi
fd9d4414e8 Improve unlock motion.
Bug: 15244051
Change-Id: Ib33a7a8e27a2dc191c6e18ffe1cd2725dfa3bb37
2014-06-12 06:08:12 +02:00
Winson Chung
4b5b892ca8 Merge "Enabling Home->Recents transition." 2014-06-12 17:09:07 +00:00
Winson Chung
ad6f276670 Enabling Home->Recents transition. 2014-06-13 09:41:09 -07:00
Winson Chung
a26fb7822d Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)
Change-Id: I9c11e04cd52f9e000d8ba3e443f2500c9aa7edbb
2014-06-12 19:08:29 -07:00
Winson Chung
d42a6cfe2b Exploring transitions to/from Recents.
- refactored hwlayers and change view property animations to use a reference counted trigger
- cleaned up RecentsConfiguration, and move it into classes using it
- moved task bar animations back into TaskBarView
- refactoring enter/exit animations to use an animation context

Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
2014-06-12 12:57:56 -07:00
Jorim Jaggi
a5c1506313 am dc61882e: Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev
* commit 'dc61882ef03a25f7861aff838577ef124a8f40e7':
  Fix black background for auto-redacted legacy notifications
2014-06-11 11:25:07 +00:00
Winson Chung
c0daabbec3 Merge "Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)" 2014-06-11 08:41:11 +00:00
Winson Chung
cadc7a200a Merge "Exploring transitions to/from Recents." 2014-06-12 05:34:42 +00:00
Amith Yamasani
db6cf3a768 Merge "Guest user first iteration" 2014-06-12 03:30:50 +00:00
Amith Yamasani
1e9c21871e Guest user first iteration
Setting for controlling if guest is enabled on the device.
Setting to hint to apps that they should skip showing first use clings.

User switcher handles creation and deletion of the guest user.
Some tweaks to the user switcher to show some feedback and make the icons
circular.

Change-Id: I187dc381d2ee7c372ec6d35e14aa9ea4dfbe5936
2014-06-12 12:59:47 -07:00
Jorim Jaggi
b41e0e37ec resolved conflicts for merge of 6edef668 to master
Change-Id: Ia0c79581e9221341718799d2969f56c95a76a3de
2014-06-12 22:02:32 +02:00