4443 Commits

Author SHA1 Message Date
Selim Cinek
572bbd42a4 Introduced basic animations for the new notifications.
Animations between two different states of the notification stack scroller
are now possible.

Bug: 14081264
Change-Id: I2b8e964095f71766feac5a76c4e3b85d22648d35
2014-04-30 00:01:06 +02:00
Jorim Jaggi
9f5957989e Merge "Prevent expanded notifications on lockscreen." 2014-04-29 21:23:03 +00:00
Jorim Jaggi
dce3c4cca5 Prevent expanded notifications on lockscreen.
Change-Id: I9a0ffca823883cfed75d0e093f5a4364b20008b3
2014-04-29 23:20:12 +02:00
Baligh Uddin
b2776bf7a4 Merge "Import translations. DO NOT MERGE" 2014-04-29 21:02:32 +00:00
Jorim Jaggi
707eb8bab9 Merge "Remove "speedbump" to expand notification with one finger." 2014-04-29 20:52:34 +00:00
Jorim Jaggi
7f2d87c006 Remove "speedbump" to expand notification with one finger.
Change-Id: I16b2493142adc277a3cb11ab9a88040aab6e3f47
2014-04-29 22:49:48 +02:00
Selim Cinek
d0b12fe4a2 Merge "Refactored the layout of a notifications" 2014-04-29 20:46:12 +00:00
Jorim Jaggi
be565dfc1c Refactored the layout of a notifications
Notifications now consist of ExpandableViews instead of SizeAdaptiveLayouts
to avoid layout passes during the resizing. The StackScrollAlgorithm and its
States are also refactored in order to support the new behaviour. In addition,
the generation of the outline is moved to the notification views instead of
the container which contains them.

Change-Id: I1ac1292a6520f5951610039bfa204c204be9d640
2014-04-29 22:42:55 +02:00
John Spurlock
dbb22bcd3f Subscribe to default zen mode condition.
Otherwise re-opening the current QS panel does not force an unsubscribe
(if a non-default condition was subscribed).

Change-Id: I1ec2519cc051d435c2ebbe8cea4a9b54f256820d
2014-04-29 16:31:13 -04:00
Jorim Jaggi
10c84f0109 Merge "Attemp to fix blank lockscreen #2." 2014-04-28 19:08:41 +00:00
Jorim Jaggi
fa505a7f26 Attemp to fix blank lockscreen #2.
Bug: 14280857
Change-Id: Ib868cc7a01d24f7169310774a5397b90a2d5b35f
2014-04-28 21:06:37 +02:00
Jorim Jaggi
d3406d7a1a Merge "Flatten notification hiearchy and remove glow." 2014-04-28 19:01:14 +00: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
Selim Cinek
622e32bb6a Merge "Fixed race condition regarding first child max height" 2014-04-28 18:28:32 +00:00
Selim Cinek
2ba5f1f4e3 Fixed race condition regarding first child max height
The scroller could crash due to a race condition when updating
the maxheight of the first view.

Bug: 14295010
Change-Id: I911c724a26c8624e2326118e3b392ee675001bc6
2014-04-28 20:27:32 +02:00
Baligh Uddin
94b6f73368 Import translations. DO NOT MERGE
Change-Id: Ie48d7eaf59819fac2bcdc2a6d8a706a3bfa3c6dd
Auto-generated-cl: translation import
2014-04-28 10:34:23 -07:00
Dan Sandler
f0ef1e9987 Merge "Remove chatty log message." 2014-04-28 14:59:33 +00:00
Jorim Jaggi
b039603867 Merge "Add carrier text on lockscreen in top left corner." 2014-04-28 12:18:44 +00:00
John Spurlock
e77bb36d48 Wire up condition providers to zen mode exit triggers.
Bug:13743109
Change-Id: I4e45d7050d1f9aaa379f46379a3203e61e216a3d
2014-04-27 11:36:32 -04:00
Wink Saville
ae166fe9e0 am c79963c3: am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC IO error"
* commit 'c79963c3cb6d0127e2fc9ce5bf000fa05811504d':
  Telephony: Add functionality to handle ICC IO error
2014-04-26 00:28:56 +00:00
Wink Saville
c79963c3cb am 1c1827a6: am 3f4867f4: Merge "Telephony: Add functionality to handle ICC IO error"
* commit '1c1827a6402c3a1f38ba077289a9022f6e6d3f73':
  Telephony: Add functionality to handle ICC IO error
