Commit Graph

2291 Commits

Author SHA1 Message Date
Bill Yi 1a8e3e7da6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I999157b31e28f84974c339ba2cdb2289096b0960
2022-05-15 05:54:06 -07:00
Alex Chau dc3c36f725 Merge "Tune overview icon size and paddings" into tm-dev am: f4c8da6263 am: 8ade327cc4 am: 1d78c653b2 am: a377c0208f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18231547

Change-Id: I5404309520e5da9764e9875e782715a4b29b0354
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:56:55 +00:00
Alex Chau 54962bc981 Merge "Tune overview icon size and paddings" into tm-dev am: f4c8da6263
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18231547

Change-Id: Ib981483fa77b6150314968b6a0f3a3a76cb21b40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:13:07 +00:00
Alex Chau 8ade327cc4 Merge "Tune overview icon size and paddings" into tm-dev am: f4c8da6263
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18231547

Change-Id: I22a53c2f36b0bbceb54d6c251e71c6e6df7ce3f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 16:25:37 +00:00
Alex Chau 1fe83fe881 Tune overview icon size and paddings
- Tune overview icon size and paddings across form factors
- Limit handheld overview to 70% of screen width

Fix: 209981696
Test: manual
Change-Id: I946b9bb2e9eb05cdc1e4497b9b1267a91731a8e1
2022-05-11 16:35:14 +01:00
Bill Yi 3536421d1d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idaab73d947e0284d981847659b2ec2daa5c83f3c
2022-05-08 17:44:29 +00:00
The Android Open Source Project 38a49a9efc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b07a01ef370d1b51fac9e48feb6c2d4aa99a88f
2022-05-08 10:47:37 +00:00
TreeHugger Robot 418078531b Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-03 20:48:34 +00:00
TreeHugger Robot ba25f89c79 Merge "Update home, back and overview gesture tutorial introductions to be clearer for blind users" into tm-dev am: 3e8f0c9bb6 am: eabd3e8d2e am: 158fb7106c am: 68a49773a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18101491

Change-Id: I0733aa60b6316e0e8ab05bd7341f477d72422384
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 12:28:35 +00:00
TreeHugger Robot 158fb7106c Merge "Update home, back and overview gesture tutorial introductions to be clearer for blind users" into tm-dev am: 3e8f0c9bb6 am: eabd3e8d2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18101491

Change-Id: I0046bc487b36c4ca7fec98f3ab3ca7a8a7b5a243
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-30 02:48:45 +00:00
TreeHugger Robot eabd3e8d2e Merge "Update home, back and overview gesture tutorial introductions to be clearer for blind users" into tm-dev am: 3e8f0c9bb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18101491

Change-Id: I810be07f3af77bf463ca34d8603a308e90d2c5ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-30 02:26:31 +00:00
Bill Yi f102e1f75d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74a8c180d7244623fbe95e6b430054bdd662c937
2022-04-30 02:13:44 +00:00
Schneider Victor-tulias 8e0e88bb2f Update home, back and overview gesture tutorial introductions to be clearer for blind users
Added A11Y strings for the home, back and overview gesture tutorial step introductions. These strings give clearer instructions that work with talkback.

Fixes: 202492454
Test: manual
Change-Id: I1eefd6ecf3e3c576a7c1cf6dbf7b824e5be13860
2022-04-29 16:09:11 -07:00
Anushree Ganjam e9466b3f94 Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev am: fa693be19f am: 168362edd2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18011182

Change-Id: I62f302fbdaf1b37988f6a56c8cf501a454cb2382
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 06:03:36 +00:00
Anushree Ganjam 34fc3c4aee Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev am: fa693be19f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18011182

Change-Id: I8ae06fc716589295d47b5fe4101ea26b3dd217de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 05:29:50 +00:00
Anushree Ganjam 168362edd2 Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev am: fa693be19f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18011182

Change-Id: I9c22204217e70f32ca39417947a15fc1be408c59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 05:28:17 +00:00
Anushree Ganjam fa693be19f Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev 2022-04-28 04:52:01 +00:00
Anushree Ganjam 5cc7ff0990 Revert "Refactors Search results into separate RV for Toast."
This reverts commit 6729f0b950.

Reason for revert: This change caused b/230648542.

Please see https://b.corp.google.com/issues/230648542#comment5 for the video after reverting this change.

Bug: 206905515
Bug: 230648542

Change-Id: I85f063c56cad137c05b810204244bba7e8f94ee7
2022-04-28 01:37:49 +00:00
Alex Chau a95d18b430 Merge "Update overview actions alignment" into tm-dev am: a80efcee9f am: 0a4e0923d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17888303

