6249 Commits

Author SHA1 Message Date
Eino-Ville Talvala
71aa8ab5d7 Merge "Camera2: Final API revisions" into lmp-dev 2014-09-05 20:43:52 +00:00
RoboErik
dfafca7691 Merge "rename add/removeCallback to register/unregisterCallback" into lmp-dev 2014-09-05 19:49:36 +00:00
Eino-Ville Talvala
fd887436bd Camera2: Final API revisions
- Rename listeners to callbacks. Listeners are single-method and are interfaces,
  while callbacks are abstract may get more methods in the future.
- Use register/unregister for registering callbacks, not add/remove.

Bug: 17389922
Change-Id: Ic6b46ad79cb43a43a85e2a4b63f059d3af99798b
2014-09-05 12:43:11 -07:00
RoboErik
14f717a506 rename add/removeCallback to register/unregisterCallback
bug:17390821
Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f
2014-09-05 11:40:33 -07:00
Svetoslav
c7d62f02b8 Addressing API council comments for UserManager.
bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
2014-09-05 10:07:02 -07:00
Tom O'Neill
08e76661bc Merge "Suppress location tile in QS on lock screen" into lmp-dev 2014-09-05 16:37:44 +00:00
Jorim Jaggi
89b39b2b07 Merge "Don't update notification layer when collapsing the panel" into lmp-dev 2014-09-05 16:22:25 +00:00
Christoph Studer
8e2128ba4f Merge "SysUI: Sort status bar notification icons" into lmp-dev 2014-09-05 15:59:41 +00:00
Jim Miller
a8ecf45398 Merge "Send USER_PRESENT broadcast after keyguard animation finishes" into lmp-dev 2014-09-05 15:57:16 +00:00
Tom O'Neill
d528930380 Suppress location tile in QS on lock screen
- Work around bug in QS implementation

- Bug: 15916487

Change-Id: I623a4e31e8b4187d920c2724182c927328885b3b
2014-09-05 08:22:47 -07:00
Jorim Jaggi
12a6782d61 Don't update notification layer when collapsing the panel
This change makes sure that we don't update the hardware for the
notification layer when we collapse or expand the panel. It does so
by starting the fading when the panel is more collapsed.

Bug: 17287256
Change-Id: I35dc35494d71d816b7e6c5821b769847aaa183b0
2014-09-05 16:01:00 +02:00
Christoph Studer
668c8970ff SysUI: Sort status bar notification icons
Bug: 15761406
Change-Id: I64884319014d6fa3008c0db4060db7b9b066b6d7
2014-09-05 16:00:09 +02:00
Jorim Jaggi
f2f0a071c2 Merge "Remove the scrimming of notifications" into lmp-dev 2014-09-05 13:58:33 +00:00
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
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
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
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
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
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
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
Adrian Roos
57cf5702e0 Add current user announce to MultiUserSwitch
Bug: 17142162
Change-Id: I0322b1e653b8ceac473739dc6b52aa3700d81fb8
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