Commit Graph

1175 Commits

Author SHA1 Message Date
Mady Mellor 443407fd2d Merge "Add a button for floating tasks to taskbar (behind a flag)" into tm-qpr-dev am: 13b7e00fff am: 6d37424c94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19874561

Change-Id: I7ca43d2d6c8f6fbc7015d95061c30d6160daf0f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-23 05:43:24 +00:00
Mady Mellor 6d37424c94 Merge "Add a button for floating tasks to taskbar (behind a flag)" into tm-qpr-dev am: 13b7e00fff
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19874561

Change-Id: Ic1c92bac2b98e3eac04acd567ab208f814f00408
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 15:37:38 +00:00
Mady Mellor 78c899314e Add a button for floating tasks to taskbar (behind a flag)
Test: manual - build launcher3, enable the feature flag on tablet with
               a valid app installed, open an app, observe that there
               is NO button in taskbar because launcher3 doesn't have
               populated config
Bug: 237678727
Change-Id: Ic261608898eb9a9220cffacd0c6060a32c10a74f
2022-09-20 10:41:12 -07:00
TreeHugger Robot fb77b34d1d Merge "Change wallpaper depth in widget picker" into tm-qpr-dev am: 3ded296cee am: 9c43626a36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19852193

Change-Id: Ie17c03949c3ac30156129182fec88f19cfb46e1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-13 23:38:23 +00:00
TreeHugger Robot 9c43626a36 Merge "Change wallpaper depth in widget picker" into tm-qpr-dev am: 3ded296cee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19852193

Change-Id: I544623f2c67f846ac5e76bdb520750b5d4cdce2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-13 20:15:13 +00:00
Alex Chau 3d2c062567 Change wallpaper depth in widget picker
- Also changed widget picker open/close duration, refactored the values into DeviceProfile
- Generalized MultiAdditivePropertyFactory to accept aggregator as parameter

Bug: 240580498
Test: manual
Change-Id: I6886ca514593e404b8d7b0e8ed44f20ec2b77c73
2022-09-13 12:20:56 +08:00
TreeHugger Robot 788b348806 Merge "Add app predictions to secondary display app drawer & fix tab UI." into tm-qpr-dev am: bcbba897fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19789528

Change-Id: Ic1610d88641265842348e5955d0debe85f78c6b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-31 00:33:22 +00:00
Sukesh Ram 1b4869fcbc Add app predictions to secondary display app drawer & fix tab UI.
Bug: 233926067
Test: Manual
Change-Id: I2f45a4b30964b365bf149e8864a3af2ea909a237
(cherry picked from commit 9e5fe63a22)
Merged-In: I2f45a4b30964b365bf149e8864a3af2ea909a237
2022-08-30 22:30:03 +00:00
Bill Yi 4bf2ba3909 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I863080296dc2f570776996e1fc700d152622282b
2022-08-25 11:19:29 -07:00
Bill Yi 4374fc5fb0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdddfb5419dfc5e88939f25cc12d87f5b9f85728
2022-08-24 22:08:35 -07:00
TreeHugger Robot 39d5f1661f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-08-23 05:46:40 +00:00
Sunny Goyal ca5761d21f Merge "Removing some obsolete features" into tm-qpr-dev am: 211496e3d8 am: a3dacac8b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19505122

Change-Id: I8a0157caa803b2edcef458895d7e9ded06ea5fe0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 21:07:20 +00:00
Sunny Goyal a3dacac8b9 Merge "Removing some obsolete features" into tm-qpr-dev am: 211496e3d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19505122

Change-Id: I55e7b6d0fe88daa964216fb58700f3ba0671f30d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 20:46:31 +00:00
Sunny Goyal 211496e3d8 Merge "Removing some obsolete features" into tm-qpr-dev 2022-08-22 20:27:45 +00:00
Bill Yi 9092ef2227 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7ff6db96a4819dc741c0fad9bfe6365f11604f7a
2022-08-21 23:15:39 -07:00
Vinit Nayak 2d6442c5e6 Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev am: 89be3a4c6d am: 72864a13db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19534821

Change-Id: Ib9ef7e0923dea9e1700208b9dbdd20ee4368b063
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 04:19:00 +00:00
Vinit Nayak 72864a13db Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev am: 89be3a4c6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19534821

Change-Id: I06b23ae4fe81a2daccd3be0270fd234d0ea30728
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 04:02:01 +00:00
Vinit Nayak 89be3a4c6d Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev 2022-08-10 03:06:53 +00:00
Vinit Nayak 8a3d05587e Show 3 button nav on phone in Taskbar (1/2)
* TODO: Landscape/seascape support,
        Separate nav spacing out into
        separate class/add tests

