12533 Commits

Author SHA1 Message Date
Xiaohui Chen
38d01bf315 app shelf: Change logging level
It seems common for apk to not have launcher activity. I see it quite
a lot during SUW. It does not seems to be an error.

Change-Id: Iee417b0614ef17940371da9710ff14adbad82e3a
2015-11-10 15:02:29 -08:00
Amith Yamasani
a8d3e1ff63 Merge "Allow activities to show on user 0 until provisioned" 2015-11-09 19:50:50 +00:00
Geoff Mendal
aab2feaac4 Import translations. DO NOT MERGE
Change-Id: I4e19184520f6d4b3c9145fa13e16488cb3fe1c23
Auto-generated-cl: translation import
2015-11-09 05:56:05 -08:00
Winson
13d30660ef Fixing issue with canceling the thumbnail in addition to the app window.
Bug: 25392381
Change-Id: Ib507f53bcd2aad4771c2546f5e8bfe771769e9a2
2015-11-06 15:30:29 -08:00
Winson
7395ef0cdb Reverting debug flag.
Change-Id: I918d43827ecd7be52b41fb632850775161aa3902
2015-11-06 14:54:41 -08:00
Winson
6b92c6e524 Adding fast alt-tab trigger to prevent full animation.
Change-Id: I3df7a99977d0c2687eea084a95a0953429e8ff47
2015-11-06 14:42:14 -08:00
Winson
1b58561f66 Fixing up some more focus edge cases.
- Disallow touch while alt-tabbing
- Allow keyboard to focus tab while scrolling
- Cleaning up some old classes that aren’t really being used

Change-Id: Ibabea093afb711b07f398677d25735421b7c7e53
2015-11-06 13:48:45 -08:00
Jorim Jaggi
c97ba49d23 Update divider shadow when it is moving
Change-Id: Ifc67ba3ee640929248cad6479d9c0df818e32f40
2015-11-06 21:08:57 +00:00
Jorim Jaggi
e48f428b98 Restore changes lost during merge
Change-Id: I619be025988470e27b614ed0ad009e5d785f19eb
2015-11-06 20:25:49 +01:00
Amith Yamasani
27e025b687 Allow activities to show on user 0 until provisioned
In a split-user mode, allow SUW and related apps to show UI
until the device is provisioned. Basically this changes the
logic a bit for when to force keyguard to always show on user 0.

Bug: 25326078
Change-Id: I8e862adae1c38efe9874479b532baa7446070035
2015-11-06 10:34:41 -08:00
Jorim Jaggi
1fcbab6ae5 Implement divider UX interactions
- Update visuals to spec
- Divider lifts when touching
- Implement basic version of snap points and animations
- Implement touch conflict behavior: If touched around 48x48dp
area around the handle, the divider handles all these touches.
If touched outside of the black background divider, touch goes
directly to underlying window. If touch on the black background
divider, touch is considered slippery and thus the window in
which the touch trace moves gets the touches.

Change-Id: I0307c191ae032672c4b73d439c23cf9833d3fce6
2015-11-06 16:17:57 +01:00
Jorim Jaggi
61f39a7b98 Migrate docked divider drawing to SysUI
Move docked divider drawing to SysUI. This let's us have real
time shadows in the future. Keep DockedStackDividerController
for placing/visibility in window manager.

Change-Id: I82c10add626d30f2ba180ee2a21cdbe6ddfe0371
2015-11-06 16:13:11 +01:00
Jorim Jaggi
2f7d292596 Supply app transition specs with a future
Because we retain activity surfaces now, the app transition specs
which were calculated/generated after the onPause() call when going
from recents -> app were too slow. Instead, supply a cross-process
future, which gets fetched when the window manager is about to be
ready to execute the app transition. In practice, this still gets
executed immediately after the onPause call.

If we have a retained surface, this adds some latency, but since we
absolutely need the specs to execute the transition, we have that
latency no matter where exactly we generate the specs.

If we don't have a retained surface, the specs are not calculated on
the critical path, so it's faster.

Bug: 19940527
Change-Id: I80d2c6f6b3a6568a70339619ecefbc3bd8409bd8
2015-11-06 16:12:59 +01:00
Julia Reynolds
0ca82fecc2 Fix radio button flash on hour change.
Also delete confusing debug variable.

