Commit Graph
47938 Commits
Author SHA1 Message Date
Jon Miranda 783717c0c6 Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev am: 9da9a2bd21
am: f20a7d252c

Change-Id: I3fcfe4dc137756d5b4a049468632d111ca7fa4f6
2019-08-01 15:19:01 -07:00
Tony 13bdbffe29 Don't end launcher components anim early even if it does nothing am: 03c548901f
am: 1d7e474c69

Change-Id: I1f1f70c2791755535d1318b636e37a745e97d057
2019-08-01 15:18:36 -07:00
Jon Miranda f20a7d252c Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev
am: 9da9a2bd21

Change-Id: Icae4fd3fef3ad221d45e8d9ecdcc018813d560f3
2019-08-01 15:05:00 -07:00
Tony 1d7e474c69 Don't end launcher components anim early even if it does nothing
am: 03c548901f

Change-Id: Ifb228b935659e971facfd8d6bb4c56ab54424e68
2019-08-01 15:04:36 -07:00
TreeHugger Robot 9da9a2bd21 Merge "Fix bug where rounded corners were being set despite being disabled." into ub-launcher3-qt-dev 2019-08-01 21:47:47 +00:00
Tony 03c548901f Don't end launcher components anim early even if it does nothing
The janky animation that ends on the home screen with an invisible
task on top is caused by the following scenario (for example):
- Quick switch from task A to task B
- After landing on B, but before we get the callback that it was
  successfully launched, switch back to A (or you could go to C)

Now we are animating back to A, but we are still waiting to hear
whether B was successfully launched. If we hear that the launch
was indeed successful, we dutifully clean up after ourselves  by
returning launcher to its default state. Unfortunately, that
clobbers the current animation that is scrolling back to A, and
we end up in the bad state where we are showing the default
launcher state even though we just launched task B and were
about to launch task A.

Normally we avoid cleaning up the state animation if the user
is still controlling it. The reason we weren't doing that here
is because we ended the launcher animation early even though
the window animation was still running. Instead, we should keep
the launcher animation running for the full duration, so that
it prevents a cleanup from occurring in the middle.

Bug: 138620399
Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1
2019-08-01 13:28:43 -07:00
Tracy Zhou 8e8a36f673 Change RecentsAnimationListenerSet interface (Launcher)
Bug: 138683199
Test: N/A
Change-Id: Ic53ef92fe4d5b55ff1d105a250accdf6f6c0916b
2019-08-01 11:18:15 -07:00
Pinyao Ting c783ad94e4 [automerger skipped] Merge "Ensure each dot contains only relevant notification to the shortcut and displays system shortcut when long click on deep shortcut." into ub-launcher3-qt-qpr1-dev
am: 9447e887db -s ours
am skip reason: change_id Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2 with SHA1 0cd5bd5f95 is in history

Change-Id: I6320f2cdf7260e49c64ca5295d4db2c0ab611702
2019-08-01 10:31:33 -07:00
Pinyao Ting 9447e887db Merge "Ensure each dot contains only relevant notification to the shortcut and displays system shortcut when long click on deep shortcut." into ub-launcher3-qt-qpr1-dev 2019-08-01 16:51:57 +00:00
Winson Chung 112af6868d Merge "Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: c361bb8977" into qt-qpr1-dev-plus-aosp
am: a61fd0087b

Change-Id: Iacfeaf56f5b8237d5891a87b3ae0e94205724fd0
2019-07-31 21:34:11 -07:00
Winson Chung bee422b6d0 Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: 7a495fdfa1
am: 691007f721

Change-Id: I7b8129c3fdf40e03828da640b2a1680f1c2a8883
2019-07-31 21:33:25 -07:00
Android Build Merger (Role) a61fd0087b Merge "Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018 am: c361bb8977" into qt-qpr1-dev-plus-aosp 2019-08-01 04:22:56 +00:00
Winson Chung 25d99a2101 Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018
am: c361bb8977

Change-Id: I3a503d6eb001778764edf298b1001dd1c8e3cf9b
2019-07-31 21:22:26 -07:00
Winson Chung 691007f721 Merging ub-launcher3-qt-r1-dev, build 5766606 am: 8822dc0018
am: 7a495fdfa1

Change-Id: I64e26f2c3f50f6b04c753fbb972e044fbbc51103
2019-07-31 21:22:25 -07:00
Winson Chung c361bb8977 Merging ub-launcher3-qt-r1-dev, build 5766606
am: 8822dc0018

Change-Id: Ife2004942d44798afb5c7c4aabcf518bf358a6ae
2019-07-31 21:10:26 -07:00
Winson Chung 7a495fdfa1 Merging ub-launcher3-qt-r1-dev, build 5766606
am: 8822dc0018

