230693 Commits

Author SHA1 Message Date
Selim Cinek
f567c9849a Fixed a bug where disabled notification actions were not centered
Bug: 26291178
Change-Id: If0ad1ab9d7a4cea3481b4d8cc06142a6b58146e7
2016-01-21 19:42:49 -08:00
Selim Cinek
ef5127ea5f Isolating heads up children from their groups now
Group children are now isolated into their own group for a few seconds
until it's merged into the group again when they are
heads upped. This makes notifications groups finally usable with
HUNs again.

Change-Id: I0cb5e4f7a70e09989030dfe70ddcbb50575c1c02
2016-01-21 19:42:49 -08:00
Selim Cinek
5bc852a950 Improved touch handling with groups and HUNS
Groups with HUNED children now don't totally destroy the touch
handling anymore.

Change-Id: I815260e22c59e939de12315a393de108fc0b47ab
2016-01-21 19:42:49 -08:00
Selim Cinek
5104a6db2e Fixed the animations on the notification scrims
When pulling down on a heads up notification the scrim would
fade in from 0 instead of fading to the new position.
The old behavior didn't work if the heads up notifications were
big, so we had to change it in order to always have a scrim.

Change-Id: I9ae387b75136c9240d863e06a8649c85b3c6c9dc
2016-01-21 19:42:49 -08:00
Selim Cinek
31aada4ef4 Enabled usage of expand button in heads up notifications
Heads up notifications can now be expanded with the expand
button. The notification stays there until the user dismisses it
or collapses it again.

Change-Id: I0f1b729915317bbbd6f13c3d968c933ffbe6feeb
2016-01-21 19:42:49 -08:00
Ben Kwa
6959f9b05c Merge "Make Drag and Drop mouse specific behavior for now." 2016-01-22 03:30:34 +00:00
Jorim Jaggi
c82a7e3443 Merge changes Ifd2de38a,I57633d60
* changes:
  Divider tuning
  Fix unneccesary activity relaunches
2016-01-22 02:54:21 +00:00
Winson Chung
88766a2bd7 Merge "Fixing some small issues with the overlay." 2016-01-22 02:26:22 +00:00
Winson
4c84a8c481 Fixing some small issues with the overlay.
- Should be updating the app text color to match the activity text color
- Fixing issue with indicator showing when fast toggle is disabled but
  the indicator flag is enabled
- Tweaking layout so that the buttons are flush with the borders so that
  we capture the full area for press/long press

Change-Id: Ia9b081883562ef4fd1c01fd42bc786a1feeb0854
2016-01-21 18:14:12 -08:00
Ben Kwa
29852339f1 Merge "Fix band selection problems." 2016-01-22 02:09:07 +00:00
Ben Kwa
22f479dad3 Fix band selection problems.
- Remove whitespace from the GridModel, which isn't set up to deal with
  it.

- Use absolute column bounds whenever translating the band rectangle
  into column indices.  This necessitates additional binary searching,
  but is necessary when columns aren't fully populated, which happens
  with the new grid layout.

BUG=26512327

Change-Id: I5016d5de8f00c366f575f0722739007ac1612923
2016-01-21 18:08:00 -08:00
Anthony Chen
0dc24bb718 Merge "Move hard-coded dimens to dimens.xml." 2016-01-22 01:49:15 +00:00
John Reck
c080f112b5 Merge "resolve merge conflicts of 32a95af029 to master." 2016-01-22 00:46:34 +00:00
John Reck
e5530ec0b4 resolve merge conflicts of 32a95af029 to master.
Change-Id: I35b7cea1d34cb24f431ba2b76433a5b0ef1cb602
2016-01-21 16:45:31 -08:00
Vladislav Kaznacheev
829ab6daf5 Merge "Zero out DragEvent position when it should not be available" 2016-01-22 00:41:57 +00:00
Michael Wright
6cfa1cc4b0 Merge "Add choreographer API to the NDK." 2016-01-22 00:31:40 +00:00
Thierry Strudel
b786aaa5a7 Don't assume kernel tick is 100Hz
Bug: 26729731
Change-Id: I094d5fd0e611349becb91d4460bc2e4af255d125
2016-01-21 16:31:21 -08:00
Michael Wright
3d3fe5026a Add choreographer API to the NDK.
Change-Id: Icb8cffd3cd3bd06814466be72db3e26f6a62cbc6
2016-01-21 16:30:33 -08:00
Jean-Michel Trivi
17351b6735 Merge "Unhide audio recording notification API" 2016-01-22 00:30:08 +00:00
Tomasz Mikolajewski
b11da88d2a Merge "Fix notifications for failures when copying/moving." 2016-01-22 00:27:37 +00:00
Jorim Jaggi
df012d5102 Divider tuning
- Make it harder to dismiss
- When dragging from the bottom, don't allow dismissing at the top

