5526 Commits

Author SHA1 Message Date
Jorim Jaggi
266f677f1b Fix that everything lights up when clicking on the header
Bug: 16133698
Change-Id: I2eafb7efd3b605b0b39c5dcf5a828b3f866775d9
2014-07-10 17:33:20 +00:00
Winson Chung
bdbb87dd74 Fixing random crash when transitioning to Recents, ensuring we don't update the TextView unnecessarily.
Change-Id: I93ab512642f6e95ee96e041614f063f46420bb39
2014-07-09 14:39:52 -07: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
Winson Chung
6057c91563 Refactoring a few things with the full screen overlay and enter animation.
- Fixing issue with configuration change triggering enter animation
- Using a proper target task rect when animating into a group

Change-Id: I856d29a663f5e8c000ca22fd1025c09f65032893
2014-07-09 18:47:48 +00:00
John Spurlock
cfa39d269b Defer opening a stats session until first use.
Bug:16174801
Change-Id: Ia70f9a01bd348809db4ab2992e5e1265778cfcfa
2014-07-09 14:29:01 -04: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
360e15bdd2 QS: Signal tile optimizations.
- Only set visibility if changed (all tiles)
- Only animate traffic indicators if showing panel

Change-Id: I4ca750f65e1f1d36daeaf39668da4d2dc6f496d5
2014-07-08 21:42:15 -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
8845da77bb Cut volume dialog timeout in half for media.
Bug:15849635
Change-Id: I84078c62db082293fb0153e378055c0279989e3c
2014-07-07 22:07:48 -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
Selim Cinek
f7a14c0add Avoid overlap if expanding in the bottom stack
We are now scrolling slightly upwards if an expanding / collapsing
motion goes into the bottom stack to avoid overlapping with the
card above.

Bug: 15167388
Change-Id: I7a3ca3d80de0178de28e16b3cabe4b7ef35d933a
2014-07-07 13:07:14 +00:00
Christoph Studer
5b63826f93 SysUI: Filter notification group children on connect
Previously we filtered group children when receiving fresh
notifications only and failed to filter them when receiving
initial notifications.

Bug: 16043383
Change-Id: Icdac5aacf9af2832fef044c0d0d0aa0e70721a42
2014-07-07 12:34:51 +02: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
Jorim Jaggi
ad46ffef4b Fix blinking bug when no notifications on lockscreen.
Bug: 16044775
Change-Id: Ia8b23e8ce93194d86eb4cb809f44f8caa277550e
2014-07-05 02:37:40 +00:00
Selim Cinek
0bc5a6b6b3 Merge "Fixed a bug when swiping out notifications when scrolled." 2014-07-02 19:56:47 +00:00
Selim Cinek
d7c4e004ee Fixed a bug when swiping out notifications when scrolled.
Sometimes the scrollview was scrolled too far.

Change-Id: If84cafde26853b4647dfb3ad767bca516468bbe7
2014-07-04 18:36:42 +02:00
Adrian Roos
0002a45034 Show bouncer when opening notification in occluded mode
When showing apps on top of keyguard, properly put up
a bouncer when a notification is clicked.

Bug: 15588412

Change-Id: I48bcc5cc17c32856c11e7ab28182cdc3f253ad98
2014-07-04 18:28:36 +02: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
30afdcad91 Merge "Fixed a visual stack collapsing bug" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
b572e4c777 Merge "Clean up user activity handling" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
7e6c3bf2f6 Merge "Ability to dismiss lockscreen with space key" 2014-07-04 08:06:25 +00:00
Jorim Jaggi
3425076973 Ability to dismiss lockscreen with space key
Bug: 15408717
Change-Id: Ie3fce8654759f2ab45cd061e64aee311cd5d58d0
2014-07-04 15:48:16 +02:00
Jorim Jaggi
b690f0d502 Clean up user activity handling
- Only call userActivity in down touch event
- Use normal timeout when QS is open
- Clean up old code regarding user activity in Keyguard

Change-Id: I968eeed33fef44def37b68eb1ddc63f1a531ab35
2014-07-04 03:00:29 +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
Selim Cinek
4fe3e475ea Fixed bugs in the stack scroller
- A hole could occur when collapsing and expanding in the same touch
- The second card was not correctly resized if the stack was scrolled

Bug: 15996450
Change-Id: Ie779ed5d63b8c55d490c459955bafbc583bfce97
2014-07-04 10:28:34 +00:00
Jorim Jaggi
bd00310041 Pressing back when QS is open only collapses QS
Bug: 15856079
Change-Id: Ic4853cbb6569ecbd779d470e0b6911199e6bf09b
2014-07-04 01:58:04 +02:00
Winson Chung
e05a56bf93 Merge "Fixing regression in search bar not appearing after clearing all your tasks and creating new ones." 2014-07-02 18:17:00 +00:00
Winson Chung
772b6b12a3 Fixing regression in search bar not appearing after clearing all your tasks and creating new ones. 2014-07-03 15:55:05 -07:00
Winson Chung
7aceb9a07f Bug fixes and cleanup
- Don't reinflate the search bar view every time you return to recents
- Fixing an issue where the default thumbnail was not being used when querying the thumbnail cache (thought WM still seems to not be giving us screenshots in many cases)
- Fixing an issue where an invisible header bar color was used instead of the default header bar color
- Fixing an issue where swipe-to-dismiss logic was running before the animation back into place
- Using outline clipping instead of doing it ourselves for the rounded TaskView
- Small optimization in finding the visible range
- Renaming some of the callbacks to make them more clear
- Removing some unused code
2014-07-03 13:39:33 -07:00
Jorim Jaggi
0fa5652eab Merge "Disable flexy straw when in QS" 2014-07-02 19:50:27 +00:00
Jorim Jaggi
341d182100 Disable flexy straw when in QS
Change-Id: Ic6c7834512c3cc96e3e6956008727312ea1f2423
2014-07-03 23:34:48 +02: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
Jorim Jaggi
ed2f4b77da Merge "Quick settings improvements" 2014-07-02 19:56:47 +00: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
Winson Chung
5e6edd87c9 Merge "Bug fixes and cleanup" 2014-07-02 18:22:50 +00:00
John Spurlock
e048d85301 Merge "QS: Wifi control panel." 2014-07-02 20:06:33 +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
Christoph Studer
e65501a743 Merge "Inline replace notification views when layout changes" 2014-07-02 19:50:27 +00:00
Christoph Studer
a7fe63190c Inline replace notification views when layout changes
Instead of going through a full remove / add when a notification
is updated with a different layout, only re-inflate the inner views.

Bug: 15869868
Change-Id: Ie18c431e7b3e2a6209d4a9b6418b3150781a063f
2014-07-03 17:18:11 +02:00