Commit Graph

33347 Commits

Author SHA1 Message Date
Stevie Kideckel 77acdf656d Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64 am: 51d27b8dda
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294

Change-Id: I7f5839a02bde5ca4be5fc18b97ace5bef586ef2b
2021-06-08 09:17:41 +00:00
TreeHugger Robot 3a747c7878 [automerger skipped] Merge "DO NOT MERGE" into sc-dev am: 77afcf32f3 am: 043cf1557a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92ce43e777d3f4e17d7e1c827e69bb8facce903b
2021-06-08 09:12:14 +00:00
zakcohen 5af733122b [automerger skipped] DO NOT MERGE am: 1fb6718c85 am: 370e783674 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic19428fb776aa2228918ee2f53251bed52d5da4f
2021-06-08 09:12:12 +00:00
Stevie Kideckel d36d988b9d Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64 am: 6985015274
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294

Change-Id: I79b9da4370bede27dc11ca61352734a4322d3868
2021-06-08 09:11:59 +00:00
Stevie Kideckel 51d27b8dda Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294

Change-Id: Ib539fc02df7b9c967aae919fab5dc864a4ece06a
2021-06-08 08:56:41 +00:00
TreeHugger Robot 043cf1557a Merge "DO NOT MERGE" into sc-dev am: 77afcf32f3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14885687

Change-Id: I85ea0c10c02086fcf539e0bf7255c060c378fa63
2021-06-08 08:55:40 +00:00
zakcohen 370e783674 DO NOT MERGE am: 1fb6718c85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14885687

Change-Id: I0979cda3bf21947188a3301b7c73442d0c9c8e60
2021-06-08 08:55:39 +00:00
Stevie Kideckel 6985015274 Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev am: acf27b6d64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881294

Change-Id: Ic5e415d1eb01767a8caa5b810fe797ce9f431826
2021-06-08 08:55:02 +00:00
TreeHugger Robot 77afcf32f3 Merge "DO NOT MERGE" into sc-dev 2021-06-08 08:46:55 +00:00
Stevie Kideckel acf27b6d64 Merge "Fix accounting for the position/offset of headers with collapsing views" into sc-dev 2021-06-08 08:37:25 +00:00
Pat Manning 0b5f695912 Merge "Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-v2-dev am: 9acaf302ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14805376

Change-Id: I9352fba6202a64e5b83442890d76d5b59c44ed06
2021-06-08 08:34:42 +00:00
Pat Manning 9acaf302ad Merge "Animate live tile translation and update live tile page scroll on dismissal of non-live tile tasks." into sc-v2-dev 2021-06-08 08:21:01 +00:00
Stevie Kideckel fd9bfd3aab Fix accounting for the position/offset of headers with collapsing views
The offset should be taken before views are modified, the position
should be taken after. This fixes an off by one issue when expanding a
header below another already expanded header.

Bug: 183378651
Test: verified locally
Change-Id: I4987d57846d7bcde23b76280f800f19350b3521e
2021-06-08 07:08:42 +00:00
Tony Wickham 7f134ecb33 Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce am: 96cb92075e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859

Change-Id: I77b001d31e62f5abf06f7753eb32e05d7aee01a2
2021-06-08 00:34:17 +00:00
Tony Wickham 09dc4d9342 Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce am: 3f25e91586
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859

Change-Id: Iea1a847054cc82b031b9308276beb08fde9984e5
2021-06-08 00:33:29 +00:00
Tony Wickham 3f25e91586 Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859

Change-Id: I48b55edefe3e6a77851ff9d903cf0af56e604ece
2021-06-08 00:10:26 +00:00
Tony Wickham 96cb92075e Have AlphaUpdateListener update visibility in onAnimationEnd() am: 26ab4621ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14882859

Change-Id: I00e4d1a00faf60ab164f8691d374fd0ba87c0002
2021-06-08 00:08:43 +00:00
zakcohen 1fb6718c85 DO NOT MERGE
Use focused task id for getting task size