Change-Id: Ief8f521e87f98491cd777e02cf90461a8409b9a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 19:05:10 +00:00
Alex Chau c7fee694e7 Merge "Update overview actions alignment" into tm-dev am: a80efcee9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17888303

Change-Id: Ie7496af60cde34345324140511a7b2f7b255f10f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 12:47:17 +00:00
Alex Chau 0a4e0923d2 Merge "Update overview actions alignment" into tm-dev am: a80efcee9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17888303

Change-Id: Ibaa9c19e18f693c1a6552f622ef13218dbe2a4e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 12:46:11 +00:00
Alex Chau a80efcee9f Merge "Update overview actions alignment" into tm-dev 2022-04-27 12:24:24 +00:00
TreeHugger Robot cea10a4fb4 Merge "Refactors Search results into separate RV for Toast." into tm-dev am: 0a6e9b4751 am: eb4fa04985
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17699868

Change-Id: I76d64e3b7cd443423b3bbe291e82717c4f4d2ffa
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 16:11:14 +00:00
TreeHugger Robot 14615df286 Merge "Refactors Search results into separate RV for Toast." into tm-dev am: 0a6e9b4751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17699868

Change-Id: I86545cb56dac22db803cacfdc893f82efcecefd5
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 15:36:46 +00:00
TreeHugger Robot eb4fa04985 Merge "Refactors Search results into separate RV for Toast." into tm-dev am: 0a6e9b4751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17699868

Change-Id: Ibdf49c7fd6e0f485445c3e4cbfd9abbb214a6539
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 15:35:50 +00:00
Alex Chau a2fc764405 Update overview actions alignment
- Align overview actions to the top with a defined margin below task thumbnail, except for vertical bar layout
- In modal state, use task view's bottom as pivot, and expand using all the space about pivot
- Simplified overview actions margin calculation and moved some logic to DeviceProfile

Bug: 209981696
Test: manual on various devices
Change-Id: I4c96cb02c6f3d6adf30633ddeb883bc4eec16f36
2022-04-25 19:20:21 +01:00
Andy Wickham 6729f0b950 Refactors Search results into separate RV for Toast.
This will help enable transitions between A-Z apps lists and
search results because both can be seen simultaneously and
manipulated independently.

Some high level items of the refactor:
 - SearchRecyclerView is added; logic that populated the main
   (personal) tab with search results was simply redirected to
   this RV instead.
 - BaseAllAppsContainerView added isSearching() method. Returns
   false, and ActivityAllAppsContainerView overrides (as search
   is handled there).
 - Renamed BaseRecyclerView to FastScrollRecyclerView to better
   describe what it does. SearchRecyclerView extends this, but
   returns false for supportsFastScrolling().
 - AlphabeticalAppsList#mAllAppsStore is now optional, so the
   Search RV doesn't need to store/listen to apps. Note this
   doesn't affect the predicted app row which is still updated
   if one of the predicted apps is uninstalled (I tested this).

Future work:
 - Determine why dispatchRestoreInstanceState is not called for
   BaseAllAppsContainerView. Save is called, e.g. on rotation.
   Effect of restore not called: rotating while searching goes
   back to A-Z list.
 - Keep suggested apps in Header while searching. Currently they
   are rendered in the SearchRV above search results, as before.
 - Potentially extract Personal/Work tabs to move independently of
   header.
 - AlphabeticalAppsList is a misleading name because it can also
   contains search results. However, things are pretty intertwined
   between that and BaseAllAppsAdapter (effectively a circular
   dependency), so I figured cleaning all that up was out of the
   immediate scope of this refactor, which is mainly meant to
   unblock transition work.

Bug: 206905515
Test: Manually checked for regressions, ran tests.
Change-Id: I4d3757c8a8f9b774956ca6be541dd4fcdad1de13
2022-04-24 17:36:48 -07:00
Bill Yi 4991a1fd63 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib39e0efdba7bc474456acd3b49167a6b5efc443f
2022-04-21 04:10:10 +00:00
Bill Yi 1edad5cc73 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I16ce190ed7b0100097bfd33f227b6efa3ba3fee8
2022-04-21 04:09:09 +00:00
Thales Lima 281115aa8a Merge "Tune menu size" into tm-dev am: 1dcf3d1ab9 am: 497b8672cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570024

Change-Id: I0cf011856c9a6eeda63535f7057c31122b5f8956
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 16:07:14 +00:00
Thales Lima 497b8672cb Merge "Tune menu size" into tm-dev am: 1dcf3d1ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570024

