Commit Graph

14790 Commits

Author SHA1 Message Date
Jagrut Desai b66808c026 Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev am: 64b79a9fad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22519946

Change-Id: I5e833b4fe492e7cade8aa7b5244a8fd256763565
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 17:00:40 +00:00
Jagrut Desai 64b79a9fad Merge "Exposing functionality to pin Taskbar from TaskbarDividerPopupView." into udc-dev 2023-04-21 16:15:07 +00:00
Kateryna Ivanova bb615c29c3 Introduce library for public animation APIs am: 2d6a8e3a87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22739941

Change-Id: Ic6585ccf2de38444d53273a8a4bbdadaa9711103
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 14:31:21 +00:00
Kateryna Ivanova 2d6a8e3a87 Introduce library for public animation APIs
* Add a public library
* Pull Interpolators implementation from systemui animation library
* migrate existing usages of Interpolators

Test: n/a
Bug: 271850966
Change-Id: I3f941423b76f555b2c1e7205e23d5ff9ad95d413
2023-04-21 08:06:47 +00:00
Andreas Agvard 4bef922c78 Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev am: 43327eb082
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22738281

Change-Id: Ie91361e9e02b5f4bd4948d9b9e0971cec6896eaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 07:10:25 +00:00
Andreas Agvard 43327eb082 Merge "Rename notifyGestureStartedAsync to notifyGestureStarted" into udc-dev 2023-04-21 06:36:09 +00:00
Wei Sheng Shih 2d50fd0e6d Merge "Polish reveal animation after onTasksAppeared." into udc-dev am: 8b71205fa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22606971

Change-Id: I780f1894e15c64bade0989cb03a7d1d206eefc65
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 05:06:14 +00:00
Jagrut Desai c6d625b8db Exposing functionality to pin Taskbar from TaskbarDividerPopupView.
This CL allows user to long press on Taskbar divider view to bring up divider popup view. It also included functionality of allowing user to turn on always show taskbar from the divider popup view.

Test: Manual
Bug: 265436055
Bug: 265434718
Bug: 265434902
Bug: 265434705
Flag: ENABLE_TASKBAR_PINNING

Change-Id: Ied54d718483a9b06b053d68988e5c294a786002a
2023-04-20 22:04:21 -07:00
Wei Sheng Shih 8b71205fa9 Merge "Polish reveal animation after onTasksAppeared." into udc-dev 2023-04-21 04:44:56 +00:00
Presubmit Automerger Backend dce6abef7e [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3 am: 5ab41346d8 am: cc471ee2ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: Ibdd17af28d3a2dbce78ff9481c6cf7337f4b2e14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 04:42:37 +00:00
Presubmit Automerger Backend cc471ee2ee [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3 am: 5ab41346d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: I16a861cfa872f928c5e4414a9f0ecdceacf1f325
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-21 03:57:05 +00:00
Presubmit Automerger Backend 5ab41346d8 [automerge] Clear Accessibility Focus from icon after Shorcut Menu invoked 2p: cb582591b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22750962

Change-Id: Ib5981d226c7cabe8e302c108b198c3fb657f3812
2023-04-20 23:21:40 +00:00
Jon Miranda cb582591b3 Clear Accessibility Focus from icon after Shorcut Menu invoked
Similar to I2726504094af2abacf1c41089c7bcd4efb588099

Fixes: 267695526
Test: have talkback on
      open all apps
      open long press menu
      ensure focus stays on pop up menu

Change-Id: I38f78df3855495c53a5ae8966e9a996e4679e95b
2023-04-20 16:21:02 -07:00
Tracy Zhou 4a6d844ce3 Merge "Support 3-finger swipe to pull down notifications from app" into udc-dev am: 7c49cb3ac2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22725560

Change-Id: I2779d1b8dd5e41deb7c483c8acc37950ff203aa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 22:47:50 +00:00
Tracy Zhou 7c49cb3ac2 Merge "Support 3-finger swipe to pull down notifications from app" into udc-dev 2023-04-20 22:19:03 +00:00
Schneider Victor-tulias 2a08542071 Merge "Update the BorderAnimator" into udc-dev am: 7da60438a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22515873

Change-Id: I83d9d878ca76f10dbb86709e7ca146e3359264a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 21:01:15 +00:00
Schneider Victor-tulias 7da60438a3 Merge "Update the BorderAnimator" into udc-dev 2023-04-20 19:59:44 +00:00
Brandon Dayauon e9479924b1 Merge "Fix two line item of app-title only in A-Z list and not predicted app row" into udc-dev am: e16a595626
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22440092

Change-Id: I9f721896dd4c1cfa685ec4a8e5628b666932ffde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-20 17:59:58 +00:00
Brandon Dayauon e16a595626 Merge "Fix two line item of app-title only in A-Z list and not predicted app row" into udc-dev 2023-04-20 16:59:10 +00:00
Andreas Agvard 167a7ba13b Rename notifyGestureStartedAsync to notifyGestureStarted
Since there is nothing async about it's implementation.

Test: Since it's a name change compilation is the only test needed.
Bug: 278976890
Change-Id: I0057be3c25c3ec80054d3830fe706ec8f9995ea7
2023-04-20 09:52:06 +02:00
wilsonshih 146e81b8c2 Polish reveal animation after onTasksAppeared.
Showing the animation leash of appearedTaskTargets if there need to
play the reveal animation behind splash screen view.
Pausing applyDepthAndBlur while playing splash screen exit animation
from launcher side, otherwise the app window would be blurred.

Bug: 277704255
Test: manual, do quickswitch to start the app behind splash screen
view, verify no flicker or blur happen when playing reveal animation.

Change-Id: I83604ceeaeb54ab2100fdabf45a1624644b85e37
2023-04-20 14:47:51 +08:00
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 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 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
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
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 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
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