Commit Graph
58436 Commits
Author SHA1 Message Date
Sunny Goyal 6e342b0633 Merge "Simplifying the drop animation code" into sc-v2-dev am: 0c299cb324
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14907966

Change-Id: I8c092c8af808bd198891ee319a5a8cd3a0ea375f
2021-06-16 23:28:52 +00:00
TreeHugger Robot 0bf000104f Merge "Fix bug where preview item icon fades/disappears for a frame during" into sc-dev 2021-06-16 23:24:58 +00:00
Sunny Goyal 0c299cb324 Merge "Simplifying the drop animation code" into sc-v2-dev 2021-06-16 23:18:16 +00:00
Steven Ng 71cefb593f Deduct padding from widget size only if padding has been inset
Test: Set the grid to 4x5 (without padding) and verify the min / max
      size sent to Conversation widget is expected.
Bug: 190498032
Change-Id: I8ef6e5d897ebd0e2ea9af4497b00059c8dfad70a
2021-06-17 00:15:52 +01:00
TreeHugger Robot 744d057053 Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb am: c51564bb7a am: 43c300c987
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I4848c4e370ef4816cd462704108a4fe018b9a88e
2021-06-16 23:08:46 +00:00
TreeHugger Robot 4a0e2f03ef Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb am: 2fab58310a am: 97c60ae313
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: Ie27db3d61362f88c44d50c78a92edbd8f61530ae
2021-06-16 23:08:15 +00:00
TreeHugger Robot 43c300c987 Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb am: c51564bb7a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I27429df8afb62001b5b86d65bd2c352a4b3ccc4c
2021-06-16 22:58:44 +00:00
Steven Ng 7e31e9b267 Modify AT_LEAST_S check to include SDK int
BuildCompat.isAtLeastS() in Launcher dependency only checks if the
code name is "S". In the recent version of Android, the code name has
changed to "REL".

Test: Open Widgets picker, expand Conversations and observe a preview
      layout is shown.
Fix: 191239040, 191216821
Change-Id: I6a6e647d4cb327d251bde3484ea2d2e79c0f86f5
2021-06-16 23:56:38 +01:00
TreeHugger Robot 97c60ae313 Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb am: 2fab58310a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I2a939b0fd4221e6d0c7ea8f7d4a02ece3038524d
2021-06-16 22:49:34 +00:00
TreeHugger Robot 6cbbb14bae Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb am: 447b5aa442
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I25b91625187d7abef59d1be3294cdfc6a623df3a
2021-06-16 22:48:49 +00:00
TreeHugger Robot c51564bb7a Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I5a92dc73ce2dcde24ea5fd7d826211e9d35a717e
2021-06-16 22:39:09 +00:00
TreeHugger Robot 447b5aa442 Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I48fe2734fb01fd7a66796a1d8dbc9a515290901c
2021-06-16 22:38:21 +00:00
TreeHugger Robot 2fab58310a Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev am: 4176cb33bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14970490

Change-Id: I688e7ccbba8dfa68a9d66a6004cd246f90b592a2
2021-06-16 22:38:17 +00:00
Sunny Goyal 787fac692a Merge "Updating taskbar icon alignment state" into sc-v2-dev am: e900ec68d0 am: 95707aa4ed
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14985085

Change-Id: Ie6c7f04a21dc7f4b3fcf14dce63062fefdfdc1fc
2021-06-16 22:33:58 +00:00
Samuel Fufa d04a92d1ed Refactor FolderInsetAnimationCallback to be used with any view
- Update ic_corp_off icon to outline
- Remove shadow from work toggle
- Translate work fab when keyboard is shown

Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y

Bug: 191251404
Bug: 191250785
Test: local
Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
2021-06-16 17:25:53 -05:00
TreeHugger Robot 4176cb33bb Merge "Reattach LauncherAppWidgetHostView to its parent after canceling drag" into sc-dev 2021-06-16 22:25:41 +00:00
Sunny Goyal 5d5085c5c3 Fixing widget not laid-out properly in preview
Bug: 185306338
Test: Manual
Change-Id: Ib1ec8a53e4701f6813813b86bf481b837127a909
2021-06-16 15:24:16 -07:00
Sunny Goyal 95707aa4ed Merge "Updating taskbar icon alignment state" into sc-v2-dev am: e900ec68d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14985085

