10657 Commits

Author SHA1 Message Date
Adrian Roos
c2c661fccc Merge "Reorder brightness slider mirror in front of album art" into lmp-dev 2014-09-05 13:58:33 +00:00
Jorim Jaggi
f9fb30f54b Merge "Hide notifications when occluded and disabled on keyguard" into lmp-dev 2014-09-05 13:51:37 +00:00
Adrian Roos
cc74113ac6 Reorder brightness slider mirror in front of album art
Fixes slider disappearing when album art is showing.

Bug: 17373958
Change-Id: Ifdb184a6a750f798bc94a9d1eeca9299b246a513
2014-09-05 15:50:53 +02:00
Selim Cinek
4c866929d7 Merge "Fixed a bug where the notifications could overlap when reset" into lmp-dev 2014-09-05 13:49:23 +00:00
Winson Chung
acdc602f18 Merge "Generalizing Recents widget category to Search box. (Bug 17334589)" into lmp-dev 2014-09-05 13:41:40 +00:00
Jorim Jaggi
68e6fa72f2 Remove "forgot pattern" in pattern view
Bug: 17184958
Change-Id: I7ebb35a1b734286ded99352b3fa2b891386c581d
2014-09-05 15:41:07 +02:00
Jorim Jaggi
06c19ea001 Remove the scrimming of notifications
Not really needed anymore and adds a lot of overdraw. Let's get rid
of it.

Bug: 17287256
Bug: 17346296
Change-Id: I319596f7059b6ed0d3d7a578d3c786921001f4b5
2014-09-05 15:37:12 +02:00
Jorim Jaggi
da30a03d96 Hide notifications when occluded and disabled on keyguard
Bug: 17371021
Change-Id: I27769a2334285fe753a3ee5ce55986d4fd23b83c
2014-09-05 15:13:39 +02:00
Adrian Roos
fdd04d42d2 Merge changes Ibb63814e,I0322b1e6 into lmp-dev
* changes:
  Prevent full shade guesture from doing the wrong thing
  Add current user announce to MultiUserSwitch
2014-09-05 12:57:55 +00:00
Selim Cinek
6e28a678c7 Fixed a bug where the notifications could overlap when reset
This is because we did not receive a layout request even though
the notification was updated.

Bug: 17357688
Change-Id: Ie6295d07f4c00ec014b17671ad646261c4bb7e0f
2014-09-05 14:43:28 +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
Jim Miller
705004bebf Send USER_PRESENT broadcast after keyguard animation finishes
This fixes a potential race between receiving USER_PRESENT
broadcast and testing if keyguard is finished
(KeyguardManager.isKeyguardLocked())

This also fixes an issue where USER_PRESENT isn't sent when
device encryption is enabled.

Fixes bug 17322844
Fixes bug 17301385

Change-Id: Icab3068c24032942ffdf6554d6d53cc656ae6666
2014-09-04 17:11:17 -07:00
Svetoslav
d97bf6920b Add a missing dependency on a shared JNI library
bug:17389508

Change-Id: I38e1ad7daf991f37458eac391b472eb3816d7838
2014-09-04 12:37:52 -07:00
Baligh Uddin
6bed40eddc Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:49:32 +00:00
Baligh Uddin
82a946d7de Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:49:05 +00:00
Baligh Uddin
d837c3e87d Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-04 17:48:59 +00:00
Chris Wren
0fb810a3fa Merge "Honor per-app sensitivity setting." into lmp-dev 2014-09-04 17:42:18 +00:00
Yorke Lee
135b59e597 Merge "Use TelecommManager APIs to detect if we are in a call" into lmp-dev 2014-09-04 17:27:25 +00:00
Brian Carlstrom
191cbad91f Used LOCAL_SHARED_LIBRARIES for proper dependencies
bug:15938254
Change-Id: I710f689e8bcad66988ef3aa0aa189b185c8ad662
2014-09-04 09:52:31 -07: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
ee0b12161a Generalizing Recents widget category to Search box. (Bug 17334589)
Change-Id: Id62398255799844cc89affcb4bafc86b6479dad0
2014-09-04 17:13:17 +02: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
Yorke Lee
cc5179f0e3 Use TelecommManager APIs to detect if we are in a call
Bug: 17335666
Change-Id: I5f443c76041e51a2eca903db924fb26031dde055
2014-09-03 17:04:54 -07: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
Svet Ganov
def58cbffc Merge "Switching to raw byte copy of bitmaps for print preview." into lmp-dev 2014-09-03 23:33:30 +00:00
Svetoslav
8c07e8d2a3 Merge "Fix some print UI issues." into lmp-dev 2014-09-03 23:18:30 +00:00
Baligh Uddin
cb8ae31e07 Import translations. DO NOT MERGE
Change-Id: Id3ea6f77f0d898b4401c226c0de033fe186a2e64
Auto-generated-cl: translation import
2014-09-03 16:12:05 -07:00
Svetoslav
baa5bccb19 Merge "Update print chooser drop down width." into lmp-dev 2014-09-03 22:46:30 +00: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
Svetoslav
e04dcca593 Update print chooser drop down width.
bug:16324744

Change-Id: I1f0b79ae5da06de97ca80a800537d815ce59bf41
2014-09-03 15:02:14 -07: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
Svetoslav
840bb00855 Merge "Unregister from the remote renderer only if bound." into lmp-dev 2014-09-03 21:43:13 +00:00
Svetoslav
9e795e19c7 Unregister from the remote renderer only if bound.
bug:8213791

Change-Id: Ia9efa33331437c4db447acf0c510d4cb4932a593
2014-09-03 14:34:01 -07:00
Svet Ganov
df6444931b Switching to raw byte copy of bitmaps for print preview.
Using compression and decompression for moving bitmap data
acorss processes is slow as compression is expensive. This
change switches to using direct streaming of the bitmap
data.

bug:15938254

Change-Id: I78bc450031ee60ada4c3b66f14586a73c72ce34f
2014-09-03 12:34:23 -07:00
Svetoslav
6f249835a4 Fix some print UI issues.
1. Fixed a crash when orientation changes and the content
   is scrolled due to wrong size bitmap being requested.

2. Closed a file dscriptior that was being left open.

3. Clearing the bitmap before passing it to the renderer to
   ensure it is white for pixels not touched when rendering.

4. Removed debug logs.

5. Switched to the correct layout manager for RecyclerView.

bug:16966145

Change-Id: I8ab9d22635c93cac5ff85c6f4b5d82e58cd8df5c
2014-09-03 12:29:53 -07:00
Baligh Uddin
03a25fe3a0 Import translations. DO NOT MERGE
Change-Id: Ib0b5565412211bede23918b8f9987e7e2c0b1792
Auto-generated-cl: translation import
2014-09-03 12:21:28 -07: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
Adrian Roos
aee70462c2 Prevent full shade guesture from doing the wrong thing
Also prevents us from getting into a state where it would
do the wrong thing previously.

Bug: 15934899
Change-Id: Ibb63814e80c50e4ccf65ef48d2b07cbe3a200e78
2014-09-03 17:30:23 +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