Commit Graph

47938 Commits

Author SHA1 Message Date
Hyunyoung Song 7b26540f64 Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev am: d96e07035c am: 1dc16ded78
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16567964

Change-Id: I4d42bb56d3018637eb62d86b0c996abe7c77fe06
2022-01-05 20:01:18 +00:00
Hyunyoung Song 1dc16ded78 Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev am: d96e07035c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16567964

Change-Id: I161550c05e2849606c877d15eace8bbd2fbd19b9
2022-01-05 19:38:03 +00:00
Hyunyoung Song d96e07035c Merge "Apply scrim protection to atomic state transition ALLAPPS -> NORMAL" into sc-v2-dev 2022-01-05 19:27:04 +00:00
TreeHugger Robot 58a8f3e508 Merge "Trace fold/unfold animation with atrace" 2022-01-05 18:13:41 +00:00
Thales Lima bb7d3881fe launcher: more options for all apps icon sizes
Different postures now require different icons sizes, changes in spaces and text size. This should give enough options to change the sizes in All Apps the same was as in the home screen.

Bug: 202708085
Test: visual, using HSV and Window
Change-Id: I40a28f27a19b5728a950a4b43f4239c1ba26c2a4
2022-01-05 15:55:16 +00:00
Thales Lima 6e7f36c86a add attributes for hotseat space
Hotseat now follows the size of workspace icons and should have different spaces based on the grid and posture of the device. It also has more icons.

Fixes: 204488528
Test: HSV and Window
Change-Id: I534df95dda6dc7de3f810632f2cab3822bf78416
2022-01-05 12:54:53 +00:00
Thales Lima 55377d3d6d Merge "rename display-option attributes" 2022-01-05 12:42:09 +00:00
Thales Lima 85c942fcc9 rename display-option attributes
Rename the attributes to make it more standardized and to be easier to check the multiple variants.

Bug: 202708085
Test: compile and run different launchers
Change-Id: I18b981877b9160bd3801a02567d52b49747d50d4
2022-01-05 10:54:29 +00:00
Hyunyoung Song 153cd69d14 Apply scrim protection to atomic state transition ALLAPPS -> NORMAL
Bug: 209480401

Test: manual, video attached on the bug

TL;DR;; minimized the delta for sc-v2

Change-Id: If8c9281bb4366540b9a4ea10a9b363ce82d78daf
2022-01-04 21:55:14 -08:00
Brian Isganitis 1ab5741b05 Merge "Avoid race condition with hotseat predictions." 2022-01-04 20:42:47 +00:00
Nicolo' Mazzucato 23a4275e1c Trace fold/unfold animation with atrace
This cl adds an always present listener to UnfoldTransitionProgressProvider to log a trace when the animation is running.