Change-Id: Ie3d8423068ce6956fd4516249a6aa0f64dab1705
2021-06-16 22:21:22 +00:00
Sunny Goyal e900ec68d0 Merge "Updating taskbar icon alignment state" into sc-v2-dev 2021-06-16 22:08:07 +00:00
Jonathan Miranda 71dcfca35b Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3 am: d1698783b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: Ic82fbe9d634c41342c9b5aeb6c8d4987602cc81d
2021-06-16 21:23:23 +00:00
Jonathan Miranda a932020893 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3 am: 5d53f459bf am: 0d1c2f0524
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I93517321c44594357d09441ee6de90d4400bc39f
2021-06-16 21:08:40 +00:00
Jonathan Miranda 0d1c2f0524 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3 am: 5d53f459bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I5704f0434e5aafb46a89903d13b8ca868a705ff6
2021-06-16 21:07:44 +00:00
Jonathan Miranda dfd5896b59 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3 am: 897dfb5151 am: f150d6aec2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I04b9e041c6b7dd20e36ed9d0a73b2bdf0fac3494
2021-06-16 21:06:59 +00:00
Jonathan Miranda d1698783b6 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: Ib3e5371294b30b66765725d9186d0577456bbaeb
2021-06-16 21:06:43 +00:00
Pinyao Ting 9cd63c97ce Prevents a ConcurrentModificationException in Widget
InvariantDeviceProfile.supportedProfiles can be modified in respect to
configuration changes. This CL ensures the list was cloned before access
to prevent ConcurrentModificationException

Bug: 191231591
Test: manual
Change-Id: I123458dcfe99af4babca2cf73733e3d2af0fad3c
2021-06-16 21:02:48 +00:00
Jonathan Miranda f150d6aec2 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3 am: 897dfb5151
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I04dcb33d3aadcbf9b150f352c1eadb1842a011ee
2021-06-16 20:58:02 +00:00
Jonathan Miranda 974b85ec6f Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: c01e87daf0 am: 23551fbf29
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: Id39a7a6c2d668911d918b50d268a56fcb410306c
2021-06-16 20:55:08 +00:00
Hyunyoung Song 50dcb46f3a Merge "All apps motion" into sc-dev am: d2ad97989c am: cd4de5ed37 am: 7bc11be3ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: Iabd5b0506793b795e64884b8e591a55fae1b57e6
2021-06-16 20:55:03 +00:00
Jonathan Miranda 68759675bd Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: d2e9de7fa8 am: a1c8952dea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: Ic553f6cd137a128fef36438639db255d1f98b736
2021-06-16 20:54:57 +00:00
Hyunyoung Song 2d3b01e47f Merge "All apps motion" into sc-dev am: d2ad97989c am: e56b014bb0 am: 48ca3299e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I10ef39b3563c9c708d77d92a8cbd53c14a332149
2021-06-16 20:54:37 +00:00
Jonathan Miranda 897dfb5151 Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I8b19e0cde2a8bf295c87e5acb8b24bbd39635ce5
2021-06-16 20:53:12 +00:00
Jonathan Miranda 4ce9952f41 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: 95168f389e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I85c35932622f001fac00a9f0031b2d00bbcf674e
2021-06-16 20:52:50 +00:00
Jonathan Miranda 23551fbf29 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: c01e87daf0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I838a99b25e4ed3574e451ec752c12d517eda05b1
2021-06-16 20:52:31 +00:00
Hyunyoung Song 7bc11be3ee Merge "All apps motion" into sc-dev am: d2ad97989c am: cd4de5ed37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I3d7292a7b4e77b7f52a287ec42b90b7567d7fb77
2021-06-16 20:52:23 +00:00
Jonathan Miranda 5d53f459bf Merge "Update launcher text to match specs." into sc-dev am: f89c4280b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14986097