Change-Id: Ifd2de38abece7b996a813af41dcf777fa5cd1c18
2016-01-21 16:24:58 -08:00
Vladislav Kaznacheev
cc010b2a98 Zero out DragEvent position when it should not be available
Bug: 26729675
Change-Id: I46507198deea89c100cb1b99a1ab7ec0719efb12
2016-01-21 16:24:40 -08:00
Filip Gruszczynski
0ed21de721 Merge "Mark window as replacing when moving task to pinned stack." 2016-01-22 00:17:55 +00:00
Steve McKay
41585d5e06 Make Drag and Drop mouse specific behavior for now.
We'll implement "photos style selection" for touch behaviors.

Autosubmit? Yes, please?

Bug: 20556237
Change-Id: I60dfc2504f2f9fb1dec6e8e311122dd0e2f484fe
2016-01-22 00:17:30 +00:00
Lorenzo Colitti
af0c4d0c7e Merge "Debug logging for when getActiveNetworkInfo returns BLOCKED." into mnc-dr1.5-dev am: a6855a1faa
am: d841d71593

* commit 'd841d71593c0c4a7c5beaf5196a22d9158c2d697':
  Debug logging for when getActiveNetworkInfo returns BLOCKED.
2016-01-22 00:14:27 +00:00
Jorim Jaggi
a95ca8de4d Fix unneccesary activity relaunches
When going from fullscreen to non-fullscreen configuration, task config
changes was always non-zero because in fullscreen, task override config
was empty. Instead, use the actual previous configuration to calculate
diff.

Also make recents handle screenLayout changes.

Bug: 26593320
Change-Id: I57633d60b1e0fc4ae506e276410191a44e1fe221
2016-01-21 16:13:16 -08:00
Winson Chung
995ef593c2 Merge changes I91c58397,I7243f30b,I0f6e9dbf,I1eb0864a
* changes:
  Adding reveal transition to show app-overlay.
  Fixing issue with multiple focus timer animations running.
  Fixing several regressions with affiliated tasks.
  Starting the dismiss animation in parallel with the gesture.
2016-01-22 00:11:52 +00:00
Winson
c5ef63f4e9 Adding reveal transition to show app-overlay.
- Instead of long-pressing the icon to launch into app info directly,
  this will mirror notifications and reveal a space that can show the
  app name and a link to app info.

Change-Id: I91c5839719b030a65744f5e677a436e9c719c578
2016-01-21 16:07:44 -08:00
Winson
b433c5be01 Fixing issue with multiple focus timer animations running.
Change-Id: I7243f30b917bb311e46efa1e09b44440a0236f07
2016-01-21 16:07:39 -08:00
Winson
65c851e6e9 Fixing several regressions with affiliated tasks.
- Now that we are sorting tasks for freeform and history, ensure that
  the affiliated tasks have a useful active time (based on the task
  they are affiliated with) for sorting
- Fix issue with the initial stack and focus state not taking the
  launch task into account due to the launchTask flag not being set
  until the activity was started (now set in RecentsTaskLoadPlan)
- Fixing issue with affiliated tasks not being launched from the stack
  due to the animation trigger not firing when the action button is
  already hidden/visible
- Fixing issue with title text being occasionally hidden (something we
  only need for freeform tasks)
- Tweaking the launch/enter animations for tasks occluded affiliated
  tasks

Bug: 26685208

Change-Id: I0f6e9dbf8deec2e4fc15364e686367cc0f57b41f
2016-01-21 16:07:31 -08:00
Winson
8aa9959413 Starting the dismiss animation in parallel with the gesture.
- Introduces notion of ignored tasks for the purposes of layout in 
  TaskStackView.  This can be used during drag and drop, and while 
  dismissing to calculate the state of the stack without the task that
  the user is currently interacting with.
- Fixing minor layout issue when the front/back task transforms are 
  improperly calculated when there is a single task
- Fixing minor issue when the anchor task is calculated incorrectly when
  dismissing task views

Change-Id: I1eb0864a52e53562e4d573a6ed4f8a5a1615aff9
2016-01-21 16:05:53 -08:00
Adam Powell
d96761b368 Merge "Don't show TextView "share" option for an unprovisioned device" 2016-01-22 00:01:41 +00:00
Bryce Lee
c248f6c7ad Merge "DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall." into cw-e-dev am: 2e7ecddd5b -s ours am: 746ea1efe3 -s ours
am: b2f0e7f6bc  -s ours

* commit 'b2f0e7f6bc24914b90a2673b5e8527468de48071':
  DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall.
