Commit Graph

47938 Commits

Author SHA1 Message Date
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
TreeHugger Robot 6dcc74b183 Merge "Don't use double padding in DeferredAppWidgetHostView if that would result in negative width" into tm-dev am: 2c9195b988
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17691951

Change-Id: I995da17585c9e30c8e769ae28509314bc823d8e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:54:05 +00:00
TreeHugger Robot 2c9195b988 Merge "Don't use double padding in DeferredAppWidgetHostView if that would result in negative width" into tm-dev 2022-04-11 20:33:30 +00:00
Sunny Goyal ba7cf0dc7d Fixing potential ANR when fetching for wallpaper info
Bug: 214581894
Test: Manual
Change-Id: I616b34b0ce6c96ed360073b2e8ff4eed81190add
2022-04-11 13:21:35 -07:00
Brian Isganitis 5b89b31b12 Log taskbar all apps entrypoint, launches, and drags
Test: wwdebug, wwlogcat, ensure container is formatted as follows:
    container_info {
      all_apps_container {
        taskbar {
        }
      }
    }
Bug: 204696617
Change-Id: I2492b133f95fccb059010bc9e5ed6cce73c211f9
2022-04-11 12:14:14 -07:00
Alex Chau e8a60abc83 Don't use double padding in DeferredAppWidgetHostView if that would result in negative width
Fix: 203530620
Test: manual
Change-Id: I4aeff08e4fafec74e6a1bb031dfa14ae9d59e87e
2022-04-11 18:39:40 +01:00
Bill Yi 11285834e7 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 795a9a8cee -s ours am: 9c46ee63e9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I10f4703fde202cc839085078beea34527c19d18d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 15:55:49 +00:00
Bill Yi 25311633b8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 92fd7b6e20 -s ours am: 074cb25ca1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7ccad8b5cecf073777768ab5462974f9c73b8325
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 15:55:48 +00:00
Bill Yi 9c46ee63e9 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 795a9a8cee -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3c2978f7ccdb52bb891a29431487998721f2491b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 15:32:09 +00:00
Bill Yi 074cb25ca1 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 92fd7b6e20 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I39a98ddfdc571a3e177af66a6b1f24b3769741ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 15:32:07 +00:00
Josh Tsuji 6a08eaa6ea Merge "Add the staggered ring appear animation!" into tm-dev am: 538581639e am: ab3e1ce286
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Change-Id: I501d47da93325b8a9d9a5bbc0f63d2f1b5be11db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 15:18:16 +00:00
Bill Yi 795a9a8cee Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-11 15:15:08 +00:00
Josh Tsuji ab3e1ce286 Merge "Add the staggered ring appear animation!" into tm-dev am: 538581639e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17356398

Change-Id: I366273dab842698e890a2728340d9dd20c05202b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 14:56:35 +00:00
Josh Tsuji 538581639e Merge "Add the staggered ring appear animation!" into tm-dev 2022-04-11 14:32:44 +00:00
Alex Chau 7747773b80 Merge "Force update orientation handler for initial recents view state." into tm-dev am: e7b727e88e am: bdeab492c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17658703

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