Commit Graph

19584 Commits

Author SHA1 Message Date
vadimt 04ca73b590 Fixing starting scrolls outside of view
Change-Id: I0237603d25edc60522c41a3d20615391d5b4f3b6
2019-07-17 18:55:53 -07:00
TreeHugger Robot aaf6c7ce56 Merge "Using correct gesture margins in overview" into ub-launcher3-qt-r1-dev 2019-07-17 23:02:50 +00:00
vadimt 2f7d1fa4a8 Using correct gesture margins in overview
Change-Id: I0108858279559e10633825f7de22211515f0e9b7
2019-07-17 15:18:21 -07:00
TreeHugger Robot 6f818e03a7 Merge "Adding spring animation when swiping up to home in 3P Launcher" into ub-launcher3-qt-r1-dev 2019-07-17 21:41:18 +00:00
Winson Chung 9cbd961ec9 Merge "Use non-android package name for context creation" into ub-launcher3-qt-r1-dev 2019-07-17 20:23:49 +00:00
Winson Chung 20d6a27608 Use non-android package name for context creation
- Speculative fix for mismatch between navigation mode reported to the
  tests vs. what mode the device is in based on the bug report. Original
  change to the package name was in ag/6866716

Bug: 136033787
Change-Id: I51f964daa8c42b671733cf3fab19d086e19a9063
2019-07-17 19:59:37 +00:00
Sunny Goyal e88d8acd85 Adding spring animation when swiping up to home in 3P Launcher
Bug: 137197916
Change-Id: Ic9808a30e8cd4e0b2a221c4b03bc29489038e092
2019-07-17 11:39:25 -07:00
vadimt bf0042107c Temporarily disabling checking TouchInteractionService
Change-Id: I953f251373f7bfb471eb203ee4ceda4375f17703
2019-07-16 19:05:57 -07:00
Vinit Nayak 10d278f3d5 Merge "Reload task list when task is removed" into ub-launcher3-qt-r1-dev 2019-07-17 00:49:52 +00:00
TreeHugger Robot 401583f9b6 Merge "Getting starting point of swipe from overview to all apps via protocol" into ub-launcher3-qt-r1-dev 2019-07-17 00:24:55 +00:00
vadimt 6a75e52f85 Getting starting point of swipe from overview to all apps via protocol
Change-Id: Idf04579b67011dac45b081a81367cde2d1274117
2019-07-16 16:46:53 -07:00
Vinit Nayak 2c7917d100 Reload task list when task is removed
Instead of individually removing tasks,
ask for all tasks to get accurate list.
This method is invoked whenever user presses
back on a root activity, which causes the task to
be killed from perspective of the activity.

Test: Visually inspected, recent task no longer
disappears.
Open any app, hit back, and then go to overview quickly.
App should remain in recents list.

Fixes: 135687618
Change-Id: I1c135673ae987016db5df0b83f5ea8e345d3c7c1
(cherry picked from commit 8651219f7e)
2019-07-16 23:24:36 +00:00
TreeHugger Robot f2de54b275 Merge "Removing tracing for fixed bugs" into ub-launcher3-qt-r1-dev 2019-07-16 23:15:07 +00:00
Jon Miranda 42bd7dad6c Fix app open/close animation in RTL.
Bug: 135165284
Change-Id: Ib50f213904cb7ac7c769fac04dbfc70005fe25b8
2019-07-16 13:58:29 -07:00
Vadim Tryshev d3bff6043a Merge "Adding message popups to anomaly diagnoser" into ub-launcher3-qt-r1-dev 2019-07-16 18:34:23 +00:00
vadimt 726cccf54a Adding message popups to anomaly diagnoser
Change-Id: I6bf125ad5c311062c8f2f6953c0a4d6155203672
2019-07-16 11:19:01 -07:00
Sunny Goyal 365f29e577 Adding support for swipe operation when on home screen
Bug: 137197916
Change-Id: Ic85bf9767d4a9a77dafc1c60c02555f3d2a5d8a2
2019-07-16 10:51:13 -07:00
Sunny Goyal 587c3cef51 Fixing multiwindow transition when using 3P launcher
Bug: 137197916
Change-Id: I3c5cfc290972187d9d556a722afc61489d0d0629
2019-07-16 17:43:21 +00:00
TreeHugger Robot 160134e0b1 Merge "Fix overshoot velocity in 2-button landscape mode" into ub-launcher3-qt-r1-dev 2019-07-16 17:38:05 +00:00
Sunny Goyal 2e4b665933 Adding horizontal swipe support for 3p launcher
Bug: 137197916
Change-Id: I0fb5db791b3471d651db43f0e8c30b8d5baf9f27
2019-07-16 09:59:55 -07:00
TreeHugger Robot d4b839145c Merge "Don't preload overview if current home isn't gestural overview" into ub-launcher3-qt-r1-dev 2019-07-16 04:42:00 +00:00
vadimt 7a4ed2f258 Removing tracing for fixed bugs
Bug: 133009122
Bug: 133765434
Bug: 134532571
Change-Id: I37aa1851a1bc0874c0b9acf561bde28966e9b523
2019-07-15 18:48:06 -07:00
Bill Yi 3ba4f476ff [automerger skipped] Import translations. DO NOT MERGE
am: 7dcd094330 -s ours
am skip reason: subject contains skip directive