Change-Id: I5d5a52d74b42a8723ba3079112f8f0a9aa1f7911
2021-06-16 20:52:08 +00:00
Hyunyoung Song c6b3370f36 Merge "All apps motion" into sc-dev am: d2ad97989c am: 383f2176db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I9366d163d64cdf2cfafbd398b01424786f592f1a
2021-06-16 20:51:57 +00:00
Jonathan Miranda f89c4280b3 Merge "Update launcher text to match specs." into sc-dev 2021-06-16 20:51:48 +00:00
Jonathan Miranda a1c8952dea Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc am: d2e9de7fa8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I3d97cff1ba685b7a6ff0a7daafe608c689c0508c
2021-06-16 20:42:56 +00:00
Hyunyoung Song 48ca3299e2 Merge "All apps motion" into sc-dev am: d2ad97989c am: e56b014bb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I9a50908456481afe0a4259aaee2d7d0df339c03a
2021-06-16 20:42:50 +00:00
Jonathan Miranda c01e87daf0 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: Iecfbdc781852e24aafb92744f9a3de4ff5cbbd00
2021-06-16 20:39:08 +00:00
Jonathan Miranda 95168f389e Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I3a15b70a7299c1ed27b23ac7c906321b4ec35e04
2021-06-16 20:38:19 +00:00
Jonathan Miranda d2e9de7fa8 Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev am: 28e39335bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14987185

Change-Id: I435686c2438f00d81c93ab13b8f77f1a77ebf7e7
2021-06-16 20:38:16 +00:00
Yogisha Dixit 31748d87e6 Merge "Fix drop target icons being truncated." into sc-dev am: de268a51a1 am: c28aa4167d am: 19712f40b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899271

Change-Id: If84f420f122ca5e271045274d16bbbc772daf4ba
2021-06-16 20:36:24 +00:00
Jonathan Miranda 28e39335bc Merge "Add ENABLE_SCRIM_FOR_APP_LAUNCH feature flag." into sc-dev 2021-06-16 20:34:48 +00:00
Hyunyoung Song cd4de5ed37 Merge "All apps motion" into sc-dev am: d2ad97989c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: I0defd93e9d2a6cb99e2695ff185e0ef552dee5f6
2021-06-16 20:34:36 +00:00
Yogisha Dixit fcb50ed0b5 Merge "Fix drop target icons being truncated." into sc-dev am: de268a51a1 am: bd1581f030 am: 3c6814c1da
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14899271

Change-Id: I0067733569043663333b4021326f9b4f91b9de2e
2021-06-16 20:34:21 +00:00
Hyunyoung Song 383f2176db Merge "All apps motion" into sc-dev am: d2ad97989c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: Ic79779c3df9e4f93c8e40c95e96be9019c40c9ec
2021-06-16 20:33:50 +00:00
Hyunyoung Song e56b014bb0 Merge "All apps motion" into sc-dev am: d2ad97989c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14973766

Change-Id: Ia5b7deab78ebc6712b19451acb791d0b2b3849e8
2021-06-16 20:33:34 +00:00
Sunny Goyal 5cf86b263e Updating taskbar icon alignment state
Icon alignment is only tied to Launcher paused/resumed state
Creating two separate states for this:
  1) Launcher paused/resumed
  2) Active gesture interaction (live-titles can affect paused state)

Removing state handler dependency on taskbar visibility

Bug: 190170303
Bug: 187353581
Bug: 187919439

Test: Manual
Change-Id: Ia97cdf43cec1d9213f5dc2af8d66258b34c57514
2021-06-16 13:30:36 -07:00
Vinit Nayak 58ffbef8f0 Enable 3 button nav for taskbar
Bug: 180046394
Test: Switched between gesture and button nav on
phone and tablet.

Change-Id: Iac2357a3256f8b6b36ca49d3680594a91e824a5f
2021-06-16 13:26:21 -07:00