Commit Graph

2275 Commits

Author SHA1 Message Date
TreeHugger Robot 005f29a7e2 Merge "Add instruction to put the device into test harness to error message" into tm-qpr-dev am: a3e61240b1 am: f9d6efc4fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21222958

Change-Id: I1349ce5537c3991d4e0381319417c3fc844f0e36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-06 10:35:28 +00:00
TreeHugger Robot f9d6efc4fa Merge "Add instruction to put the device into test harness to error message" into tm-qpr-dev am: a3e61240b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21222958

Change-Id: Id84490b396e80ea95b4c578e8a096f81f3d55438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-06 10:05:47 +00:00
TreeHugger Robot a3e61240b1 Merge "Add instruction to put the device into test harness to error message" into tm-qpr-dev 2023-02-06 09:52:06 +00:00
Andy Wickham 8353c38f92 Merge "[revert ^2] Enable Floating Search and update tests accordingly." 2023-02-04 09:19:18 +00:00
Andy Wickham 346771550e [revert ^2] Enable Floating Search and update tests accordingly.
Tests need to be updated to account for the new placement of the
searchbar because it overlapped with touch events for scrolling:
 - Scroll back to top: Instead of scrolling from the top of the
   container which could overlap status bar in landscape, scroll
   from the bottom of the top-most visible app icon.
 - Scroll down: swipe up from bottom padding to top of top-most
   visible icon.
 - Close all apps: swipe down more quickly from top icon insetad
   of the search bar (more quickly helps it be detected as a
   fling on more cramped devices).

For Launcher3, the floating flag is not fully supported yet, so
there were some layout issues which are now resolved by ignoring
the flag if the searchbar is still at the top.

Fix: 261873937
Test: Ran tests, manual
Change-Id: I406fbcbe12acddb1dd4b862a380576a48cabbebc
2023-02-03 14:24:22 -08:00
Sebastián Franco 04ba7b0e23 Merge "Adding test to make sure the icons seen when unfolded are the same when folded" into tm-qpr-dev am: b57479c189 am: 591b511565
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21120301

Change-Id: Ib3709fdadf7a07006f5916461f636ea7abc81b03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 21:35:38 +00:00
Sebastián Franco 591b511565 Merge "Adding test to make sure the icons seen when unfolded are the same when folded" into tm-qpr-dev am: b57479c189
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21120301

Change-Id: I6b533a97afe291c4211983705e5c8e4caed8bfa5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 21:01:14 +00:00
Sebastián Franco b57479c189 Merge "Adding test to make sure the icons seen when unfolded are the same when folded" into tm-qpr-dev 2023-02-03 20:39:04 +00:00
Sam Dubey 51e1ef37f7 Merge "Revert "Enable Floating Search by default and update tests accordingly."" 2023-02-03 14:42:49 +00:00
Sam Dubey 29f78a597b Revert "Enable Floating Search by default and update tests accordingly."
This reverts commit 952400d2f2.

Reason for revert: b/267743311

Change-Id: I007274cdea1c424c87ddea4592e9e1c7a273bea9
2023-02-03 12:45:15 +00:00
Andy Wickham 89638d2252 Merge "Enable Floating Search by default and update tests accordingly." 2023-02-03 10:27:38 +00:00
Sunny Goyal f98fc1d099 Merge "Exposing method to register content providers in sandbox context" into tm-qpr-dev am: de15772052 am: 459f2c7114
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21236578

Change-Id: Icb74ab16c876aa65db0110a6e39faa50ec4f0a09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 08:29:53 +00:00
Sunny Goyal 459f2c7114 Merge "Exposing method to register content providers in sandbox context" into tm-qpr-dev am: de15772052
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21236578

Change-Id: Ifb7c9f2ca49bd029cfe7a7ccd724bd338ac718f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 07:59:44 +00:00
Sunny Goyal de15772052 Merge "Exposing method to register content providers in sandbox context" into tm-qpr-dev 2023-02-03 07:34:10 +00:00
Andy Wickham 952400d2f2 Enable Floating Search by default and update tests accordingly.
Tests need to be updated to account for the new placement of the
searchbar because it overlapped with touch events for scrolling:
 - Scroll back to top: Instead of scrolling from the top of the
   container which could overlap status bar in landscape, scroll
   from the bottom of the top-most visible app icon.
 - Scroll down: swipe up from bottom padding to top of top-most
   visible icon.
 - Close all apps: swipe down fom top of recyclerview instead
   of search bar.

For Launcher3, the floating flag is not fully supported yet, so
there were some layout issues which are now resolved by ignoring
the flag if the searchbar is still at the top.

