10289 Commits

Author SHA1 Message Date
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
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
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
Svet Ganov
561b893174 Merge "Move print rendering in an isolated process." into lmp-dev 2014-09-02 21:51:47 +00: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
Jorim Jaggi
4b149860b8 Merge "Remove different layout for landscape in Keyguard" into lmp-dev 2014-09-02 20:01:03 +00:00
Jorim Jaggi
e82f90e72e Remove different layout for landscape in Keyguard
Bug: 15422177
Change-Id: I8a643a8f6dcfed1530f17e8de6a5cc69533528b4
2014-09-02 21:54:25 +02:00