Commit Graph

19452 Commits

Author SHA1 Message Date
Tracy Zhou 75b534e9c9 Support 3-finger swipe to pull down notifications from app
Fixes: 270211015
Test: 3-finger swipe down to bring down notifications. 3-finger swipe up to go home / to Overview

Change-Id: Id0f8ad95d9a4a1f8ecf1632ea28efb0c790c291b
2023-04-19 23:37:37 -07:00
Winson Chung d98f3e8f9a Merge "Add a synchronous path when finishing a pre-existing recents animation" into udc-dev am: fb0a7a07da am: dac20b70a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22736250

Change-Id: Ibc15c2f0af6d37f5b2780c8c3bf18e1716b5a287
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 01:58:03 +00:00
Winson Chung dac20b70a9 Merge "Add a synchronous path when finishing a pre-existing recents animation" into udc-dev am: fb0a7a07da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22736250

Change-Id: Ie58588af6c5ffecf353043a383b9eca4989c5422
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 01:23:04 +00:00
Winson Chung fb0a7a07da Merge "Add a synchronous path when finishing a pre-existing recents animation" into udc-dev 2023-04-20 00:44:32 +00:00
Winson Chung 9f3ce10ece Add a synchronous path when finishing a pre-existing recents animation
- If launcher repeatedly starts the recents animation, we try to finish
  the existing animation before starting the new one, but due to some
  ordering issues (see b/275561141) the subsequent starts can orphan
  the previous animation runner, which can result in no animation callbacks
  for either the previous animation (to cancel) or the new animation
  (to start).

  This change only attempts to reduce the likelihood of a second no-op
  transition by synchronously finishing the existing recents animation
  on the launcher side prior to starting the next animation.

  There is one case this doesn't handle, where if the previous
  onAnimationStart() has not been called back, then we can't directly
  call the controller to finish, and need to rely on the no-op handling
  on the shell transition side to handle the gesture.

Bug: 275561141
Test: Quickswitch and swipe up repeatedly
Change-Id: I820e26dc20fb1851ee0102ed8c114ce998d44999
2023-04-19 22:19:56 +00:00
Brandon Dayauon 7d67331c72 Fix two line item of app-title only in A-Z list and not predicted app row
Create protected method that would be overidden if two lines should be supported

bug: 274686392
test: manual
Change-Id: I34bbd9980aee70397ee75744bedfa61c340a2741
2023-04-19 15:15:16 -07:00
Jon Miranda 57d023f6d2 Merge "Remove ActivityInfo.CONFIG_SCREEN_SIZE if orientation is still the same." into udc-dev am: 5c18fa35b2 am: 575e287085
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22709055

Change-Id: I47eed3545daaba9184483bc1a612465a889ecd31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 19:05:55 +00:00
Jon Miranda 575e287085 Merge "Remove ActivityInfo.CONFIG_SCREEN_SIZE if orientation is still the same." into udc-dev am: 5c18fa35b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22709055

Change-Id: I21ddb2670ed010e852e06370b8c56cd65559006e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 18:23:17 +00:00
Jon Miranda 5c18fa35b2 Merge "Remove ActivityInfo.CONFIG_SCREEN_SIZE if orientation is still the same." into udc-dev 2023-04-19 18:04:27 +00:00
Bill Yi 8c7843d7af Merge "Import translations. DO NOT MERGE ANYWHERE" 2023-04-19 17:53:30 +00:00
Mady Mellor 38be00f6c0 Merge "Creates BubbleStashController & BubbleStashedHandleViewController" into udc-dev am: 98add1c524 am: e70372de42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22691161

Change-Id: I479e404b718ca31d52988896c2b346dc9ea94b00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 17:05:17 +00:00
Omar Miatello 8d731ae50b Merge "resetPositionAnimated should be called when onBackCancelled ends" into udc-dev am: c1b562ec58 am: c8e055c5a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21508011

Change-Id: I5a3162aa7473b663fb74c3b7b7949edf6dc6662f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 17:04:59 +00:00
Mady Mellor e70372de42 Merge "Creates BubbleStashController & BubbleStashedHandleViewController" into udc-dev am: 98add1c524
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22691161

Change-Id: Ifb1f22331c3d3e47ed20409595c9190255fb1056
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 16:53:00 +00:00
Omar Miatello e1580fa5cd Merge "resetPositionAnimated should be called when onBackCancelled ends" into udc-dev am: c1b562ec58
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21508011

Change-Id: I184e6a7ac5ee8bd4a8a3bf3c02391b920601d286
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 16:51:08 +00:00
Brian Isganitis 32c208de7c Merge "Properly compute scroll for Taskbar All Apps." into udc-dev am: 91b0e2d6d1 am: 295890a780
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22682881

