Commit Graph

60459 Commits

Author SHA1 Message Date
Winson Chung 4c05fa3fba Replacing deprecated method
Bug: 219861883
Test: Builds
Change-Id: I8e008c042cb7fe74ced512b6a074892743ef25f8
2022-07-14 18:51:18 +00:00
Sunny Goyal 615f2edb76 Merge "Fixing Launcher crash if activity restarts while resixing widget" into tm-qpr-dev 2022-07-14 18:40:27 +00:00
Bill Yi 3be1b4c271 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I14b4f880ada60d2edc6742e273de01f7067c6aa0
2022-07-13 21:24:31 -07:00
Bill Yi 76494bebb4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0edd8727c5d8d9308d4f3677e10e31e235da598
2022-07-13 21:23:37 -07:00
Bill Yi 744cf122ba Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7227c022bbfabf97b5a2e56ddc13b9447af97b55
2022-07-13 21:22:42 -07:00
Bill Yi c0419a22fd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I33063a67ec140546b7eab08ef605fc5adedb2289
2022-07-13 21:21:49 -07:00
Bill Yi ef46825eb4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie30d608b08e253a8757fd48beefa54e38a363e06
2022-07-13 21:20:20 -07:00
Bill Yi afc7d6fdc5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I51d4492bab18fc272530df2c4bcedcf677ec859f
2022-07-13 21:19:43 -07:00
Bill Yi 7c74b797b5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I275d1a61d58b6c7243c6cd87a976183e39dff005
2022-07-13 21:19:05 -07:00
Bill Yi e5bf619267 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iafc3c190549cdbe7d6fae074a6937dff516039dd
2022-07-13 21:17:40 -07:00
Bill Yi a68ca5344f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id14eb20419b0c5d7dfb29c455507a5e760e05a18
2022-07-13 21:16:53 -07:00
Bill Yi 55845129b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I94fbaf735045200d8df3cb1a56947fc45e591f41
2022-07-13 21:16:05 -07:00
Android Build Coastguard Worker e021019687 Snap for 8827792 from 8b3fda7eb8 to tm-qpr1-release
Change-Id: I7e127fad5d070506399b10821f0a156e387fdcf7
2022-07-14 01:25:04 +00:00
Sebastian Franco b57c0b2762 Fixing findNearestArea to account for the padding.
The function findNearestArea calculates the corner of the
cell but in that calculation it doesn't account for the padding
in the cells.

Also, change ignoreOccupied because the name says one thing and
the code does the oposite so I change all true calls for false
calls and change the if to !ignoreOccupied so the description of
the parameter match the behaviour of the method.

Also, removing unused method.

Fix: 236134208
Fix: 236129504
Test: visualizing the components of findNearestArea in ag/19248816.
Change-Id: Iac50fbc76b4fa2acda21894ecb976ba612d468fe
2022-07-13 15:38:00 -07:00
Sunny Goyal cd89ca36b6 Fixing Launcher crash if activity restarts while resixing widget
When activity restarts, the widgetView gets onDetachFromWindow first
which inturn removes the AppWidgetResizeFrame from drawLayer while
the dispatchAttachToWindow was still in progress in DragLayer

Bug: 238416508
Test: Verified no crash after the change
Change-Id: I6359840c9fb3ae2719056845818620af19d3c94d
2022-07-13 12:22:01 -07:00
Tony Wickham bf7df8e7d2 Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev am: 8b3fda7eb8 am: f02057d685
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220284

Change-Id: Ib63e7a1431932ac0226414cbe865304534d7d178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 18:23:54 +00:00
Tony Wickham f02057d685 Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev am: 8b3fda7eb8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19220284

Change-Id: I20a00c519fda1e3ad0fec8e910dc2ba2f27c1b62
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 18:05:47 +00:00
Tony Wickham 8b3fda7eb8 Merge "Fix constant crash when setting MultiStateCallback.DEBUG_STATES=true" into tm-qpr-dev 2022-07-13 17:45:26 +00:00
Tony Wickham fd170e25cb Provide 0 insets to VoiceInteractionWindow in gesture nav
Test: Invoke assistant on tablet on both geture nav and 3 button mode;
In gesture nav mode: assistant shows at the very bottom of the screen,
layered on top of the taskbar background (in z order)
In 3 button mode: assistant shows right above the taskbar, which only
shows the 3 buttons (no taskbar icons) while assistant is showing
Fixes: 225200928