Fix: 261873937
Test: Ran tests, manual
Change-Id: I7d6fc7deac630835b96fc173211ce31271152607
2023-02-02 21:05:52 -08:00
Jon Miranda 3c76c2212a Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev am: 5903751ee3 am: 82382fc784
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21225224

Change-Id: Iec7cd640cb84417f231dd440490a6d1c78b38465
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 02:29:15 +00:00
Jon Miranda 82382fc784 Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev am: 5903751ee3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21225224

Change-Id: If372917ea9fa959faf913fa831b533ec8681e27d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 02:00:06 +00:00
Jon Miranda 5903751ee3 Merge "Update notification dot renderer when we update the taskbar icon size." into tm-qpr-dev 2023-02-03 01:34:05 +00:00
Stefan Andonian c0d6de8bcf Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev am: 6a4e9a34ab am: 424c469513
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21061164

Change-Id: I81a4aff8f133dfef57205cc423471fbb4fb2c08c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 01:18:45 +00:00
Stefan Andonian 424c469513 Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev am: 6a4e9a34ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21061164

Change-Id: I9c33c9c4e1532a07ea00772e210e221cd9661cd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-03 00:53:00 +00:00
Stefan Andonian 6a4e9a34ab Merge "Migrate "isRotationAllowed" setting to LauncherPrefs." into tm-qpr-dev 2023-02-03 00:27:14 +00:00
Sunny Goyal 305cb87891 Exposing method to register content providers in sandbox context
Bug: 263286512
Test: presubmit
Change-Id: I04a8160afec2ea0d153eca113537a8778d8f3514
2023-02-02 15:20:58 -08:00
Jon Miranda 2b25ded506 Update notification dot renderer when we update the taskbar icon size.
Test: swipe to home with an app that has a notification dot
      observe no jump in dot size
Bug: 264709741

Change-Id: I5d56fe57e74ed7b094477ecd8727152f3f522042
2023-02-02 23:10:42 +00:00
Nicolo' Mazzucato bdb4923396 Add instruction to put the device into test harness to error message
Bug: 267601529
Test: Run a test while not in test harness mode.
Change-Id: I8089503e61831e5dde6f4e659e92a8d75ea18e2b
2023-02-02 13:10:52 +00:00
TreeHugger Robot b59cdf26ab Merge "Add @ScreenRecord to testPressHomeOnAllAppsContextMenu" into tm-qpr-dev am: 18be12d0dd am: fda08cb9cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21136643

Change-Id: Id5d7459eb28d8c4cf9e992e1f2ac61d05e11dd19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 21:28:20 +00:00
Sebastian Franco 48c7f8e035 Adding test to make sure the icons seen when unfolded are the same when folded
Bug: 188081026
Test: atest FoldableItemsIntegrity
Change-Id: I7e09c03fccb89b1d218bf196433b2fe4ad09d8e0
2023-02-01 13:22:33 -08:00
TreeHugger Robot fda08cb9cb Merge "Add @ScreenRecord to testPressHomeOnAllAppsContextMenu" into tm-qpr-dev am: 18be12d0dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21136643

Change-Id: I4d9f9f53bd62050b93a6e01f9f153a610f47712e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-01 20:47:02 +00:00
Stefan Andonian 1d7f703514 Migrate "isRotationAllowed" setting to LauncherPrefs.
This semi-complicated case requires use of a context in order to get the
default value. That is why it was migrated by itself.

Bug: 261635315
Test: Manually tested all the base functionality of the launcher.
Change-Id: I40d8ccd414402b55921a0a224264414d3245871b
2023-02-01 20:26:41 +00:00
TreeHugger Robot 18be12d0dd Merge "Add @ScreenRecord to testPressHomeOnAllAppsContextMenu" into tm-qpr-dev 2023-02-01 18:51:31 +00:00
Sunny Goyal 5fc8131b60 Merge "Introducing CellPosMapper which allows mapping between UI position and model position" into tm-qpr-dev am: 126ac14112 am: a19f661961
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21128574

Change-Id: Id2cdf2a5262def0401cd2a60fbe89044f55a9c98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 19:30:30 +00:00
Sunny Goyal a19f661961 Merge "Introducing CellPosMapper which allows mapping between UI position and model position" into tm-qpr-dev am: 126ac14112
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21128574

Change-Id: Ia74b38af165fa317c4d562730652f960026912a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-31 18:47:36 +00:00
Sunny Goyal 669b71f5b3 Introducing CellPosMapper which allows mapping between UI position
and model position

