Commit Graph

20110 Commits

Author SHA1 Message Date
vadimt bf8aab3477 Merge "Switching flinging gestures injection to model time" into ub-launcher3-qt-r1-dev
am: acc2b33574

Change-Id: Id59d355823d6a34123e404c5ca22bc497a6b3861
2019-07-12 11:41:09 -07:00
TreeHugger Robot acc2b33574 Merge "Switching flinging gestures injection to model time" into ub-launcher3-qt-r1-dev 2019-07-12 18:12:59 +00:00
Tony Wickham ca2e606002 Merge "Defer jumping to NORMAL state if overview is still peeking" into ub-launcher3-qt-r1-dev
am: a160e2bc78

Change-Id: Ibe9a565a4a69b05a58cca480c7feec4094a4cdda
2019-07-11 17:48:15 -07:00
Tony Wickham a160e2bc78 Merge "Defer jumping to NORMAL state if overview is still peeking" into ub-launcher3-qt-r1-dev 2019-07-12 00:27:42 +00:00
vadimt 3e1c1ff644 Remove tracing for a fixed bug
am: 1fd52d9024

Change-Id: I4e31657a96599b3a476f0b7a1dfa36fb0147c950
2019-07-11 16:59:27 -07:00
Tony Wickham e1463f5580 Defer jumping to NORMAL state if overview is still peeking
Bug: 137316430
Change-Id: I1ace19bb229d07bd9dfe5ed6f60c63715b9f8cf2
2019-07-11 16:55:01 -07:00
Vadim Tryshev 4bde4f9ae7 Merge "Removing tracing for a fixed bug." into ub-launcher3-qt-r1-dev
am: 59b5b3f2a2

Change-Id: Ia01419644148cbf9ef5cae70f0ead3e471172cfa
2019-07-11 16:02:19 -07:00
vadimt 1fd52d9024 Remove tracing for a fixed bug
Bug: 132900132
Change-Id: Ic4ce3669f88c932e392b7517ec9fda11384dc334
2019-07-11 16:00:12 -07:00
Vadim Tryshev 59b5b3f2a2 Merge "Removing tracing for a fixed bug." into ub-launcher3-qt-r1-dev 2019-07-11 22:46:19 +00:00
Jon Miranda 1fee0f948c Merge "Fix bug where floating icon and workspace icon visible at the same time." into ub-launcher3-qt-r1-dev
am: 36ca57e996

Change-Id: I02a41592fed57a7e554a3d84376ea7f7738f77cb
2019-07-11 15:43:13 -07:00
TreeHugger Robot 36ca57e996 Merge "Fix bug where floating icon and workspace icon visible at the same time." into ub-launcher3-qt-r1-dev 2019-07-11 22:21:49 +00:00
vadimt 872dc2aa5e Merge "Correctly restarting Launcher from OOP tests" into ub-launcher3-qt-r1-dev
am: 7e15a184f5

Change-Id: Iba458b7b42f788ab92437d0644f31b116b865907
2019-07-11 14:56:02 -07:00
TreeHugger Robot 7e15a184f5 Merge "Correctly restarting Launcher from OOP tests" into ub-launcher3-qt-r1-dev 2019-07-11 21:27:49 +00:00
vadimt 853852351f Correctly restarting Launcher from OOP tests
Waiting for touch interaction service; waiting for package-restart
events.

Bug: 136215685
Change-Id: I0c31c09fe3a58b898168dfdb4e4d23757b94a47c
2019-07-11 14:17:06 -07:00
Sunny Goyal 092c57cbd1 Unifying FallbackNoButton input consumer with OtherActivityInputConsumer using a different handler
am: c127dff181

Change-Id: I89d6e52d58a35f94d03b06e9f54981399d902958
2019-07-11 13:32:42 -07:00
Sunny Goyal 2a3a51aaaf Swipe-up support for 3P Launcher
am: 6b0eb38461

Change-Id: I753becc5127aff1e3bb6bb06403fb61c9840e2be
2019-07-11 13:32:40 -07:00
vadimt 2af71dd058 Removing tracing for a fixed bug.
Bug: 133867119
Change-Id: I796118f5ff0c27db002bb0e3369e651c95b06bbe
2019-07-11 20:18:32 +00:00
Sunny Goyal c127dff181 Unifying FallbackNoButton input consumer with OtherActivityInputConsumer
using a different handler

This will allow us to use common logic for handling horizontal swipe

Bug: 137197916
Change-Id: I6f9cba6e8728dd0669482906c4bf34270af2bc82
2019-07-11 10:47:26 -07:00
Sunny Goyal 6b0eb38461 Swipe-up support for 3P Launcher
On swipe up, we start a rencets transition to the current launcher app. At the
end of the transition, if the user is going to recents, we start overview activity.

