Commit Graph

6193 Commits

Author SHA1 Message Date
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
Ashwini Oruganti 23c2836690 Add an exported flag in manifest
With b/150232615, we will need an explicit value set for the exported
flag when intent filters are present, as the default behavior is
changing for future versions. This change adds the value reflecting the
previous default to the manifest.

These changes were made using an automated tool, the xml file may be
reformatted slightly creating a larger diff. The only "real" change is
the addition of "android:exported" to activities, services, and
receivers that have one or more intent-filters.

Bug: 150232615
Bug: 158198882
Test: TH
Exempt-From-Owner-Approval: mechanical refactoring
Change-Id: I083a7bcab968c881f7cdff7152a249691ffac316
2020-06-04 18:25:35 -07: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
Adam Cohen fa6e021ce6 Merging from ub-launcher3-rvc-dev @ build 6557059
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6557059.html

Change-Id: I9c0912f26445d454f71c4f0f63d45b184726db3d
Merged-In: I280025d9e58626fe725fe24ca60c28e89d0cee74
2020-06-04 15:02:12 +00:00
Zak Cohen c1ea2b4d8f resolve merge conflicts of 2e0a297ddc to master
Change-Id: I98c38ef84aa72ab0c5b41f88f61690995da74fef
2020-06-04 04:25:38 +00:00
Zak Cohen 1e7b4b850f Resolve markers - Fix build break.
Test: local compile
Bug: 156757117

Change-Id: I95cdfa34ecde95768f82a14463a4b91cf5012d8e
2020-06-04 04:07:34 +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
Adam Cohen f903d2c910 Merging from ub-launcher3-rvc-dev @ build 6557059
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6557059.html

Change-Id: I280025d9e58626fe725fe24ca60c28e89d0cee74
2020-06-04 00:56:51 +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 1b5923e5e5 Screenshots - move to new api that uses image bundle.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I5d688abc87a89ae93e2e2f9a0e13410c511cc15e
2020-06-03 23:30:42 +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
Andy Wickham 3212b10941 Adds Dark mode support to Sandbox.
Screenshots
Back: https://drive.google.com/open?id=1brE9WLWGeKaOgzMsczpV40rPIckOk1YJ
Home: https://drive.google.com/open?id=1zexyFPsXr4VzvwlMqhLv720kqHh7s66v
Tutorial complete: https://drive.google.com/open?id=1UbeIDYMQR04lzJhGK7rp2rSdmhiHl5QR

Fixes: 157483039
Change-Id: Id9753a00832dbe42316fbdcaf447f3a51a45bc3e
2020-06-03 13:48:39 -07:00
TreeHugger Robot 170dcedf14 Merge "Fixing exception when applying transaction while the surface is released" into ub-launcher3-rvc-dev am: 19fc8b6a83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11348721

Change-Id: Idbb25c38937cb1d37d6b75f2c53e89a5d11475e9
2020-06-03 20:29:44 +00:00
Adam Cohen e557bac0a1 Merging from ub-launcher3-rvc-dev @ build 6552182
Bug:150504032
Test: manual, presubmit on the source branch
x20/teams/android-launcher/merge/ub-launcher3-rvc-dev_rvc-dev_6552182.html

Change-Id: I795aafd151c6ce53077e1aebb97567eedd84f274
Merged-In: I795aafd151c6ce53077e1aebb97567eedd84f274
2020-06-03 20:28:44 +00:00
Samuel Fufa f667a1352d Restore hotseat when user turns off suggestions immediately after migration
- Creates a backup table `hybrid_hotseat_restore` and copies current workspace layout before hotseat migration
- restores to back up when user turns off suggestions and launcher receives empty predicted items
- deletes hybrid_hotseat_restore table if there's a layout change

Test: Manual
Bug: 157688471
Change-Id: Iaf7ddb33799493d36dbcd12408b57224162221d9
2020-06-03 13:15:21 -07:00
TreeHugger Robot 19fc8b6a83 Merge "Fixing exception when applying transaction while the surface is released" into ub-launcher3-rvc-dev 2020-06-03 20:15:16 +00:00
Sunny Goyal f665787d0d Only animating QSB if it is visible when going home
Bug: 154863593
Change-Id: Icee925578985639e1117ff624a422082123bea1e
2020-06-03 13:11:57 -07:00
Zak Cohen c74195a1ab Shared Lib - add stub for handleImageBundleAsScreenshot. am: 1e60bb54ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11722399

Change-Id: I91ab9b0f4d886173e932770178253a968d582a2b
2020-06-03 19:58:00 +00:00
Zak Cohen 1e60bb54ca Shared Lib - add stub for handleImageBundleAsScreenshot.
Bug: 156757117
Test: local compile
Change-Id: I2e249055cc8f917b169943569e0c624df823ffb3
2020-06-03 19:13:00 +00:00
thiruram 35bebb3e07 Log tapping on split screen & free form icons within task menu. am: b812b3ff60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11710641

Change-Id: Ieee0df294bc22a25df76fee022100a99976be826
2020-06-03 18:07:48 +00:00
thiruram a00bcf326c Log tap on app info within task menu.
Override TaskShortcutFactory.dummyInfo to logs 'task -> app info' as TaskEvent and 'app icon -> app info' as AppEvent.

Bug: 157770913
Sample Log: https://docs.google.com/document/d/1FXi_jY1B63aMSjNyomAmoN1nSTtVbvculNGX7TKdRRw/edit#bookmark=id.j2cziephk9fy

Change-Id: I448a489fcc93324f6082eba2857644feb5d6bca3
2020-06-03 10:55:39 -07:00