Change-Id: I41d122efe5cefb14c56c0bcad046aae627037311
2019-07-31 21:10:26 -07:00
Pinyao Ting 0cd5bd5f95 Ensure each dot contains only relevant notification to the shortcut
and displays system shortcut when long click on deep shortcut.

In this CR we
1) for each shortcut, we filters the notifications to ensure we only
 get notifications with identical shortcutId.
2) allow system shortcut to be displayed when user long click on a
DeepShortcut

Bug: 132336512
Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
2019-08-01 02:47:24 +00:00
Vadim Tryshev b647d79e45 Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev
am: d33894c771

Change-Id: Iad90464ad3864fda2c1811d87923dfd8fbfd81db
2019-07-31 18:02:51 -07:00
Vadim Tryshev d33894c771 Merge "More tracing for wellbeing tests" into ub-launcher3-qt-qpr1-dev 2019-08-01 00:36:31 +00:00
Pinyao Ting bf608722b9 Ensure each dot contains only relevant notification to the shortcut
and displays system shortcut when long click on deep shortcut.

In this CR we
1) for each shortcut, we filters the notifications to ensure we only
 get notifications with identical shortcutId.
2) allow system shortcut to be displayed when user long click on a
DeepShortcut

Bug: 132336512
Change-Id: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
Merged-In: Idc9eaed55e900ed4027a43ee9c3fd7dc6f4480b2
2019-07-31 23:56:54 +00:00
vadimt b90e363b22 More tracing for wellbeing tests
Bug: 138743758
Change-Id: I49765cf94575dd7ce251b36094dd82d55d8410d1
2019-07-31 16:41:46 -07:00
Tony Wickham dd53ba5065 Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev am: 1343f03e2e
am: 70f539cd45

Change-Id: Ifddcba1cd63950424f88ad1d8e01fa9a11f73a2e
2019-07-31 15:50:44 -07:00
Tony Wickham 70f539cd45 Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev
am: 1343f03e2e

Change-Id: Ie3f4c2c15e331c84f0f048c6337ae4e58111ec56
2019-07-31 15:36:50 -07:00
vadimt ee96d75065 Improvements in getting workspace app icon
am: 6b466783b7

Change-Id: I47cd2161e5c3b9dd2d2350bcb4606f346d79adf8
2019-07-31 15:18:36 -07:00
Tony Wickham 1343f03e2e Merge changes Ib3e373c2,Ia5d6f545 into ub-launcher3-qt-r1-dev
* changes:
  Tie prediction text to all apps interpolator
  Add OverviewScrim to show below overview but above workspace
2019-07-31 22:12:54 +00:00
Vadim Tryshev e5f95bd2c1 Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev
am: bfff1c80df

Change-Id: I1fb1774ba85d3ef51abb29347ca8621f1f95d8b2
2019-07-31 15:08:53 -07:00
vadimt 6b466783b7 Improvements in getting workspace app icon
Bug: 138743792

Change-Id: I11981774397b82bdad0352343a52341c2e3a5099
2019-07-31 21:48:04 +00:00
Tony Wickham 35a4e0eec9 Tie prediction text to all apps interpolator
Now floating headers get 2 interpolators: one for the header content
itselt, and one for the all apps content that follows. That way, they
can choose to intperolate part of their content as if it were part of
all apps instead of the header. Currently, we do this to animate
predicted icons quickly, followed by the all apps icons, predictions
text, all apps scrollbar, and all apps divider as you continue swiping.

Bug: 132455160
Change-Id: Ib3e373c291e174e1306a53854d0ad4dc29eb4b76
2019-07-31 14:45:18 -07:00
Tony Wickham c088051c29 Add OverviewScrim to show below overview but above workspace
- Refactor some basic scrim logic to Scrim class and have
  WorkspaceAndHotseatScrim and OverviewScrim extend it
- Draw OverviewScrim under recents unless predictions are disabled, in
  which case draw it under hotseat (since that is in recents)
- Remove sysui scrim (behind status bar and nav bar) when overview is
  peeking

Bug: 132455160
Change-Id: Ia5d6f54582a4c5a70e3b2d4a98281567edd68519
2019-07-31 14:44:28 -07:00
Vadim Tryshev bfff1c80df Merge "Improving getWorkspaceAppIcon()" into ub-launcher3-qt-qpr1-dev 2019-07-31 21:13:13 +00:00
vadimt 49a28a725a Improving getWorkspaceAppIcon()
Change-Id: I71093b6c03b96ef608be9c8b847a372834b79d64
2019-07-31 13:48:39 -07:00
Vinit Nayak 6482ab1e36 Merge "Set recents view to be visible from alt+tab" into ub-launcher3-qt-qpr1-dev
am: b5d2ab59a5

