Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot c640d04e83 Merge "Fix double logging for wallpaper settings icon activation" into ub-launcher3-rvc-dev am: 1fdc6ce4f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11785628

Change-Id: I258ba6dddb8c3c0475e5c6ea1b5f2eabdebbf3df
2020-06-08 20:09:45 +00:00
TreeHugger Robot 1fdc6ce4f5 Merge "Fix double logging for wallpaper settings icon activation" into ub-launcher3-rvc-dev 2020-06-08 19:58:21 +00:00
Vinit Nayak 80303ac4b9 Notify SysUi on device rotation for back gesture
Whenever device rotates, we notify sysui to hide/show
the back gesture if the foreground app also rotates.
We also notify sysui when device rotates to match
the orientation of the current foreground app (this
is for apps with fixed rotations).

Fixes: 154580671
Test: Created test apps of different rotations
and ensured that back functionality was present when
attempting to go back.

Change-Id: I33a71698411d9bc2416b6660f8dbd53233628917
2020-06-08 12:32:32 -07:00
Jon Miranda 472b5d5298 Add westworld logging when user reaches All Apps education view.
Bug: 158333305
Change-Id: I324979640ead3670f4edc57fd61eba2585d33628
2020-06-08 10:27:54 -07:00
Xin Li 26f1d01e04 [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: ea991a4be5 -s ours am: 3856824fda -s ours am: 5663dd5004 -s ours am: 18e055265e -s ours am: 2b65023217 -s ours
am skip reason: Change-Id Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2 with SHA-1 6cf1e6ca36 is in history

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

Change-Id: Ib6cac041533db62573aa037b3ff395d909784357
2020-06-08 17:25:02 +00:00
Winson Chung 33f46ab582 Merge "Ensure that the default fullscreen params have a corner radius" into ub-launcher3-rvc-dev am: db087d3c98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11757640

Change-Id: Ief9964935f4d6024db04cf0870c41a420c3a9605
2020-06-08 17:02:06 +00:00
Xin Li 2b65023217 [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: ea991a4be5 -s ours am: 3856824fda -s ours am: 5663dd5004 -s ours am: 18e055265e -s ours
am skip reason: Change-Id Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2 with SHA-1 6cf1e6ca36 is in history

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

Change-Id: I221958cc682bad45e8bbe3acf535a16983503130
2020-06-08 16:41:59 +00:00
Winson Chung db087d3c98 Merge "Ensure that the default fullscreen params have a corner radius" into ub-launcher3-rvc-dev 2020-06-08 16:30:35 +00:00
Xin Li 18e055265e [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: ea991a4be5 -s ours am: 3856824fda -s ours am: 5663dd5004 -s ours
am skip reason: Change-Id Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2 with SHA-1 6cf1e6ca36 is in history

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

Change-Id: I8aff060655ed6de1e0a5497bff62804a0c09a0ae
2020-06-08 16:29:15 +00:00
Xin Li 5663dd5004 [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: ea991a4be5 -s ours am: 3856824fda -s ours
am skip reason: Change-Id Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2 with SHA-1 6cf1e6ca36 is in history

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

Change-Id: I36cfc41594cb6143cc263f19214cde96c214fe4c
2020-06-08 16:07:57 +00:00
Xin Li 3856824fda [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: ea991a4be5 -s ours
am skip reason: Change-Id Ia11967c6f4cb86b5431cdb446a5b5c483ce09ba2 with SHA-1 6cf1e6ca36 is in history

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

Change-Id: Ic83ae56fc5e049fe80eb9355ae32630d5865ab65
2020-06-08 15:56:42 +00:00
Hyunyoung Song 97c5dacf87 Guard logging behind a feature flag
Bug: 158442037

Change-Id: Idcfc519037f975542b7ed91e411b008f32d41dd5
2020-06-08 01:58:19 -07:00
Hyunyoung Song f26c7930de Fix double logging for wallpaper settings icon activation
Bug: 137957099

Change-Id: Id95fa026c1e6f177ffbb03e99cc18ef03e9a37b5
2020-06-07 22:03:06 -07:00
Vinit Nayak aa5c4c39aa Merge "Set overview orientation for all nav modes" into ub-launcher3-rvc-dev am: f6858198b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11617524

Change-Id: If83e8d60cbd31f3be6b6e74c9919b2908449ca4e
2020-06-07 02:15:36 +00:00
Vinit Nayak f6858198b9 Merge "Set overview orientation for all nav modes" into ub-launcher3-rvc-dev 2020-06-07 01:56:19 +00:00
TreeHugger Robot f3547f5622 Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev am: f7c768c7db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758163

Change-Id: If3ef29c7c32cdd2278e5292fd1c7668c31777635
2020-06-06 19:14:55 +00:00
TreeHugger Robot f7c768c7db Merge "Disabled app icon Visuals" into ub-launcher3-rvc-dev 2020-06-06 18:58:15 +00:00
Vinit Nayak e03ad7ede2 Set overview orientation for all nav modes
3 Button overview orientation wasn't
getting set, but working because of the sensor.
Now we set orientation when entering overview,
and reset to rotation 0 when exiting overview.
Also fix related bug in RecentsOriented state
where we weren't updating the current sensor
rotation with foreground app orientation.

Fixes: 157069195
Change-Id: Ide1b7dbeb68aeaf6a3c45f7260595f69f4813d94
2020-06-05 20:36:27 -07:00
Xin Li ea991a4be5 Merge "Merge QQ3A.200605.002 into master" 2020-06-06 01:41:10 +00:00
Becky Qiu 5481a292fa Revert "[Overview Actions] UI update for Landscape." am: 4dfcbec512
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758176

Change-Id: Ia5a58f5e69a1a06e142b66a5168f3cfe95cecf85
2020-06-06 00:49:21 +00:00
Samuel Fufa 61bc63a6a4 Disabled app icon Visuals
Bug: 154855908
Test: Manual
Change-Id: I58c75ed51426ceb4a09b608ee77636c803955025
2020-06-05 17:35:00 -07:00
Becky Qiu 4dfcbec512 Revert "[Overview Actions] UI update for Landscape."
This reverts commit 160ca4b8a2.

Reason for revert: Got issues like b/158318606 when switch nav modes, also the margin seems not set properly. And this doesn't work for 3 button mode too. Would switch to just use task menu for all.

Change-Id: I645f2a2a9032ae99799c75bcc6c983c1bbfd8df8
2020-06-06 00:04:47 +00:00
Winson Chung cb8a7fe742 Ensure that the default fullscreen params have a corner radius
- Until we update the fullscreen params, the tmp params have no radius
  so in cases where a new task is created while overview is open, or if
  we go to overview from home immediately after starting launcher for
  the first time, there would be no corners

Bug: 158050383
Test: Kill launcher, swipe up to overview, ensure tasks have corner
      radius (if device supports it)
Change-Id: I6b72c1a401b9203da3acffc88578c1ed743c8f68
2020-06-05 16:57:23 -07:00
TreeHugger Robot 33c590b238 Merge "Removing instrumentation for unreproable bug" into ub-launcher3-rvc-dev am: 6de126f975
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758169

Change-Id: I690d93f8242d4402334efdb75f1fe4c1815cfe6f
2020-06-05 23:57:11 +00:00
TreeHugger Robot 6de126f975 Merge "Removing instrumentation for unreproable bug" into ub-launcher3-rvc-dev 2020-06-05 23:44:35 +00:00
vadimt d9092e83d6 Removing instrumentation for unreproable bug
Bug: 152645831
Change-Id: Iacdb103b01375b8bf48691867b844adebcd325a0
2020-06-05 15:30:31 -07:00
Hyunyoung Song 8f697e0b55 Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev am: e12baa4ba1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727206

Change-Id: Ia9fef34e44014c4ad3c9f29d84ee7ef24b097fd0
2020-06-05 21:41:55 +00:00
Hyunyoung Song e12baa4ba1 Merge "Migrate QSB logging to WW" into ub-launcher3-rvc-dev 2020-06-05 21:23:47 +00:00
Hyunyoung Song c59d7df827 Migrate QSB logging to WW
Bug: 154717227
Change-Id: I175245c0ce9afd8187cec92e3ba80999ed87b1af
2020-06-05 11:36:10 -07:00
TreeHugger Robot 5192b29c41 Merge "Allow swipe up to dismiss global actions dialog" into ub-launcher3-rvc-dev am: 1bf23da79a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11746573

Change-Id: I109b13cfbbe16d1bef9b9d3d5641f22c7f221f98
2020-06-05 18:34:37 +00:00
TreeHugger Robot 1bf23da79a Merge "Allow swipe up to dismiss global actions dialog" into ub-launcher3-rvc-dev 2020-06-05 18:25:04 +00:00
TreeHugger Robot e5aa53a82d Merge "Log tap on dot-notifications on both app icon and deep shortcuts." into ub-launcher3-rvc-dev am: 5a15fab419
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11694102

Change-Id: Iaf7e270facda4748537bfb074a7671a56030619b
2020-06-05 18:03:54 +00:00
TreeHugger Robot ad176ee5a3 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev am: ac6420b0d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11733170

Change-Id: I72c9fdb881cd755d371c7571c86815aadb88cab0
2020-06-05 18:03:48 +00:00
TreeHugger Robot 5a15fab419 Merge "Log tap on dot-notifications on both app icon and deep shortcuts." into ub-launcher3-rvc-dev 2020-06-05 17:56:58 +00:00
TreeHugger Robot ac6420b0d4 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev 2020-06-05 17:49:45 +00:00
TreeHugger Robot 324eea68f6 Merge "Allowing Launcher to draw behind cutouts" into ub-launcher3-rvc-dev am: 5613cd6327
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11702348

Change-Id: Ia9ce6d866627f7197295900e3b77e9a51b89d4e2
2020-06-05 17:45:17 +00:00
TreeHugger Robot 5613cd6327 Merge "Allowing Launcher to draw behind cutouts" into ub-launcher3-rvc-dev 2020-06-05 17:31:09 +00:00
thiruram 3cb5592c84 Log tap on dot-notifications on both app icon and deep shortcuts.
Bug: 157765763
Sample Log: https://paste.googleplex.com/6354213825150976
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/ecVIR0vyJ2thQwLbUL64Ar

Change-Id: I6e1ed381d551044a1ad94b72b3f431223a888a72
2020-06-05 17:19:29 +00:00
TreeHugger Robot 761f846155 Merge "Allowing ListenerView intercept events in system areas" into ub-launcher3-rvc-dev am: 488044fc2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11740423

Change-Id: I6bd60c2859c0e02f12c0610fbf643aa2133fc2fd
2020-06-05 16:49:00 +00:00
Samuel Fufa 142ca65d78 Perform DB calls in MODEL thread
Bug: 158127067
Change-Id: Ic7820f1ff877b37da550d77e3e166734508b2622
2020-06-05 09:48:21 -07:00
TreeHugger Robot 488044fc2e Merge "Allowing ListenerView intercept events in system areas" into ub-launcher3-rvc-dev 2020-06-05 16:36:38 +00:00
Sunny Goyal 786940ae93 Allowing Launcher to draw behind cutouts
> Launcher uses realSize, availableSize and insets to calculate
various layout values. Without drawing behind cutouts, these values
are not consistent (insets + availableSize != realSize) leading to
jumps in layouts.
> Removing fake black bars in low-ram devices to avoid inconsistent
insets.
> Fixing various layouts not taking lert/right insets into account.

Bug: 156268804
Change-Id: I8441db8a468b08a65b57b932050b5b4b37313966
2020-06-05 00:25:58 -07:00
Zak Cohen 9a63f7dbdf Merge "Screenshots - move to new api that uses image bundle." into ub-launcher3-rvc-dev am: 1b8f1cd220
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11722400

Change-Id: I0fad5516692f43aba00ba6bb12f1997596641656
2020-06-05 07:01:04 +00:00
Zak Cohen 1b8f1cd220 Merge "Screenshots - move to new api that uses image bundle." into ub-launcher3-rvc-dev 2020-06-05 06:36:16 +00:00
Winson Chung 14f234e567 Allow swipe up to dismiss global actions dialog
Bug: 155499313
Test: Show global actions while locked and unlocked and swipe up
      to dismiss
Change-Id: Id857712264abeba5bef5339e68a180298dbc250d
2020-06-04 21:41:03 -07:00
TreeHugger Robot 6cd9d18009 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev am: 651f0b3eb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11721063

Change-Id: Icb61ff340470e98848a62d903eb3c130113d5416
2020-06-05 02:32:24 +00:00
TreeHugger Robot 651f0b3eb1 Merge "Fixing jump when swiping up/down in landspace rotation" into ub-launcher3-rvc-dev 2020-06-05 02:19:51 +00:00
TreeHugger Robot 14c58bb77f Merge "Ensure view translationY is set back to 0 on staggered animation end." into ub-launcher3-rvc-dev am: 7d2011bfe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11744258

Change-Id: Iddc0609c2123f4c86c8d690f6769282c1ebc1c99
2020-06-05 01:41:00 +00:00
thiruram 480a0c5ad5 Log task pinning. am: 11cb2e469b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11745023

Change-Id: Ia965d6496f6c43851d47b23baaa03324fd7c6d49
2020-06-05 01:40:51 +00:00
Sunny Goyal 1d756513ea Fixing jump when swiping up/down in landspace rotation
FullscreenDrawParams.scale is caculated relative to TaskView matrix, but drawnInsets is
based on Thumbnail matix calculation, so the scale should be applied first, such that
dranInsets and other TaskView translations have the same base matrix

Bug: 157626483
Bug: 156268804
Change-Id: Id33c7db9a71dd001a41c66ddf07834791d0bd382
2020-06-04 18:28:40 -07:00