Commit Graph

46346 Commits

Author SHA1 Message Date
Schneider Victor-tulias 44aadeaef6 Fix issue cauing the taskbar to show in the all set page of the SUW.
Some missing state handling was causing the taskbar to show in the all set page of the SUW.

Fixes: 218507703
Test: build change, flashed and factory reset device
Change-Id: If3a280ef6416f0821cf6a9b1ab0a65d58c5c8221
2022-03-22 10:50:26 -07:00
Vinit Nayak 68d5dd82db Merge "Use ComponentCallbacks to recreate on fold/unfold" into tm-dev 2022-03-21 19:05:52 +00:00
Vinit Nayak c55c94880e Merge "Limit the number of commands in OverviewCommandHelper" into tm-dev 2022-03-21 18:49:42 +00:00
Brandon Dayauon 4f733127a7 Merge "Change Home screen to 'home screen' when it's in middle of a sentence" into tm-dev 2022-03-21 17:25:19 +00:00
Alex Chau c9f3cc36bb Merge "Update overview grid icon sizes and paddings" into tm-dev 2022-03-21 17:08:31 +00:00
TreeHugger Robot 016dd3656d Merge "Adjust edit state drop targets, workspace scaling, and margins per device type and orientation." into tm-dev 2022-03-21 17:07:10 +00:00
Jon Miranda d17cb2722c Merge "Allow depth animation when user swipes back to home." into tm-dev 2022-03-21 15:33:08 +00:00
Thales Lima c307cd137f Merge "Add more border space options" into tm-dev 2022-03-21 15:14:18 +00:00
Thales Lima 2017ee0208 Merge "Correct inline qsb for foldables" into tm-dev 2022-03-21 14:30:19 +00:00
kholoud mohamed af6641414c RESTRICT AUTOMERGE Fix newAPI lint error
Fixes: 225612636
Test: m -j out/soong/.intermediates/packages/apps/Launcher3/Launcher3/android_common/lint/lint-report.txt
Change-Id: Ib7f7df0010702b0f26d99bbd7b27ee38a6ed5e17
2022-03-21 10:50:29 +00:00
Kholoud Mohamed ac0574781c Merge "RESTRICT AUTOMERGE Moved enteprise resource updatability to Launcher3" into tm-dev 2022-03-19 06:30:09 +00:00
Bill Yi 84508ee1ed Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-19 00:36:09 +00:00
TreeHugger Robot 0a9d1226a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-19 00:35:45 +00:00
Brandon Dayauon 85a6bab0dc Change Home screen to 'home screen' when it's in middle of a sentence
Test: Manual - Tested on local pixel device
Bug: 224967365
Change-Id: I37365167b0be6d654735d46c4a070b926e828f8e
2022-03-18 14:59:31 -07:00
TreeHugger Robot f1543cb520 Merge "Small improvement for ag/17016891 (unstash taskbar input area size)" into tm-dev 2022-03-18 18:38:42 +00:00
Alex Chau d826f04b93 Merge "Use correct config.smallestScreenWidthDp when creating Resource in DeviceProfile" into tm-dev 2022-03-18 17:51:10 +00:00
Pat Manning 1acf2b18af Adjust edit state drop targets, workspace scaling, and margins per device type and orientation.
Bug: 202971709
Test: manual
Change-Id: Id1817cd3c7e7bfa5b0aa8aa20565b791ad871f64
2022-03-18 17:43:28 +00:00
Jon Miranda f6780f66c3 Allow depth animation when user swipes back to home.
Bug: 221196062
Test: open app, swipe back to home, ensure blurs
Change-Id: I9faff4e41c2e8d22df72e41c7753e2090fa0973d
2022-03-18 09:58:55 -07:00
Brian Isganitis 8198cb6f3f Merge "Move activity starting logic into new ActivityContext extension." into tm-dev 2022-03-18 16:43:48 +00:00
TreeHugger Robot 2c608fd7d0 Merge "Fix splitPrimaryScrollOffset in RTL" into tm-dev 2022-03-18 15:43:38 +00:00
Alex Chau a6907dc8c9 Use correct config.smallestScreenWidthDp when creating Resource in DeviceProfile
- This is a regression from ag/17070486 when tested, likely because DeviceProfiles are no longer re-created when changing display sizes, so correct values need to be calculated on the starting state