Change-Id: I617998135fe62588290b83f5d9b1eab984967f40
2019-07-15 16:40:12 -07:00
Bill Yi 22065f290c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I249348f471abce9332ca65e07ebb9bde8c5b1d7b
2019-07-15 15:37:48 -07:00
Bill Yi 7dcd094330 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I897d0df49125785a4524fedb8dcdbad50f758337
2019-07-15 15:34:10 -07:00
Anna Wasewicz f170b7efcb Set the chips flag to false in QP1A. This flag should be off by default. Chips should not be running in QP1A. Bug:137290162
am: 7400bb3f72

Change-Id: I64042172f17068b59bc3efeb23a9d9821510519c
2019-07-15 14:19:41 -07:00
vadimt 8820399e57 Waiting for launcher to start in workTabExists()
Change-Id: I08c5385b188dda81ee0dfc1bfd639a0892bd6584
2019-07-15 13:30:48 -07:00
TreeHugger Robot b8975ed602 Merge "Fix bug where app icons are clipped when transitioning from app to home." into ub-launcher3-qt-r1-dev 2019-07-15 20:06:06 +00:00
vadimt 092b6f8cbf Adding system health diags for inporoc tests
Bug: 133891845
Change-Id: I90161bfc9db5983a45dfb89728a82ec1e3d81f19
2019-07-15 12:29:13 -07:00
Riddle Hsu 69ac334935 Don't preload overview if current home isn't gestural overview
During first boot, home activity after FallbackHome may be an
one-time setup. If the overview is preloaded at this moment,
system won't resume the real home after the one-time setup is
finished because the activity stack is not empty.

Since the navigation mode doesn't support gesture during the
first time setup, and in order to keep the ability to preload
launcher if it is also the overview, these conditions are
combined to guard the case of first boot.

Fix: 137281732
Test: Build sdk_gphone_x86-userdebug.
      Run "emulator -wipe-data" and check the
      recents activity won't start during booting.

Change-Id: I4b20f61f4a412371c19b379410c8a0a188e41276
2019-07-15 18:49:06 +08:00
Tony 5818f9b3c5 Fix overshoot velocity in 2-button landscape mode
Now we use the velocity towards the middle of the screen
(e.g. x when in landscape) instead of always using y.

Test: testBackground with @PortraitLandscape

Bug: 135567630
Change-Id: I77ab6bdf0d556475a6c182ae91914a718a81e1c4
2019-07-12 18:02:09 -07:00
TreeHugger Robot eb078ba5dd Merge "Update the home stack bounds with the transition end points" into ub-launcher3-qt-r1-dev 2019-07-12 21:46:16 +00:00
Becky Qiu 75970447a7 Merge "Fill the logging container in the AllAppsContainerView" into ub-launcher3-qt-r1-dev 2019-07-12 21:15:25 +00:00
Vadim Tryshev 08159a5b08 Merge "Simplifying switching to home for some tests" into ub-launcher3-qt-r1-dev 2019-07-12 20:15:12 +00:00
vadimt d91cec72fe Simplifying switching to home for some tests
Change-Id: I696d0267a2c36a18080396657bed07f7b1654a7d
2019-07-12 12:26:08 -07:00
Winson Chung 39cfa03d11 Update the home stack bounds with the transition end points
- When the user dismisses splitscreen while launcher is hidden and was
  previously minimized, getLocationOnScreen() will continue to return
  the old position until the first view root traversal after the window
  is shown.  As a result, we will end up with home bounds for the minimized
  state and the wrong target bounds calculated

Bug: 135952890
Test: Enter splitscreen, launcher another app, dismiss splitscreen and then
      swipe up

Change-Id: Id19dfa664623b2b855db4209999508c76a9aacdc
2019-07-12 12:05:53 -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
Anna Wasewicz 7400bb3f72 Set the chips flag to false in QP1A. This flag should be off by default.
Chips should not be running in QP1A.
Bug:137290162

Change-Id: I159e1bd00d1f9ff4f6cf63daf93a68e3e8d063c8
2019-07-11 18:58:05 -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
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
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
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
Becky 8874e5f8a7 Fill the logging container in the AllAppsContainerView
This would fix the issue that when drag and drop an icon from the all apps
page, it doesn't have the right container information logged.

Logging after this fix:
07-11 10:57:04.392 12969 12969 D UserEvent: action:DRAGDROP
07-11 10:57:04.392 12969 12969 D UserEvent:  Source child:APP_ICON	parent:ALLAPPS
07-11 10:57:04.392 12969 12969 D UserEvent:  Destination child:APP_ICON	parent:WORKSPACE id=0
07-11 10:57:04.392 12969 12969 D UserEvent:  Elapsed container 744 ms, session 17440 ms, action 739 ms

Test: manual
Bug: 111935715
Change-Id: Ifb078e57697b051e3a527c16abaad40663eae687
2019-07-11 14:36:37 -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
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