Commit Graph
33728 Commits
Author SHA1 Message Date
Bill Yi 5d3bf20650 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 968e80daac -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0ef37a0f72a99142dbac673896dfdd88da0f8550
2021-07-18 07:32:57 +00:00
Bill Yi 968e80daac Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a4046b443a41fcae2e8186cadf24d1e5d2ea296
2021-07-18 04:18:59 +00:00
TreeHugger Robot 10953234c2 Merge "Update widget manipulation colors to match AOD." into sc-dev am: affe686095
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311706

Change-Id: I6df9ef80f9b3524c604a0278a78b082d85e06749
2021-07-16 22:06:07 +00:00
TreeHugger Robot affe686095 Merge "Update widget manipulation colors to match AOD." into sc-dev 2021-07-16 21:36:35 +00:00
Yogisha Dixit b27b45001d Update widget manipulation colors to match AOD.
This CL makes two changes:
1. Changes the colors we use from system_accent1_50 ->
system_accent1_100 (light wallpapers) and system_accent2_700 ->
system_accent2_600 (dark wallpapers).
2. Changes when we use the light/dark colors. Before: light accent color
when wallpaper luminosity < 0.3. After: light accent color when wallpaper luminosity < 0.7.

Bug: 192359286
Test: manual on light/dark wallpapers with light/dark theme
Change-Id: I28abfd77439a16b4bb637376fd88180d536364cf
Merged-In: I28abfd77439a16b4bb637376fd88180d536364cf
2021-07-16 15:59:46 +00:00
TreeHugger Robot af36c20bd2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: bb12662b8c -s ours
am skip reason: subject contains skip directive

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

Change-Id: I28a9c6753ab9068757f8a3146203a50fccb51d9c
2021-07-16 15:14:46 +00:00
TreeHugger Robot a7b5a8a442 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: a47e60d8ca -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iaf968560b7fb4abf960426abd3d137ab6c0aa8c4
2021-07-16 15:14:42 +00:00
TreeHugger Robot bb12662b8c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-16 15:08:59 +00:00
TreeHugger Robot a47e60d8ca Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-16 15:05:35 +00:00
Bill Yi aaf56f0f9d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iea3e5d755411a8fc8b2e5a878815bf44b97e9f18
2021-07-16 02:54:26 +00:00
Bill Yi 0896cbc8f3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3d7b3786054b9790b140cbaa43b0d96196beb042
2021-07-16 02:51:58 +00:00
TreeHugger Robot aea4bed7e6 Merge "Fixing regression from animation not starting while in overview" into sc-dev am: f054bf5681
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305446

Change-Id: I2014b2a3322de2875b64ede01e26a65cc5f2c6dd
2021-07-16 01:43:40 +00:00
TreeHugger Robot f054bf5681 Merge "Fixing regression from animation not starting while in overview" into sc-dev 2021-07-16 01:27:02 +00:00
Winson Chung 558b18eb12 Fixing regression from animation not starting while in overview
Bug: 193830420
Test: Open an app in overview, tap on a notification
Change-Id: Ifd9797dc40d9fffbf9603bca98fcb4a4119e0444
2021-07-15 16:17:51 -07:00
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