Bug: 203391751
Test: Traced with perfetto on top of this change and verified it is present as expected
Change-Id: I560c705795a37315bbdbdca0a1278bf7a2d99a64
2022-01-04 17:44:16 +01:00
Android Build Coastguard Worker bc5cdc0c76 Snap for 8040604 from b57235563c to sc-v2-release
Change-Id: Ifbfab49abde3a2a925f79e03a0b2acb40d4bcacb
2022-01-04 00:07:57 +00:00
Siarhei Vishniakou 2215377081 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours am: b57235563c -s ours am: cfe5064cc4 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I50ccf0ffc946afeb117ffc2ece97450189ca854a
2022-01-03 05:26:37 +00:00
Siarhei Vishniakou 70fd432fbf [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours am: 4b3789b5e3 -s ours am: 3ae2db4e0f -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I1a76ef25e6f2f03f3cf7794afda1a0d3373485ce
2022-01-03 05:26:11 +00:00
Siarhei Vishniakou cfe5064cc4 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours am: b57235563c -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I2cdf520c21199aa85a9fd0745df27ec7b9cdf9ca
2022-01-03 05:18:49 +00:00
Siarhei Vishniakou 3ae2db4e0f [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours am: 4b3789b5e3 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I6d129c87c943435e0a45140f3748f473db8c5f9d
2022-01-03 05:18:40 +00:00
Siarhei Vishniakou 5d4ce88dbb [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 41f333df84 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I294d27cabef0aeb8a93c5421320ed5c0989e037f
2022-01-03 05:18:25 +00:00
Siarhei Vishniakou 4b3789b5e3 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: If82e738ae4e51cd21ee75c1ffa946455dfc1986b
2022-01-03 05:13:14 +00:00
Siarhei Vishniakou b57235563c [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours am: 90e66951e9 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I222012704cfc8694b095a25b51af364fe6b22bb3
2022-01-03 05:13:13 +00:00
Siarhei Vishniakou 90e66951e9 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I059d793325805bcca1fcba400e488d1113ee05f4
2022-01-03 05:06:30 +00:00
Siarhei Vishniakou 41f333df84 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours am: a367a144ac -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I3030feffd2e21f5085f91972c3231da61612348f
2022-01-03 05:05:37 +00:00
Siarhei Vishniakou a367a144ac [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: 73c513256d -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 918776ee51 is already in history

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

Change-Id: I805fedf30ea474009d316caacc1e3e995033ca62
2022-01-03 04:49:54 +00:00
Android Build Coastguard Worker c882a94ff2 Snap for 8035341 from cc07d3480b to sc-v2-release
Change-Id: I9e4bb33550ba1c3a819ee496fca3a75093634bb9
2021-12-30 00:08:22 +00:00
Siarhei Vishniakou 73c513256d Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Bug: 212491379
Change-Id: I26d89a46e181f39f95a5e6385be1760fac37437e
Merged-In: I8d05fa3663687b5382a59b0d47cdac404844c3b7
2021-12-29 08:07:25 +00:00
Siarhei Vishniakou f06670eb12 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours am: cc07d3480b -s ours am: 2ae184a403 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: Idc380b666b5b6add2ff1b153f52c3e6f6150a3fa
2021-12-29 06:24:23 +00:00
Siarhei Vishniakou 2ae184a403 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours am: cc07d3480b -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: Ic755efa4965366c8ead7bdd0e1997499f5bc7f33
2021-12-29 06:23:50 +00:00
Siarhei Vishniakou 1a1ce49f8e [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours am: 475b946451 -s ours am: dd3391e0e8 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: Ifdeb1c7d01c5248ba4a799918b7983169cd54a38
2021-12-29 06:23:25 +00:00
Siarhei Vishniakou dd3391e0e8 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours am: 475b946451 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: I13306e62b7071431f8750723ee95708fbc225638
2021-12-29 06:15:36 +00:00
Siarhei Vishniakou 475b946451 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: I83a29b5e8a63afb23767a810c1cc47b5ca19accb
2021-12-29 06:10:59 +00:00
Siarhei Vishniakou cc07d3480b [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 20ce997649 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: Ibb304b63c96dcdf9e100487a01dab4b15d058c7d
2021-12-29 06:10:56 +00:00
Siarhei Vishniakou 212e7fc4b4 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours am: 43e808594f -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: Id99438e3cecc78c6908c43d1e2297430f6828b50
2021-12-29 06:10:38 +00:00
Siarhei Vishniakou 20ce997649 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: I344cb782217c5a4aa455f58770ddc2ac1317f55c
2021-12-29 05:52:53 +00:00
Siarhei Vishniakou 43e808594f [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours am: 9e924d9c71 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: I73c317ae279776ab6d5451b54121d5e8b4b0e56d
2021-12-29 05:51:43 +00:00
TreeHugger Robot 720762f65b Merge "Ensure to inject events outside of the insets region for right margin" 2021-12-29 05:44:38 +00:00
Siarhei Vishniakou 9e924d9c71 [automerger skipped] Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51 am: b2b60b12b4 -s ours
am skip reason: Merged-In I8d05fa3663687b5382a59b0d47cdac404844c3b7 with SHA-1 81ff81227e is already in history

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

Change-Id: I083443b93bd2074c27027f071728cc114c1528bb
2021-12-29 05:34:09 +00:00
Siarhei Vishniakou b2b60b12b4 Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery am: 918776ee51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16510921

Change-Id: I974fcf457a96758f1002b64358c27edd54ab84de
2021-12-29 05:02:31 +00:00
Sunny Goyal e437054010 Merge "Updating interface name to avoid AS build errors due to name conflict with SysUI" 2021-12-29 04:53:07 +00:00
Android Build Coastguard Worker da9217daa3 Snap for 8033408 from 8bf5b07332 to sc-v2-release
Change-Id: Iddba464b65d07b5571fbe6fa0b477449b21cca6e
2021-12-29 00:07:53 +00:00
Siarhei Vishniakou 918776ee51 Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery
LauncherActivity uses FLAG_SLIPPERY for certain interactions. For
example, when home screen is shown, and the user pulls down from not the
top of the screen, and notification shade is getting displayed, then the
touch should be getting transferred to the NotificationShade using
FLAG_SLIPPERY.

The newly introduced permission is added to launcher in order for this
flag to be applied to the window.

Bug: 206188649
Bug: 157929241
Test: reviewed logs, ensure that NexusLauncherActivity has FLAG_SLIPPERY
Test: re-ran the performance regression test
Merged-In: I8d05fa3663687b5382a59b0d47cdac404844c3b7
Change-Id: I8d05fa3663687b5382a59b0d47cdac404844c3b7
2021-12-28 17:03:38 +00:00
TreeHugger Robot 215c8d710a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ea11c15be3 -s ours am: 5077d9dbea -s ours am: 8bf5b07332 -s ours am: d8c8c2bf10 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I4df0043075ed3d9d4428d69d048105b54379500f
2021-12-27 18:11:17 +00:00
TreeHugger Robot 8a459369b0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8fde307b56 -s ours am: 386366b344 -s ours am: 53fbe51fd5 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I81e30705946ddace76df830545b5283882ffa433
2021-12-27 18:10:45 +00:00
TreeHugger Robot 2f452da5fa Merge "Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42" into sc-v2-dev am: 8a3ee07ed8 am: cdf7a1f668
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734

Change-Id: I1eb62d770f68dc2d2db6e2674f1aa9bbafe8f112
2021-12-27 18:08:51 +00:00
TreeHugger Robot d8c8c2bf10 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ea11c15be3 -s ours am: 5077d9dbea -s ours am: 8bf5b07332 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I473da190dc14019420678ad8c7d244aad961da0b
2021-12-27 17:51:30 +00:00
TreeHugger Robot 53fbe51fd5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8fde307b56 -s ours am: 386366b344 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I491b314a552bb26d9b4b5cd550c579dfeb9018bf
2021-12-27 17:51:23 +00:00
TreeHugger Robot cdf7a1f668 Merge "Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42" into sc-v2-dev am: 8a3ee07ed8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16444734

Change-Id: Icf14709fca0998f22067a3a35b3310802212ef85
2021-12-27 17:50:37 +00:00
TreeHugger Robot 8bf5b07332 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: ea11c15be3 -s ours am: 5077d9dbea -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibdb5b5e4a8c270fe70c322b6f3b1ce1e280b52cd
2021-12-27 17:35:54 +00:00
TreeHugger Robot 386366b344 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-qpr1-dev am: 8fde307b56 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I669e8d727572926cd1b956a2f53f71bc5f8fb1fb
2021-12-27 17:34:23 +00:00
TreeHugger Robot 8a3ee07ed8 Merge "Merge "Add ALLOW_SLIPPERY_TOUCHES to make StatusBarTouchController slippery" into sc-dev am: c0231f8d0f am: f58691ae42" into sc-v2-dev 2021-12-27 17:33:26 +00:00
Sunny Goyal 80a071be2b Updating interface name to avoid AS build errors due to name conflict with SysUI
Bug: 152086714
Test: Verified building locally
Change-Id: I348d7672bda76f6cffc975cb44916c5867d9728d
2021-12-27 13:31:40 +05:30
Prabir Pradhan 00308cfd57 Ensure to inject events outside of the insets region for right margin
The display's x-coordinates for input are in the range:
  [0, displayWidth).

Injecting input at the point (displayWidth, 0) is technically outside
of the display. After accounting for insets, the x-coordinate range for
the display is:

  [leftInset, displayWidth - rightInset).

An input event injected at x = (displayWidth - rightInset) would be
outside of this range, and would be within the right insets region.

To account for this, use a one pixel buffer when calculating the
right gesture start margin.

A similar one pixel buffer is already used for the bottom margin
calculation.


Test: atest NexusLauncherTests:
com.android.quickstep.TaplTestsQuickstep
Bug: 208849306

Change-Id: I9d5a6429cd55fdfcbf2c849e27e3d3a0a7faaa47
2021-12-24 13:14:41 +00:00