425 Commits

Author SHA1 Message Date
Selim Cinek
72b6f4d4d9 Decreased shadows between notifications slightly.
Bug: 15181880
Change-Id: Iee71e4ebf95df044b7bbdd3044cb69455d704150
2014-05-23 14:59:51 +02:00
Jorim Jaggi
05b7e2c671 Merge "Change fling behavior of PanelView." 2014-05-21 23:24:10 +00:00
Jorim Jaggi
01ad7a18c2 Merge "Make velocity tracker used in panel dependent on config." 2014-05-21 23:23:56 +00:00
Winson Chung
7220faeec6 Merge "Small perf tweaks." 2014-05-21 23:12:32 +00:00
Winson Chung
47a3e65acc Small perf tweaks. 2014-05-21 16:03:42 -07:00
Jorim Jaggi
1d480695df Change fling behavior of PanelView.
Change-Id: Ie700be6b1ef48350601ce6bc7fe60579fddae098
2014-05-22 01:01:36 +02:00
Jorim Jaggi
b7b61ddaef Make velocity tracker used in panel dependent on config.
The velocity tracker used in PanelView can now be configured with
a boolean value. The default is to use tha platform-standard velocity
tracker, but can be overriden to use our own velocity tracker for
noisy touch screens instead.

Change-Id: I375f4e2675ddbaa003acd6f085065bb3fe59ebf4
2014-05-22 01:01:36 +02:00
John Spurlock
4bf31983d2 QuickSettings: fix text alignment.
- Abandon dynamic sizing, give each tile a fixed height.
- Align the baselines of the first line of each tile in a row.
- Clean up dimension resources.
- Center the touch feedback on the icon center, and dial it down.

Bug:15120277
Change-Id: If43986f80ef6d01722b60b6feedb278eed27e936
2014-05-21 17:24:44 -04:00
John Spurlock
9ba2ffd86d Show current build number in the new bugreport tile.
Change-Id: I20c3894e115a4b3ff0a82016eb86d42f48fa6d54
2014-05-19 12:37:38 -04:00
John Spurlock
d47a3f3bbe Quick settings touch feedback tweaks.
Change-Id: I76a28c023fd6f006ba96063680842a4f89ae8c83
2014-05-18 19:14:14 -04:00
John Spurlock
83e2848c56 QuickSettings: Remove vector drawable runtime processing.
Remove temporary harness responsible for creating enabled/disabled
versions of vectors at runtime.  Instead, pre-compute the necessary
states as separate files.

Normalize all qs icon names, cleanup obsolete pngs, and replace
the DND hangtag.

Bug:14133785
Change-Id: Ifb58635b832d25ca1de7e9f79cf8ec3503ea8cec
2014-05-18 17:20:05 -04:00
Jorim Jaggi
75c95044a8 Animate clock position on Keyguard.
Also disable animations when on Keyguard and screen is turned off.

Change-Id: Iec031ab336357194b5d387bc0aad00a702a8ef54
2014-05-17 04:26:45 +02:00
Jorim Jaggi
069cd03740 Position clock and notifications dynamically.
The positioning is dependant on how many notifications are currently
showing. This makes sure that the lockscreen always looks balanced
and harmonic.

Bug: 14592994
Change-Id: Ic647b887dd23e6cc5ecd07d70f279ff2f218f4ca
2014-05-17 02:01:41 +02:00
Selim Cinek
c27437b7fd Implemented visual speed-bump for notifications.
The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
2014-05-16 23:19:28 +02:00
Adrian Roos
ea56251d92 Colorize SystemUI
Makes the color of the status and navigation bars customizable by
the app.

Bug: 14564488
Change-Id: I036edc228cfe1b659c7f11a43cdc4598ee705ff8
2014-05-15 18:22:37 +02:00
John Spurlock
af8d6c44f0 New quick settings implementation.
Bug:14133785
Change-Id: I7f57f8e7ebcc3e1a06fa5204f477470f14299e1f
2014-05-13 18:43:40 -04:00
Alan Viverette
cfd9d7eec2 Simplify accessibility display adjustments in Quick Settings
BUG: 14680114
Change-Id: Ie79aabda8ddf8cd47a556b1b11f6c9e717f99649
2014-05-12 15:26:23 -07:00
Jorim Jaggi
890e1892fe Set primary color of SystemUI.
Also fixes the weird color of the auto-brightness toggle.

