Commit Graph
87505 Commits
Author SHA1 Message Date
Alex Chau 2f581b799b Merge "TaskbarViewController should only translate on rotation if icon is aligned with hotseat" into tm-qpr-dev 2022-12-16 19:06:25 +00:00
Becky Qiu e6e3de846f Merge "[Toast] Add a new attribute for rich answer type." into tm-qpr-dev 2022-12-16 18:44:50 +00:00
Jeremy Sim e8eb4a3c48 Merge "Fix bug with Taskbar second-app-selection animation" into tm-qpr-dev 2022-12-16 18:30:38 +00:00
Alex Chau 5786c775a7 Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev am: 98d33cdff9 am: a1608fb21a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747426

Change-Id: I1608c3061545fcffaafd398bdb0195e0637d4db8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 17:58:51 +00:00
Alex Chau a1608fb21a Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev am: 98d33cdff9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747426

Change-Id: Iabd35264bf880d76d6a669b29f614a8d86334adc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 17:25:04 +00:00
Alex Chau 98d33cdff9 Merge "Set iconsSizePx of Taskbar's DeviceProfile directly" into tm-qpr-dev 2022-12-16 16:45:21 +00:00
Pat Manning 77b343ff67 Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev am: 346ca5abcc am: f6837a8506
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746966

Change-Id: Iebcdba32045be16d834b5a194dc6d5b2f6f03fda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 15:21:05 +00:00
Pat Manning f6837a8506 Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev am: 346ca5abcc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746966

Change-Id: I1b3619cb8c459cd9f19d4548ef6b971efd415e83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 14:43:40 +00:00
Pat Manning 346ca5abcc Merge "Match ArrowTipView width to parent so text can center." into tm-qpr-dev 2022-12-16 13:54:28 +00:00
Bill Yi a653d55379 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04d3e99b1fdbc8ba5fd317b53abbb11718667910
2022-12-16 04:47:11 -08:00
Bill Yi 0f9982e6bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iff51228333ddbf1cc6dd4b74d4ab6f6f63f3bead
2022-12-16 04:46:39 -08:00
Bill Yi 4df6ef67bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11441ec480b0cba2244fa8a7ad9e3ac5f820e59e
2022-12-16 04:46:08 -08:00
Bill Yi 2eaba8e9da Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bf519996c9147d1f6d816d07eac85a7e0e3801e
2022-12-16 04:45:45 -08:00
Bill Yi 1885c489fc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib1739767f90d758017acc10481fcac0bb0fffcc9
2022-12-16 04:45:21 -08:00
Bill Yi 0cd317cd08 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5b1e77bfbf2f911da92bb4bc14fbdf93ffe303b7
2022-12-16 04:44:51 -08:00
Schneider Victor-tulias 7bb558a57e Add check for loading ever applied in check for page scrolls initialized
When "Don't keep activities" is enabled in developer settings, the RecentsView gets re-initialized every home gesture. The home animation can often finish before the load plan ever gets applied, so the page scrolls can be used before the RecentsView has had a chance to add all its TaskViews and recalculate its page scroll.