Bug: 137197916
Change-Id: Ie5ed848879ad965dcab2780a05d649e3be066568
2019-07-11 10:44:56 -07:00
Sunny Goyal 95f2e372ba Using a higher priority executor than BackgroundExecutor for various recents tasks
am: f11dd8e107

Change-Id: Ia193e78c12680ecb582d04ec5ceb2aaef097596b
2019-07-11 10:19:41 -07:00
Sunny Goyal f11dd8e107 Using a higher priority executor than BackgroundExecutor for various recents tasks
BackgroundExecutor is also using thread pool executor where the order is perserved

Change-Id: Ieef8825599f35fe22da3e9adb1270c5525449d62
2019-07-11 09:38:54 -07:00
vadimt 4d93df51a3 Switching flinging gestures injection to model time
This is a right thing to do in any case.

Change-Id: I34eeecac6d9eb13130eb1015f9a9a5e2a32974ec
2019-07-10 17:38:26 -07:00
Jon Miranda cabbaf986c Fix bug where floating icon and workspace icon visible at the same time.
- Add a signal for the animation to be "cancelled"
- Allow the workspace view to be attached to a spring during the animatoin
  (but kept hidden) to prevent any jumpy movement

Bug: 137215697
Change-Id: Ie6868a7f45fefaee5366c8d30bb323fe042e9156
2019-07-10 14:14:23 -07:00
Winson Chung 7bc53c1e04 Merge "Copy resume callbacks list prior to making callbacks" into ub-launcher3-qt-dev am: 094e5638a5
am: 24fbe81e99

Change-Id: Ic9e118716f12e052f6064e5e517cdd76c340c8b6
2019-07-10 14:08:05 -07:00
Winson Chung 24fbe81e99 Merge "Copy resume callbacks list prior to making callbacks" into ub-launcher3-qt-dev
am: 094e5638a5

Change-Id: Ia3e9088f6341ebc37fd1286e12191cdd8776c64f
2019-07-10 13:59:06 -07:00
Winson Chung 094e5638a5 Merge "Copy resume callbacks list prior to making callbacks" into ub-launcher3-qt-dev 2019-07-10 20:44:29 +00:00
Jon Miranda 52cea1fcc9 Merge "Fix bug where icon is no present during app close animation." into ub-launcher3-qt-r1-dev
am: ddf64806e2

Change-Id: Ie83016f5956d78bf5043297d3652c31f3cf2e5af
2019-07-10 13:41:02 -07:00
TreeHugger Robot ddf64806e2 Merge "Fix bug where icon is no present during app close animation." into ub-launcher3-qt-r1-dev 2019-07-10 17:54:58 +00:00
Hyunyoung Song 6a4936dee1 [automerger skipped] Merge "[DO NOT MERGE] Disable swipe down to pull noti shade for Q Bug: 136293958" into ub-launcher3-qt-dev am: d59aefada0 -s ours
am: c837b3a98f -s ours
am skip reason: subject contains skip directive

Change-Id: Id30873461ca65824d0c3dabb2188d1627a83b5a3
2019-07-10 10:37:59 -07:00
Hyunyoung Song c837b3a98f [automerger skipped] Merge "[DO NOT MERGE] Disable swipe down to pull noti shade for Q Bug: 136293958" into ub-launcher3-qt-dev
am: d59aefada0 -s ours
am skip reason: subject contains skip directive

Change-Id: Idca2ab4432d9df08c98f493db8bd19b8f790e653
2019-07-10 10:23:48 -07:00
TreeHugger Robot d59aefada0 Merge "[DO NOT MERGE] Disable swipe down to pull noti shade for Q Bug: 136293958" into ub-launcher3-qt-dev 2019-07-10 17:02:42 +00:00
Adam Cohen 43707804d0 Merge "Fix issue where can't interact with Workspace while App => Home is running" into ub-launcher3-qt-r1-dev
am: 315585d654

Change-Id: I3cb1e0b26a080306ad80e75ce8a46c2e25f5f43f
2019-07-09 21:19:07 -07:00
Adam Cohen 315585d654 Merge "Fix issue where can't interact with Workspace while App => Home is running" into ub-launcher3-qt-r1-dev 2019-07-10 04:02:47 +00:00
Winson Chung 940b0ac015 Copy resume callbacks list prior to making callbacks
- Starting a deferred activity can trigger a new callback to be added
  to the list while we are iterating it