Change-Id: I7d8a2a47d630c3ca910983158fbf80ed739e0326
2014-05-12 15:20:27 +02:00
Jorim Jaggi
f056e35a34 Implement intermediate brigthness control on header.
This just reuses the views from BrigthnessDialog. Later, we will move
to a model where we only have one single slider.

Change-Id: Ib8116741802b7de930331648e50ff55fc869d7af
2014-05-12 15:10:13 +02:00
Selim Cinek
34c0a8d72a Improved the notification stack logic further
The more card is now working correctly on the lock screen, as well
as any other small cards. The slow down zone for the bottom stack
was decreased to allow for more real estate in the scrolling area.
Also improved the padding handling.

Change-Id: I4816d8a96fc365083412e46af88e740a3fc735bc
2014-05-12 14:54:51 +02:00
Jorim Jaggi
740beb50aa New clock design in header for expanded status bar.
Change-Id: I4fa103d80bc32e34388ab3e1c5a0003965fd47d1
2014-05-11 21:07:36 +02:00
Jorim Jaggi
e18c2cd810 Make notification panel fullscreen on tablets.
We only inset the notification themselves on tablets, and also the
header when not on the lockscreen (on the lockscreen, the header must
be full width so the icons are at the correct location).

Change-Id: I85c8a4559f59b016432dab4a73236352233d9159
2014-05-11 21:05:52 +02:00
Jorim Jaggi
76aaef537a Fix measure performance of whole status bar window #2.
Change-Id: I4cbaa762d61e19016f925556c8e02720249dc22c
2014-05-11 17:07:28 +02:00
Winson Chung
6be810570f Merge "Adding dismiss method on the top cards, and disabling the app info pane." 2014-05-10 00:24:27 +00:00
Winson Chung
54e297a5bb Adding dismiss method on the top cards, and disabling the app info pane. 2014-05-09 17:15:32 -07:00
Jorim Jaggi
9054d94cba Move Carrier label into universal status bar header.
Also introduces a different height for the header area on keyguard,
as it looks better with less padding when no background is here (and
is closer to the mocks).

Change-Id: Ie9b94dcf823c3e4af83a22f5fae15d9033e146fd
2014-05-09 22:47:28 +02:00
Jorim Jaggi
0d74eeb9ec Reparent status bar icons into header when expanded.
This change moves the status bar icons into the quick settings header
when the status bar is expanded. Also, the universal header is now
showing on the Keyguard.

Change-Id: Ib91f7e0b8de9f852676a11b500c4419183db1b90
2014-05-09 22:05:24 +02:00
Jorim Jaggi
3084a2996f Revert "Fix measure performance of whole status bar window."
This reverts commit 5ef8eb5661f1b3c0723348f723778be247a2f365.
2014-05-09 20:52:00 +02:00
Jorim Jaggi
6b5c8e207a Make header card look clickable.
Change-Id: I8b131e8fa1a6b8e83201c23a6dc74008dc73b2c7
2014-05-09 18:42:23 +02:00
Jorim Jaggi
c580cbfe9c Fix measure performance of whole status bar window.
Change-Id: If66f6d2ad414d75397bd849509903a9ed777e58e
2014-05-09 17:53:48 +02:00
Winson Chung
8f17b57582 Merge "Listening for system changes to active recent tasks. (Bug 14260718)" 2014-05-08 19:37:19 +00:00
Selim Cinek
8df56452cb Improved animation logic of the new notifications
Scrolling and other local updates work much better now when an
animation is already in place.

Change-Id: I602899bc75ae132ebb30591e723be3f00f744e18
2014-05-08 15:25:40 +02:00
Winson Chung
9f49df933f Listening for system changes to active recent tasks. (Bug 14260718) 2014-05-07 18:08:34 -07:00
Jorim Jaggi
d552d9d8e9 Introduce AmbientState for StackScroller.
AmbientState is a global state for the algorithm of the
StackScroller. Dimmed and which child is activated was moved
into this state. Further, scale and dimmed is also a
StackScrollState and animated in StackStateAnimator.