2016-01-21 23:55:53 +00:00
Xiaohui Chen
d839d1ac36 sysui: refactor PhoneStatusBar
Bug: 26161831
Change-Id: I906a600b2504b21c28cfe2527d68c2546f11e4ac
2016-01-21 23:53:58 +00:00
Lorenzo Colitti
d841d71593 Merge "Debug logging for when getActiveNetworkInfo returns BLOCKED." into mnc-dr1.5-dev
am: a6855a1faa

* commit 'a6855a1faa898da0f4a4fdc45485dc1f4182497b':
  Debug logging for when getActiveNetworkInfo returns BLOCKED.
2016-01-21 23:51:16 +00:00
Calin Juravle
813d755f7f Merge "Clean up passing volumeUuid to DexOptimizer" 2016-01-21 23:47:23 +00:00
Calin Juravle
9dff854be4 Clean up passing volumeUuid to DexOptimizer
The argument was redundant.

Also, we should have taken the uuid for shared library from their
package information.

Bug: 26080105
Change-Id: If3d86e00ebecfc13cf63482bce4ac32a119de967
2016-01-21 15:45:54 -08:00
Anthony Chen
f9bad765dd Merge "Add null checks for various buttons on the Nav Bar." 2016-01-21 23:41:45 +00:00
Makoto Onuki
31a05062c2 Merge "[FBE] Introduce shadow calllog provider [1/2]" 2016-01-21 23:39:07 +00:00
Lorenzo Colitti
a6855a1faa Merge "Debug logging for when getActiveNetworkInfo returns BLOCKED." into mnc-dr1.5-dev 2016-01-21 23:31:50 +00:00
Bryce Lee
b2f0e7f6bc Merge "DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall." into cw-e-dev am: 2e7ecddd5b -s ours
am: 746ea1efe3  -s ours

* commit '746ea1efe3e2acc13865f731f3b5a7cc88525c1d':
  DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall.
2016-01-21 23:30:48 +00:00
Robert Greenwalt
bd92c57a4f Merge "Add free short codes for Direct Carrier Billing and others."
am: 4d9ffdf952

* commit '4d9ffdf95237c4ee59514c678fea6ff157e0eee3':
  Add free short codes for Direct Carrier Billing and others.
2016-01-21 23:20:02 +00:00
Bryce Lee
746ea1efe3 Merge "DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall." into cw-e-dev
am: 2e7ecddd5b  -s ours

* commit '2e7ecddd5bb13721e5b3d55ee96b9dcf2e9148e6':
  DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall.
2016-01-21 23:19:06 +00:00
Makoto Onuki
b524741cb6 [FBE] Introduce shadow calllog provider [1/2]
Introduce a new provider that's a clone of the calllog provider but
is EA.

The provider is hidden and requires MANAGE_USERS to access.

Bug 26183949

Change-Id: Ie3181a2a68c522b7e513b45218ad06ecd27cda8c
2016-01-21 15:14:57 -08:00
Bryce Lee
18116c01c2 Improve logging in BluetoothHeadsetClientCall.
Change-Id: I3b1b3946ca21c0bbc902a2c521938239a486d98a
(cherry picked from commit fe985fa7f0286df0317b139a375fa8ee36e6a304)
2016-01-21 23:11:20 +00:00
Jean-Michel Trivi
b919f6fd71 Unhide audio recording notification API
Introduce new methods and classes for the audio recording
  configuration update and query API.
Callback registration supports a Handler.

Bug 22876530

Change-Id: I819ad464f095d970b5d1d8a3781fcf8dbb310424
2016-01-21 15:09:38 -08:00
Bryce Lee
2e7ecddd5b Merge "DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall." into cw-e-dev 2016-01-21 23:01:06 +00:00
Bryce Lee
fe985fa7f0 DO NOT MERGE ANYWHERE Improve logging in BluetoothHeadsetClientCall.
Change-Id: I3b1b3946ca21c0bbc902a2c521938239a486d98a
2016-01-21 22:54:56 +00:00
Anthony Chen
ada13040d0 Add null checks for various buttons on the Nav Bar.
CarNavigationBarView extends NavigationBarView and provides a different
layout for the navigation bar which does not include all these buttons.
As a result, SystemUI will crash.

Change-Id: I1be079814faa26925721ec86a6f108506f54b99e
2016-01-21 14:47:32 -08:00
Zhijun He
445b316755 Camera2: add surface set ID
Add surface set ID to OutputConfiguration class,and make this class public.

Bug: 25088440
Change-Id: Ib5fd74aa2c7bc06aed70771765767d6fcfefa98f
2016-01-21 14:47:24 -08:00