Commit Graph

49925 Commits

Author SHA1 Message Date
Thales Lima 7bb79ae8e2 Tune menu size
Fix: 223351193
Bug: 214586519
Test: check sizes with HSV and Window
Change-Id: I2fa8d03eb80e952ebc238e6f4db5563f774128cd
2022-04-13 14:21:36 +01:00
András Klöczl 49b885997f Merge "Change page snapping logic for large screen devices" into tm-dev am: fed1182660 am: 6b18816e92
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17504354

Change-Id: Iae64fccf355758a77b5c8ad5280d769b47fe1a13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 12:26:06 +00:00
András Klöczl 6b18816e92 Merge "Change page snapping logic for large screen devices" into tm-dev am: fed1182660
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17504354

Change-Id: I471a49e7524f9b4d4910df422db70c9f9a897af7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 12:03:18 +00:00
András Klöczl fed1182660 Merge "Change page snapping logic for large screen devices" into tm-dev 2022-04-13 11:18:39 +00:00
Shikha Malhotra 4fbfe29328 Merge "Review comments followup" into tm-dev am: 80a315e50f am: 1c60b6e04a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17691944

Change-Id: Ia520bd9d37417bea504e659c98315cf01d0a117c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 11:07:36 +00:00
TreeHugger Robot fe848881db Merge "Adjust the insets frame providing method per API change" into tm-dev am: d9939d8174 am: 5894f5fcac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17517844

Change-Id: I759c6dc6ac52f9fa8b1b10a193badd34965ba234
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 11:07:26 +00:00
Pat Manning 8c4dd9e6dc Update edit state drop target and hotsteat margins.
Bug: 227336507
Test: manual
Change-Id: Id47f312e00d86143e6c95d21d6e37b7196590cef
2022-04-13 12:04:08 +01:00
Shikha Malhotra 1c60b6e04a Merge "Review comments followup" into tm-dev am: 80a315e50f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17691944

Change-Id: Ia61cb943d017055a95279743e8df367c788032fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 08:37:14 +00:00
Shikha Malhotra 80a315e50f Merge "Review comments followup" into tm-dev 2022-04-13 08:00:31 +00:00
TreeHugger Robot 5894f5fcac Merge "Adjust the insets frame providing method per API change" into tm-dev am: d9939d8174
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17517844