2014-04-26 00:25:44 +00:00
Wink Saville
3f4867f49d Merge "Telephony: Add functionality to handle ICC IO error" 2014-04-25 23:58:11 +00:00
John Spurlock
47ffde252e Merge "Delay settings panel visibility until touch slop exceeded." 2014-04-25 18:53:16 +00:00
John Spurlock
4e9d7c1797 Delay settings panel visibility until touch slop exceeded.
Bug:14271219
Change-Id: Ic8f36670f8d56f74a383ca7a867b69c7568a7250
2014-04-25 12:18:46 -04:00
Jorim Jaggi
1578e08db4 Merge "Attempt to fix blank lockscreen." 2014-04-25 13:13:12 +00:00
Jorim Jaggi
c357ca2013 Attempt to fix blank lockscreen.
Bug: 14280857
Change-Id: Icf458040b1a0b0a412981acf7b522d04c046a5f8
2014-04-25 14:56:15 +02:00
Jorim Jaggi
25807936e8 Add carrier text on lockscreen in top left corner.
Change-Id: I88c96eabc4b97295da5c1094db3fd22fcc637390
2014-04-25 14:18:07 +02:00
Winson Chung
67b082e02c Merge "Enabling doc centric recents on phones." 2014-04-24 23:24:40 +00:00
Jorim Jaggi
fb2b6bc62d Merge "Add text view for double-tap and unlock hint on Keyguard." 2014-04-24 20:34:30 +00:00
Jorim Jaggi
e70d31f48d Add text view for double-tap and unlock hint on Keyguard.
Bug: 14080971
Change-Id: Id6f7344b01bb9666fe6add415ec4a28163315967
2014-04-24 22:08:30 +02:00
Dan Sandler
f68448ef61 Remove chatty log message.
Change-Id: If0acc3be413d86c87a2a8c68fdcf94bada7e0903
2014-04-24 15:54:16 -04:00
Baligh Uddin
9ea712006d Merge "Import translations. DO NOT MERGE" 2014-04-24 14:28:12 +00:00
Winson Chung
628f896674 Merge "Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)" 2014-04-24 00:14:03 +00:00
Winson Chung
80693f9fb5 Fixing crash in SystemServicesProxy getting activity label (Bug. 14260718)
- Fixing issue with wrong margins due to moved activity icon

Change-Id: Ib3631dc4cf4244d44737ee95b597bd25653815c8
2014-04-23 16:48:33 -07:00
Amith Yamasani
921b71e95f Don't show managed profiles in the user switcher
Only show users that you can switch to.

Change-Id: Iff6dfccc27230f824d73d02731a045c69419b814
2014-04-23 14:43:23 -07:00
John Spurlock
17880ef81f Avoid panel "flip" animations when possible.
Bug:14271219
Change-Id: I91632c073497718e2fd53ad172ec805f54514696
2014-04-23 16:13:56 -04:00
Baligh Uddin
07f14e11a1 Import translations. DO NOT MERGE
Change-Id: Id3aec0b4534311c2ca89dcf86e04566c0cf025c3
Auto-generated-cl: translation import
2014-04-23 12:16:20 -07:00
John Spurlock
4e8cf1508f Merge "Quick settings: interim tile shuffle." 2014-04-23 17:46:45 +00:00
John Spurlock
0f407279ff Quick settings: interim tile shuffle.
Ensure BT and location appear in 3x3 mode, by:
 - Adding the three conditional accessibility tiles at the end
 - Moving BT and location above airplane mode (available via global actions)
   and zen mode (sorry).

Bug:14162372
Change-Id: I6d79a7442f091d58643c5124cfe0dcbf6e3cd46f
2014-04-23 13:22:59 -04:00
Jorim Jaggi
e84d544fe4 Merge "Move redaction logic showing from Keyguard to PhoneStatusBar." 2014-04-23 16:24:04 +00:00
Selim Cinek
b6e0e1228b Fixed a bug where holes could occur in the new shade.
When a notification was never layouted before and it was the first
child, holes could occur in the shade when dragging down, because its
maximum allowed height was wrongly calculated.

Bug: 14080722
Change-Id: Ia10f9dd95f917d492411aec1da4ae0fc4d8f33d5
2014-04-23 17:50:48 +02:00
Jorim Jaggi
1568250853 Move redaction logic showing from Keyguard to PhoneStatusBar.
This removes a race condition and makes redaction more stable.

Change-Id: I4084cdf490c0e52fe26f45cb00524e0876a068bc
2014-04-23 17:02:25 +02:00
Dan Sandler
c3be450648 Merge "Avoid sending broadcasts before BOOT_COMPLETED." 2014-04-22 18:51:43 +00:00
John Spurlock
9a722ebc32 Merge "Apply insets manually in StatusBarWindowView." 2014-04-22 17:22:26 +00:00
Jorim Jaggi
c0e4567560 Merge "Hide navigation bar on Keyguard." 2014-04-22 17:04:29 +00:00
John Spurlock
fba9120ce1 Apply insets manually in StatusBarWindowView.
Bug:14131489
Change-Id: Ie4be2185cae98764ea44b2e042210f13412a02aa
2014-04-22 12:58:26 -04:00
Jorim Jaggi
a6310293c5 Hide navigation bar on Keyguard.
This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
2014-04-22 16:56:26 +00:00
Dan Sandler
dc5f16bf09 Avoid sending broadcasts before BOOT_COMPLETED.
SystemUI instances can now take advantage of a new lifecycle
callback, onBootCompleted(), to avoid jumping the gun.

Bug: 14092537
Change-Id: I3f7db7a4753f874c4d75235f263c2bd374debec4
2014-04-22 11:51:42 -04:00
Selim Cinek
a8fb4a2d00 Merge "Avoiding intermediate states in NotificationStackScroller" 2014-04-22 15:15:05 +00:00
John Spurlock
860107a2cc Merge "Do not disturb: persist user config." 2014-04-22 15:03:08 +00:00