Commit Graph

19452 Commits

Author SHA1 Message Date
Treehugger Robot a1f448449f Merge "Remove debug logs" into udc-qpr-dev am: 979ae6b463
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24176445

Change-Id: I58cfa1a7711588e096e36f00f76951b3e589898a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 17:20:23 +00:00
Stefan Andonian a540ce2046 Add ViewCapture to Taskbar
Bug: 242867462
Test: Verified that the correct UI data showed up on go/web-hv.
Change-Id: I0904300887684d76d4a1c16ff4ba6986506d4a06
2023-07-24 17:20:11 +00:00
Treehugger Robot 979ae6b463 Merge "Remove debug logs" into udc-qpr-dev 2023-07-24 17:18:15 +00:00
Tracy Zhou a27c4aa1e8 Merge "Add pressBack test to TaplTestsTrackpad" into udc-qpr-dev am: dc6d7e1e51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24094533

Change-Id: I465e1e0d9a6f4ae1f2aae6e90336a8d0a9a27e33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-24 17:11:00 +00:00
Jagrut Desai ee8db05450 Branching Taskbar visible/hidden assertion from testQuickSwitchToPreviousAppForTablet
- There seems to be test corruption that is coming from the TwoPanelWorkspaceTest as they are getting marked ignored from assumption exception.

- We are branching the logic of asseting taskbar depending on taskbar variant until we figure out how we can run test with TaskbarSwitchMode test annotation and pass it on first attempt. This is cunrrently not working for above reason.

Test: Presubmit
Bug: 286084688
Flag: not needed
Change-Id: I77a141455eceffd11fa8f74a7e204de9b36384fd
2023-07-24 09:49:11 -07:00
Tracy Zhou dc6d7e1e51 Merge "Add pressBack test to TaplTestsTrackpad" into udc-qpr-dev 2023-07-24 16:32:19 +00:00
Alex Chau 3e65e52381 Remove debug logs
Fix: 283944974
Test: None
Change-Id: Ibb30d2b6c92f62669494a0f305ad21b49562532b
2023-07-24 13:10:34 +01:00
Johannes Gallmann a82eebd286 Extract Launcher resource interpolators to Animation Library
Bug: 292080029
Test: atest InterpolatorResourcesTest
Change-Id: I65dba4eb3f96844d4f9a4d0af608c0bd8e77ccc2
2023-07-22 09:52:53 +02:00
Andy Wickham f98949cac3 Change Overview Actions to round buttons.
If floating search is active in Overview (flag enabled and we are
the active Launcher), these buttons will be aligned to the search
bar relative to the bottom of the screen. Otherwise, the buttons
will be aligned below the active task like before.

Demo for Launcher3 build:
https://drive.google.com/file/d/1fVzRRnW5AFDMPkW-E8_w4BOCzTAOURQ_/view?usp=drive_link&resourcekey=0-6-EbFZXkBqcu0rw7uuEzjw

Bug: 292000892
Test: Manual with floating enabled/disabled and
SEPARATE_RECENTS_ACTIVITY enabled/disabled (simulating not being
the active Launcher). Also tested with a 3P Launcher, Nova.
Flag: N/A; this change is enabled by default, but also verified
UI looks correct with ENABLE_FLOATING_SEARCH_BAR.

Change-Id: Ia45f88d2c691c4525b1e73cca4707498d058a917
2023-07-22 07:43:17 +00:00
Tracy Zhou c9968e6c5c Add pressBack test to TaplTestsTrackpad
Bug: 281732733
Test: presubmit
Change-Id: Iba1b9073d8bf2050c2862ddf81612472b38ea607
2023-07-21 18:52:41 -07:00
Winson Chung 47ec7e2ef5 Merge "Add null check for invalid previously appeared target" into udc-qpr-dev am: 6eb4af3f45 am: ad5fd07c0a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24155255