Change-Id: Ia68131cee62b2e0005f55ea6dc400d149ec15278
2014-05-08 02:33:56 +02:00
Jorim Jaggi
d7daab7b9e New layout structure for the expanded status bar.
This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
2014-05-07 19:49:23 +02:00
Selim Cinek
2c5d4a08d2 Merge "Refactored the notification animations, improved stack scroller" 2014-05-07 13:43:43 +00:00
Selim Cinek
eb973565f3 Refactored the notification animations, improved stack scroller
Animations are now only triggered when absolutely needed.
In addition, the notifications are now not clipped anymore when starting
a drag on them and the notification below the dragged one is fadded in if
necessary.

Change-Id: I80e8b3ea8fb48505edfb3cace6176dfa00c5a659
2014-05-07 15:00:45 +02:00
Winson Chung
c9e7b1e3da Merge "Fixing issue with animation not running after SystemUI crashes (Bug 14453240)" 2014-05-07 00:22:50 +00:00
Winson Chung
96e3bc1f8d Fixing issue with animation not running after SystemUI crashes (Bug 14453240)
- Falling back to default transition if we don't have a thumbnail (Bug 14589475)
- Tweaking over scroll to prevent scrolling past a certain point (Bug 14582630)
- Fixing issue with missing top padding in the stack view
- Adding some shadowing to distinguish similar cards from each other
2014-05-06 17:13:28 -07:00
Jorim Jaggi
dba6ca00c3 Merge "Implement phone affordance on lockscreen." 2014-05-06 12:10:53 +00:00
Jorim Jaggi
97b63c4112 Implement phone affordance on lockscreen.
Refactor the camera affordance into a reusable view. This change
also swaps the asset for the camera affordance.

Bug: 14488709
Change-Id: I0633614f6a1ea81faa37923f748af3c635e64a52
2014-05-06 13:56:44 +02:00
Winson Chung
da5b84c8d3 Exposing the API to support widgets in Recents.
Change-Id: I2d53f226dbc328f0dbda7006eac647c6468c6b36
2014-05-05 14:33:44 -07:00
Winson Chung
f7bca430d9 Adding ability to load a search widget into Recents.
Change-Id: Ie17d9b9a47c979774b39a37e87f75d9dadc79ad9
2014-05-02 18:45:40 -07:00
Winson Chung
f5e22e71cb Incorporating theme colors into task views.
Change-Id: Ie7166d78dacabe4bff7afdade2d1da9d0651e403
2014-05-02 18:35:35 -07:00
Jorim Jaggi
ecbab3662d Introduce SHADE_LOCKED as a special state for the shade.
This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
2014-05-02 16:14:26 +02:00
Jason Monk
434bdf50b3 Merge "Add IME Switcher icon to Navigation Bar" 2014-05-02 14:04:52 +00:00
Jason Monk
f1ff209523 Add IME Switcher icon to Navigation Bar
Adds button in the same location as the menu button and overrides
it when present.  The setNavigationHintIconHints lets it know when
the button should be shown.

Bug: 14257632
Change-Id: Ia80de7fd2390cd8b083e37cbe58b7ee53555e619
2014-05-02 09:39:41 -04:00
Jorim Jaggi
8c1a44b62f Layout notifications on top and introduce artifical margin
This allows for animating the notifications between the different
states. So we can nicely switch between Keyguard and full shade,
and make the stack smaller when going to quick settings.

Change-Id: I768dc7cd8f4dc0197365a5befebad24086816a8d
2014-04-30 15:25:56 +02:00
Jorim Jaggi
7f2d87c006 Remove "speedbump" to expand notification with one finger.
Change-Id: I16b2493142adc277a3cb11ab9a88040aab6e3f47
2014-04-29 22:49:48 +02:00
Jorim Jaggi
fe40f7d13b Flatten notification hiearchy and remove glow.
Currently, the padding and the glow was inside the individual
notification. This no longer works if we want to adjust the
padding dynamically whether we are on Keyguard or not. This change
moves the padding outside of the individual notifications, and as
a side effect, removes the glow. The glow wasn't really visible with
the new layout, so it's not a breaking change. We have to discuss
with UX first what the new "glow" solution is going to be.

Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
2014-04-28 20:59:26 +02:00