Bug: 136613192
Change-Id: I6690ab0695bb73f11bf343fb41e9fc86b4afec1b
2019-07-09 16:49:26 -07:00
Hyunyoung Song fc22162676 Merge "Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets Bug: 135383592" into ub-launcher3-qt-r1-dev
am: 4610ce4019

Change-Id: I98ed333927519891283384500c1ee8696c1a8c5e
2019-07-09 12:21:40 -07:00
Hyunyoung Song 4610ce4019 Merge "Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets Bug: 135383592" into ub-launcher3-qt-r1-dev 2019-07-09 18:53:13 +00:00
Hyunyoung Song 4abfbd0670 Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets
Bug: 135383592

TL;DR;; this reset is called when for instance OMS call happens

Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5
2019-07-09 10:35:27 -07:00
Winson Chung ab3c913f99 Revert "Trigger heap dump when heap exceeds a limit"
am: 98de773474

Change-Id: I33619077232c440d9468fa15ed5e459b9d1ed54a
2019-07-08 14:21:52 -07:00
Winson Chung 98de773474 Revert "Trigger heap dump when heap exceeds a limit"
This reverts commit e069291ecd.

Reason for revert: Blocked on FW change

Change-Id: Iabf6dee687e499544be5bf895563e57157b0f9e1
2019-07-08 20:32:35 +00:00
Adam Cohen ab6be31746 Fix issue where can't interact with Workspace while App => Home is running
=> Regression from recent CL ag/8074890
=> Fix which scopes the change down to the RecentsView, but not all PagedViews

Bug 136733573

Change-Id: I0abaa61b2b132d8086dc3b2cb3e3e9c1f181b5f5
2019-07-06 04:27:49 +00:00
Jon Miranda 826cdcd32f Fix bug where icon is no present during app close animation.
* WindowTransformSwipeHandler closes all AbstractFloatingViews, including
  ListenerView, which results in FloatingIconView getting removed.
* In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since
  its not needed. This was also causing a race condition since isIconLoaded
  is not set to true until after we tell onIconLoaded to run.
* In BaseDragLayer, we have a delay before checking if the view is open and
  then closing the floating view if true. This caused issues since we reycle
  the view. Now we check if the view is open before running the delay to call
  close.

Bug: 136044361
Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7
2019-07-02 14:35:11 -07:00
Riddle Hsu 5c30fc7c9d Preload overview activity in background
am: 70697e48a8

Change-Id: Idb03c474925dda336f6ce5009457f47dc9cd35fb
2019-07-01 23:57:41 -07:00
Hyunyoung Song 4bfcf04ae9 [DO NOT MERGE] Disable swipe down to pull noti shade for Q
Bug: 136293958

Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562
2019-07-01 14:39:40 -07:00
Riddle Hsu 70697e48a8 Preload overview activity in background
To reduce the jank when swiping-up the overview which is not
ready yet, we restart the overview activity if the process
was died and update its configuration if there is change.

Bug: 127350205
Test: manual - Enable 2-button or gesture navigation.
      Swipe-up overview after:
      Case 1: Other app is in foreground and kill the process
              of launcher.
      Case 2: Change configuration, e.g. font size, language.

Change-Id: Ia6e365cc0faf3765781484d040bdddd4e10a2650
2019-07-01 13:29:34 +08:00
Winson Chung c075b035f5 Merge "Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""" into ub-launcher3-qt-r1-dev
am: bd0003da99

Change-Id: I22d4b10d4bc5ab3e1db7eaad9d1ca9d76753cccc
2019-06-28 23:20:11 -07:00
Winson Chung bd0003da99 Merge "Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""" into ub-launcher3-qt-r1-dev 2019-06-29 05:57:14 +00:00
vadimt 168af91a52 Tests: Waiting for package-restart events when restarting Launcher
am: e7a786ee96

Change-Id: I92147c019b3fe56c710f2dabc5ee70e99be1d892
2019-06-28 18:46:53 -07:00
Winson Chung f5e81122a0 Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""
This reverts commit c4c8b3c695.

Reason for revert: Re-enabling for R1

Change-Id: Id6706c548dcc9debbfaf2069164636bc22aa9b5e
2019-06-29 00:28:55 +00:00
vadimt e7a786ee96 Tests: Waiting for package-restart events when restarting Launcher
Bug: 136215685
Change-Id: Ia947994399220544c90bfc077437fc639e635a33
2019-06-28 17:14:37 -07:00
Winson Chung 804d14e49a Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev am: 66b1cc9675
am: a95f92b202

Change-Id: Ic358d88b60019bf36e583a3a417fbf9e692ca8b2
2019-06-28 17:04:52 -07:00