Change-Id: I5b72de102e9c89acdb0072794104943915015acc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 17:22:17 +00:00
Winson Chung ad5fd07c0a Merge "Add null check for invalid previously appeared target" into udc-qpr-dev am: 6eb4af3f45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24155255

Change-Id: I63893b02fed24f91672fd9e843e0136f9d804d28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 16:36:18 +00:00
Winson Chung 6eb4af3f45 Merge "Add null check for invalid previously appeared target" into udc-qpr-dev 2023-07-21 16:11:54 +00:00
randypfohl 2b3dc6f730 Removing obsolete call to start home activity with shell transitions
- The second start activity was causing issues with 3p launchers which
  may not expect another new intent (ie. if it handles gestures at
  the bottom of the screen).  We can't completely remove this logic
  because for button navigation we don't want to fall through to the
  launch-next-task animation below, but we can can continue to
  finish the recents animation immediately.
- With shell transitions, leashes for opening apps are always hidden
  by default so when transitioning to a 3p launcher from
  RecentsActivity we also need to show the surface if we want to
  animate it in

Bug: 289609734
Test: Set 3p Launcher as default, in both gesture & button navigation
      - Go from 3p home -> overview, then overview -> 3p home
      - Go from app -> 3p home
      - Go from app -> overview, then overview -> 3p home
      - Quickswitch from app

Change-Id: I6875083931de63a8097d23d180553885ed7cfb01
Signed-off-by: Winson Chung <winsonc@google.com>
2023-07-21 04:20:29 +00:00
Brian Isganitis 2c1b3b3134 Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev am: 5cc62b13ee am: a1a2b6beed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024257

Change-Id: I59dd013a9b1561c3e51bf4f32cee579b4768afa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:29:32 +00:00
Brian Isganitis 33b95b2bae Notify Taskbar search session of All Apps transitions. am: c90df24e1c am: c3ad647a4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024253

Change-Id: I396db136b58b803c58599198adc4fd25683da200
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:29:28 +00:00
Brian Isganitis a1a2b6beed Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev am: 5cc62b13ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024257

Change-Id: I24d1dd1ebefbe2c2a7ea4d50aec3e17d7d3c4a48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:09:39 +00:00
Brian Isganitis c3ad647a4f Notify Taskbar search session of All Apps transitions. am: c90df24e1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24024253

Change-Id: I84b68eb4933b575b84e00d1b39ceb3ea0e5e71ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 01:09:35 +00:00
Vinit Nayak 5ad13e3412 Add null check for invalid previously appeared target
* In ag/23680185, a null check was removed that was
checking if individual mLastAppearedTaskTargets were null;
we check if the array overall is null, but individual
elements can also be null, ex 3P launcher

Bug: 289609734
Test: Repro steps from b/289609734 don't cause crash
Flag: none
Change-Id: Iddfde6d9ac2b708380b70b5fb6301b629506619c
2023-07-20 17:45:54 -07:00
Bill Yi 877e7fe5ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8ad0866b24b4f2bc66cc943681fbbb54c69485c4
2023-07-20 17:23:58 -07:00
Brian Isganitis 5cc62b13ee Merge changes from topics "taskbar-search-back", "taskbar-search-transition" into udc-qpr-dev
* changes:
  Support system back in Taskbar search session.
  Notify Taskbar search session of All Apps transitions.
2023-07-21 00:14:04 +00:00
Vinit Nayak 90229d5629 Merge "Change split toast exit asset to "X"" into udc-qpr-dev am: 306c6e843f am: da10e5472a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24110227

Change-Id: Ief2a5a020f7dae7f85c62493d612eafe75cb5b0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 23:22:33 +00:00
Helen Cheuk 83b9f26b87 Merge "Re-land "Add hover state border to overview task item"" into udc-qpr-dev am: 1d383a7f41 am: 998ab43d99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24059774

Change-Id: I4188598b140f2fe44ff33e5431da8a00e4b24246
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 23:19:56 +00:00
Vinit Nayak da10e5472a Merge "Change split toast exit asset to "X"" into udc-qpr-dev am: 306c6e843f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24110227

