Commit Graph
5064 Commits
Author SHA1 Message Date
Federico Baron b4388e3ef2 Merge "Replace drawRect with drawable for delightful pagination" into tm-qpr-dev am: d8b78523ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20017949

Change-Id: I3e3a3afb0f5e2733d77e653e706eb579cb3c2a51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-27 04:01:32 +00:00
Federico Baron 4f5e573d3a Replace drawRect with drawable for delightful pagination
In order to eventually use the shape referenced in the task (https://docs.google.com/presentation/d/1V9-1C3mJ3zRGsuzzzYExisr9vLYecgADa1FucMoW_aw/edit#slide=id.g14256d0c614_0_311) we need to use a drawable. This CL adds the drawable that will be changed to that shape and uses it in PageIndicatorDots.java instead of using drawRect.

Bug: 247561880
Test: manual
Change-Id: I01e10bd9ddc7e378f2dcfdee0f84ba7443c3b9d3
2022-09-26 15:51:33 -07:00
Bill Yi 925d6e5d51 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-09-22 17:43:17 +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 13b7e00fff Merge "Add a button for floating tasks to taskbar (behind a flag)" into tm-qpr-dev 2022-09-22 14:58:13 +00:00
Federico Baron 34a5c7fdb2 Merge "Adding 'delightful pagination' to folders, removed old animation and now have regular scrolling for navigating pages." into tm-qpr-dev am: 06c0f35c4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19971348

Change-Id: Ie1503479ea3edf26029d04cf83e95f1a90f43be3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-22 01:53:33 +00:00
Federico Baron 06c0f35c4e Merge "Adding 'delightful pagination' to folders, removed old animation and now have regular scrolling for navigating pages." into tm-qpr-dev 2022-09-22 01:10:48 +00:00
Federico Baron f837fd1795 Adding 'delightful pagination' to folders, removed old animation and now have regular scrolling for navigating pages.
Here we add a feature flag for delightful pagination and if the feature flag is on we show a new pagination without the old animation, instead it will show a square that will move on scroll from one page to another.

Bug: 247561880
Test: manual
Change-Id: Ic88b6b2e4c677fd2012bca579407168cbda63785
2022-09-21 17:56:08 -07:00
Andy Wickham c6ed393aae Merge "Reduces vertical padding of predicted apps in All Apps." into tm-qpr-dev am: a297508c15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19937149

Change-Id: Iccb595edba64d451c43f211363e586525cdcc020
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-21 23:23:36 +00:00
Bill Yi 713efc36a7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If88cecf0c4d69a754a7c784d69dbbdd1905315ea
2022-09-21 15:37:12 -07:00
Andy Wickham a297508c15 Merge "Reduces vertical padding of predicted apps in All Apps." into tm-qpr-dev 2022-09-21 17:25:39 +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
Bill Yi 2013484cbe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I511baa87327543bc8733df61a612aae93ddc9bed
2022-09-19 18:42:01 -07: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
TreeHugger Robot 3ded296cee Merge "Change wallpaper depth in widget picker" into tm-qpr-dev 2022-09-13 18:46:53 +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
Andy Wickham 369c6e8be7 Reduces vertical padding of predicted apps in All Apps.
Rather than using the full allAppsCellHeight, manually construct
the icon + padding + text and add custom padding (8dp).

Screenshots: https://drive.google.com/drive/folders/1hgEE72PaTj60SxgfPUzQ8hGwnCOWx-Lp?resourcekey=0-TgrHKITyzIXmNAAMYpA_MA&usp=sharing

Fix: 242915342
Test: Manual inspection
Change-Id: Ic566e0f7ea7cf486054bb8fe2429ee5c53e8b174
2022-09-12 18:34:14 -07:00
Bill Yi b1360ad0d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8e28cc8f62473fe165827b1c92c566b3ad4f1e0b
2022-09-11 14:56:37 -07:00
TreeHugger Robot be89a7dec5 Merge "Support for animating A-Z <-> Search." into tm-qpr-dev am: 1c22b7e57c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19629606

Change-Id: I929445576fd355da24385d95221a529be7fbf5d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-10 01:30:17 +00:00
Andy Wickham 94d5d3cb6c Support for animating A-Z <-> Search.
Demo videos (1/5 speed) and APK: https://drive.google.com/drive/folders/1qQNzcoibiFMzxYhvXc7UEHCaBhJg6SjN?resourcekey=0-OWD06iLXg3wf_eWce4rUPA&usp=sharing

Bug: 234882587
Bug: 243688989
Test: Manually tested a bunch of cases at 1/10 animation speed.
Such as work profile or not, suggested apps enabled/disabled,
typing during the animation, going back during the animation,
web results injected above apps, etc.

Change-Id: Id4f1a858d387bf3a7f9cf2d23564a276544abef1
2022-09-09 15:37:57 -07:00
Federico Baron 54a851f600 Merge "Fix pagination broken when opening folder after restart bug." into tm-qpr-dev am: 8cb0383efb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19874553

Change-Id: Ieaeb1425dce85171c4226cd68360ffa3f290d0a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-08 17:36:24 +00:00
Federico Baron 8cb0383efb Merge "Fix pagination broken when opening folder after restart bug." into tm-qpr-dev 2022-09-08 17:07:50 +00:00
Federico Baron e796a6816a Fix pagination broken when opening folder after restart bug.
The alpha wasn't initialized properly so the footer would show up before it was expected to. Alpha is now initalized in the XML file so that the footer starts to appear only once the animation begins.

Test: Manual
Fix: 233690408
Change-Id: I9e08547401cb37ce2f9e711fc4ba000250c49c2e
2022-09-07 20:05:03 +00:00
Pat Manning 3d86a7ac17 Merge "Use full screen width for drop target buttons to support higher screen densities from truncating text." into tm-qpr-dev am: b11dedc254
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19498053

Change-Id: I712eed39d27f22844cdf3e122adcd785137bc8d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-06 15:32:50 +00:00
Pat Manning b11dedc254 Merge "Use full screen width for drop target buttons to support higher screen densities from truncating text." into tm-qpr-dev 2022-09-06 14:59:48 +00:00
Bill Yi 13819a863e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I59eca0cc685c2dfd6dfe6c33cdd4f3820fe9ae21
2022-09-03 21:08:16 -07:00
Mateusz Cicheński 094c12fcfc Merge "Replace shelf height with keep clear areas registration in Launcher." into tm-qpr-dev am: f6b782344c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19271435

Change-Id: I95896b43eead78c3669618d3dde44d2944e2c0cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-02 05:29:23 +00:00
Mateusz Cicheński f6b782344c Merge "Replace shelf height with keep clear areas registration in Launcher." into tm-qpr-dev 2022-09-02 05:19:13 +00:00
Bill Yi 4391c8e1ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6446b8f18bf292261a6da1507f38d6a4c4935a74
2022-08-31 19:25:41 -07: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
TreeHugger Robot bcbba897fc Merge "Add app predictions to secondary display app drawer & fix tab UI." into tm-qpr-dev 2022-08-31 00:01:21 +00:00
Sukesh Ram efe8916d0a Made popupContainer's shadow & arrow visible in secondary display am: 924852fec5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19789527

Change-Id: Ie186f7728435b7e27a2015f931c726db2a1eddfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 22:31:35 +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
Sukesh Ram 924852fec5 Made popupContainer's shadow & arrow visible in secondary display
Reduced elevation of app drawer to 0dp because it was conflicting with popup container elevation

Test: Manual
Change-Id: I222866ddfc44ebf9ecd9787bb448e502339a1688
Fix: 233932585
(cherry picked from commit 354fe14cd4)
2022-08-30 20:27:33 +00:00
Pat Manning e63dd25a54 Use full screen width for drop target buttons to support higher screen densities from truncating text.
Scale oversized text down if after all computations it will still be truncated at higher densities.

Fix: 239401464
Test: manual. To follow up with screenshot test: b/241386128
Change-Id: Ie088d0631b0d13beb2d9f9d5396a56f7b971dee1
2022-08-30 14:57:42 +01:00
TreeHugger Robot 8e196fcfd2 Merge "Added margin of size 24dp above search bar on secondary display" into tm-qpr-dev am: 40b6d6038c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19775935

Change-Id: I789e92b43aaa76af54939c39e63734081aef81c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 06:38:48 +00:00
Sukesh Ram bf520a5935 Added margin of size 24dp above search bar on secondary display
Test: Manual
Change-Id: I5debc810385eced54aaed436489b16f36367194c
(cherry picked from commit 958dcd2f4f)
Bug: 244224274
2022-08-29 22:24:59 +00:00
Alex Chau 20eb0e3f67 Replace shelf height with keep clear areas registration in Launcher.
This affects Hotseat only for now. Taskbar will be occluded when unstashed.

When in gesture nav and with auto-enter pip, we need to pre-register the Hotseat
keep clear areas, as otherwise the event appears after the animator is started
and current logic doesn't allow to update those destination bounds in the animator.

Test: manually, existing tests pass
Bug: 183746978

Change-Id: I4d97ca77225d3502acac1fb6b5e3eff3e81285ed
2022-08-25 22:52:17 +00:00
Hyunyoung Song 4f78f65472 Merge "Remove autofill from launcher edittext boxes" into tm-qpr-dev am: f7504a0909
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19716286

Change-Id: I2295d776872f765fa870fc5c474968c8e6ae7c81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-23 23:05:40 +00:00
Hyunyoung Song f7504a0909 Merge "Remove autofill from launcher edittext boxes" into tm-qpr-dev 2022-08-23 22:15:44 +00:00
hyunyoungs 7d63654691 Remove autofill from launcher edittext boxes
Bug: 214482595
Test: notifyEnterOrExitForAutoFillIfNeeded not called
Change-Id: I2a988b36d1f06036cb68255bb98aab13bb6d8b73
2022-08-23 11:03:04 -07:00
Bill Yi 99423fa67e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib99426b2542e64a0312c35d2f762f3b853a997c2
2022-08-21 23:19:25 -07:00
Thales Lima 5915f5e8d7 Merge "Make inlineQsb a grid-option attr" into tm-qpr-dev am: 8da8198bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607213

Change-Id: Iaad28acc7fceb28fd2399074e7afb9fd3c8b8306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 21:00:21 +00:00
Thales Lima 8da8198bbb Merge "Make inlineQsb a grid-option attr" into tm-qpr-dev 2022-08-16 20:34:10 +00:00
Thales Lima f97d64e152 Merge "Make folder sizes customizable" into tm-qpr-dev am: 7b10492e88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19559864

Change-Id: I4ca2fd726d6ba8da1e3c1c32a0d29c789d0be985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-16 19:51:49 +00:00
Thales Lima 11af7bcd83 Make inlineQsb a grid-option attr
It should be per grid and not display size

Fix: 242301548
Test: atest DeviceProfileTest
Change-Id: I5ac11bd7162ce8102fd47c64039e339099ee8a05
2022-08-12 15:24:54 +01:00
Thales Lima a08a443d63 Make folder sizes customizable
Introduce new attrs for folder sizes and update all grids to use the new attrs

Fix: 214582832
Fix: 236272949
Test: atest DeviceProfileTest
Test: manual comparison with mocks
Change-Id: I638052a7f01b4951df0dd26db577167468a3c46d
2022-08-12 12:24:18 +01:00
Thales Lima da164682c0 Merge "Tune display options for non-default display sizes" into tm-qpr-dev am: f1b88dcb85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19578549

Change-Id: I64e71576537e177a5885297e8355a3cdc2faf22a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 15:11:06 +00:00
Thales Lima f1b88dcb85 Merge "Tune display options for non-default display sizes" into tm-qpr-dev 2022-08-11 14:47:43 +00:00
Thales Lima 1fb075de3b Tune display options for non-default display sizes
Fix: 241382721
Test: manual
Change-Id: I05379c359dabad6931ee897455aa847a7a9b470c
2022-08-10 10:47:50 +01:00