Commit Graph

14514 Commits

Author SHA1 Message Date
Bill Yi
5b31f73a5f Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
Jon Miranda
e60bea51e3 Merge changes from topics "presubmit-am-0ed6d9a2502540239b46d7d3573bd44e", "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev am: f583786984 am: d6fe892f4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22603500

Change-Id: I25422fb8cfd3ec7b992186477cf6b9fc6c2d028f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:25:49 +00:00
Jon Miranda
d6fe892f4c Merge changes from topics "presubmit-am-0ed6d9a2502540239b46d7d3573bd44e", "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev am: f583786984
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22603500

Change-Id: Iea9d0c287c3acd640467f4cd0430dbad031e39df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:11:52 +00:00
Jon Miranda
8cf1e75ab8 Merge changes from topic "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev-plus-aosp am: 5523175f13
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22598537

Change-Id: I651b3a3fb06e9e4ee96266b0c1345b79cf958892
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 20:10:08 +00:00
Sunny Goyal
94a8a8aa06 Merge "Removing remaining code around ENABLE_DATABASE_RESTORE" into udc-dev 2023-04-13 19:51:04 +00:00
Randy Pfohl
fedbe74635 Merge "Update full screen animation for handhelds to accurately represent screensize/shape" into udc-dev 2023-04-13 15:26:00 +00:00
Tracy Zhou
5a6e6205c4 Merge "Support 3-finger swipe down on the home screen to pull down notifications" into udc-dev 2023-04-13 05:19:42 +00:00
Winson Chung
667f75b48a Merge "Cancel recents animation to app when new task is launched while gesturing" into udc-dev 2023-04-12 23:39:28 +00:00
randypfohl
a5aa8545c8 Update full screen animation for handhelds to accurately represent screensize/shape
test: verified by making sure animation ends at correctly translation, height and width, and correct corner radius for screen size.

flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL

bug: 277123609

Change-Id: Icb38de441e12fa0b9ca49e46d71598edbcdfa108
2023-04-12 16:01:42 -07:00
Sunny Goyal
eb27546cc3 Removing remaining code around ENABLE_DATABASE_RESTORE
ENABLE_DATABASE_RESTORE feature is already removed
Also migrating some tests from BackupRestoreTest to RestoreDbTaskTest

Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I71822bbc2232008b3d2b4b9fbed0db5d889591e4
2023-04-12 15:52:35 -07:00
Jon Miranda
c9a4c1ceae Revert "Allow user gesture to take priority over taskbar translation reset animnatiuon."
This reverts commit 41b580bc63.

Bug: 277942460
Test: tablet/foldable device
      check taskbar animation b/w states and during drag
Change-Id: Ib8b362102d08d155d3153b652db47364feb5df0a
2023-04-12 13:31:41 -07:00
Presubmit Automerger Backend
8fa4d62079 [automerge] Revert "Fix bug where taskbar is translated during hotseat handoff." 2p: fa8cc97e5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22598537

Bug: 277942460
Change-Id: Ic7f1dc9e7c76e0028dd7d85729882bc277e5b50a
2023-04-12 20:29:15 +00:00
Jon Miranda
fa8cc97e5f Revert "Fix bug where taskbar is translated during hotseat handoff."
This reverts commit ecb55ef471.

Bug: 277942460
Test: tablet/foldable device
      check taskbar animation b/w states and during drag