Change-Id: I4c52f02a27d25a814103288c3cf077dba1f2ef73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 23:15:29 +00:00
Vinit Nayak 306c6e843f Merge "Change split toast exit asset to "X"" into udc-qpr-dev 2023-07-20 22:58:17 +00:00
Helen Cheuk 998ab43d99 Merge "Re-land "Add hover state border to overview task item"" into udc-qpr-dev am: 1d383a7f41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24059774

Change-Id: I90642b81767ed9a9eeb9f628b7c6f223f6af735e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 22:39:05 +00:00
Schneider Victor-tulias 41f7e169c3 Fix broken gesture nav edu on tablets in portrait.
Launching the gesture nav tutorial in portrait mode on tablets causes fragments with the wrong layout file to be inflated (uses the default phone layout).

Reinflating fragments whenever they need to be switched. Added a new rotation prompt fragment

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Fixes: 291062054
Test: Launched the tutorial in portrait mode and landscape mode, then rotated the screen several times. tried with the flag disabled as well.
Change-Id: I0215d7589285007d04ef81d3a63e404c2cda3895
2023-07-20 15:28:49 -07:00
Helen Cheuk 1d383a7f41 Merge "Re-land "Add hover state border to overview task item"" into udc-qpr-dev 2023-07-20 22:02:39 +00:00
Fengjiang Li cc83032318 Merge "Log appear animation's scale factor" into udc-qpr-dev am: bebcaaae19 am: 3ff869be8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24119210

Change-Id: I2611a1f8052ef1cacdc513c2fd8b3375365b48a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 21:53:34 +00:00
Fengjiang Li 3ff869be8f Merge "Log appear animation's scale factor" into udc-qpr-dev am: bebcaaae19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24119210

Change-Id: I873c663fe8378fe8942096652092eabb90bd78d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 21:26:55 +00:00
randypfohl a6b23d1402 Adding minimal logs to investigate overview floating bug
Test: reproed bugs locally and verified minimal logs will be useful.

Bug: 279059025
Bug: 291682082

Change-Id: I496adba0c7a797a26f5cc7beb42d5e38d895e122
2023-07-20 14:05:42 -07:00
Fengjiang Li bebcaaae19 Merge "Log appear animation's scale factor" into udc-qpr-dev 2023-07-20 21:02:42 +00:00
Brian Isganitis 67de6365b5 Support system back in Taskbar search session.
Bug: 290820102
Test: Manual
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR
Change-Id: If56b70cdad85a805ff5191b9c95e7c1939d394e9
2023-07-20 14:54:16 -04:00
Fengjiang Li da718e9749 Log appear animation's scale factor
Test: Grabbed a bug report b/291974797
Flag: N/A
Bug: 290320302
Change-Id: Ic33dc94806b838a03a2203bdd5701a1eeaeeb7bf
2023-07-20 11:08:14 -07:00
Brian Isganitis c90df24e1c Notify Taskbar search session of All Apps transitions.
Test: Manual
Bug: 290819902
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR
Change-Id: I9ff5ec7d55c33f9987aec79ebae31c38c710a920
2023-07-20 13:41:14 -04:00
Sunny Goyal 5765269c36 Merge "Fixing ViewCaptureRule not unregistered if activity is destroyed" into udc-qpr-dev am: 6df6cd2244 am: 4a6d92416c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24138143

Change-Id: Iead9f32aa8337b5407bbe50b2cce2f2995c43845
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 17:38:55 +00:00
Liran Binyamin fcff65ae25 Merge "Handle the event of first bubble added." into udc-qpr-dev am: 00f2405995 am: 94c4f5ce79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24105329