Change-Id: I2fbc05e696b58e8801e704092aa2741cb57c05c4
2022-07-13 10:33:12 -07:00
Schneider Victor-tulias 2f81ad1240 Merge "Pause the AllSetActivity background animation more reliably." into tm-qpr-dev am: 2b3bd3039b am: 3535dd5906
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19239008

Change-Id: I82a87521f56031ac1f4157611ecee43e2bd043f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:29:41 +00:00
Pat Manning c8c169a887 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev am: de5be15650 am: 07815a4015
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675989

Change-Id: I318530eb5b485b584a69d0ab5ed1274e41a0dbd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:29:29 +00:00
Schneider Victor-tulias 3535dd5906 Merge "Pause the AllSetActivity background animation more reliably." into tm-qpr-dev am: 2b3bd3039b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19239008

Change-Id: I14edb00abbe20a8c20deecad34ea12c0ce20f2f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:13:30 +00:00
Schneider Victor-tulias 2b3bd3039b Merge "Pause the AllSetActivity background animation more reliably." into tm-qpr-dev 2022-07-13 14:13:14 +00:00
Pat Manning 07815a4015 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev am: de5be15650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18675989

Change-Id: I9b583676f1225a875322a3598883adcefc2b3a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 14:13:09 +00:00
Pat Manning de5be15650 Merge "Show splash screen in quickswitch if thumbnail wrong aspect/orientation." into tm-qpr-dev 2022-07-13 13:56:34 +00:00
Pat Manning 89d0073c08 Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev am: e700efde22 am: 980bbf0f3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197012

Change-Id: I5e9e8117bd6546e3485318853899cbfc8bd166b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:38:54 +00:00
Pat Manning 56b2487ac6 Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev am: f77606c8be am: 655b454612
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195510

Change-Id: Iaf2ef80b0f42f8abc2c574ddf28ba6857beace72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:38:42 +00:00
Pat Manning 980bbf0f3b Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev am: e700efde22
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19197012

Change-Id: I29ea9726f8031a835bc6e7ad2d89285a1e0a7441
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:11:12 +00:00
Pat Manning 655b454612 Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev am: f77606c8be
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195510

Change-Id: I74e31b6a36daadf5eb76728928ca560e503e049c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:11:00 +00:00
Pat Manning e700efde22 Merge "Add DeviceProfile tests on all attributes across different configurations." into tm-qpr-dev 2022-07-13 10:45:50 +00:00
Pat Manning f77606c8be Merge "Clip taskbar size from bottom of thumbnail in overview." into tm-qpr-dev 2022-07-13 10:43:12 +00:00
Yunfan Chen 675be95cc0 Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev am: 4726b4fc21 am: 11bf8eb23c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19085273

Change-Id: I243fda5655b91fe0b1377cf5b79f818daa8f7bf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 03:36:33 +00:00
Yunfan Chen 11bf8eb23c Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev am: 4726b4fc21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19085273

Change-Id: I858618fe5c8310764a5dc726ab30cbf75f97c681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 03:14:29 +00:00
Yunfan Chen 4726b4fc21 Merge "Provide IME insets with insetsSizeOverrides" into tm-qpr-dev 2022-07-13 02:45:58 +00:00
Android Build Coastguard Worker 096025b929 Snap for 8822995 from eb966492f7 to tm-qpr1-release
Change-Id: I7bd5fd8bdbddc0df69bb80c78645823e7c9f2f7a
2022-07-13 01:25:40 +00:00
Winson Chung 4089c3547f Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev am: 0eb98be739 am: 5064184974
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19251370

Change-Id: If7f0c11c3fc0f3f182fb56c9498dabf316c0ad24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 01:00:04 +00:00
Winson Chung 5064184974 Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev am: 0eb98be739
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19251370

Change-Id: Ib1a516a83bf3a1e25405bf4a77a7362bdd00321c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 00:41:28 +00:00
Winson Chung 0eb98be739 Merge "Extend accessibility timeout indefinitely before overview screenshot" into tm-qpr-dev 2022-07-13 00:26:28 +00:00
Sunny Goyal dea1af0c3e Merge "Generalizing the PredicitonScroll view so that in can be used in all-apps" into tm-qpr-dev am: eb966492f7 am: e16fc5c878
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19089102

