Commit Graph

2284 Commits

Author SHA1 Message Date
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 59b5b3f2a2 Merge "Removing tracing for a fixed bug." into ub-launcher3-qt-r1-dev 2019-07-11 22:46:19 +00: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
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
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 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
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
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
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
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 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 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 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
Winson Chung a95f92b202 Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev
am: 66b1cc9675

Change-Id: Ia21a46d660aee97101b80e92f4f379e3ab1fbf92
2019-06-28 16:59:32 -07:00
Sunny Goyal 9247763835 Resetting UI state when the last has launched from Launcher
am: 7d3c299a08

Change-Id: I7becc11f2295118a6d20ede2a9e35ac21dfb1930
2019-06-28 16:59:13 -07:00
TreeHugger Robot 66b1cc9675 Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"" into ub-launcher3-qt-dev 2019-06-28 23:28:44 +00:00
TreeHugger Robot 01fe66cfcf Merge "Enable swipe down to open shade for non userdebug population" into ub-launcher3-qt-r1-dev 2019-06-28 23:19:17 +00:00
Winson Chung c4c8b3c695 Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"
This reverts commit 35062f8ed3.

Reason for revert: Moving to R1

Change-Id: Ifd19d78015a66c9fbe9a67845232d13e011943d3
2019-06-28 23:17:18 +00:00
Hyunyoung Song 4770e241c9 Enable swipe down to open shade for non userdebug population
Bug: 131356741
Change-Id: I74c682d39c70f785777b5a0804b31a0cc2369759
2019-06-28 16:09:26 -07:00
Sunny Goyal 7d3c299a08 Resetting UI state when the last has launched from Launcher
Bug: 135038270
Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
2019-06-28 15:51:27 -07:00
Adam Cohen f6edfd94ce Merge "Make it a bit harder to break out of Overview once triggered" into ub-launcher3-qt-dev
am: 0e188d051e

Change-Id: Ib7712c5e131d328ef2bdcb5e0556b66cf86d0a66
2019-06-28 15:11:54 -07:00
Sunny Goyal 36c198b176 Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-dev
am: ed9127a732

Change-Id: I1c0b39b6be8a1dc528c0703ea39c172537e185b6
2019-06-28 15:07:52 -07:00
TreeHugger Robot 0e188d051e Merge "Make it a bit harder to break out of Overview once triggered" into ub-launcher3-qt-dev 2019-06-28 22:07:03 +00:00
TreeHugger Robot ed9127a732 Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-dev 2019-06-28 21:59:23 +00:00
Adam Cohen daf2036a82 Make it a bit harder to break out of Overview once triggered
Change-Id: I8814f1d7e219ba11a3abb191bf55192e3811f191
2019-06-28 14:57:09 -07:00
Sunny Goyal 4f2d926d42 Resetting UI state when the last has launched
Bug: 135038270
Change-Id: Ie0af9c7d47f69b32caedd72f98ed1706bdbef5fa
2019-06-28 14:50:24 -07:00
Vadim Tryshev e46f9e5cf3 Merge "Temporary workarounds to make tests pass on a virtual device" into ub-launcher3-qt-r1-dev 2019-06-28 21:27:36 +00:00
Sunny Goyal 168cb346e5 Fixing accessibility arrow
am: 1dae67b49d

Change-Id: I96a6b2f224ee3c24e4031ea2ec0167d5f3306f37
2019-06-28 14:21:45 -07:00
vadimt 83d5eef5a5 Temporary workarounds to make tests pass on a virtual device
Bug: 136278866
Change-Id: I198cb4cdf94c2b1151b4b7249ae10dbcaa99a4fd
2019-06-28 13:12:58 -07:00
Sunny Goyal 1dae67b49d Fixing accessibility arrow
> Hiding arrow in background state and during quick switch
> Preventing arrow overlapping with search box in overview state

Bug: 135885458
Change-Id: Iadefba044717351d69480cde7d784cd04289d086
2019-06-27 23:18:46 -07:00
vadimt 73ed3e432c Adding tracing for a bug about missing input events
Bug: 136215685
Change-Id: I1e735c1e787710ae37b7c7d1a6a06498edd7c525
2019-06-27 19:03:33 -07:00
Winson Chung 937688bff4 Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ub-launcher3-qt-dev 2019-06-26 21:48:56 +00:00
Hyunyoung Song 35062f8ed3 Enable FLAG_SLIPPERY window flag when swipe down on workspace
Bug: 131356741
Test: manual

Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
2019-06-26 21:48:29 +00:00
Winson Chung 0b70cd4ca4 Finish recents animation when starting a new activity
- Defer starting the activity when an activity is paused, and finish
  the current animation to trigger launcher to be resumed

Bug: 132811175
Test: Swipe up and launch a new app
Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
2019-06-26 14:01:56 -07:00
Winson Chung fad3823420 Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-dev 2019-06-26 18:25:58 +00:00
Vadim Tryshev 8a532e0bec Merge "Taking screenshots for local tests for FallbackRecentsTest" into ub-launcher3-qt-dev 2019-06-25 23:43:19 +00:00
vadimt 26cfff41ba Taking screenshots for local tests for FallbackRecentsTest
Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
2019-06-25 16:26:33 -07:00
Winson Chung df9fc63e8c Clean up some more refs to thumbnail data
- Always return a copy of the task list to ensure that the model doesn't
  hold refs to the thumbnail data if it was loaded into the same task
- Always clear the task thumbnail data ref once the visibility of the
  task view changes to be invisible

Bug: 132309376
Test: Enter overview scroll to the end of the list, relaunch app and take
      heap dump

Change-Id: I4437fd30172a5fe2a78c111f780163a1e6bbbb54
2019-06-25 14:44:05 -07:00
Sunny Goyal 700dc99d9b Enabling simple gesture navigation for 3P launcher
In case of 3P launcher, swipe-up will go to Launcher and there will be
no way to reach overview.

Bug: 135769778
Change-Id: Ib2c6bb1b13e6055d30b7360ec077b0a2fece66ff
2019-06-25 13:25:30 -07:00
TreeHugger Robot 0348bc21ab Merge "Increasing assistant touch region based on the corner radius" into ub-launcher3-qt-dev 2019-06-22 01:05:42 +00:00
Vadim Tryshev f58d811e98 Merge "Revert "Enable @PortraitLandscape for testBackground"" into ub-launcher3-qt-dev 2019-06-22 00:40:23 +00:00
Vadim Tryshev 7946f55742 Revert "Enable @PortraitLandscape for testBackground"
This reverts commit b6e2cd8546.

Reason for revert: b/135567630

Change-Id: I4cd87356177a141c99e3865b8794de58386d0f49
2019-06-22 00:30:57 +00:00
Sunny Goyal e9f1f093c7 Increasing assistant touch region based on the corner radius
Bug: 135687556
Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
2019-06-21 15:08:49 -07:00
TreeHugger Robot 37dc5b1936 Merge "Cleaning up some animation states:" into ub-launcher3-qt-dev 2019-06-21 22:05:28 +00:00