Change-Id: I573a6eb1aae070fbb725a88d19144dd7d39684e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 17:38:18 +00:00
helencheuk 27f23c7a35 Re-land "Add hover state border to overview task item"
Fix: 249859410
Test: b/291266459
Change-Id: I5ac1e9e77439e587f11c994d22fdc72d20d8502d
2023-07-20 18:35:22 +01:00
Sunny Goyal 4a6d92416c Merge "Fixing ViewCaptureRule not unregistered if activity is destroyed" into udc-qpr-dev am: 6df6cd2244
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24138143

Change-Id: Idd3cc3c95bd5865d2652586ca96e1b1d2e9fa07d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 16:54:16 +00:00
Liran Binyamin 94c4f5ce79 Merge "Handle the event of first bubble added." into udc-qpr-dev am: 00f2405995
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24105329

Change-Id: I87834b6e6e794a175859828acb290f6e2cf2da46
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 16:54:02 +00:00
Sunny Goyal 6df6cd2244 Merge "Fixing ViewCaptureRule not unregistered if activity is destroyed" into udc-qpr-dev 2023-07-20 16:36:49 +00:00
Liran Binyamin 00f2405995 Merge "Handle the event of first bubble added." into udc-qpr-dev 2023-07-20 15:20:54 +00:00
Anushree Ganjam 18b120dce4 Merge "Implement ImpressionLogging v2." into udc-qpr-dev am: 4cd4ed090e am: 935e03400e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24016221

Change-Id: Ic2ddc5b8486430b485ba5924cfd0a4f22e6248dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 00:19:30 +00:00
Anushree Ganjam 935e03400e Merge "Implement ImpressionLogging v2." into udc-qpr-dev am: 4cd4ed090e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24016221

Change-Id: I5d0c6b19dcaaac32b9470a9f0d7b9559532f5f70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-19 23:37:43 +00:00
Anushree Ganjam 4cd4ed090e Merge "Implement ImpressionLogging v2." into udc-qpr-dev 2023-07-19 23:17:10 +00:00
Sunny Goyal bb50f3cd8e Fixing ViewCaptureRule not unregistered if activity is destroyed
Bug: 291638593
Test: Presubmit
Flag: N/A
Change-Id: I86daf9fac210340b037d376d882ac5872c596ae4
2023-07-19 16:14:47 -07:00
Vinit Nayak 247ab6aabd Merge changes Ib1728d85,Ia5683a28 into udc-qpr-dev am: 45c11ade08 am: 769e39b0ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24122626

Change-Id: I8bdf689f3e833a093f533a8ad225e5e11925fb35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-19 21:29:55 +00:00
Vinit Nayak 769e39b0ce Merge changes Ib1728d85,Ia5683a28 into udc-qpr-dev am: 45c11ade08
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24122626

Change-Id: Id21625d485eb1a96a90bf478d9eb5d155990f9f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-19 21:25:51 +00:00
Liran Binyamin 60240207bb Handle the event of first bubble added.
When the first bubble is added we set the visibility of the bubble bar
to VISIBLE if the stash controller is unstashed. The issue is that once
bubbles are gone we no longer update the stash state in the controller,
so it becomes stale and can't be used when the first bubble is added.

This change introduces a new method for handling the transition from
the state where both bar and handle are invisible into the state where
one of them becomes visible. We can't use the existing stashBubbleBar
and showBubbleBar methods because those transition from one to the other.
Using them when both are invisible results in one of them becoming visible
and then invisible again.

Fixes: 290992144
Fixes: 291074646

Test: Manual:
       - Add bubble in the test app by double-tapping on a chat (non expanding notification)
       - Observe that the handle becomes visible and the bar is invisible
       - Dismiss bubble
       - Add bubble in the test app by tapping on the button on the right (auto expanding)
       - Observe that the bar becomes visible and expanded
Change-Id: I61334c67c255a6ed074fa8c834f4a5a1547539bf
2023-07-19 17:02:57 -04:00
Vinit Nayak 45c11ade08 Merge changes Ib1728d85,Ia5683a28 into udc-qpr-dev
* changes:
  Add test logs for animating in split launch
  Add granular transition names for launching split
2023-07-19 20:56:30 +00:00