Commit Graph

3897 Commits

Author SHA1 Message Date
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
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
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 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 ac6420b0d4 Merge "Perform DB calls in MODEL thread" into ub-launcher3-rvc-dev 2020-06-05 17:49:45 +00:00
Samuel Fufa 142ca65d78 Perform DB calls in MODEL thread
Bug: 158127067
Change-Id: Ic7820f1ff877b37da550d77e3e166734508b2622
2020-06-05 09:48:21 -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
TreeHugger Robot 7d2011bfe0 Merge "Ensure view translationY is set back to 0 on staggered animation end." into ub-launcher3-rvc-dev 2020-06-05 01:27:44 +00:00
thiruram 11cb2e469b Log task pinning.
Bug: 158222725
Screencast: http://go/recall/-/fuZYA4w9pUEvRlF811dY61/YB77yNwmKGXX0LPqpcARD
Sample Log: https://paste.googleplex.com/5486164561625088

Change-Id: I2ba8732369a1fd01b046d2bf89e465c7287b599a
2020-06-04 16:22:45 -07:00
thiruram 5eb5cdfbe1 Populate FromState, ToState, EditText, Cardinality in LauncherUiChanged. am: 76d719143e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11741979

Change-Id: Ib84d954ce83258848fbbab0f7f9e93f482f6d5e3
2020-06-04 23:18:26 +00:00
Jon Miranda 0ba331273c Ensure view translationY is set back to 0 on staggered animation end.
Bug: 158104319
Change-Id: I2f15ad0604afe5cd6b458b5faf70e7873cd65717
2020-06-04 16:07:08 -07:00
thiruram 76d719143e Populate FromState, ToState, EditText, Cardinality in LauncherUiChanged.
Bug: 155410872
Change-Id: Ibe8af752fc37aa8358468a37ade36569342f7661
2020-06-04 22:54:47 +00:00
TreeHugger Robot fa5931f8c5 Merge "Update TaskView fullscreen params when updating the thumbnail matrix" into ub-launcher3-rvc-dev am: 42d16d758a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11688635

Change-Id: I04ad9d1fff61dc45e32f000249efc49ba25bfb6f
2020-06-04 21:34:03 +00:00
TreeHugger Robot 42d16d758a Merge "Update TaskView fullscreen params when updating the thumbnail matrix" into ub-launcher3-rvc-dev 2020-06-04 21:23:27 +00:00
Samuel Fufa fb318873f8 Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev am: 07e2b4b6e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11531791

Change-Id: Ia46130b013096a8d90604eec513e42e9edfe8ab7
2020-06-04 19:52:53 +00:00
Samuel Fufa 07e2b4b6e7 Merge "Allow hotseat edu in landscape mode" into ub-launcher3-rvc-dev 2020-06-04 19:42:11 +00:00
TreeHugger Robot 4ce0524101 Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev am: 7a41d1e909
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707954

Change-Id: Ifdcf6b7b51c539d5f7d1e710d8135f0a85a80769
2020-06-04 19:24:18 +00:00
TreeHugger Robot 7a41d1e909 Merge "Log tap on app info within task menu." into ub-launcher3-rvc-dev 2020-06-04 19:09:05 +00:00
Zak Cohen e4ad2ce1e2 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-04 11:32:10 -07:00
TreeHugger Robot fb4fa0c4c7 Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev 2020-06-04 16:41:44 +00:00
Andy Wickham 0425762c4e Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev am: ad6a4dceea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11688618

Change-Id: Ib10371ca89ee88a66722f7db13f127e4f3ece8ef
2020-06-04 01:43:04 +00:00
Andy Wickham ad6a4dceea Merge "Adds Assistant Sandbox tutorial." into ub-launcher3-rvc-dev 2020-06-04 01:30:22 +00:00
Zak Cohen 1af62e2323 Revert "Shared Lib - add stub for handleImageBundleAsScreenshot." am: f2a6d5b70f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11727199