Change-Id: I71e8f62499b96fe8363ba33d12de9d6e284003bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 16:41:58 +00:00
Mady Mellor 98add1c524 Merge "Creates BubbleStashController & BubbleStashedHandleViewController" into udc-dev 2023-04-19 16:31:37 +00:00
Omar Miatello c1b562ec58 Merge "resetPositionAnimated should be called when onBackCancelled ends" into udc-dev 2023-04-19 16:23:21 +00:00
Brian Isganitis 295890a780 Merge "Properly compute scroll for Taskbar All Apps." into udc-dev am: 91b0e2d6d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22682881

Change-Id: I9bff39e9be5e3814ac3262ab1d988b9d543e6441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-19 16:01:16 +00:00
Brian Isganitis 91b0e2d6d1 Merge "Properly compute scroll for Taskbar All Apps." into udc-dev 2023-04-19 14:36:21 +00:00
Bill Yi 8d7673aade Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-19 04:54:03 +00:00
Mady Mellor 14e53a6b2e Creates BubbleStashController & BubbleStashedHandleViewController
Adds two controllers to manage and animate the stash / unstash state
of the bubble bar. Adds them to BubbleControllers.

Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I1a67da888384b1ae0fe3f79a25ea6a2c1b7eef87
2023-04-18 16:46:02 -07:00
Mady Mellor 9d59dcfbe4 Merge "Creates BubbleBarView & BubbleBarViewController & friends" into udc-dev am: 3e3d3e78a0 am: 107d80a253
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22211489

Change-Id: I4b4ff8746503c3b3a6cefaa5bae3f3a1bf82079d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 21:36:56 +00:00
Schneider Victor-tulias 4bcf725642 Merge "Update the All set page lottie animation to use dynamic colors" into udc-dev am: 394c114d15 am: df4146088a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22490142

Change-Id: Iab5802e58466ac62d63604e58e50f299347ab565
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 21:36:31 +00:00
Schneider Victor-tulias 9da9f0ba2e Merge "Polish the keyboard quick switch view and border animation colors" into udc-dev am: e784d586cb am: 4880f4c14a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22479842

Change-Id: I8549d65b0da481fdd52cd263cb4ecd182ffd6030
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 21:35:20 +00:00
Mady Mellor 107d80a253 Merge "Creates BubbleBarView & BubbleBarViewController & friends" into udc-dev am: 3e3d3e78a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22211489

Change-Id: Iacea6f5fafa9f123b153f78c8c1cb74bb7decb93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 20:55:10 +00:00
Schneider Victor-tulias df4146088a Merge "Update the All set page lottie animation to use dynamic colors" into udc-dev am: 394c114d15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22490142

Change-Id: I2e0000fbee4a426bd5ebdb43f2cd5cbb06602a37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 20:54:33 +00:00
Schneider Victor-tulias 4880f4c14a Merge "Polish the keyboard quick switch view and border animation colors" into udc-dev am: e784d586cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22479842

Change-Id: I1a5a4bcecde3bc3d116dfe9c51d330df5f201c00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 20:53:20 +00:00
Mady Mellor 3e3d3e78a0 Merge "Creates BubbleBarView & BubbleBarViewController & friends" into udc-dev 2023-04-18 20:35:17 +00:00
Schneider Victor-tulias 394c114d15 Merge "Update the All set page lottie animation to use dynamic colors" into udc-dev 2023-04-18 20:14:09 +00:00
Schneider Victor-tulias 5e68914621 Update the BorderAnimator
Updated the BorderAnimator to allow it to animate the border outside the view's bounds. This makes it match the specs and makes it more compatible with other animations.

Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Test: tried keyboard quick switching on a handheld, foldable and tablet
Fixes: 276336349
Change-Id: I025f8b0f431e78bcb5c7b4b3859a7d6dde5da600
2023-04-18 20:12:59 +00:00
Schneider Victor-tulias e784d586cb Merge "Polish the keyboard quick switch view and border animation colors" into udc-dev 2023-04-18 20:10:35 +00:00
Jon Miranda 59d1214798 Remove ActivityInfo.CONFIG_SCREEN_SIZE if orientation is still the same.
Avoid NPE to unblock development while we investigate root cause.

Bug: 274394837
Test: see repo steps in bug comment #11
Change-Id: Ib18aa9da1d2827ae03037215ff9e34d27493995b
Flag: ENABLE_TRANSIENT_TASKBAR true
2023-04-18 19:38:53 +00:00
Jagrut Desai 3396987f13 Merge "Refactoring instance variable for ArrowPopup.java" into udc-dev am: 52a7798bbe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22656582