When getting the selected task size, look at the focused task id, not
the running task id.
I believe this was a typo from the original change.

Bug: 190399315
Test: Local build and flash and run
Change-Id: Ice92e0562765f4f0142e27da0c38140df4c11425
2021-06-07 23:29:11 +00:00
Jonathan Miranda 90ef159208 Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1 am: fd4ed49073
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713

Change-Id: Ic6e7ffdbb19bcbe6f9fa9c9ab41a3c5e16ed47c6
2021-06-07 22:23:04 +00:00
Tony Wickham 26ab4621ce Have AlphaUpdateListener update visibility in onAnimationEnd()
Previously we were only updating visibility in onAnimationSuccess(), which doesn't handle the canceled case.

Test: swipe up from nav bar twice in all apps, ensure all apps is invisible/non-interactable
Bug: 190315266
Change-Id: Ic59e6d4b404de4ee2d17c45d6fa59e2aee70c65f
2021-06-07 22:16:22 +00:00
Jonathan Miranda 0adfdfc450 Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1 am: 0622a1e470
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713

Change-Id: I1e8886aee1b59754ff4bda1a87d97395fd95f362
2021-06-07 22:09:29 +00:00
Tony Wickham 2a94943e5d Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev am: 4b916764a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14884146

Change-Id: I24b8f59eb427fb0da776982eceb88ac9d64fb8da
2021-06-07 22:09:18 +00:00
Jonathan Miranda fd4ed49073 Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713

Change-Id: I2af08ae7e74165d9f71734d2a7b28960b421eb91
2021-06-07 22:03:45 +00:00
Jonathan Miranda 0622a1e470 Merge "New folder icon style (uncropped icons)." into sc-dev am: 93c0cfadb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849713

Change-Id: I1ff62aaacada2c95922ae0166c10d95bf2448d57
2021-06-07 22:03:43 +00:00
Tony Wickham 4b916764a4 Merge "Fix regression where nav bar shows when taskbar is showing" into sc-v2-dev 2021-06-07 21:53:38 +00:00
Jonathan Miranda 93c0cfadb1 Merge "New folder icon style (uncropped icons)." into sc-dev 2021-06-07 21:48:50 +00:00
Steven Ng 15f052c8a5 Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976 am: 542d81bf59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297

Change-Id: I6cdff1b84d9f830decf6333c063b249883f3cd8a
2021-06-07 21:05:53 +00:00
Steven Ng ef4cdc11be Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976 am: 8354f61df5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297

Change-Id: I6b32b7fd75459f4c3fa4de9178f1bf8eab338c49
2021-06-07 21:04:55 +00:00
Steven Ng 8354f61df5 Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297

Change-Id: Ic9ded2e2ab8bc4d03914b045b6cd46fcfa4bca74
2021-06-07 20:51:43 +00:00
Steven Ng 542d81bf59 Merge "Fix preview layout crash upon screen rotation" into sc-dev am: 0062822976
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14881297

Change-Id: I2b9d1ef0fe6588b0050f1422cd27fc56ff7056ec
2021-06-07 20:48:22 +00:00
TreeHugger Robot 153ab1613c Merge "Fixing taskbar window not collapsed after closing folder" into sc-v2-dev am: 8235469f43
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14849712

Change-Id: I56adafb7848d8836bace5c2f42ee4d5a77de5aa2
2021-06-07 20:43:32 +00:00
Steven Ng 0062822976 Merge "Fix preview layout crash upon screen rotation" into sc-dev 2021-06-07 20:38:39 +00:00
TreeHugger Robot 8235469f43 Merge "Fixing taskbar window not collapsed after closing folder" into sc-v2-dev 2021-06-07 20:22:10 +00:00
Jay Aliomer ee19f26269 Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2 am: 9ee33330c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551

Change-Id: I982bcf9aaab0d2a596fccafc95ac450371db1015
2021-06-07 20:09:52 +00:00
TreeHugger Robot feb8b1deec Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev am: ab8543e11a am: 744244464e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844552