Change-Id: Ifc722c6e3a9a494037eb739f3f11d028c847f264
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 02:30:12 +00:00
TreeHugger Robot d9939d8174 Merge "Adjust the insets frame providing method per API change" into tm-dev 2022-04-13 01:53:04 +00:00
Bill Yi 50594a6a1b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9fb83496e458e0a3429700de3c250992aeb5fc55
2022-04-12 21:27:04 +00:00
Bill Yi e3fc5e9cfd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia67232bd9040cd254ace523cf0e32b60fa147e90
2022-04-12 21:26:28 +00:00
Bill Yi 1d313372fe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc067459518e15838a8a472234a26eb7b2214ebd
2022-04-12 21:25:52 +00:00
Bill Yi c5f5f9c52e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4daefbce88dcea72178dcd9aa0fbd630586216b3
2022-04-12 21:24:42 +00:00
Bill Yi 261f9f89a4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06498caaf6bd15194efc45fc07aa98da68df1ef9
2022-04-12 21:24:16 +00:00
Bill Yi 05e2272138 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30fb3d0870ddb6c69511b5200058dd3b4961479
2022-04-12 21:23:51 +00:00
Bill Yi af25e91b3a [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 8c619a2b52
Blank merge reason: commit message contains skip directive

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

Change-Id: Iddc5b25fde1413cdadfd4c909eddc3570bc5417f
2022-04-12 21:21:24 +00:00
Bill Yi 8c619a2b52 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e187a5b7f88bbcf8e3255177c21e1d2ba342210
2022-04-12 21:21:07 +00:00
Bill Yi 6f41d53de9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I23c6b47f55ab4fbf719d576ba9c134c2e50fd4aa
2022-04-12 21:20:31 +00:00
Andras Kloczl 07111f25f4 Change page snapping logic for large screen devices
Use 15% of the screen width instead of 40% of the page
width currently used for phones.

Test: try page snapping on Launcher home
Bug: 213305066
Change-Id: I6a525100bf942c5089f580a27250c425ca95cf00
2022-04-12 20:23:23 +01:00
Pat Manning c90095537e Merge "Animate clear all button's alpha after last task has scrolled beyond its edge." into tm-dev am: 08a408408c am: b2c3d4f58b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17319410

Change-Id: I9742f559d2a35adf0bb468d58139e18a886dc00b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 17:45:12 +00:00
Pat Manning 7b25f00e9a Add drop target button overlap correction to second button only. am: 7013ee716d am: a4ce1fb679
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17707269

Change-Id: Icf5216757c9e37877749e07a5fe3177923027cfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 17:45:06 +00:00
Pat Manning 48beebbed5 Update widget edit icon to use material colors.
Fix: 216821024
Test: manual
Change-Id: I3c3e463e33d7a611010e426eca1378cde027c6d6
2022-04-12 18:26:06 +01:00
Pat Manning b2c3d4f58b Merge "Animate clear all button's alpha after last task has scrolled beyond its edge." into tm-dev am: 08a408408c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17319410

Change-Id: I9e0c88c8902022e2764d96911b6df58d818f56ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 17:21:27 +00:00
Pat Manning a4ce1fb679 Add drop target button overlap correction to second button only. am: 7013ee716d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17707269

Change-Id: I0bc6009a6ad8e99eab3e6d0582f45ccd77633fea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 17:21:08 +00:00
Pat Manning 08a408408c Merge "Animate clear all button's alpha after last task has scrolled beyond its edge." into tm-dev 2022-04-12 17:04:24 +00:00
Shikha Malhotra f78da1bae3 Review comments followup
These are review comments followup from ag/17399997

Bug: b/218187058
Test: manually test thet Launcher3 features work correctly
Change-Id: I9865a37c1ed663370dc28e7678994f3d961e3cd1
2022-04-12 14:33:07 +00:00
Pat Manning 29fbab4ddd Animate clear all button's alpha after last task has scrolled beyond its edge.
Test: manual
Fix: 208879377
Change-Id: Iad43abbe36d11317869a0c5aa6a8d59fd1fddb67
2022-04-12 15:32:06 +01:00
Pat Manning c14003bb86 Merge "Adjust grid cell visualizations." into tm-dev am: 4349d21246 am: 6ea4a31c35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586930

Change-Id: Ia67ef6be1a61b4a9d9013712f751c419a73704d1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 12:29:28 +00:00
Pat Manning 6ea4a31c35 Merge "Adjust grid cell visualizations." into tm-dev am: 4349d21246
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17586930

Change-Id: I7f92034213bd884455c314ee0cc3c4d13b309ab0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 12:07:00 +00:00
Pat Manning 7013ee716d Add drop target button overlap correction to second button only.
Bug: 228311837
Bug: 228311837
Test: manual.
Change-Id: Ib9256deadd58c7350143221bf98c79415aaf9bc4
2022-04-12 12:54:15 +01:00
Pat Manning 4349d21246 Merge "Adjust grid cell visualizations." into tm-dev 2022-04-12 11:50:38 +00:00
Brian Isganitis 4720118dd1 Defer unstashing taskbar on all apps close if gesture in progress. am: 4ad53f1268 am: 12d8747d8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625367

Change-Id: If3f511acb4a842ea69f0986fe7feb8856c8747d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 05:54:21 +00:00
Brian Isganitis 12d8747d8e Defer unstashing taskbar on all apps close if gesture in progress. am: 4ad53f1268
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17625367

Change-Id: Iefb13795ad5f2530f7dae98d701448c7efcd3e49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 05:39:22 +00:00
Brian Isganitis 4ad53f1268 Defer unstashing taskbar on all apps close if gesture in progress.
This behavior is more consistent with how we update taskbar stashing when IME is dismissed.

Test: Verified stashing behavior with gestures, 3-button, and bottom sheet dismiss.
Fix: 223837786
Change-Id: Ib85ebe629f33f0bddc36bbc8d99136711105b279
2022-04-11 19:54:53 -07:00
Tracy Zhou 54e104eb7c Merge "Play icon alignment animation in live tile mode" into tm-dev am: b5d7744c1b am: 00789f97af
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17464395

Change-Id: I8b296ab4fe55bf7117fe17a8aa70636e53398041
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 01:29:07 +00:00
Tracy Zhou c82ebeae21 Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev am: abc2288399 am: 71dcdc3c80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17677036

Change-Id: I8dde917402a71faafe48850b1a351b9babff3574
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 01:29:02 +00:00
Tracy Zhou 00789f97af Merge "Play icon alignment animation in live tile mode" into tm-dev am: b5d7744c1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17464395

Change-Id: Ie22712fb2fa1f5c3c3c71cd6b25c522d43088fa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 01:00:52 +00:00
Tracy Zhou 71dcdc3c80 Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev am: abc2288399
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17677036

Change-Id: Id556083667a1232bd1e1ee6fb7de3495f1a1fe02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 01:00:09 +00:00
Tracy Zhou c2538d748a Add originalView of the menu to SystemShortcut
Split from home animation needs to originate from the app icon instead of the menu item icon. This can be useful for other animations in the future.

Bug: 226395821
Test: N/A
Change-Id: If45d80e347ba275bd550b6acd6ad81b319e753a3
2022-04-11 17:13:35 -07:00
Tracy Zhou b5d7744c1b Merge "Play icon alignment animation in live tile mode" into tm-dev 2022-04-12 00:05:34 +00:00
Tracy Zhou abc2288399 Merge "Update task bar icon alignment logic when launcher is paused and resumed in Overview" into tm-dev 2022-04-12 00:03:15 +00:00
TreeHugger Robot 512dc207fc Merge "Fixing potential ANR when fetching for wallpaper info" into tm-dev am: 2b80d6f813 am: 24e69d07cf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17693761

Change-Id: I09d6c4149ce044ad4afaf9f96ffcf90e3fded8e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 23:19:55 +00:00
Tracy Zhou d4ed2f7717 Update task bar icon alignment logic when launcher is paused and resumed in Overview
If launcher is paused and resumed in overview, goingToUnstashedLauncherStateChanged doesn't change, so we should not use goingToUnstashedLauncherState as a signal for the end value of mIconAlignmentForResumedState anim

Bug: 223109070
Test: go to overview, use the share functionality, share to drive, and make sure task bar ends up in stashed state. Making sure that it never unstashes is out of scope for this change
Change-Id: I5684be6b58279a9b41e257dd72591f7d692c2fbc
2022-04-11 23:12:49 +00:00
Tracy Zhou 42e30963c3 Play icon alignment animation in live tile mode
aka launcher is not resumed but recents animation is running

Fixes: 210047102
Test: Go to overview in live tile mode, tap on somewhere outside any task in overview, and make sure icon alignment animation is played.
Change-Id: Ic300ee296049b6fdcdf6d2595916cc84c09d95fa
2022-04-11 16:11:28 -07:00
TreeHugger Robot 24e69d07cf Merge "Fixing potential ANR when fetching for wallpaper info" into tm-dev am: 2b80d6f813
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17693761

Change-Id: I16eefe0ec4cce1e3e486b44963a451327da2d6bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 22:58:48 +00:00
TreeHugger Robot 2b80d6f813 Merge "Fixing potential ANR when fetching for wallpaper info" into tm-dev 2022-04-11 22:43:43 +00:00
Hongwei Wang 51cf7d18a7 Pass sourceRectHint to auto-enter-pip transition
Bug: 198309223
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eODHpvqAQPfbwjFamtRYC1
Test: manual, see video
Change-Id: I169603c5285f9a226ab0423dbd36d8e3e2ca51a1
2022-04-11 14:33:44 -07:00
TreeHugger Robot 841d3e359a Merge "Don't use double padding in DeferredAppWidgetHostView if that would result in negative width" into tm-dev am: 2c9195b988 am: 6dcc74b183
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17691951

Change-Id: I15c83f7b9fceb514e7e5dfde3be52be106fad677
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 21:17:08 +00:00