Change-Id: I48e37d58afa6e168a683e1b9c73ae15432920030
2023-04-12 13:24:19 -07:00
Winson Chung
b24efa4494 Cancel recents animation to app when new task is launched while gesturing
- A bit of a degenerate case, but if a new task is received while
  the user is swiping up (but not yet released), none of the usual
  signals will finish the recents animation (it's not considered
  being in overview so we don't launch it, it's not a quickswitch
  since we haven't launched any new tasks ourselves).  As a result,
  nothing happens (we don't finish the animation, and the new task
  is never shown to the user as a result).

Bug: 271188120
Test: Start a gesture, in parallel run:
      adb shell am start -n com.android.settings/.Settings

Change-Id: I5215ee87f761c837db9f764bd5d8135e55fa0a21
2023-04-12 19:06:13 +00:00
Saumya Prakash
95b6f8c409 Merge "Add gesture navigation education animations for foldables" into udc-dev 2023-04-12 18:22:28 +00:00
Tracy Zhou
8353a381c6 Support 3-finger swipe down on the home screen to pull down notifications
Fixes: 276605497
Test: 3-finger swipe down to pull down notifications. 3-finger swipe up to pull up overview
Change-Id: I4c1e0df15a94905fa197849f5667a5446c259ffe
2023-04-11 20:20:41 -07:00
Saumya Prakash
5547d3b99d Add gesture navigation education animations for foldables
This change adds in additional Lottie animations for foldable devices
for the redesigned gesture navigation tutorial.

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 253520701
Test: Went through the gesture navigation tutorial on foldables and verified animations show up correctly.
Change-Id: I88b9094dcc0074f70670402870944db0fa57ebbe
2023-04-11 18:10:41 +00:00
Bill Yi
733358b46a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieaadb13b2a7b55d24f9fd8610b833793cf8cf58f
2023-04-10 23:15:19 -07:00
Tony Huang
433d215c88 Merge "[Re-land] Implement two intents or shortcuts to active split" into udc-dev 2023-04-11 05:43:14 +00:00
Sihua Ma
4c233bd645 Merge "Attempt to fix concurrent modification issue in QuickstepWidgetHolder" into udc-dev 2023-04-11 02:14:22 +00:00
Jon Miranda
c88f04c83d Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471 am: 0400e2ba46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: I3d67bdb37964935e565c10fba06c5c172b3575ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:49:39 +00:00
TreeHugger Robot
b7254fd92b Merge "Do not clear the changed view when there is an update to RemoteViews" into udc-dev 2023-04-10 23:42:08 +00:00
Jon Miranda
0400e2ba46 Fix bug where taskbar is translated during hotseat handoff. am: ecb55ef471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22531977

Change-Id: If9624d1b602edd615e19ae135e963723537ce574
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 23:19:59 +00:00
Sihua Ma
6090c345a1 Do not clear the changed view when there is an update to RemoteViews
The way we are stashing the pending updates should follow the behavior pattern as that shown in AppWidgetServiceImpl

Fix: 277120633
Test: Manual
Change-Id: I92b3edb078b30873c2ef1b9fe408cbb76a34e135
2023-04-10 13:45:25 -07:00
Brian Isganitis
f6bf07a5fe Merge "Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet." into udc-dev 2023-04-10 19:17:47 +00:00
Stefan Andonian
eac832aedd Merge "Load Delegate Items in correct order when loading Launcher Data." into udc-dev 2023-04-10 18:26:25 +00:00
Brian Isganitis
3ef917a4e3 Cleanup ENABLE_TASKBAR_EDU_TOOLTIP: remove EDU sheet.
Test: Manual
Fix: 270396268
Change-Id: I3cebdb6646060cf6793e5ffc638213dde41338c0
2023-04-10 12:55:18 -04:00
Stefan Andonian
e4609a27bd Load Delegate Items in correct order when loading Launcher Data.
Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: Ia6d609ffa21c5036cb48e464d3e8d4fa561cb008
2023-04-10 15:46:12 +00:00
Tony Huang
26b426aa89 [Re-land] Implement two intents or shortcuts to active split
Implement two intents or shortcuts to active split with shell
transition.

Fix: 259368992
Test: manual
Test: pass existing tests
Change-Id: If65ddbe6486a8bb1766019c6e05ac2cc5cbe08fc
2023-04-10 13:04:30 +08:00
Sunny Goyal
895392e923 Removing some obsolete features:ENABLE_MINIMAL_DEVICE, ENABLE_DATABASE_RESTORE
Bug: 270392984
Bug: 270392706
Test: Presubmit
Flag: N/A
Change-Id: I58c3e76de521e702fb44ccfc14c9b5a731b1d511
2023-04-07 13:59:08 -07:00
Jon Miranda
ecb55ef471 Fix bug where taskbar is translated during hotseat handoff.
Fixes: 277271088
Test: be in app
      swipe up from bottom to top of screen without pausing then release
      observe taskbar -> hotseat handoff
      observe no jump

Change-Id: I2bb9d93d39215ca3653e2e4353391b50b7ab6417
2023-04-07 11:44:33 -07:00
Schneider Victor-tulias
6fca4b795b Cleanup ENABLE_GESTURE_ERROR_DETECTION
Flag: ENABLE_GESTURE_ERROR_DETECTION
Fixes: 270389990
Test: printed gesture nav logs
Change-Id: I68317b75b10d46ccae29206d94290e013b2a7cca
2023-04-07 17:14:59 +00:00
Tracy Zhou
c2bdd997c0 Merge "Log motion event classification and pointer count in ActiveGestureLog" into udc-dev 2023-04-07 06:11:12 +00:00
Sunny Goyal
7b74a5c53f Merge "Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""" into udc-dev 2023-04-07 01:02:09 +00:00
Tracy Zhou
d8e3a96c5e Log motion event classification and pointer count in ActiveGestureLog
Fixes: 276959586
Test: N/A
Change-Id: Ia040a0bd50471b1f4cb6ba85d6b013c36548ed5f
2023-04-06 17:06:04 -07:00
Tracy Zhou
47d4769357 Merge "Log the input type for gesture nav gestures" into udc-dev 2023-04-06 23:33:51 +00:00
Treehugger Robot
5f41d0d759 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev am: 199b08efc8 am: 549615f627
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513962

Change-Id: Id05c00f0fe5932727d935ae1b4c28e3aff5a45eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:50:38 +00:00
Sunny Goyal
5cd1b198b0 Revert "Revert "Revert "Simplifying some page indicator dots attributes so that it can"""
This reverts commit 7025765c72.

Reason for revert: 274169859

Change-Id: I86a114bf2c713fea6ec7095f68816820ba5f7495
2023-04-06 22:33:11 +00:00
Winson Chung
8bf8e01550 Merge "Always provide mandatory bottom gesture insets" into tm-qpr-dev am: 4b5b50be80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22511939

Change-Id: I53cbb4a63c0cea6fcb12ce4ee82522e599ad5b9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:10:05 +00:00
Treehugger Robot
549615f627 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev am: 199b08efc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22513962

Change-Id: Ie7f9d86590630d12d4ce61c6109f8bdc1bab51cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 22:09:16 +00:00
Winson Chung
4b5b50be80 Merge "Always provide mandatory bottom gesture insets" into tm-qpr-dev 2023-04-06 21:40:06 +00:00
Treehugger Robot
199b08efc8 Merge "Close system dialogs on Taskbar home button tap" into tm-qpr-dev 2023-04-06 21:30:51 +00:00
Treehugger Robot
4c61c48dd4 Merge "Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING" into udc-dev 2023-04-06 21:28:38 +00:00
Saumya Prakash
2a7803c42c Merge "Add spacing to gesture nav edu for large fonts." into udc-dev 2023-04-06 20:54:20 +00:00
TreeHugger Robot
a47bd20ce4 Merge "Cleanup ENABLE_TASKBAR_POPUP_MENU" into udc-dev 2023-04-06 20:30:30 +00:00
Jeremy Sim
a2d9d1de48 Merge "Fix bug with split screen not recognizing user differences" into tm-qpr-dev am: 4bce4f6193
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22463688

Change-Id: I6a9d3d87d27ee922d7aed85a4e4d3369902bef8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-06 19:30:44 +00:00
Vinit Nayak
5bda089e2b Close system dialogs on Taskbar home button tap
Fixes: 255879258
Test: Able to go home w/ shade down in app and
in overview

Change-Id: Ia706148b4437e18b16b711bda572c4ba28958718
2023-04-06 12:09:35 -07:00
Winson Chung
48e6b4ccd9 Always provide mandatory bottom gesture insets
Bug: 265614886
Bug: 277185135
Test: atest WindowInsetsPolicyTest
Change-Id: I0cf4d5b72e54caf7c671a5d52a93d2066a79ed65
Merged-In: I964e0b759170c127cb05615ce5bf6fa827621187
2023-04-06 19:08:26 +00:00
Jeremy Sim
4bce4f6193 Merge "Fix bug with split screen not recognizing user differences" into tm-qpr-dev 2023-04-06 19:02:50 +00:00
Saumya Prakash
b4e34d831f Add spacing to gesture nav edu for large fonts.
For devices with smaller screens and the largest fonts and display
sizes, the end screen of the gesture navigation tutorial would cut off
the `Done` button at the bottom. This adds margins so that the button
remains visible on the screen.

Screenshot of Pixel 5 with the largest font and display:
https://screenshot.googleplex.com/AU5rYYBisZ9Azbr.png

Fix: 275540512
Test: Went through the tutorial with default and largest font sizes on both smaller devices and tablets to ensure the button is always visible.
Change-Id: I66baf9b9044211550395bb3823797127de5e1f99
2023-04-06 18:49:59 +00:00