2291 Commits

Author SHA1 Message Date
Adrian Roos
19f653ec19 Update QS user switcher colors to spec
Bug: 15545213
Change-Id: Id0e48e4406c64d2a8a19ed8fdcec398896ca11c0
2014-07-17 01:32:30 +02:00
John Spurlock
aedebda776 Update data limit notification icon + strings.
- Use a more specific disabled cellular data icon.
- Reword framework strings to use "Cellular" instead of "Mobile"
  and avoid "enabled/disabled"
- Update SystemUI's network limit dialog to follow suit.

Bug:16185238
Change-Id: Ie9191990fab17cd7dc04395fad39f84bfff8349d
2014-07-16 23:32:44 -04:00
Baligh Uddin
fa8d78019c Import translations. DO NOT MERGE
Change-Id: I499617c1385457c1f844f73b042ef5c360ad14cc
Auto-generated-cl: translation import
2014-07-16 18:13:44 -07:00
Dan Sandler
5c95b3de42 Merge "Clean up autoredaction text." into lmp-dev 2014-07-16 00:46:50 +00:00
Adrian Roos
00a0b1f397 Implement real QS user switcher
Replaces the stop-gap user switcher with the real deal.
Dimensions may need some further adjustments.

Bug: 15545213
Change-Id: I4399635c03553dac935049d5b8297fe5f5c1dc9a
2014-07-16 16:25:30 +00:00
Dan Sandler
18bb4f9920 Clean up autoredaction text.
Also show the timestamp if the original notification does.

Bug: 16289371
Change-Id: I6898990629c036dc7c1a129609449e556f8afa72
2014-07-16 12:04:05 -04:00
Dan Sandler
6d8edb1170 Merge "Pressed the "dim" button on the clock one too many times." into lmp-dev 2014-07-15 16:05:45 +00:00
Dan Sandler
bd8797616d Pressed the "dim" button on the clock one too many times.
Bug: 16202293
Change-Id: I0d1c746bb775f56db018c231a296daca848e9235
2014-07-15 13:38:41 -04:00
Winson Chung
82c8c5e987 DO NOT MERGE Using a fixed sized ImageView to prevent unnecessary layouts.
- Preparing for task view clipping using the view outline

Change-Id: I4aae4189a759a48057f1e3729cc2a9e6d553c11e
2014-07-15 17:25:21 +00:00
Adrian Roos
1ef80fe590 Make user switcher appear inside the QS panel
Bug: 15545213
Change-Id: I0f15214a7474ae5303c3af0b7ef6f6a11be572b8
2014-07-15 15:43:31 +02:00
Adrian Roos
5f1652c285 Add strings for QS user switcher
Bug: 15545213
Change-Id: Iec98b704cd4b662d3cc5ff0b76671d44f93837d5
2014-07-14 22:39:54 +02:00
John Spurlock
1a462c1d23 QS: Update rotation lock icons.
Only three states: unlocked / portrait / landscape, no animation.

Bug:16161728
Change-Id: Id916b81c09925455f87cfccf1350ac4977bad42e
2014-07-14 11:01:24 -04:00
John Spurlock
d11a19b8ea QS: Cellular usage warning marker + policy cycle.
Add warning marker to graph from policy, and use the
cycle day from policy to determine the usage period.

Change-Id: I31711eea6a0bf54ad0eb5841d2aa9b8e5927ed58
(cherry picked from commit b5e88019cd69d9320639b6736fabf7f407444967)
2014-07-13 22:24:51 +00:00
John Spurlock
1e6eb17a22 QS: Introduce cast control panel.
Make cast controller more granular, at the route level, and
bind a common detail item panel to the available routes.

Fix tile icon, add connecting label.

Remove dialog presentation, no longer needed.

Add the new empty state, and add controller state to dump.

Found a bug in keyguard when in presentation mode, added
a workaround - don't crash when no owner info in keyguard
status view.

Bug:15833210
Change-Id: I19afec390eac2260bccf4a7064065b666b7bceca
2014-07-13 12:06:21 -04:00
John Spurlock
486b78e426 QS: Introduce bluetooth control panel.
- Factor out common detail item panel view, share with Wifi.
- Add an empty state (large icon + text)
- Implement connect / disconnect for supported BT profiles.
- Wire up "scanning" state, but still waiting on asset.
- Add BT controller info to dump.

Bug:16235253
Change-Id: Icf854cafba962fe4b63767d7206e309d80b7b87b
2014-07-12 18:41:57 -04:00
Winson Chung
1f24c7e37b Initial changes to support lock-to-app on the foremost task. (Bug 16221876) 2014-07-12 00:10:11 +00:00
Jorim Jaggi
329fa24048 Split AM/PM from the rest of the time in expanded QS
This allows us to scale AM/PM independently of the rest of the time
string to allow for a different scale when QS is expanded.