Change-Id: I583606daecfc260c20eed3a527d1d6ace1cb8a6f
2020-06-04 00:10:48 +00:00
Bill Yi f2d2d1e084 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I0322065edda96559d79a8fbda5d05354b8460fda
2020-06-04 00:08:26 +00:00
Zak Cohen f2a6d5b70f Revert "Shared Lib - add stub for handleImageBundleAsScreenshot."
This reverts commit 1e60bb54ca.

Reason for revert: Stub not needed

Change-Id: I71e5bb38e37042addaaff75423bc47209d56a20b
2020-06-03 23:29:20 +00:00
TreeHugger Robot d93c0c39bb Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev am: 2191b49f03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11707951

Change-Id: If2386c9e593c72fa223b68106f1f82f97c12dd24
2020-06-03 22:41:26 +00:00
TreeHugger Robot 2191b49f03 Merge "[Overview Actions] UI update for Landscape." into ub-launcher3-rvc-dev 2020-06-03 22:31:45 +00:00
TreeHugger Robot f30eb7c350 Merge "Additional logging for swiping to home not working" into ub-launcher3-rvc-dev am: 41bafc8660
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11722410

Change-Id: I258302eb3591d202b251057b0041ecb70e7c8139
2020-06-03 22:05:54 +00:00
TreeHugger Robot cd6a7133ab Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev am: 55a758253b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11720146

Change-Id: Ib78c370eda25c377342a7ac4ee0d5e1def2fdced
2020-06-03 22:05:44 +00:00
TreeHugger Robot fbcc5bed2c Merge "Only animating QSB if it is visible when going home" into ub-launcher3-rvc-dev am: cfb9e15af9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11722404

Change-Id: I8f9247e0341161dafa05b48f28b88d97d559bcbe
2020-06-03 22:05:34 +00:00
TreeHugger Robot 41bafc8660 Merge "Additional logging for swiping to home not working" into ub-launcher3-rvc-dev 2020-06-03 21:59:26 +00:00
TreeHugger Robot 55a758253b Merge "Adds Dark mode support to Sandbox." into ub-launcher3-rvc-dev 2020-06-03 21:52:35 +00:00
TreeHugger Robot cfb9e15af9 Merge "Only animating QSB if it is visible when going home" into ub-launcher3-rvc-dev 2020-06-03 21:49:12 +00:00
Becky Qiu 160ca4b8a2 [Overview Actions] UI update for Landscape.
1. When home screen rotation is allowed, we still have action buttons for landscape, but remove bottom margin to shrink the UI.
2. When home screen rotation is not allowed, we do in-place rotation for overview, where we won't show action buttons.

Test: see demo video: https://drive.google.com/file/d/1G6ihv_DOykx1MLpFAQf3VJHq3D1HotnX/view?usp=sharing
Bug: 153736749

Change-Id: Ia1c7ef8c245ac13bf50adf32ee5114f23e491e75
2020-06-03 14:21:08 -07:00
Andy Wickham 6d0c5e845f Merge "Gesture-excluding activities also exclude Assistant gesture." into ub-launcher3-rvc-dev am: 93cdd8b40d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11687243

Change-Id: Iafb224ba4bc55e28974a26cf9547840fe73fa3ad
2020-06-03 21:18:19 +00:00
Andy Wickham 93cdd8b40d Merge "Gesture-excluding activities also exclude Assistant gesture." into ub-launcher3-rvc-dev 2020-06-03 21:13:52 +00:00
TreeHugger Robot 1f80e194c5 Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev am: 9f365cb782
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11666757

Change-Id: Ibd1a0d471fc9322041ca5f65317383e988aa35be
2020-06-03 21:11:36 +00:00
vadimt 2f29d8c2c8 Additional logging for swiping to home not working
Bug: 158017601
Change-Id: I16bf098cf53d7fc8402533456ad02dbf099a4638
2020-06-03 13:56:56 -07:00
TreeHugger Robot 9f365cb782 Merge "Restore hotseat when user turns off suggestions immediately after migration" into ub-launcher3-rvc-dev 2020-06-03 20:56:24 +00:00