Bug: 219035565
Change-Id: I8f5c007f04ea4d6df15962772806356181d764ff
2022-08-09 13:25:50 -07:00
Thales Lima c0268f4f49 Merge "Calculate hotseat width based on available width" into tm-qpr-dev am: c92b40f10a am: a1afc2313f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19416116

Change-Id: I3d503774a1cd8e797c96334b51f7af25cfcb1a30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-08 09:40:48 +00:00
Thales Lima a1afc2313f Merge "Calculate hotseat width based on available width" into tm-qpr-dev am: c92b40f10a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19416116

Change-Id: I87e1a5b68b8fc8ebf30e8ba9839f87367eb9f6d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-08 09:24:09 +00:00
Thales Lima 9938c2f791 Calculate hotseat width based on available width
Navigation buttons take space on the hotseat, so hotseat width (qsb width and border space between icons) should be calculated instead of having a coded value.

Bug: 223724516
Bug: 228998463
Test: manual, changing display size
Test: manual, changing hotseatBarEndOffset value
Test: HotseatWidthCalculationTest
Change-Id: Ibd4f5ff2e06afda8e7420fb744db049d2e418e14
2022-08-04 15:21:06 +01:00
Sunny Goyal c5c7da9a8b Removing some obsolete features
PROMISE_APPS_NEW_INSTALLS = true
ENABLE_QUICKSTEP_WIDGET_APP_START = true
FOLDER_NAME_SUGGEST = true
ENABLE_PREDICTION_DISMISS = true
HOTSEAT_MIGRATE_TO_FOLDER = false
ENABLE_DEEP_SHORTCUT_ICON_CACHE = true
ENABLE_THEMED_ICONS = true
ENABLE_ALL_APPS_EDU = true
EXPANDED_SMARTSPACE = false

Bug: 241141733
Test: Presubmit
Change-Id: I72c0c20ab7e214994dc3c3665c90e85d45991a7a
2022-08-02 13:38:38 -07:00
Vinit Nayak e677538171 Use Taskbar window for phones (only works on gesture nav) with flag am: 7db37b3d94 am: b197ea0c25
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18801667

Change-Id: If22f89319b68b9b13422a3b5e3e9ae855d22731e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 04:30:54 +00:00
Vinit Nayak b197ea0c25 Use Taskbar window for phones (only works on gesture nav) with flag am: 7db37b3d94
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18801667

Change-Id: Icb4ed4c35ec434dacb70ef1c9cd7b6b5bfccaf70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 04:14:05 +00:00
Vinit Nayak 7db37b3d94 Use Taskbar window for phones (only works on gesture nav) with flag
* Try to avoid re-creating TaskbarActivityContext to
avoid re-inflating taskbar views
* Toggle via Flipper App (key 1101)
OR adb shell setprop persist.wm.debug.hide_navbar_window 1 && adb reboot
TODOs
* Only works for gesture nav, not 3 button
* Sampling on phone doesn't always work.

Bug: 219035565
Change-Id: I2a015f99d5f1fe86d7261eec9fd898bd4480ff9f
2022-08-01 17:48:09 -07:00
Jeremy Sim c8e159d4cc Merge "Update calculation method for Overview UI placement on tablets" into tm-qpr-dev am: fe5bccbf6f am: 1b468babdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19289801

Change-Id: Ic97e19a97a19a1a1379c929fd8e9f5e8d0f8f77f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 19:38:59 +00:00
Jeremy Sim 1b468babdc Merge "Update calculation method for Overview UI placement on tablets" into tm-qpr-dev am: fe5bccbf6f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19289801

Change-Id: Ifd96660ca65230f598986290d3c97eb92dbd0cee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 19:20:20 +00:00
Jeremy Sim 1cfe6d490a Update calculation method for Overview UI placement on tablets
This update slightly changes the calculation method for Overview UI placement, in order to line up better with spec. (The previous calculation caused a small 30dp divergence on tablets.)

Bug: 236760307
Test: Manual by measuring pixels and comparing to spec
Change-Id: I94e9e7b5a6a24c37693425ac8ec71cd066003658
2022-07-28 14:05:24 -07:00
Tony Wickham 2897897329 Have All Set aniamted background extend edge-to-edge am: 96431570d4 am: bb76b99c56 am: 434abd78ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19429240