Change-Id: I032cb7b9a5a63461adbbefb58172eb0977705a7f
2019-07-31 13:43:41 -07:00
Sunny Goyal fe02876817 Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev am: 5e1658a188
am: 20f56a7c9a

Change-Id: I2662e90580def56c10b7577bfb35a27dafdfbda1
2019-07-31 13:43:23 -07:00
TreeHugger Robot b5d2ab59a5 Merge "Set recents view to be visible from alt+tab" into ub-launcher3-qt-qpr1-dev 2019-07-31 20:20:35 +00:00
Sunny Goyal 20f56a7c9a Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev
am: 5e1658a188

Change-Id: I849c337f45395692dc547ee2e9c82f61ff1b4efa
2019-07-31 13:17:32 -07:00
Vinit Nayak 45c12ff1b5 Set recents view to be visible from alt+tab
Recents was being initialized but was not
marked as attached to app window. This
was causing it's animator to never make it
View.VISIBLE.

Test: Open any app
On physical keyboard press alt+tab
Observe that overview shows up

fixes: 138396234
Change-Id: I9e6c001242f4552027e79b162fb812f476823a37
2019-07-31 20:10:55 +00:00
TreeHugger Robot 5e1658a188 Merge "Fixing multi-window DnD getting cancelled when starting a new activity in the middle" into ub-launcher3-qt-r1-dev 2019-07-31 19:51:07 +00:00
Vadim Tryshev 474a35ce3f Merge "Improving system health diags" into ub-launcher3-qt-qpr1-dev
am: c86a6ebbc5

Change-Id: I79a0dbe3012f2d9cdf39851420b8f45da712af40
2019-07-31 12:39:25 -07:00
Vadim Tryshev c86a6ebbc5 Merge "Improving system health diags" into ub-launcher3-qt-qpr1-dev 2019-07-31 18:50:11 +00:00
Jon Miranda ddd8071092 Tune window/icon alpha for swipe up to home animation. am: f462b251e1
am: 3d690ce28a

Change-Id: Id31b162c9c1238a50cc660ba9b89985c94229b5d
2019-07-31 11:40:11 -07:00
vadimt 8a35c5cf94 Improving system health diags
Change-Id: Id3de46c48421051bc5680e05bcf77492aa793000
2019-07-31 11:37:00 -07:00
vadimt 086fa7a7ab Tests: Use FLAG_ACTIVITY_CLEAR_TASK
am: a8726dc93b

Change-Id: I4f512d5e2edde4e5973289299ec4dc4cb7f1a295
2019-07-31 11:29:15 -07:00
Jon Miranda 3d690ce28a Tune window/icon alpha for swipe up to home animation.
am: f462b251e1

Change-Id: I389ff98f21f0a1ba5be0636968ef55f8f0fe10e7
2019-07-31 11:29:10 -07:00
vadimt a8726dc93b Tests: Use FLAG_ACTIVITY_CLEAR_TASK
Change-Id: I58053db6f942737976afcaed26e449a1f9b98f6f
2019-07-31 10:45:57 -07:00
Jon Miranda f462b251e1 Tune window/icon alpha for swipe up to home animation.
Bug: 136591785
Change-Id: Ib781bc77cfd49b6f4529a609d7025f510e219575
2019-07-31 10:05:16 -07:00
Winson Chung 8822dc0018 Merging ub-launcher3-qt-r1-dev, build 5766606
Test: Manual

Bug:135926478 P2 Work Profile calendar widget not copied over correctly
Bug:135969043 P2 Easily mis trigger full gesture swipe to home when play the app with landscape mode
Bug:137196872 P1 Launcher stays visible when cancelling recents transition
Bug:138403212 P2 Send back action update to tips app
Change-Id: I2e10798216034f52374240f5fbc577cbb903250d
2019-07-31 09:38:49 -07:00
android-build-team Robot 12b9bd64af Snap for 5768201 from 574d6c152c to qt-c2f2-release
Change-Id: I999832ec1326362f69087fc9801d453311e0d3cb
2019-07-31 03:14:00 +00:00
android-build-team Robot 22a1015803 Snap for 5767086 from 41bc71de5a to qt-qpr1-release
Change-Id: I02666030450ee1acff92c342dec3177ec3c7ccdc
2019-07-31 03:13:52 +00:00
android-build-team Robot c043905e89 Snap for 5768202 from d3f81dbffb to rvc-release
Change-Id: I3910c588e8441a467736f5a378f267cadd5a56b6
2019-07-31 03:10:38 +00:00
Vadim Tryshev 22a982da8f Merge "Not throwing NPE when can't resolve test provider" into ub-launcher3-qt-qpr1-dev
am: 2c129d3d84

Change-Id: I9fa1006c6b8ffa4a80305309ef7df4976c725c39
2019-07-30 13:10:55 -07:00