Bug: 221961069
Test: verify smallestWidth specific resource on changing display sizes
Change-Id: I1539bad4b35b36f0056d59307ab5fbec23a71f49
2022-03-18 15:24:07 +00:00
Thales Lima 44cc3a2e21 Add more border space options
This give options to landscape layouts to have different border options

Bug: 222109350
Test: manual and HSV
Change-Id: If823dd09c945438f77e57ff80a8a0c4fc0b4c8a6
2022-03-18 14:28:24 +00:00
TreeHugger Robot 8233d92274 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 2b27eb06f3 -s ours am: 3f7bd21989 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I764a19e39b4ee0ac99deade9995f75ee880061d5
2022-03-18 02:39:17 +00:00
TreeHugger Robot 155d8320e0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 9a682982a0 -s ours am: eaccabb042 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0cbc0b2daaffa76b74683a4defbdecd74687dc76
2022-03-18 02:39:06 +00:00
TreeHugger Robot 42b9f2eb9f Merge changes from topic "presubmit-am-03e6d19cbcaa449ab324b779508f09b0" into sc-v2-dev-plus-aosp am: 2260059974
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17230759

Change-Id: I0a80543c89572479e780992b7fe1b7fcc8cbdbcd
2022-03-18 02:37:59 +00:00
Bill Yi 4653027117 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 7933df7269 am: 8694741ed6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I12eb2419d4d70fbbcda13bfb90ada1b8050ad6c0
2022-03-18 02:37:55 +00:00
Bill Yi 1cdb10079d [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 487a62c361 am: 4f56e1893f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5b6e18b3e4747eaf8d2b457a9de2b814cd911a15
2022-03-18 02:36:05 +00:00
TreeHugger Robot 3f7bd21989 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 2b27eb06f3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6aba88ba68285e73cdcde674d24108dfa50350e8
2022-03-18 02:32:54 +00:00
TreeHugger Robot eaccabb042 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 9a682982a0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3dd0f4f22cc48ec0e509b70ca209cf1276b167f1
2022-03-18 02:31:20 +00:00
TreeHugger Robot 2260059974 Merge changes from topic "presubmit-am-03e6d19cbcaa449ab324b779508f09b0" into sc-v2-dev-plus-aosp
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 7933df7269
  Import translations. DO NOT MERGE ANYWHERE
2022-03-18 02:11:43 +00:00
TreeHugger Robot 2b27eb06f3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-03-18 02:11:43 +00:00
TreeHugger Robot 9a682982a0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2022-03-18 02:10:33 +00:00
TreeHugger Robot f770ac8f40 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-03-18 02:07:32 +00:00
Vinit Nayak 38397e46cf Limit the number of commands in OverviewCommandHelper
* Rapidly tapping recents button in 3 button nav
puts launcher in a strange state.
Reproing and understanding that state is complex
since so many state transitions are rapidly happening.
* Easier to limit the number of commands a user
will perform for valid use-cases.

Fixes: 207680265
Test: Rapidly pressing recents when unfolded
doesn't show live tile task on workspace.

Change-Id: I7db849e83c2cafc37a419e189479283f2057bde6
2022-03-17 16:26:56 -07:00
Vinit Nayak bacd5e1d21 Use ComponentCallbacks to recreate on fold/unfold
* DisplayController callbacks were sometimes being
called too soon and providing stale window bounds,
which led to the incorrect DeviceProfile being used.
Switched to ComponentCallbacks on the window to get
the most up-to-date callbacks.
* Sadly, for navigation mode changes, ComponentCallbacks
get fired too soon and have a stale navigation mode
so we continue to rely on DisplayController for that
change for now.

Fixes: 219958843
Test: Tested folding/unfolding, no taskbar appears when
it shouldn't.
Tested with changing display/font size as well as
nav mode changes

Change-Id: I1b398934c0ea49f69bad19b13977b7b0906f3190
2022-03-17 12:03:14 -07:00
Alex Chau 8cee1ebed0 Fix splitPrimaryScrollOffset in RTL
Fix: 225165124
Test: split select in RTL and non-RTL, check min/max scroll
Change-Id: I5fb13e39560d9dceb4a53c9c79a355f72faf3dba
2022-03-17 14:55:14 +00:00
Thales Lima 2903a624ce Correct inline qsb for foldables
Fixes 223565967
Test: manual and HSV

Change-Id: I40ef17142f90a8b29cdec44a36249eb2b800734a
2022-03-17 13:52:19 +00:00
Alex Chau 2e48760e97 Update overview grid icon sizes and paddings
- Introduced additional page spacign for clear all button to match mocks

Fix: 222664142
Test: Quick switch to last task and immediately enter overview
Test: Dismiss last task in overview grid
Change-Id: I4d2f93d843c50b10051f3fb17027cd06e86707e1
2022-03-17 13:44:21 +00:00
Becky Qiu 025bf08e2f Merge "[Avocado] Use device config for arm2 flags instead." into tm-dev 2022-03-17 06:39:54 +00:00
Bill Yi 0b0442f87e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I838e87377e310d791b401ebbc636587ed61e1d72
2022-03-17 03:03:11 +00:00
Bill Yi b4479127a7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I453c0760c0bd69f5f758b6223b9cbae3c2ec2771
2022-03-17 03:01:56 +00:00
Bill Yi 496bab5d60 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifb61dcd706a3df8f2c075555bd915294f4a7ed85
2022-03-17 03:00:54 +00:00
Bill Yi 8694741ed6 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 7933df7269
Blank merge reason: commit message contains skip directive

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

Change-Id: I8876fb1bee4d42222d8ca79ef27f0ec754dbf60f
2022-03-17 02:59:52 +00:00
Bill Yi 7933df7269 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I480f37dd715c29100722f29e601013255513fb28
2022-03-17 02:59:43 +00:00
Bill Yi 4f56e1893f [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 487a62c361
Blank merge reason: commit message contains skip directive

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

Change-Id: Ied8dee7b48db9dc06cbe9410b5c981943a4b9890
2022-03-17 02:59:14 +00:00
Bill Yi 487a62c361 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I25ea0d6596cffa1269137572a2fe565da433926b
2022-03-17 02:59:04 +00:00
Wei Sheng Shih 5d9a319c76 Merge "[Shell Transition]Release floating task view after second task select." into tm-dev 2022-03-17 00:25:34 +00:00
Brian Isganitis bde3c8b6bd Move activity starting logic into new ActivityContext extension.
This code branch is needed for taskbar, so needs to be moved from the
activity classes to an interface that both can share.

Test: Manual
Bug: 216683257
Change-Id: I042c0dcf08207d94847b9d7a1783acc14613ef5f
2022-03-16 13:59:03 -07:00
Alex Chau 3e40089771 Merge "Change grid migration to start from top to bottom" into tm-dev 2022-03-16 18:12:13 +00:00
wilsonshih 7315e33630 [Shell Transition]Release floating task view after second task select.
Register animation start callback to RemoteSplitLaunchTransitionRunner,
so there can clear up the floating task view when entering recents.

Bug: 223397364
Test: verify no floating task view remaining on RecentsActivity.
Change-Id: Idedc7950b8954d1376960d5e74aa4c60fefa9c86
2022-03-16 11:30:46 +08:00