Bug: 25459795
Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
2015-11-05 11:08:02 -05:00
Winson Chung
986739a65d Merge "Adding dnd to/from freeform workspaces." 2015-11-05 01:59:57 +00:00
Winson
eca4ab6e99 Adding dnd to/from freeform workspaces.
Change-Id: I5b75fe5a942e9a2e344e62229e860b5108f9872e
2015-11-04 17:56:36 -08:00
Winson
5da4347b41 Fixing regression in alt-tab task.
Change-Id: Iee73baded04616ee92046609c37257d1551520fb
2015-11-05 01:53:38 +00:00
Filip Gruszczynski
3958658c71 Merge "Remove blink during the freeform -> recents transition." 2015-11-04 18:55:06 +00:00
Adam Lesinski
b68f9834bd Merge "Use wakeup reason when FingerPrint sensor wakes up the device" 2015-11-04 18:50:27 +00:00
Filip Gruszczynski
14b4e57c1b Remove blink during the freeform -> recents transition.
We achieve the desired result by prolonging the last frame of the
animation until recents tells that it drew its content. The CL also
includes cleanup that moves code that depends heavily on WindowState
fields into that class.

Bug: 24913782
Change-Id: I5ee5b18504dd4a86c24033d17eca21cd31936bca
2015-11-04 09:53:22 -08:00
Geoff Mendal
f39a079179 Import translations. DO NOT MERGE
Change-Id: Id927a7b437f398a9e468e1fa105bce3c7bb4b356
Auto-generated-cl: translation import
2015-11-04 05:57:12 -08:00
Adrian Roos
c737c93741 Merge "Ok Droid, enable inline reply" 2015-11-04 01:45:26 +00:00
Adrian Roos
9531c9b499 Ok Droid, enable inline reply
Bug: 22452379
Change-Id: I74a875495abe010a2f00d1ac598ad95eaa87479d
2015-11-03 17:44:29 -08:00
Adam Lesinski
5bcb8bb31a Use wakeup reason when FingerPrint sensor wakes up the device
PowerManager can log into BatteryStats the reason for the device being
woken up. This change has the Fingerprint controller report the reason
instead of a default non-descriptive 'wakeUp' reason.

Change-Id: I12d80682dad888add139cca586d4b948e9d546e5
2015-11-03 16:31:25 -08:00
Winson
a5e6b36034 Updating freeform layout to be static at the top of recents.
Change-Id: I5118d03c115080e05447d325097419b9a1c6f8b4
2015-11-03 14:18:03 -08:00
Winson Chung
e6e6c996bc Merge "Adding recents experiment override." 2015-11-03 16:45:07 +00:00
Selim Cinek
1412f8482d Fixed a bug where the panel could get stuck closing am: b0e4f9e97e am: 157e60f7a2 am: 341d544693
am: e4fd7227eb

* commit 'e4fd7227ebffb6f33c875c4d1bf48be75ae9f33a':
  Fixed a bug where the panel could get stuck closing
2015-11-03 03:03:12 +00:00
Selim Cinek
e4fd7227eb Fixed a bug where the panel could get stuck closing am: b0e4f9e97e am: 157e60f7a2
am: 341d544693

* commit '341d544693c47ba9c5a60108e0ed4eabb9e2e069':
  Fixed a bug where the panel could get stuck closing
2015-11-03 01:34:31 +00:00
Selim Cinek
341d544693 Fixed a bug where the panel could get stuck closing am: b0e4f9e97e
am: 157e60f7a2

* commit '157e60f7a2ec40bdbb3bde0ea41f1c92bef93a1e':
  Fixed a bug where the panel could get stuck closing
2015-11-03 01:29:27 +00:00
Jason Monk
3525141450 Merge "Always show tiles in the new QS" 2015-11-02 23:51:02 +00:00
Jason Monk
de05a18005 Always show tiles in the new QS
Change-Id: I536d19206fd03194b76b01a0f159f0a241d19c8b
2015-11-02 18:48:38 -05:00
Winson
4727ab9322 Adding recents experiment override.
Bug: 25374687
Change-Id: I1e28c5c51aff2787fbbed6e9f39ac1f05e3274d1
2015-11-02 22:36:35 +00:00
Selim Cinek
b0e4f9e97e Fixed a bug where the panel could get stuck closing
When mClosing was set even though the panel was not
expanding, the variable was never reset leading to
bad states like the notification shade not updating,
people missing calls and similar bad bugs.