Bug: 16177564
Change-Id: I472db549c875f6975583a6a426cb1ebc2fc37ac3
2014-07-11 20:43:23 +00:00
John Spurlock
be8df5aea8 Merge "Volume: delay dismissing panel when starting settings." 2014-07-10 21:35:02 +00:00
John Spurlock
1dad272337 Volume: delay dismissing panel when starting settings.
Bug:16211952
Change-Id: I067721d932076dafb35c6afd99583301acff9bea
2014-07-11 11:07:53 -04:00
Jorim Jaggi
2c5baca5ed Fix panel height when only one notification is shown
Also fix the place holder height for the stack when QS is expanded.

Change-Id: Ia28373c21b5d2155e735425d5657dde2dec49c6d
2014-07-11 15:35:45 +02:00
John Spurlock
8263c3e064 Volume: Elide collapsed condition title if no end.
And make expanded title non-clickable.

Bug:16211705
Change-Id: I675b8ad8d08dca9a3f38292c45b771dc6532de77
2014-07-10 20:33:27 -04:00
John Spurlock
980f9925bb Merge "Volume: Use accent color for selected radio button." 2014-07-10 21:21:20 +00:00
John Spurlock
f7d22132c2 Volume: Use accent color for selected radio button.
Bug:16212456
Change-Id: Ic1badeaf6eec98cd2780592660a36d7087bb677b
2014-07-10 19:03:00 -04:00
John Spurlock
136c5ae2ce Merge "Volume: Promote alarm warning to title." 2014-07-10 21:28:08 +00:00
John Spurlock
86d04fdaa1 Volume: Promote alarm warning to title.
Bug:16211556
Change-Id: I839e08d1ba26ba825a9799f92c9b600feb91a81b
2014-07-10 18:37:45 -04:00
Jorim Jaggi
d4aafe9b70 Add battery level in status bar on Keyguard when charging
Also fixes flickering in the header when overscrolling the
notifications.

Change-Id: I3d6aa95e364298718c6d8b050a1091e7ccd7609d
2014-07-10 21:44:01 +02:00
Jorim Jaggi
362dd6d632 Add glyph rerasterization hack for SystemUI.
Change-Id: I39d84e981b828b501801349d7a5e70a089b5f14e
2014-07-10 01:07:44 +00:00
Winson Chung
a433fa9c17 Updating task grouping logic.
- More fixes for graphical glitches when picking up task views.

Change-Id: I93fab1c2a9cc727c68d8f8fbd506bedaf681715f
2014-07-09 18:49:20 +00:00
Jorim Jaggi
4649c8d53f Fix overlapping status bar icons.
Change-Id: I9ca4b9e026cb3cccdf9e30ab350d10d46b98d47e
2014-07-09 17:04:01 +02:00
Jorim Jaggi
3f48f46d7e Update QS header to spec
- Move brightness slider down.
- Make clock bigger when expanded.
- Show date in collapsed state.
- Change size of avatar depending on collapsed/expanded.

Bug: 15865202
Bug: 15381387
Change-Id: I7894edae495b5a2d12b4fe4637a9aa3fd2e58963
2014-07-09 16:37:32 +02:00
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
John Spurlock
a37e9c8dcb Update status bar icon policy for volume + zen.
Only show vibrate in the volume slot, create a separate slot
for zen.

Bug:15831713
Change-Id: I9d23a2d370bc6f98be3bdc98c2990bbea6643ce7
2014-07-08 09:40:31 -04:00
John Spurlock
0429001ed5 Increase touch feedback area for plus/minus buttons.
Bug:15831713
Change-Id: I6ae067eaf71c292be6cbeb0176131800d6486711
2014-07-07 21:12:35 -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
Baligh Uddin
4a9aabb3c1 Import translations. DO NOT MERGE
Change-Id: I3f8ef62714d212d2f82fabf4573cb73ddaa6ce93
Auto-generated-cl: translation import
2014-07-05 15:37:52 -07: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
563062569c Reenable touches to notifications in expanded QS
Revert "Closing the QS when tapping on the notifications now."
This reverts commit 3bb0bb8817690728a40edd3f8f665b09907a451b.

Revert "Disabled touch interaction when in Quick settings."
This reverts commit 5cd19bc6a4fac0513bb285fdaf08b1d19c87f4ae.

Also, shuffle order of notifications and quick settings such that
scrolling still works and delegate touches from stack scroller to
the scroll view for expanded QS panel.

In addition, make the panel close transition work when QS is expanded
and scrolled.

Last but not least, decrease scrim amount so the notifications still
look 100% interactive.

Change-Id: I17710e078cff84bcdf303c22986a31135dae2aee
2014-07-03 17:24:50 +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
e59bd9af26 Update QS flashlight icon
Bug: 15934851
Change-Id: Id1d08fce8916c29c6cb53eee7cb069b250c0b805
2014-07-02 20:03:26 +00:00