Test: atest CellPosMapperTest
Bug: 188081026
Change-Id: If5c6b3df5ad240317bb535c675f6ead94084238e
2023-01-30 12:17:09 -08:00
hyunyoungs 50b824392a Add @ScreenRecord to testPressHomeOnAllAppsContextMenu
Bug: 264538883
Test: seems to run fin on tm-qpr-dev
Change-Id: If395260ba58496282b651e1938e28f3cef22654f
2023-01-28 18:55:05 -08:00
Becky Qiu 9b9209acc6 Merge "Revert "Expose getSearchBox from the HomeAllApps class"" into tm-qpr-dev am: 70c9aee083 am: 145c75eafd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21128653

Change-Id: Iabcdcab1f642f7e1b95b177253bea2b5602f6761
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-27 22:21:20 +00:00
Becky Qiu 145c75eafd Merge "Revert "Expose getSearchBox from the HomeAllApps class"" into tm-qpr-dev am: 70c9aee083
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21128653

Change-Id: Ibb5459b813b3e15b600224faf268d649727897ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-27 21:21:07 +00:00
Becky Qiu 70c9aee083 Merge "Revert "Expose getSearchBox from the HomeAllApps class"" into tm-qpr-dev 2023-01-27 20:52:26 +00:00
Becky Qiu d5311f6541 Revert "Expose getSearchBox from the HomeAllApps class"
Revert submission 20714047-b_255390519

Reason for revert: broken test b/266169958 (P0 bug) and broken UI for the EDU card

Reverted changes: /q/submissionid:20714047-b_255390519

Change-Id: I250003c1b3d07637dde596225f08a6bd3cb84365
2023-01-27 20:11:26 +00:00
Thales Lima e31106b036 Merge "Create attr for padding between icon and text in cells" into tm-qpr-dev am: 91b9de1fe2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980937

Change-Id: I28a303a6de429baa94325f911555a2271d4978ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-27 12:01:17 +00:00
Thales Lima d852d65693 Create attr for padding between icon and text in cells
Bug: 265210314
Test: DeviceProfileDumpTest
Change-Id: I00af790d0c21c35f1cbce1362e63d3ab8259244a
Merged-In: I00af790d0c21c35f1cbce1362e63d3ab8259244a
2023-01-26 22:50:18 +00:00
Thales Lima 903d0a3e63 Create attr for padding between icon and text in cells
Bug: 265210314
Test: DeviceProfileDumpTest
Change-Id: I00af790d0c21c35f1cbce1362e63d3ab8259244a
(cherry picked from commit 60cab75576e9f844fcaae8f0723a075f2a00bb1f)
Merged-In: I00af790d0c21c35f1cbce1362e63d3ab8259244a
2023-01-26 15:40:27 +00:00
Sebastián Franco 1b3d1cfa64 Merge "Adding the avility to add icons on multiple CellLayouts on tests." into tm-qpr-dev am: 68f5667338 am: 56f91702d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890013

Change-Id: I3b9bad730707d9e5dca8f10acdb43991cd51c290
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 23:11:45 +00:00
Sebastián Franco 56f91702d2 Merge "Adding the avility to add icons on multiple CellLayouts on tests." into tm-qpr-dev am: 68f5667338
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890013

Change-Id: I83d66d694897da0463e93bfc740fc48e99428a8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 21:13:11 +00:00
Sebastián Franco 68f5667338 Merge "Adding the avility to add icons on multiple CellLayouts on tests." into tm-qpr-dev 2023-01-24 20:02:35 +00:00
Sunny Goyal d77858ecd9 Merge "Moving all intent receiver register calls to a single place" into tm-qpr-dev am: e1daf91dfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20933568

Change-Id: Iaf7284b1aa81da22d223ee0af4cdc8ec1cf45656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 00:58:02 +00:00
Sunny Goyal a992ac9e8d Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places

Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
Merged-In: Ib410e5bf02773cefde5bf0a0a1f2f1c108718d24
2023-01-22 05:24:48 +00:00
Sunny Goyal a1692a467f Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places

Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
2023-01-20 23:50:00 +00:00
Ling Wo a83e753c9b Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev am: 38aa60c38f am: 6dafb0359c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20273481

Change-Id: I75db89675672c9c08a4e48f7ebbc8448aec51a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 22:44:20 +00:00
Ling Wo 6dafb0359c Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev am: 38aa60c38f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20273481

Change-Id: Iccad1a308b2c5a022b54013a1750b5db983484d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 22:06:55 +00:00
Ling Wo 38aa60c38f Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev 2023-01-19 21:29:12 +00:00
Sebastián Franco a1707e3007 Merge "Remove unused Throw Throwable from clearHomescreen method" into tm-qpr-dev am: 48651b2109 am: c18a4081d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20831584

Change-Id: Ie10f728d6e544214f2ac91a209fd500635030a5a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-18 02:29:42 +00:00