Change-Id: I686fc92596d40755bfb1127c609802a1a3d078d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 16:58:16 +00:00
Jagrut Desai 52a7798bbe Merge "Refactoring instance variable for ArrowPopup.java" into udc-dev 2023-04-18 16:03:33 +00:00
omarmt a6cebae247 resetPositionAnimated should be called when onBackCancelled ends
Test: mp droid
Bug: 265060720
Change-Id: I308a4f388b6619181c05c84ac6db47c900c586af
2023-04-18 10:31:41 +00:00
Bill Yi b5a30af77a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icb68af098700faab0e0ee59f2391feeaab3f9bcd
2023-04-18 01:09:56 -07:00
Vinit Nayak 6506ec2da3 Merge "Prevent taskbar on phone from crashing" into udc-dev am: b0f1da28fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22560972

Change-Id: I0d784d64aa27562018851f14907b99527df2ca97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 01:04:00 +00:00
Vinit Nayak b0f1da28fe Merge "Prevent taskbar on phone from crashing" into udc-dev 2023-04-18 00:49:48 +00:00
Mady Mellor 55913d53c6 Creates BubbleBarView & BubbleBarViewController & friends
BubbleBarView shows BubbleViews in a bar similar to transient
taskbar. BubbleBarView can be collapsed (bubbles in a stack) or
expanded (bubbles all visible). When expanded, WMShell will be
notified to show the appropriate expanded bubble view (not part of
this CL).

Also creates BubbleControllers which contains BubbleBarViewController
and will eventually contain other controllers related to stashing
for the bubble bar.

Bug: 253318833
Test: manual, with other CLs, see go/bubble-bar-tests
Flag: WM_BUBBLE_BAR
Change-Id: I990ab3da6614db90ffff8c40281dc7f16b3957f6
2023-04-17 16:36:28 -07:00
Brian Isganitis 151f506790 Merge "Update notification dots in Taskbar All Apps." into udc-dev am: 5bf0806768
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22600116

Change-Id: Id03eca071797f8cb9fff9e0cbc84e32676cdaa6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17 22:06:46 +00:00
Bill Yi c4acfd3481 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I63782983c81aa196210241ec83bd40a8b30de835
2023-04-17 14:38:25 -07:00
Brian Isganitis 5bf0806768 Merge "Update notification dots in Taskbar All Apps." into udc-dev 2023-04-17 21:22:29 +00:00
Brian Isganitis 01be7eeb57 Properly compute scroll for Taskbar All Apps.
It was hooked up to Launcher All Apps scroll, which is a separate
instance from Taskbar.

Test: atest WMShellFlickerTests
Fix: 270770472
Change-Id: I14b11c8b5f1143886dd5976a12bba9e4ee66aa96
2023-04-17 18:19:54 +00:00
Schneider Victor-tulias 5285763d99 Update the All set page lottie animation to use dynamic colors
Flag: not needed
Fixes: 263088674
Test: Launched the All set page on handheld, foldable and tablet
Change-Id: I5c742985c3fcce32742553f0ab5d237c1a77f991
2023-04-17 09:45:52 -07:00
Fengjiang Li e6b8e95820 Merge "Format switch case block of TouchInteractionService so that future change is not blocked by lint" into udc-dev am: 47f2dd6a11
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22650791

Change-Id: I476cdd121c9b3ff7e26dd976d52362dc7d4b723b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 23:55:15 +00:00
Fengjiang Li 47f2dd6a11 Merge "Format switch case block of TouchInteractionService so that future change is not blocked by lint" into udc-dev 2023-04-14 23:18:31 +00:00
Jagrut Desai 282f093533 Refactoring instance variable for ArrowPopup.java
refactoring naming for instance variables to be more in sync with java codestyle

Test: presubmit
Bug: 278291850
Flag: not needed
Change-Id: I24eb1433941b44404871b305acf0d2d145662080
2023-04-14 16:08:52 -07:00
Fengjiang Li e12d344b61 Format switch case block of TouchInteractionService so that future change is not blocked by lint
Test: test launching app
Bug: 278092752
Change-Id: I6d3be682d653f7378bb4c9ce4b6a1048e49386dc
2023-04-14 12:43:27 -07:00
Sunny Goyal 0d1ce188f7 Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev am: 348e518b2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22578910

Change-Id: I41651abd06e9c6c7b8b8ea5f4ee93202885ad081
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14 18:37:55 +00:00
Sunny Goyal 348e518b2c Merge "Using a runtime generated layout for tests instead of defining xml" into udc-dev 2023-04-14 18:12:57 +00:00