Fixes: 249020573
Test: launched an app and went home
Change-Id: I83ca9de60b50693f7a22b08534ec36973cd6a0fc
2022-12-16 03:12:58 -08:00
Goooler 4b789cd5d3 Bump AGP to 7.4.0-rc01 (#3178)
https://issuetracker.google.com/issues/262661471

```
OLD: Lawnchair 12.1.0 Dev (55d4f55).apk (signature: V2)
NEW: Lawnchair 12.1.0 Dev (235e22f).apk (signature: V2)

          │            compressed             │           uncompressed
          ├───────────┬───────────┬───────────┼───────────┬───────────┬──────────
 APK      │ old       │ new       │ diff      │ old       │ new       │ diff
──────────┼───────────┼───────────┼───────────┼───────────┼───────────┼──────────
      dex │   4.7 MiB │   4.7 MiB │ -14.4 KiB │  11.3 MiB │  11.3 MiB │ -3.2 KiB
     arsc │   3.5 MiB │   3.5 MiB │       0 B │   3.5 MiB │   3.5 MiB │      0 B
 manifest │   5.5 KiB │   5.5 KiB │      +1 B │  24.3 KiB │  24.3 KiB │      0 B
      res │   1.9 MiB │   1.9 MiB │      -2 B │   3.1 MiB │   3.1 MiB │      0 B
   native │ 994.5 KiB │ 999.2 KiB │  +4.6 KiB │ 980.4 KiB │ 980.4 KiB │      0 B
    asset │  22.5 KiB │  22.5 KiB │     +56 B │  68.7 KiB │  68.7 KiB │    +52 B
    other │     932 B │     988 B │     +56 B │     692 B │     697 B │     +5 B
──────────┼───────────┼───────────┼───────────┼───────────┼───────────┼──────────
    total │  11.1 MiB │  11.1 MiB │  -9.6 KiB │  18.9 MiB │  18.9 MiB │ -3.1 KiB


         │          raw           │                unique
         ├────────┬────────┬──────┼───────┬───────┬──────────────────────
 DEX     │ old    │ new    │ diff │ old   │ new   │ diff
─────────┼────────┼────────┼──────┼───────┼───────┼──────────────────────
   files │      2 │      2 │    0 │       │       │
 strings │  69886 │  69934 │  +48 │ 62197 │ 62312 │ +115 (+5282 -5167)
   types │  19760 │  19933 │ +173 │ 17807 │ 17966 │ +159 (+5265 -5106)
 classes │  15917 │  16024 │ +107 │ 15917 │ 16024 │ +107 (+5083 -4976)
 methods │ 103813 │ 103555 │ -258 │ 98416 │ 98246 │ -170 (+40890 -41060)
  fields │  53631 │  53435 │ -196 │ 52854 │ 52694 │ -160 (+19686 -19846)


 ARSC    │ old  │ new  │ diff
─────────┼──────┼──────┼──────
 configs │  350 │  350 │  0
 entries │ 7485 │ 7485 │  0
```
2022-12-16 18:57:48 +08:00
Pat Manning c3c12e01fb Update bottom sheet color to black with 65% opacity for Lt and Dk modes.
Fix: 224739565
Test: manual
Change-Id: Iae341a0380532c670d748d8a845e52f04f76c9a4
2022-12-16 10:49:28 +00:00
Android Build Coastguard Worker f4d88e9287 Snap for 9410508 from 09f8e4277a to udc-release
Change-Id: Ic2a90321226c82d76707de83a1e4d5b5536ae8eb
2022-12-16 02:26:07 +00:00
Bill Yi 615c4d2dd0 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:23:30 +00:00
Bill Yi 3e7a6d9b74 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:18:14 +00:00
Android Build Coastguard Worker 22209500be Snap for 9410359 from 2ebdc76fa5 to tm-qpr2-release
Change-Id: Ia38b35a5ded2f2468df4a30b319106d89599855b
2022-12-16 00:25:36 +00:00
Anushree Ganjam 65ef25a423 Move the Impression Logging Flag to AllAppsDeviceConfigFlag
Bug: 204781396
Test: Manual
Change-Id: I2dae1e34fca9e1c7e430ccaf5e3439a49ef8afc7
2022-12-16 00:24:03 +00:00
Alex Chau 9de98280b8 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev am: 0c2d7e8da3 am: 7a7f6ce2c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746546

Change-Id: I052bec3d1505574c50c583d01f4b03d890f27cea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 00:11:02 +00:00
Jeremy Sim a4b1680265 Merge "Fix juttering problem with split staging animation" into tm-qpr-dev am: 2ebdc76fa5 am: 0f4346d057
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20716747

Change-Id: I62c521e10b2c07ad85dcb56722b32e7f9d41f4d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 00:09:22 +00:00
Alex Chau 7a7f6ce2c8 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev am: 0c2d7e8da3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746546

Change-Id: Idacd0665d3e53d3db722217decd0841661d1a333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 00:00:44 +00:00
Pat Manning 8b18444f3b Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev am: 618df8b34e am: 7276cba38a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712705

Change-Id: I151f70e78b766adb864a5d7d172babeda072bbff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:49:12 +00:00
Sunny Goyal 8591bbc892 Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d am: 37dd2e6691
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205

Change-Id: I073f6cb4d3a912b585cd1cd0e57f1ced1b0ed3a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:48:58 +00:00
Alex Chau ca47172b58 Merge "Avoid overlapping snackbar with nav buttons in tablets" into tm-qpr-dev am: 3ad5eef4b8 am: c16fa37888
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20736530

Change-Id: I8f1333dcba5acc12d4675e28d7daa2900abf16d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:48:45 +00:00
Andy Wickham 9cdba2f395 Adds additional top padding in All Apps with floating searchbar.
This is by UX/PM request.

Test: Manually with and without work profile on phone and tablet
with floating search enabled and disabled.
Bug: 213954333

Change-Id: I024aed629ab6f09b3dfd22a39c2149974863538e
2022-12-15 15:29:46 -08:00
Bill Yi 3d9a06e489 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 2d476db8a6 -s ours am: 8cda671bcd -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1f0eb501b2260b15e397079f0a8342aded23ee53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:15:42 +00:00
Bill Yi f7f6ded754 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 08f6a4e7c1 -s ours am: e4e66e41fb -s ours
am skip reason: subject contains skip directive

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

Change-Id: If58a74e14591e721505a42c33d5adc2cfda79cef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:15:35 +00:00
Bill Yi 610cf619d1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: ac3930bede -s ours am: 9339813678 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifa8d17dff8045003446c40471fa61927182e0d77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:15:17 +00:00
Bill Yi 1ca28fb1d2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 78ea5bd253 -s ours am: a10143b82c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ifdb9f7103869b884ddf918288802b776c0292905
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:15:01 +00:00
Alex Chau 0c2d7e8da3 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev 2022-12-15 23:09:13 +00:00
Tony Wickham c6a7ba8163 Adjust taskbar VIS and bottom mandatory gesture insets
- ITYPE_BOTTOM_MANDATORY_GESTURES should always be > 0  in gesture
  navigation mode, but before we were setting it equal to tappableHeight
  which is 0 if the taskbar is stashed. Fixed it to be contentHeight
  instead.
- Updated VIS insets to only override them to be 0 for tappableElement,
  not for others like navigationBars. We still only override this for
  gesture navigation; 3 button mode will continue reporting the same as
  we report to the underlying apps.

Test: manually with 3 button mode, gesture nav mode with taskbar
stashed/unstashed; checked that TaskbarInsetsController dump looks as
expected, and that behaviors like Assistant and IME look correct
Flag: none
Fixes: 262516176

Change-Id: I5a1cdf5a9956777d3189ef6042493e2f5aa9b162
2022-12-15 22:28:40 +00:00
Alex Chau adbbc2f7fa TaskbarViewController should only translate on rotation if icon is aligned with hotseat
Fix: 254191175
Test: With 3 button, rotate at home and overview, nav button are at expected position. Repeat with TASKBAR_IN_OVERVIEW flag off.
Change-Id: I1e629e6be92c4793d3dfdb0dac60c3bfce886e7a
2022-12-15 22:04:16 +00:00
Jeremy Sim 0f4346d057 Merge "Fix juttering problem with split staging animation" into tm-qpr-dev am: 2ebdc76fa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20716747

Change-Id: Ie9ac3c1a7f4661c2d0f05ed9245e5167c4a89802
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 22:02:09 +00:00
Jeremy Sim 2ebdc76fa5 Merge "Fix juttering problem with split staging animation" into tm-qpr-dev 2022-12-15 21:38:31 +00:00
Pat Manning 7276cba38a Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev am: 618df8b34e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20712705

Change-Id: I857c8bc25dc82cf03192bda451bd699db0818448
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 20:47:02 +00:00
Holly Sun f565d1bafa No need to override the isImeEnabledOnSwipeUp flag in Launcher3.
It's only used in NexusLauncher now.

Bug: 262729669
Test: manual
Change-Id: Ic145d7ad007ec314974713b6c4bf880d55607cf7
2022-12-15 12:18:27 -08:00
Tracy Zhou 09f8e4277a Merge "Turn on split from fullscreen with keyboard shortcuts flag" 2022-12-15 20:09:19 +00:00
Pat Manning 618df8b34e Merge "Get home rotation default value from DisplayController Info in case DeviceProfile is not updated." into tm-qpr-dev 2022-12-15 20:02:14 +00:00
Sunny Goyal 37dd2e6691 Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205

Change-Id: I1bd905e44924ec55f8f7cb254d66f9f751357590
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 17:28:53 +00:00
Alex Chau a68164d89e Set iconsSizePx of Taskbar's DeviceProfile directly
- After ag/20691430, iconScale no longer scale app icons (I should rename it later, after QPR2), so we'll need to set the desired iconSize directly for Taskbar's DeviceProfile
- Extracted setting iconSizePx and testSizePx out of updateIconSize, as they are no longer affected by scaling. This allows TaskbarActivityContext to set desired iconsize and then call updateIconSize

Bug: 256976071
Test: Test Taskbar icon size in different density
Change-Id: I741c178b59e0d8ecb4c63689e68767622329379c
2022-12-15 17:05:12 +00:00
Sunny Goyal 09fab7ee7d Merge "Unifying multiple all-apps implementations" into tm-qpr-dev 2022-12-15 17:03:05 +00:00
Alex Chau f8b79d4235 Use overridden default xml for TwoPanelWorkspaceTest
- Partially reverted TAPL and TwoPanelWorkspaceTest changes on http://ag/19195512

Fix: 262627208
Fix: 262632384
Test: TwoPanelWorkspaceTest
Change-Id: I8b793bfb3874cc6305ce8b0f9f7b0a116d01222b
2022-12-15 15:48:09 +00:00
BrianandAngelofVerdant 55d4f55a46 Improve Swahili translation (#3175)
Co-authored-by: AngelofVerdant <brian.kepha.official@gmail.com>
2022-12-15 23:41:14 +08:00
dependabot[bot] 614688ab63 Bump protocVersion from 3.21.11 to 3.21.12 (#3177)
Bumps `protocVersion` from 3.21.11 to 3.21.12.

Updates `protobuf-javalite` from 3.21.11 to 3.21.12

Updates `protoc` from 3.21.11 to 3.21.12
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.11...v3.21.12)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-javalite
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 23:39:52 +08:00
dependabot[bot] ff852c4eae Bump mockito-core from 4.9.0 to 4.10.0 (#3176)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.9.0...v4.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 23:39:06 +08:00