Commit Graph

33714 Commits

Author SHA1 Message Date
TreeHugger Robot cd4017e00b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 8c4e93fe49 -s ours
am skip reason: subject contains skip directive

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

Change-Id: If54bd708535ccc2a309342837faf168384c8f348
2021-07-15 18:40:40 +00:00
TreeHugger Robot 30402e21ae [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 170a39b08f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id29280db87490d7c20a6f706cb86efeb1e675347
2021-07-15 18:40:37 +00:00
Cyrus Boadway e08c377a72 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev am: 66f1b57815
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15284080

Change-Id: I803a9decf159b4f2cdec9949e2af954fb81aa58a
2021-07-15 18:40:32 +00:00
TreeHugger Robot 8c4e93fe49 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:34:11 +00:00
TreeHugger Robot 170a39b08f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 18:31:31 +00:00
Cyrus Boadway 66f1b57815 Merge "Keep transparent drawable for clipping outline during launch animation" into sc-dev 2021-07-15 18:28:29 +00:00
Steven Ng 414e50b0f3 Fix class cast issue in AddItemActivity am: 671ffb88ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15299573

Change-Id: Ic1d75e6a1357a4ef43a6f3b92db578ed29c6ab08
2021-07-15 17:51:24 +00:00
Bill Yi 1fc7f990b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie927e0de6422f58f850efe83a6a7ba4e20a7333c
2021-07-15 17:18:25 +00:00
Bill Yi ddedb86ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07a46873b25609c6626be27f535de361b199c313
2021-07-15 17:17:13 +00:00
Steven Ng 671ffb88ca Fix class cast issue in AddItemActivity
AddItemActivity is a standalone activity. There is no Launcher activity
instance. Avoid using LauncherAppWidgetHostView in WidgetCell by
replacing it NavigableAppWidgetHostView instead

Test: Check preview layouts are correctly rendered in widgets picker
      and pin widget dialog. Also test drag and drop to verify the
      local color extraction still works when dragging a preview layout
      from widgets picker to home screen.
Fix: 193765783
Change-Id: I3a734a54941257cebcd7b7f6a4c2c9cc764c5c12
2021-07-15 16:06:51 +01:00
TreeHugger Robot 49e30257d8 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: a5e98ad98a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I698b1703deed44c2eaa358197c5e5cfc9707340d
2021-07-15 01:15:11 +00:00
TreeHugger Robot 13e54ea1bb [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: bd198386fc -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iff29f6037befd99252612c882ce26aab85fab1a8
2021-07-15 01:15:08 +00:00
TreeHugger Robot 261aaaa00c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: f48fc6ebdf -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ica468ad5f480f0755137e33e94f474d478efcbc8
2021-07-15 01:14:48 +00:00
TreeHugger Robot a5e98ad98a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 01:06:14 +00:00
TreeHugger Robot bd198386fc Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 01:00:20 +00:00
TreeHugger Robot f48fc6ebdf Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-15 00:54:16 +00:00
TreeHugger Robot 32762d9d30 Merge "Fix work profile disable button falsing" into sc-dev am: 753c8b7016
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15286021

Change-Id: I22b3decac44bd4c4592ae602bd4a09cb75960d6f
2021-07-15 00:42:26 +00:00
TreeHugger Robot 753c8b7016 Merge "Fix work profile disable button falsing" into sc-dev 2021-07-15 00:27:59 +00:00
Hongwei Wang 986dd5d804 Merge "Use display cutout info in auto-enter-pip transition" into sc-dev am: a35d7ec90e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15264643

Change-Id: I87f2cc29b1f9845fca3da5c62c6e186bc7904847
2021-07-15 00:07:30 +00:00
Hongwei Wang a35d7ec90e Merge "Use display cutout info in auto-enter-pip transition" into sc-dev 2021-07-14 23:52:42 +00:00
Hyunyoung Song 44424572b4 Fix work profile disable button falsing
Bug: 191996677

Test: before this CL: when tapping on immediately above keyboard when
keyboard is translating or when onApplyWindowInset is called, the
hidden (GONE) view handles touch and triggers work profile to be disabled.

After the CL, the button view is not attached to the parent container
when on personal tab. Also, the onApplyWindowInsets method translations
can only be called when work tab is selected.

Change-Id: Ib3e9a5c4b3280052f9ccb62a199ed256ae4e094f
2021-07-14 15:09:26 -07:00
Bill Yi c00f82b9a2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I66e91e3b191845a9055ab7a7229447b5d73cd06e
2021-07-14 21:41:32 +00:00
Bill Yi f2b0e01dd8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1cb8955229751514f4577ba5d37f8ad1d0ab56c5
2021-07-14 21:40:52 +00:00
Bill Yi 83d5e8ca39 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I59d3343c23a12713e00ff0f3b5c96eea4ffb437e
2021-07-14 21:40:23 +00:00
TreeHugger Robot 34660196da Merge "Remove press home command from AddConfigWidgetTest." into sc-dev am: 3ff0336f4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15188774

Change-Id: I04f6279d5411cf9816fac0681f10f415b93ece17
2021-07-14 20:42:30 +00:00
TreeHugger Robot 3ff0336f4a Merge "Remove press home command from AddConfigWidgetTest." into sc-dev 2021-07-14 20:25:09 +00:00
Cyrus Boadway 1cf5527ae8 Keep transparent drawable for clipping outline during launch animation
During the widget-activity transition, the widget foreground loses its
clipping radius, if the clipping is determined by a drawable. We remove
the drawable through the animation.

For widgets where there is content being clipped by the background's
corener radius, this results in the widget window appearing square
through the entire animation, then snapping in rounded corners on
animation-complete.

To solve this, we leave a transparent clone of the drawable in the
original drawable's place, for the balance of the animation, providing
the outline for clipping.

Manual testing against 20 Google widgets showed no regression in
behaviour in other cases.

Bug: 193665108
Test: manual

Change-Id: I3db31e4634c8dd6b22a513a976386d396445ebc2
2021-07-14 19:21:16 +00:00
Yogisha Dixit b9a1ac47b8 Remove press home command from AddConfigWidgetTest.
Context: b/192406323#comment4

Bug: 192406323
Test: AddConfigWidgetTest
Change-Id: I2741358de93f75ef7ed73ee97964020162542756
2021-07-14 10:38:31 +01:00
TreeHugger Robot 35615f3b40 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 9c8bcfcdef -s ours
am skip reason: subject contains skip directive

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

Change-Id: I86a00e2ea1b9b5b94feb70063ff47cdf012de313
2021-07-14 06:04:40 +00:00
TreeHugger Robot 80403732c6 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 6ab2ccdf1d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I995706b5b00e1f534193422f5077733679777838
2021-07-14 06:04:28 +00:00
TreeHugger Robot 9c8bcfcdef Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-14 06:00:49 +00:00
TreeHugger Robot 6ab2ccdf1d Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-14 05:51:08 +00:00
Bill Yi 1f96ec3ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id6b12fc5d2365c9bddbe1406006c404021463c9f
2021-07-14 04:27:32 +00:00
Bill Yi 3d7e1ff8f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0bd29843a664b6a0a4c106f0f7ac4a7505ef7602
2021-07-14 04:26:27 +00:00
TreeHugger Robot a969fa24fd Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev am: 2d12f20516
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15276138

Change-Id: I6d1be4b2b24c5cb740aabb20b3bad54df2ae7880
2021-07-14 04:21:59 +00:00
TreeHugger Robot 2d12f20516 Merge "NIU Actions: Hide button captions when feature is disabled" into sc-dev 2021-07-14 04:10:46 +00:00
Jon Spivack de28038e64 NIU Actions: Hide button captions when feature is disabled
Previously, only the buttons themselves were hidden when the feature was flagged off at build time. This adds the rest of the relevant layout UI (captions, spaces) to that logic.

Bug: 192692326
Test: Manual (Pixel 3A, enable_niu_actions on and off)
Change-Id: Ic58d9891887e3e0eb10d38af80b73f04cf66ea79
2021-07-13 18:56:45 -07:00
Schneider Victor-tulias 2a594ef1d7 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev am: ae2e5d9231
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15099479

Change-Id: I4a24b10e0535791030ca7d5d0a1b05fe6a2d2eb3
2021-07-13 23:40:22 +00:00
Schneider Victor-tulias ae2e5d9231 Merge "Update Gesture navigation tutorial to match new specs" into sc-dev 2021-07-13 23:27:45 +00:00
TreeHugger Robot 7e16dd19cc Merge "AA+ Final UX spec changes" into sc-dev am: bdb06a7d42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270059

Change-Id: Ic0b1493e2969726c1673aa80ce64daaafe82ac88
2021-07-13 20:58:09 +00:00
Hongwei Wang 854fbf8d23 Use display cutout info in auto-enter-pip transition
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bpKcGg1eoOo5Jz5U6IwBYK
Bug: 191310680
Test: manual, auto-enter-pip from landscape with source rect hint being
      turned on, see the video
Change-Id: Ic191fc73597132a5119522dda477a4319e35d1c8
Merged-In: Ic191fc73597132a5119522dda477a4319e35d1c8
2021-07-13 13:24:57 -07:00
TreeHugger Robot bdb06a7d42 Merge "AA+ Final UX spec changes" into sc-dev 2021-07-13 20:24:04 +00:00
Galia Peycheva 8982384ca6 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: 15936190e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259170

Change-Id: I7ebeae1dea11e8defc607c58ed3c5c44b564d111
2021-07-13 19:45:29 +00:00
Galia Peycheva 15936190e3 Merge "Adjust usages of cross-window blur to new radius" into sc-dev 2021-07-13 19:19:20 +00:00
TreeHugger Robot ff1474b43b Merge "Fix hole in recycler view" into sc-dev am: 3d6d2e38b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15270060

Change-Id: Icb9a52e946da9981abd0bd000a6ef382188fcd8d
2021-07-13 19:15:03 +00:00
TreeHugger Robot 3d6d2e38b0 Merge "Fix hole in recycler view" into sc-dev 2021-07-13 19:05:22 +00:00
Hyunyoung Song b6acd14d0f Fix hole in recycler view
Bug: 153780395
Test: manual

Without this change, typing single character and then
backspace, and then scrolling down and up will result in
hole in recycler view.

Change-Id: Iff6fa3f147d8bfdb8a7e84847b96e5390941dd4e
2021-07-13 09:51:42 -07:00
Hyunyoung Song 673b475787 AA+ Final UX spec changes
Bug: 192670508
Test: manual

Change-Id: Id448f31adef851175306cd513974a64a1f029e50
2021-07-13 09:43:08 -07:00
Steven Ng c044b3065e Merge "Fix shortcut size calcuation" into sc-dev am: 372e85106d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15259646

Change-Id: I65c176f07d090bdbcfeec22cefdd15e2ea1b2ef9
2021-07-13 14:09:14 +00:00
Steven Ng 372e85106d Merge "Fix shortcut size calcuation" into sc-dev 2021-07-13 13:59:41 +00:00