Change-Id: Ic532dc97efe418301d70e8c37a028015ab7e6f9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 19:53:54 +00:00
Tony Wickham 434abd78ca Have All Set aniamted background extend edge-to-edge am: 96431570d4 am: bb76b99c56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19429240

Change-Id: I9f1141f2a0b8447ca57ec03416f19460fe2c8a60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 19:35:52 +00:00
Tony Wickham bb76b99c56 Have All Set aniamted background extend edge-to-edge am: 96431570d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19429240

Change-Id: Ideffeaa3d083feaa0a3d8e110d25c0b1eb5c3153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 19:19:24 +00:00
TreeHugger Robot d33659576c Merge "Space out 3 button nav on taskbar" into tm-qpr-dev am: 5e6fe32818 am: 2a8906bfba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19272533

Change-Id: I2ea492fac54d0fabf1af92500e2ad102855c4c79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 17:21:17 +00:00
TreeHugger Robot 2a8906bfba Merge "Space out 3 button nav on taskbar" into tm-qpr-dev am: 5e6fe32818
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19272533

Change-Id: I2eddc38eaa756d6f5cb5b36ccd516d8ad7cc3de0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-26 16:54:10 +00:00
TreeHugger Robot 5e6fe32818 Merge "Space out 3 button nav on taskbar" into tm-qpr-dev 2022-07-26 16:32:06 +00:00
Tony Wickham 96431570d4 Have All Set aniamted background extend edge-to-edge
There's already a separate ConstraintLayout for the content that needs
to have fitsSystemWindows="true", but the drawing can extend past system
insets.

Test: Run AllSetActivity, manually inspect layout/drawing
Fixes: 237052706
Change-Id: I8ff1e3a036fb5c6bfa8586b041c9e5eae55c321d
2022-07-26 16:03:04 +00:00
Vinit Nayak c7293179d0 Space out 3 button nav on taskbar
* Add additional margin on nav buttons if
there's overlap w/ contextual button
* End spacing is dependent on grid layout

Bug: 223724516
Test: Tested on unfolded with different
grid sizes.

Change-Id: Ie814f35cd1f35629744050ee3f7242c5a8599883
2022-07-25 13:15:11 -07:00
Bill Yi 68d305ec3c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41d6f8a697f63784c8b5505efc5b981ebdcf4783
2022-07-21 20:00:05 -07:00
Bill Yi 6b22fda8ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie90b213d29903c90bb50f7efb36e1f9df9b33a21
2022-07-21 19:58:58 -07:00
Bill Yi 1af69afde2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idebfc4f59f05055792b26f034f1d918d0547e851
2022-07-19 13:34:17 -07:00
Bill Yi e5bf619267 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iafc3c190549cdbe7d6fae074a6937dff516039dd
2022-07-13 21:17:40 -07:00
Bill Yi 55845129b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I94fbaf735045200d8df3cb1a56947fc45e591f41
2022-07-13 21:16:05 -07:00
Pat Manning c8c169a887 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev am: de5be15650 am: 07815a4015
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675989

Change-Id: I318530eb5b485b584a69d0ab5ed1274e41a0dbd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:29:29 +00:00
Pat Manning 07815a4015 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev am: de5be15650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675989

Change-Id: I9b583676f1225a875322a3598883adcefc2b3a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:13:09 +00:00
Pat Manning 0041ae3543 Show splash screen in quickswitch if thumbnail wrong aspect/orientation.
Test: manual
Bug: 202826469
Change-Id: I8337876ba26bf82d4f65697a86e6727be713ad53
2022-07-12 18:21:06 +01:00
Alex Chau 2f98748b1b Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev am: fbd9ebd0a0 am: 252ab19883
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19222026

Change-Id: Ia06c9e56e9676b91c31fe8311381c0fc8e7b0e19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 13:20:05 +00:00
Alex Chau 252ab19883 Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev am: fbd9ebd0a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19222026

Change-Id: I1da2872a3a9a81fb757b972af3cc637020c1f89d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 11:51:01 +00:00
Bill Yi 6f01bd7532 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I31fe2d40b83c2fda9017ba9f8dcbf47c4b88812c
2022-07-11 16:21:41 -07:00
Alex Chau 0c4e11b479 Make workspace and hotseat scale down in widgets picker
- Also centralized workspace content scale percentage to DeviceProfile

Test: manual
Fix: 231699666
Change-Id: I3f8dcb9921e0cd93ad391d51120b189005ad07df
2022-07-08 19:03:48 +01:00
Bill Yi 9f3de2bbb2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3fa536c9f10b1648155ed3ef01cfb5d95e20fb34
2022-06-19 09:05:18 -07:00