Change-Id: Id572830d13a998f23c3e15b05c29d1a0da289b18
2021-06-07 20:09:46 +00:00
Jay Aliomer cb98642cb2 Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2 am: 2cb6281f87
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551

Change-Id: I9d11919be931a98753c024da44ecfdd030d05604
2021-06-07 20:04:16 +00:00
TreeHugger Robot a801c89e26 Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev am: ab8543e11a am: 47f7094868
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844552

Change-Id: Iedd78a185add79400154219f34b5a71692088233
2021-06-07 20:04:10 +00:00
Jay Aliomer 9ee33330c0 Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551

Change-Id: Ib06e2672de8a56ad4af37e6a92a0999a021a435e
2021-06-07 19:51:10 +00:00
TreeHugger Robot 744244464e Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev am: ab8543e11a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844552

Change-Id: Icc5a27e02d68f05f78f3136f71a93f6046eb47c3
2021-06-07 19:50:53 +00:00
Jay Aliomer 2cb6281f87 Merge "Improve local color extraction handling." into sc-dev am: 4049f539c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844551

Change-Id: I3290ed00b8852f84d32e5f6842cd950f0b8e0172
2021-06-07 19:48:22 +00:00
TreeHugger Robot 47f7094868 Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev am: ab8543e11a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14844552

Change-Id: I9c637b3cd79627e711089499070614947091e811
2021-06-07 19:48:00 +00:00
Jay Aliomer 4049f539c2 Merge "Improve local color extraction handling." into sc-dev 2021-06-07 19:45:13 +00:00
TreeHugger Robot ab8543e11a Merge "Make status bar icons visible in pin widget dialog scrim." into sc-dev 2021-06-07 19:33:14 +00:00
Tony Wickham 0dd8345085 Fix regression where nav bar shows when taskbar is showing
- Add mNavBarButtonAlpha to TaskbarStateHandler, and set it to the inverse of the taskbar alpha.
- Add mPendingSetNavButtonAlpha for when setNavBarButtonAlpha() is called before mSystemUiProxy is initialized.

Test: Go between various launcher states and ensure nav bar only shows up when taskbar hides.
Bug: 187353581
Change-Id: I4b79280d686c787e9128e753070ec591d1ab2e4d
2021-06-07 12:14:17 -07:00
Steven Ng db4ec8ac1a Fix preview layout crash upon screen rotation
Preview layouts are rendered via LauncherAppWidgetHostView. These
layouts are not yet added to the launcher. And thus, there is no
LauncherAppWidgetInfo.

Test: When a preview layout is shown in the recommended widget section,
      rotate the screen. No crash is observed.
Bug: 190395009
Change-Id: Ib1d080a106681fbfe3a4293f9f51f9576ef9414b
2021-06-07 18:55:47 +01:00
Alina Zaidi 2e4d15d2b5 Make status bar icons visible in pin widget dialog scrim.
Use dark icons on status bar in light mode.

Bug: 189389865
Test: tested manually
Change-Id: I121fb59f52a9062ee301e1db3d8a3a7e9139ed5a
2021-06-07 18:22:55 +01:00
Hyunyoung Song 7c71042a4b Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe am: 4812d98d20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351

Change-Id: I615ad00e222172476b665b3b7b1eb37185f70f8c
2021-06-07 15:24:02 +00:00
Hyunyoung Song 09f7da4d7d Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe am: a2f87bef6e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351

Change-Id: I91648f4f137c6af922f740d4514505fbf672921a
2021-06-07 15:21:57 +00:00
Hyunyoung Song a2f87bef6e Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351

Change-Id: If8f00a4cb12d7942c0d582a45a43372ce89f030a
2021-06-07 15:09:47 +00:00
Hyunyoung Song 4812d98d20 Merge "Icon sizes/ keyline / font for AA+ results" into sc-dev am: 02b62ed6fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14837351

Change-Id: I9430884d8de36aa12219c9195efd534fb6e6ee87
2021-06-07 15:07:48 +00:00