Change-Id: I25d7b3a854acd67bf674331d4ed64528f4a5f054
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 22:04:58 +00:00
Sunny Goyal e16fc5c878 Merge "Generalizing the PredicitonScroll view so that in can be used in all-apps" into tm-qpr-dev am: eb966492f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19089102

Change-Id: I2cfd2523cd4b9ef0f695fbd41a6293657e5b8a50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 21:48:16 +00:00
Sunny Goyal eb966492f7 Merge "Generalizing the PredicitonScroll view so that in can be used in all-apps" into tm-qpr-dev 2022-07-12 21:33:17 +00:00
Schneider Victor-tulias 5f6b07d31c Pause the AllSetActivity background animation more reliably.
- Pause the animation when the alpha <= 0.1f, rather than 0f
- Pause the animation when the AllSetActivity pauses
- Do not vibrate if the AllSetActivity is not resumed

Bug: 236924895
Test: manually launched AllSetActivity and swiped up at various speeds
Change-Id: I1019f680730cfc72e9ad305d7ae09cff8a1637be
2022-07-12 12:43:13 -07:00
Pat Manning 0041ae3543 Show splash screen in quickswitch if thumbnail wrong aspect/orientation.
Test: manual
Bug: 202826469
Change-Id: I8337876ba26bf82d4f65697a86e6727be713ad53
2022-07-12 18:21:06 +01:00
Winson Chung 8bd458b518 Extend accessibility timeout indefinitely before overview screenshot
Test: atest TaplTestsQuickstep#testOverviewActions
Bug: 236730000
Change-Id: I4db9fc01aaa048cead47e14c34df609bb43f3906
2022-07-12 16:31:57 +00:00
András Klöczl 3299478f1f Merge "Fix flaky/failing two panel TAPL tests" 2022-07-12 14:43:01 +00:00
Thales Lima 93097809a7 Merge "Take account of IME insets" into tm-qpr-dev am: 8693d0a52f am: f074e39a62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19193075

Change-Id: Iae8fe39981c6daf88ca7c3cb83a67d175b1e8b26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 13:20:54 +00:00
Alex Chau 2f98748b1b Merge "Make workspace and hotseat scale down in widgets picker" into tm-qpr-dev am: fbd9ebd0a0 am: 252ab19883
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19222026

Change-Id: Ia06c9e56e9676b91c31fe8311381c0fc8e7b0e19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 13:20:05 +00:00
Pat Manning 26f70f777e Add DeviceProfile tests on all attributes across different configurations.
Fix: 237542518
Test: DeviceProfilePhoneTest.kt
Test: DeviceProfileVerticalBarTest.kt
Test: DeviceProfilePhone3ButtonTest.kt
Test: DeviceProfileVerticalBar3ButtonTest.kt
Test: DeviceProfileTabletLandscapeTest.kt
Test: DeviceProfileTabletPortraitTest.kt
Test: DeviceProfileTabletLandscape3ButtonTest.kt
Test: DeviceProfileTabletPortrait3ButtonTest.kt
Test: DeviceProfileTwoPanelLandscapeTest.kt
Test: DeviceProfileTwoPanelPortraitTest.kt
Test: DeviceProfileTwoPanelLandscape3ButtonTest.kt
Test: DeviceProfileTwoPanelPortrait3ButtonTest.kt
Change-Id: I1596dcd1fb8c9b353cdfcab224d7670d88bed716
2022-07-12 14:17:18 +01:00
Pat Manning 9f61347bc6 Clip taskbar size from bottom of thumbnail in overview.
Remove other TaskView clipping logic as it is always false for other sides.

Fix: 234007059
Test: TaskThumbnailViewTest
Change-Id: I56210605fb8c2f433236a82932aaa2800afe392b
2022-07-12 13:27:25 +01:00
Thales Lima f074e39a62 Merge "Take account of IME insets" into tm-qpr-dev am: 8693d0a52f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19193075

Change-Id: I29b9b5db1f0ccadfa317234f52d31beeca868be5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 11:51:10 +00:00