6224 Commits

Author SHA1 Message Date
Jorim Jaggi
da30a03d96 Hide notifications when occluded and disabled on keyguard
Bug: 17371021
Change-Id: I27769a2334285fe753a3ee5ce55986d4fd23b83c
2014-09-05 15:13:39 +02:00
Christoph Studer
038839e947 Merge "SysUI: Upsort PRIORITY_MAX system notifications" into lmp-dev 2014-09-05 09:33:43 +00:00
Winson Chung
9a245b5de3 Merge "Ensure that there is enough space for the tablet search widget. (Bug 17190069)" into lmp-dev 2014-09-05 09:25:18 +00:00
Winson Chung
517c9ef165 Ensure that there is enough space for the tablet search widget. (Bug 17190069)
Change-Id: I89694edac6f299e4a9cfca8a99a0d71dce1ae168
2014-09-05 09:23:20 +00:00
Baligh Uddin
d837c3e87d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:48:59 +00:00
Chris Wren
3ad4e3a45b Honor per-app sensitivity setting.
Settings are stored by NotificationManagerService in the policy file,
and are communicated to NotificationListeners via a hidden API on the
RankingMap object.

Bug: 16324353
Change-Id: I2d5cf6782273744cbf9b309dec76780cc0a4c39e
2014-09-04 11:49:06 -04:00
Winson Chung
3884715c45 Delay in app transition until home animation completes. (Bug 17012456)
Change-Id: I3469738a70bd872ff03c48c23201d4e0b6c8d8bb
2014-09-04 14:29:38 +00:00
Baligh Uddin
751dfa6276 Import translations. DO NOT MERGE
Change-Id: I90e2526370384c8d1e43e69967e221a7758aeda3
Auto-generated-cl: translation import
2014-09-03 16:35:23 -07:00
Dan Sandler
d1dc910eff Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev 2014-09-03 22:15:38 +00:00
Dan Sandler
6704cb980b Merge "Adjust iconography in notification guts." into lmp-dev 2014-09-03 22:14:32 +00:00
Dan Sandler
05c362d564 Reduce RAM requirements of grayscale icon testing
The isGrayscale family of methods is designed to identify
drawables and bitmaps that apps are using in the largeIcon
position to pose as small icons in order to get the
appropriate background treatment (a solid blue or gray block
in KK/JB, or geniune selvedge denim in ICS/HC).

We can optimize this search two ways:

(1) Reject immediately any largeIcon that is larger than
    largeIcons should be (64x64dp). We could one day simply
    reject, or resize, these in the notification manager,
    but regardless these are not plausible smallIcon
    subsitutes. This new constraint is commemorated in the
    new name, isGrayscaleIcon().

(2) Shrink the bitmap even smaller before scanning it slowly
    in Java.  This lets native_drawBitmap do the heavy
    lifting across the entire bitmap; we need only scan a
    few pixels.

Bug: 16513124
Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132
2014-09-03 23:52:47 +02:00
Christoph Studer
2f9dbbaee7 SysUI: Suppress HUNs from non-profile users
Bug: 17364652
Change-Id: Ic7a971d64cecc1624b872c776efeaccd09144db7
2014-09-03 19:20:56 +02:00
Christoph Studer
1492116a1c SysUI: Upsort PRIORITY_MAX system notifications
Bug: 17131219
Change-Id: Id29ef5c44a8221d514ea0a8cf5d0fe5dd179744b
2014-09-03 18:29:23 +02:00
Dan Sandler
f4db75c20b Adjust iconography in notification guts.
(i) is now the system's app notification info panel,
      allowing you to block, prioritize, and things like
      that.

  (gear) is new; it will appear only if your package has a
      notification settings activity of its own. If the user
      taps this you'll be launched with some useful extras:
      notification_id and notification_tag, matching the id
      and tag of the notification the user longpressed.

