Commit Graph

6193 Commits

Author SHA1 Message Date
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
Bill Yi 16e77f8d44 Import translations. DO NOT MERGE
Change-Id: Ib9d399144772010c10bedebe80fbcac9f20344af
Auto-generated-cl: translation import
2019-07-15 15:30:36 -07:00
Jon Miranda 6c2b9d81ed Merge "Fix bug where app icons are clipped when transitioning from app to home." into ub-launcher3-qt-r1-dev
am: b8975ed602

Change-Id: I20867cd0102a7b3a87cd6d5918c9cbe88bb2e370
2019-07-15 13:21:41 -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
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
Winson Chung 726578e78d Merge "Update the home stack bounds with the transition end points" into ub-launcher3-qt-r1-dev
am: eb078ba5dd

Change-Id: I463ac26af666f71a7e9dc3f779222fa542372f6e
2019-07-12 14:59:56 -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
Vadim Tryshev 3f19964537 Merge "Simplifying switching to home for some tests" into ub-launcher3-qt-r1-dev
am: 08159a5b08

Change-Id: If5fc0ad9ec33b18445778cc1f91f469eac1ed565
2019-07-12 13:29:42 -07: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
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 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
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
Hyunyoung Song 3739fbccdc [DO NOT MERGE] Disable swipe down to pull noti shade for Q
Merged-In: I74c682d39c70f785777b5a0804b31a0cc2369759
Bug: 136293958

Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562
(cherry picked from commit 4bfcf04ae9)
2019-07-11 00:02:44 +00:00
Winson Chung ef5020e70d Merging ub-launcher3-qt-r1-dev, build 5718001
Test: Manual

Bug:135383592 P1 Notification line was not displayed at top of screen
Bug:136044361 P2 Sometimes icons in desktop disappear during animation
Bug:136733573 P1 Unable to do any interactions shortly after swiping home
Change-Id: I4d6c1ad5f0443e9b5d9b3f293ceb288a37cac1d4
2019-07-10 23:25:40 +00: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
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
Jon Miranda 857b3fbb7e Fix bug where app icons are clipped when transitioning from app to home.
Bug: 135636137
Change-Id: Icaba06ed27b3196371730a5a4c5d3382cedc7000
2019-07-10 11:04:40 -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
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
Hyunyoung Song db1242bf95 Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resets Bug: 135383592
am: 0a8243d463

Change-Id: I07492ae7fa7b858b686416c28a9c803d8d7d3143
2019-07-09 23:38:31 -07: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
Hyunyoung Song 0a8243d463 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
(cherry picked from commit 4abfbd0670)
2019-07-09 21:07:33 +00: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
Hyunyoung Song d0f5db4a37 Merging ub-launcher3-qt-r1-dev, build 5710902
Test: Manual

Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable
Bug:127350205 P1 Ensure that Launcher is always created and is in right configuration
Bug:131116002 P2 Convert tests to TAPL and enable them
Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade
Bug:133891845 P2 TAPL: need clearer diags when a crash dialog is over Launcher or there is lock screeen
Bug:136215685 P1 Flake: swiping up from Home to Overview in 2-button mode sometimes fails
Bug:136278866 P2 Temporary workarounds to make tests pass on Cuttlefish
Bug:136280872 P1 Flake: Flinging in all apps opens workspace
Bug:64712476 P3 Import translations for dev branches
Change-Id: I39841b30840e9d88a2b98b21c4aba1c44d2bc446
2019-07-08 01:27:00 -07: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