Commit Graph

60076 Commits

Author SHA1 Message Date
Brian Isganitis 5bf0806768 Merge "Update notification dots in Taskbar All Apps." into udc-dev 2023-04-17 21:22:29 +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
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
Federico Baron 087bf95bb6 Merge changes Ic4c5cd96,I2cc2417f into udc-dev
* changes:
  Turn on flag for download app ux V3
  Improve color, contrast, and dimensions to match new spec for download icon
2023-04-14 18:14:49 +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
Tiger Huang e67092ee1b Merge "Always suppress scrim for taskbar" into udc-dev 2023-04-14 10:34:09 +00:00
Mike Schneider 45894db9d5 Merge "Revert ag/22195243 and solve the initialization issue it was supposed to fix differently" into udc-dev 2023-04-14 06:35:57 +00:00
fbaron ff8b89cea4 Turn on flag for download app ux V3
Bug: 267272201
Test: Verify that when the flag is on the new app download animation is visible
Change-Id: Ic4c5cd9678d6eb5dd9d66114e82eb9d93d48fd46
2023-04-13 23:53:20 +00:00
Federico Baron 4ba9c11568 Improve color, contrast, and dimensions to match new spec for download icon
Here we update the values to the correct HCT values according to the specs, as well as the size of the icon

Bug: 267272201
Test: Turn on flag ENABLE_DOWNLOAD_APP_UX_V3 and download an app to see the changes.
Change-Id: I2cc2417f7500c4c08c41056bfeef3c33f4eab174
2023-04-13 23:53:20 +00:00
Federico Baron cc79886814 Merge "Fix droptarget button wrong radius on hover" into udc-dev 2023-04-13 23:50:12 +00:00
Stefan Andonian 4c28cd49ca Merge "Make all debug feature flags boot aware." into udc-dev 2023-04-13 22:05:36 +00:00
Bill Yi fc7fa8f36b Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
Bill Yi 5b31f73a5f Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev 2023-04-13 20:38:27 +00:00
Sebastián Franco df812dfd91 Merge "Parsing test boards from text files to be able to add more and bigger tests" into udc-dev 2023-04-13 20:32:34 +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
fbaron 84e19a9bea Fix droptarget button wrong radius on hover
Fix: 277470359
Test: drag app to uninstall or remove on tablet, verify the button shape doesn't change when hovered over
Change-Id: I6b8b2de7357f8d19cdee7632a9957624a3f242a1
2023-04-13 19:27:00 +00:00
Bill Yi c745faf8da [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 673da4dc3f -s ours am: 4206573569 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22567417

Change-Id: I47f663fc89eb48b66b5df0c068e88a23d08dbaee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 19:12:59 +00:00
Jon Miranda 5523175f13 Merge changes from topic "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev-plus-aosp
* changes:
  [automerge] Revert "Fix bug where taskbar is translated during hotseat handoff." 2p: fa8cc97e5f
  Revert "Fix bug where taskbar is translated during hotseat handoff."
2023-04-13 19:01:21 +00:00
Jon Miranda f583786984 Merge changes from topics "presubmit-am-0ed6d9a2502540239b46d7d3573bd44e", "presubmit-am-7a77b5bffdb04bf38bcec9ec17d4d6ee" into tm-qpr-dev
* changes:
  Revert "Allow user gesture to take priority over taskbar translation reset animnatiuon."
  Revert "Fix bug where taskbar is translated during hotseat handoff."
2023-04-13 19:01:21 +00:00
Bill Yi 4206573569 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 673da4dc3f -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22567417

Change-Id: Ie9bd5318d89e3ecbaf76a8084f772d1309a3d4f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-13 18:33:29 +00:00
Fengjiang Li d4c5fe8543 Merge "Add COLD_DEVICE_REBOOTING LatencyType" into udc-dev 2023-04-13 18:18:27 +00:00
Sebastian Franco e7c3d3d4ce Parsing test boards from text files to be able to add more and bigger tests
It also adds an assets folder inside of Launcher3 tests.

It also fixes a bug in fullReorder.

Test: atest ReorderWidgets
Flag: none
Bug: 229292911
Change-Id: I7dadd42a3057d353326691163bb7db71a2e9dcc4
2023-04-13 17:14:51 +00:00
Fengjiang Li 435f1e2e08 Add COLD_DEVICE_REBOOTING LatencyType
Since launcher COLD startup latency is drastically different when device is rebooting vs not, we will add COLD_DEVICE_REBOOTING LatencyType

See "Add Startup Latency Type" section in go/launcher-startup-latency

Bug: b/277962421
Test: app build
Change-Id: I4d0a22c105417b5bcdbae9ed9fc72aa927f9adc9
2023-04-13 09:19:04 -07:00
Fengjiang Li 5d4207814e Merge "Gracefully handle exception when processing widget loads event while device is locked." into udc-dev 2023-04-13 16:01:37 +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
Brian Isganitis 804107b058 Merge "Define type set for taskbar overlays." into udc-dev 2023-04-13 14:21:37 +00:00
Tiger 5624523835 Always suppress scrim for taskbar
Taskbar never needs a semi-transparent scrim drawn by the decor view at
the insets area, because taskbar has the background color on its own if
needed.

Bug: 197615177
Test: SystemUIGoogleBiometricsScreenshotTests
Change-Id: Ic49c8af3ecbefcc83d1bd987812625c7e2f37157
2023-04-13 12:32:02 +00:00
Mike Schneider 593ff77267 Revert ag/22195243 and solve the initialization issue it was supposed to fix differently
The fix caused a flicker tests to fail, but that is specific to the persistent taskbar used in tests only.

Bug: 277470898
Bug: 277003116
Fixed: 277470898
Fixed: 277003116

Test: Flicker tests passes
Test: Manual (http://shortn/_kiAZykhZsp)
Test: Tapl presubmit tests
Change-Id: Ib9daebf3b06af2f1a4a3b7461acf91f204ff281b
2023-04-13 11:37:39 +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 ab2f808196 Using a runtime generated layout for tests instead of defining xml
This allows support for easily setting up default layouts

Bug: 277345535
Test: Presubmit
Flag: N/A
Change-Id: I1c089d60ac3f8add8d7e1060d343e04d30afe094
2023-04-12 22:54:14 +00: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 94f3b6329d Merge "Add jonmiranda to OWNERS" into udc-dev 2023-04-12 22:18:07 +00:00
Fengjiang Li e82b3fa8df Gracefully handle exception when processing widget loads event while device is locked.
Bug: 277189566
Test: test starting launcher and editing widgets
Change-Id: Id15da3f3471374b02f1e2bf2e0a45dc801957241
2023-04-12 14:46:47 -07:00
Federico Baron 65795b090e Merge "Add entry point for home gardening" into udc-dev 2023-04-12 21:24:48 +00:00
Stefan Andonian 85f1024f44 Make all debug feature flags boot aware.
Bug: 276090194
Test: FeatureFlags worked on device.
Change-Id: I710801d63e6f4283bf15daea2b5be5874de21cc8
2023-04-12 21:02:13 +00:00
Treehugger Robot 45a10468b2 Merge "Merge TQ2A.230405.003" am: bb016a19a4 am: ec09ccdc88 am: 351edbab22
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: I04cbe949529835ff878c2755de2c64ea4b5cd8ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:57:07 +00: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
Treehugger Robot 351edbab22 Merge "Merge TQ2A.230405.003" am: bb016a19a4 am: ec09ccdc88
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: Ib82381f70e69cc690728b3722654e9d2cb0c765c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 20:22:55 +00:00
Sunny Goyal bfb24c7706 Merge "Moving all DB management logic from LauncherProvider into a separate class" into udc-dev 2023-04-12 20:19:54 +00:00
Jon Miranda c71a7553a2 Add jonmiranda to OWNERS
Fixes: 277947143
Change-Id: I03b1b4b0c8a8bd5b1a2cf780f88902cb0abd17e0
Flag: none
Test: none
2023-04-12 12:48:55 -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
Treehugger Robot ec09ccdc88 Merge "Merge TQ2A.230405.003" am: bb016a19a4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/2530211

Change-Id: I250f0ce2bbd3b9d663b1421ba7336e56215130c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 19:00:56 +00:00
Saumya Prakash 95b6f8c409 Merge "Add gesture navigation education animations for foldables" into udc-dev 2023-04-12 18:22:28 +00:00