Bug: 17005733
Change-Id: Ib09264c2564152ab27e744c47ed87a0e9223656f
2014-09-03 18:15:26 +02:00
Selim Cinek
d9df421723 Merge "Tuned anti-falsing thresholds on the lockscreen" into lmp-dev 2014-09-03 16:03:46 +00:00
Selim Cinek
f98ddfc389 Merge "Fixed a bug where notification icons where not animating" into lmp-dev 2014-09-03 16:01:52 +00:00
Selim Cinek
5386fb337d Tuned anti-falsing thresholds on the lockscreen
Also added logic to provide nicer animations when falsing.
In addition adapted the clock scale slightly if dragging
in the void.

Bug: 15433087
Change-Id: I4d8eb26cc81d22647ef4d2eca1e69b4994a7f1e2
2014-09-03 15:42:27 +00:00
Adrian Roos
053ff3c776 Merge "Auto dismiss lockscreen when switching to guest" into lmp-dev 2014-09-03 15:39:11 +00:00
Selim Cinek
cab4a60c48 Fixed a bug where notification icons where not animating
Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15
2014-09-03 17:32:27 +02:00
Winson Chung
67b4b2cdb4 Merge "Fixing Recents crash with non-primary user. (Bug 17343688)" into lmp-dev 2014-09-03 15:07:34 +00:00
Jorim Jaggi
66a75e5e91 Merge "Improve subpixel rendering of battery icon on all densities" into lmp-dev 2014-09-03 14:50:31 +00:00
Selim Cinek
f6478d4c0a Merge "Correctly forwarding the screen off event on lockscreen" into lmp-dev 2014-09-03 14:49:22 +00:00
Adrian Roos
be47b07bef Auto dismiss lockscreen when switching to guest
Bug: 16659674
Change-Id: I8d24a3997ac7493cd8a8317f8a35532eaf5c3cfe
2014-09-03 16:46:55 +02:00
Jorim Jaggi
a0221f3a9f Improve subpixel rendering of battery icon on all densities
Bug: 16161255
Change-Id: I97abc6a7a5cafb581e3f7c3d7509fdbf6d8542d5
2014-09-03 16:37:06 +02:00
Jason Monk
cde8e8f91c Merge "Don't show add user for simple user switcher" into lmp-dev 2014-09-03 14:09:25 +00:00
Jorim Jaggi
0c06d6bff1 Merge "Status bar iconography updates" into lmp-dev 2014-09-03 12:56:16 +00:00
Selim Cinek
7ff6eb6429 Correctly forwarding the screen off event on lockscreen
Bug: 17364635
Change-Id: I88730238e3622522674268438d266fd2334410cd
2014-09-03 14:18:09 +02:00
Jorim Jaggi
5172dc2f36 Status bar iconography updates
- Use new assets for location, flightmode and "more" notifications
  icon.
- Update icon size and clock to spec.
- Change from fixed width of the icons to WRAP_CONTENT, so they look
  more evenly distributed.
- Adjust subpixel rendering of battery icon to match other vector
  icons.

Bug: 16161255
Change-Id: I0a80f223b7d532bc53a201cff37b8f1cb09f08c2
2014-09-02 23:52:48 +02:00
Adrian Roos
8c8fbcf358 Merge "Disable touch dispatch while adjusting brightness" into lmp-dev 2014-09-02 21:51:47 +00:00
Adrian Roos
9dc3209913 Disable touch dispatch while adjusting brightness
Prevents new pointers from being added while the shade
is transparent so that nothing gets touched by accident.

Bug: 17113634
Change-Id: I4a607d08dbccd467280159060846edd32db9c512
2014-09-02 23:38:59 +02:00
Adrian Roos
38b4670d46 Merge "Don't drop up or cancel touch events" into lmp-dev 2014-09-02 21:35:59 +00:00
Adrian Roos
ce5474b837 Don't drop up or cancel touch events
Otherwise you're gonna have a bad time.