Change-Id: I51d6f4175302f92ba1968ca837190bc9484934aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 15:51:53 +00:00
Thales Lima 7bb79ae8e2 Tune menu size
Fix: 223351193
Bug: 214586519
Test: check sizes with HSV and Window
Change-Id: I2fa8d03eb80e952ebc238e6f4db5563f774128cd
2022-04-13 14:21:36 +01:00
Bill Yi 92fd7b6e20 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I62411927e91b9b57de2ed2d28d35b47c6069a6e7
2022-04-09 04:06:52 +00:00
Bill Yi eba3739a56 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia84d13e4b1c02afa3938521fbbb9d52d405f9f40
2022-04-09 03:58:14 +00:00
Bill Yi 794a254346 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I61523b8dde087b80195da2e692f442118b728fd9
2022-04-05 21:26:06 +00:00
Bill Yi 42cd81c449 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0c6b89e13c7eb1ce127b5379070d16e8aacf074d
2022-04-05 21:25:31 +00:00
Schneider Victor-tulias f652834c96 Merge "Add public constructors to gesture tutorial fragments." into tm-dev am: 3a6b7360a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17388919

Change-Id: Iaa4bdd5b0b301581f7d6c12169e9873b10b28ab8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:34:28 +00:00
Schneider Victor-tulias 12387cf091 Merge "Add public constructors to gesture tutorial fragments." into tm-dev am: 3a6b7360a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17388919

Change-Id: Idcd57e272603e311b178e980f78a9c6e17dc2870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:34:23 +00:00
Tony Wickham 6ffd4094f4 Merge "Decouple taskbar background color from overview" into tm-dev am: e0c464a0e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17511887

Change-Id: I382310a23fc595b896d9bdd78647f1f488bb8b27
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:33:47 +00:00
Tony Wickham adf429fa75 Merge "Decouple taskbar background color from overview" into tm-dev am: e0c464a0e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17511887

Change-Id: Ifc3e4ab34a83c9d62f56010b4f420c60ea7b2a3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 17:33:23 +00:00
Schneider Victor-tulias 3a6b7360a2 Merge "Add public constructors to gesture tutorial fragments." into tm-dev 2022-03-31 17:30:14 +00:00
Tony Wickham ae82fc4ba0 Decouple taskbar background color from overview
- Taskbar background is 15L but Overview dark should be 35L

Test: Swipe up from taskbar (which is 15L), background matches until
going to overview, then animates to appropriate overview color based on
theme (light or dark).
Bug: 227344452
Change-Id: I52d892a569c8db565b4cfe271e532009f34ec669
2022-03-31 17:28:16 +00:00
Schneider Victor-tulias 054faba0a1 Add public constructors to gesture tutorial fragments.
The lack of public, no-arg constructors was causing the tutorial to crash on re-creation (eg. rotating the screen.) Added public constructors and refactored event logging.

Also added an update to the All Set page to allow the subtitle to display in one line.

Fixes: 226321558
Fixes: 226550217
Test: manual
Change-Id: I00a6135e658a66313df5e07833e6c6a20a618672
2022-03-30 23:51:18 +00:00
TreeHugger Robot 38aeb36043 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-29 07:37:55 +00:00
Bill Yi 534966f98e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I13ff147ba826b962e0ec46dca17c2e0f80275bf3
2022-03-26 05:19:32 +00:00
Stefan Andonian 606cc4f6f9 Update text in "get app suggestions" bottom sheet to use Google Sans am: 234889c81c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17412846

Change-Id: I5c0c1bd035bc1aea273575acc4290f213a86621a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 21:23:39 +00:00
Stefan Andonian 234889c81c Update text in "get app suggestions" bottom sheet to use Google Sans
font family.

Bug: b/211375020
Test: Verified that the font was different after setting it in the xml.
Screenshot: screenshot.googleplex.com/AEvdCXTufBnbQC5.png
Change-Id: Ie5447344b9e917648b50945414cf58562a1d0ca8
(cherry picked from commit 4f15b6cafb)
2022-03-25 19:37:22 +00:00
Brian Isganitis 365ce6879b Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: Iec1754737b4e824d53b892b7cf43c4e1ee555c44
2022-03-22 16:27:22 +00:00
Brian Isganitis 7aa64493db Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev am: 98214d072c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223907

Change-Id: I6119c7637a391a4d2bf89537e900c2c1940eec24
2022-03-22 16:27:21 +00:00
Brian Isganitis 98214d072c Merge changes from topics "presubmit-am-08ca1fad1fe94bf3ace5a708c5584d55", "presubmit-am-3c6c58a0fa374b92b1a5f8d5f5788871", "presubmit-am-6939eac1469540108813bd4ed4c60a9b" into tm-dev
* changes:
  Have taskbar all apps extend ActivityAllAppsContainerView.
  Refactor ActivityAllAppsContainerView to depend on ActivityContext.
  Refactor allapps.search package to depend on ActivityContext.
2022-03-22 16:11:35 +00:00