Bug: 25338991
Change-Id: I4362fda257770c98c5f9ba75a5622b14f74dc5ae
2015-11-02 21:51:34 +00:00
Wale Ogunwale
02a5a6bb9b Merge "Added StackId object for checking what features a stack supports" 2015-11-02 20:38:39 +00:00
Wale Ogunwale
3797c22ea1 Added StackId object for checking what features a stack supports
Helps make the code easier to follow since we are no longer checking
multiple stack ids at various decision points.

Bug: 25282299
Change-Id: Ifa6864a1ef56ce2eca4c94f87a4e0b993de987cd
2015-11-02 11:32:42 -08:00
Winson Chung
723b5d90df Merge "Prevent and log invalid cache entries." 2015-11-02 18:36:27 +00:00
Winson
eb1b65a976 Prevent and log invalid cache entries.
Bug: 25413518
Change-Id: Id0a7384eccd25ba766feb0c568b4c16db2b6f6c8
2015-11-02 10:33:16 -08:00
Winson Chung
d1f2ebcdb3 Merge "Add ability to cancel task window transitions." 2015-11-02 18:17:12 +00:00
Winson
c28098f69b Add ability to cancel task window transitions.
Bug: 25392381

Change-Id: I45f48edc21c058df0e4c22ceaf7e9aef5899a29c
2015-11-02 10:16:23 -08:00
Winson
2dd7694681 Reporting task bounds in RecentTaskInfo.
Change-Id: I8e88d1aca5fa0ee316e93afe4fb63264e2d338f0
2015-11-02 18:04:38 +00:00
Selim Cinek
01a46f4e25 Merge changes from topic 'notification_children'
* changes:
  Follow up CL for notification children change
  Allow expanding notification groups by dragging down
  Changed the appearance of notification bundles
  Hiding subtext of children notifications now
  Hiding the children backgrounds now
  Introduced the notification header
  Slight refactoring of notification groups
  Fixed a bug where a notification could stay userlocked
2015-10-31 01:45:35 +00:00
Selim Cinek
a6c6bfb61b Follow up CL for notification children change
The CLs of the notification children change have been
quite overlapping, so a few comments are addressed in this
change.

Bug: 24866646
Change-Id: If3cd029f5a97302fc33f3e2b6b6b147938ddcd3e
2015-10-30 16:28:40 -07:00
Selim Cinek
388df6dd3d Allow expanding notification groups by dragging down
Bug: 24866646
Change-Id: Ie7c5ee6753c2f246df04189bb92e08baf0242797
2015-10-30 16:28:40 -07:00
Selim Cinek
83bc783384 Changed the appearance of notification bundles
Children now show up as one line notifications even
if the summary is not expanded. The childrenContainer
shows a summary if there are some which don't fit
in there currently.

Bug: 24866646
Change-Id: I0cfae9342722c9f8941f51704618190cfe4e76b4
2015-10-30 16:28:39 -07:00
Selim Cinek
8d6440dbab Hiding subtext of children notifications now
If the parent header already displays the email
we don’t want to display it again in the child.

Bug: 24866646
Change-Id: I3aee62e895fef68b059a61a825eef37f0f8ad875
2015-10-30 16:28:39 -07:00
Selim Cinek
34d93b0985 Hiding the children backgrounds now
To avoid overdraw we are now hiding
the background of the view if it has
the same color.

Bug: 24866646
Change-Id: Ie998c9d2e6055d8e88f33300583a4b86bf35362f
2015-10-30 16:28:38 -07:00
Selim Cinek
eef8428510 Introduced the notification header
In the new grouping model we don't have a dedicated expand button
anymore but only the notification header.

Bug: 24866646
Change-Id: I2e4bc82e502fde951a71b61cd81347c44b9637f6
2015-10-30 16:28:00 -07:00
Winson Chung
15ca73ac51 Merge "Ensuring that tasks in the back are always visible." 2015-10-30 23:17:35 +00:00
Winson Chung
2a1d77ef16 Merge "Fixing crash when swiping away last task." 2015-10-30 23:17:29 +00:00
Winson
0711be5cef Ensuring that tasks in the back are always visible.
Change-Id: Ic64a1eac4b312c1efdb8c3ab005903a53b4a61d2
2015-10-30 16:06:08 -07:00