Bug: 17113634
Change-Id: I24fa13a4379bab0cef014010058d08096abda094
2014-09-02 23:19:56 +02:00
Jorim Jaggi
4dc653aaa2 Merge "Fix outdated time when turning on screen" into lmp-dev 2014-09-02 20:26:39 +00:00
Jorim Jaggi
d09def7511 Fix outdated time when turning on screen
Force a synchronous update of the clock view when turning on the
screen. Also wait for the Keyguard window to be drawn when turning
on the screen.

Bug: 16904617
Change-Id: I38f78a38cfe35ccd067cd420d2bad626bd955ad6
2014-09-02 22:05:42 +02:00
Selim Cinek
58703e651c Merge "Notifications are now selectable by the Keyboard" into lmp-dev 2014-09-02 20:01:07 +00:00
Jason Monk
092be7de02 Don't show add user for simple user switcher
Bug: 17200801
Change-Id: Ideeabf52cae5a6c874fbc9d68be3e79a815db971
2014-09-02 15:26:13 -04:00
Jorim Jaggi
210052e7c7 Merge "Use separate icon group for signal/battery in QS header" into lmp-dev 2014-09-02 17:43:11 +00:00
Jorim Jaggi
06d551ac62 Use separate icon group for signal/battery in QS header
This reverts the terrible hack that reattaches the system icons when
expanding QS. This primarily fixes that the alpha of the icons was
wrong when closing the shade, but also fixes flickering when expanding
the shade.

Bug: 17338013
Change-Id: Ifcbe03eca43ed7639059734e23d740c1b8a7a9de
2014-09-02 17:42:25 +00:00
Amith Yamasani
2cdcc7d360 Merge "Make it possible to remove current user" into lmp-dev 2014-09-02 17:21:58 +00:00
Selim Cinek
9547fd4a2e Merge "Fixed a bug in the notification touch selection." into lmp-dev 2014-09-02 15:37:06 +00:00
Selim Cinek
b2da91b14f Notifications are now selectable by the Keyboard
Also adapted the ripple colors a bit to be more visible.

Bug: 17203303
Change-Id: I7d0446d2641bcabb1e09b3af9535d88c4142e216
2014-09-02 17:35:20 +02:00
Christoph Studer
e0320054a7 Merge "SysUI: Ignore group children when summary is present" into lmp-dev 2014-09-02 15:22:17 +00:00
Jorim Jaggi
2debc99efa Merge "Fix expanded notifications on lockscreen" into lmp-dev 2014-09-02 15:07:37 +00:00
Jorim Jaggi
e62d589bea Fix expanded notifications on lockscreen
Bug: 17340086
Change-Id: I388f859cea1ad5daf195590512ee684e88b9299c
2014-09-02 16:32:23 +02:00
Selim Cinek
abdc5a0782 Fixed a bug in the notification touch selection.
This lead to the wrong notification being selected and
therefore the longpress listener would not be triggered.
Also added some logging for cases where the longpress
listener would not fire.

Bug: 17332879
Change-Id: I9a5cd9bfe3108ca3e366711d34d1e218f1d520cf
2014-09-02 14:42:10 +02:00
Selim Cinek
56d3cb3013 Merge "Fixed crash with notification guts" into lmp-dev 2014-09-02 11:48:28 +00:00
Selim Cinek
6301c555dc Merge "Fixed LTR and RTL naming confusion in navigation bar" into lmp-dev 2014-09-02 11:47:47 +00:00
Selim Cinek
edb893bae6 Fixed crash with notification guts
Bug: 17350166
Change-Id: I4b5eb19b30e57486f48fa8c397e7450426f36464
2014-09-02 12:51:31 +02:00
Christoph Studer
d722f27323 SysUI: Ignore group children when summary is present
This is an optimization to avoid inflating Views for notifications
we're not going to show and free up memory ASAP. No behavioral changes
expected.

Bug: 16302692
Change-Id: I5fa03dcc9ad9cae4afc7cd6102d7ea8bfbdcbfd5
2014-09-02 11:49:19 +02:00
Baligh Uddin
8901c7ba1d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-02 02:07:00 +00:00