Commit Graph

13651 Commits

Author SHA1 Message Date
TreeHugger Robot 909f00873d Merge "Only set property state after back button instantiated" into sc-v2-dev am: f7602976e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15391625

Change-Id: I1a2e870c50489c8c3c0ca6b83290b3ea08e1016b
2021-07-26 20:58:11 +00:00
TreeHugger Robot f7602976e2 Merge "Only set property state after back button instantiated" into sc-v2-dev 2021-07-26 20:55:08 +00:00
zakcohen 5b144ea31f Overview - leave modal state on orientation changes.
Bug: 194424293
Test: Local

Change-Id: I913dd5cb85aa1c52d79a8876a78a677a586da9c7
2021-07-26 13:51:47 -07:00
Tony Wickham 0e9ecaeea8 Don't recreate touch controllers when ending gesture
Test: swipe up to overview from an app and swipe up to dismiss it during the transition
Bug: 189700453
Change-Id: I303696f90dbb236ea93e06d94a3c92d783850fa4
2021-07-26 10:40:56 -10:00
Tracy Zhou 94e798bac1 Reset current task and dequeue overview commands when recents animation is cancelled
Fixes: 193925362
Test: manual
Change-Id: I792be003e5aabf34324075829d5381cba591892b
2021-07-26 12:17:01 -07:00
Vinit Nayak 1b3078258f Only set property state after back button instantiated
Fixes: 194374924
Test: Repro steps don't cause crash
Change-Id: I5ece220469f420d59698a56816057e248306fd32
2021-07-26 11:50:02 -07:00
Lucas Dupin 4a7acaed37 Request early wake-up when zooming
This way we'll be less likely to jank on 120Hz devices.

Test: manual
Fixes: 194680560
Change-Id: Ieff93f234701649514f8905c20c19cef231c816b
2021-07-26 11:19:39 -07:00
Alex Chau 38dad54d80 Add overviewShowAsGrid to DeviceProfile am: 646f804627 am: 989e308fcb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15390570

Change-Id: I0aa8ebd55ae03a68f52ce12ef3169ed4a5033eb5
2021-07-26 13:35:16 +00:00
Alex Chau 989e308fcb Add overviewShowAsGrid to DeviceProfile am: 646f804627
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15390570

Change-Id: I5907e2bda63b34a1cf49e1268beeb049695e824e
2021-07-26 13:18:41 +00:00
Alex Chau 5fd9d491b0 Tune Overview size according to VisD
- Removed modalTransformY as overview actions no longer need to move in modal view
- Moved row spacing and page spacing to DeviceProfile
- Added several tablet / orientation specific DeviceProfile params

Bug: 194194694
Test: Manual
Change-Id: Id5435e7f6fc1b6fb7c0e55e55fa240cf84c4d6da
2021-07-26 12:01:30 +01:00
Alex Chau 646f804627 Add overviewShowAsGrid to DeviceProfile
- Simplified a lot of dp.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get() usage

Bug: 194194694
Test: manual
Change-Id: Idfb0ad192048106bbe6f8e2a28fa5613b86e5208
2021-07-26 11:59:34 +01:00
Jerry Chang 8242c1c924 Merge "Reset divider bar visibility after long pressing on taskbar" into sc-v2-dev am: 27ee995528 am: 010e769133
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15366815

Change-Id: Ib147a10c422bc3132ae0ca63ce7a2a25ef66adf2
2021-07-26 01:43:18 +00:00
Jerry Chang 010e769133 Merge "Reset divider bar visibility after long pressing on taskbar" into sc-v2-dev am: 27ee995528
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15366815

Change-Id: I46952f4a24c98b3af38d51f24b4e39e9a04461f8
2021-07-26 01:27:21 +00:00
Jerry Chang 27ee995528 Merge "Reset divider bar visibility after long pressing on taskbar" into sc-v2-dev 2021-07-26 01:13:21 +00:00
TreeHugger Robot b298a2e428 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-07-24 05:59:28 +00:00
TreeHugger Robot aa4c71efa0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-24 05:42:14 +00:00
TreeHugger Robot 854dca7f4c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-24 05:18:57 +00:00
Bill Yi 7e07c1051f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I03ec412fb4afbd9231028329d815c52b97ef1795
2021-07-24 03:08:39 +00:00
Bill Yi 04fe295c93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I310fbc43d7545904ee50969dbc1af837210cebc0
2021-07-24 03:05:40 +00:00
Bill Yi 818238558a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I47acd077e560f94d070da5dd2c9b66ac07950e49
2021-07-24 03:05:08 +00:00
Sunny Goyal 6f6e219d5b Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851 am: e7f9f3ee7c am: 6c1f77dd85
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: I296e9c1222be2a5827e05a6c3fa44d47a8c43807
2021-07-23 22:59:41 +00:00
Sunny Goyal 6c1f77dd85 Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851 am: e7f9f3ee7c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: I2c7318ad21dac0e619ebe39bc5fc444b6039af9f
2021-07-23 22:53:18 +00:00
Sunny Goyal e7f9f3ee7c Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: Ia2e97076a790bcd3e6c5bcbae79231bd1815f64a
2021-07-23 22:48:48 +00:00
Sunny Goyal 6f32bff6b4 Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: I991868ffc0fdcd6f6548783fd7e6b23c80f60ecd
2021-07-23 22:47:09 +00:00
Sunny Goyal cc0f183bb3 Merge "Fixing touch events ignored in some cases" into sc-dev am: e0e64b4851
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15362818

Change-Id: I2a01ed8b901306937bd3ccea185fddb3d45c43e2
2021-07-23 22:46:28 +00:00
TreeHugger Robot 46c2d41c79 Merge "Hide taskbar on lockscreen" into sc-v2-dev am: 61eb1fe0ac am: bb8e304ee6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15264051

Change-Id: I667a07fc780f01908e5646f09fe3b8c5c43910ef
2021-07-23 19:36:19 +00:00
TreeHugger Robot bb8e304ee6 Merge "Hide taskbar on lockscreen" into sc-v2-dev am: 61eb1fe0ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15264051

Change-Id: I85a83bad3c2fbc4b5faad25c5fa0d932d5643823
2021-07-23 19:17:50 +00:00
TreeHugger Robot 61eb1fe0ac Merge "Hide taskbar on lockscreen" into sc-v2-dev 2021-07-23 19:01:26 +00:00
Alex Chau c1a459f633 Clean up debug flags and add more screen record am: 261708ba00 am: 4f7129330e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371934

Change-Id: I5a22605150e3a8001fbc6ebf61e5263fdc736cf5
2021-07-23 18:22:25 +00:00
Alex Chau 4f7129330e Clean up debug flags and add more screen record am: 261708ba00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371934

Change-Id: If0293bc29f711703d8def9a48e63becf3c55be0f
2021-07-23 18:10:36 +00:00
Alex Chau 261708ba00 Clean up debug flags and add more screen record
Bug: 193440212
Bug: 194484556
Test: manual
Change-Id: I1b09ae74462c86afb8effb0a2635fd0e70a59bf8
2021-07-23 15:42:01 +01:00
Alex Chau d3122f41a5 Merge "Avoid seeing ClearAllButton for overview grid's snap position" into sc-v2-dev am: f4afdc4167 am: aa0d699722
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15359119

Change-Id: I5453ca3a176d92bcdf5c77b4e0c0a531a91a8c5b
2021-07-23 11:57:01 +00:00
Alex Chau aa0d699722 Merge "Avoid seeing ClearAllButton for overview grid's snap position" into sc-v2-dev am: f4afdc4167
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15359119

Change-Id: I70244fbf58f22e8aa85a29b606a9b397b92304db
2021-07-23 11:44:39 +00:00
Alex Chau f4afdc4167 Merge "Avoid seeing ClearAllButton for overview grid's snap position" into sc-v2-dev 2021-07-23 11:27:27 +00:00
Jerry Chang f5ef75fd4d Reset divider bar visibility after long pressing on taskbar
Fix: 194164662
Test: enter stage split, long pressing on taskbar and observe
      the divider bar is visible.

Change-Id: I935283dd75442c47d4f3e8421943eea8e0f3cd7f
2021-07-23 02:38:40 +00:00
Sunny Goyal 58e81e5da1 Fixing touch events ignored in some cases
Bug: 160218103
Test: Manual
Change-Id: Ifa71e742451acecd8979a6833a202c6189b4df52
2021-07-22 15:27:43 -07:00
Ben Lin 1dbd5be25e Merge "PIP: Implement auto-rotate with gesture nav for Shell transitions." into sc-v2-dev am: 1800f916ad am: 8e9e07f484
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331679

Change-Id: I0c07af5a7158db94667d559556025282b2b9e869
2021-07-22 21:51:27 +00:00
TreeHugger Robot 7e7f595719 Merge "Animate SplitPlaceholderView when entering split from overview" into sc-v2-dev am: f2af895b20 am: 092efed8d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081296

Change-Id: I6091d6c30f9392cb15566ef6eab00c57505bf0ef
2021-07-22 21:51:11 +00:00
Ben Lin 8e9e07f484 Merge "PIP: Implement auto-rotate with gesture nav for Shell transitions." into sc-v2-dev am: 1800f916ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15331679

Change-Id: Ia320c6992d13619f1ff957cb70a6452b658705c3
2021-07-22 21:34:02 +00:00
TreeHugger Robot 092efed8d7 Merge "Animate SplitPlaceholderView when entering split from overview" into sc-v2-dev am: f2af895b20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15081296

Change-Id: Iacb80efc93142dfd2e970db9f65b8696c3aeb77a
2021-07-22 21:33:26 +00:00
Ben Lin 1800f916ad Merge "PIP: Implement auto-rotate with gesture nav for Shell transitions." into sc-v2-dev 2021-07-22 21:25:11 +00:00
TreeHugger Robot f2af895b20 Merge "Animate SplitPlaceholderView when entering split from overview" into sc-v2-dev 2021-07-22 21:17:35 +00:00
Vinit Nayak 2f4b18bada Hide taskbar on lockscreen
Add new animated float to disable taskbar
background value when keyguard is visible.

Fixes: 191857724
Test: Tested w/ and w/o bouncer for gesture + 3 button
Tested w/ IME pw on lock screen.

Change-Id: I2e1696fd25f4c170bfb2bc0694ccd644e453b1fe
2021-07-22 13:14:51 -07:00
Vinit Nayak 7903758d08 Animate SplitPlaceholderView when entering split from overview
Bugs tracked in b/181704764

Bug: 181704764
Test: Tested on phone and large screen in multiple orientations

Change-Id: I07509006ae3d1f4425dc5119d0c8ed52b41a3bc2
2021-07-22 20:12:26 +00:00
TreeHugger Robot 85b38729a8 Merge "Removing UI dependency from LauncherModel in case of 2-panel layout" into sc-v2-dev am: d327290762 am: 3694d653c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302087

Change-Id: I438361fe609dcfe38d5455ceb3139d5e5784ae06
2021-07-22 19:40:16 +00:00
TreeHugger Robot 3694d653c4 Merge "Removing UI dependency from LauncherModel in case of 2-panel layout" into sc-v2-dev am: d327290762
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15302087

Change-Id: Iee3afcdc1861954dbbabab7445ddb627fb0b72d9
2021-07-22 19:23:31 +00:00
Sunny Goyal 12e3f1f2f7 Removing UI dependency from LauncherModel in case of 2-panel layout
Bug: 175939730
Bug: 192431856
Bug: 185515153
Test: Manual
Change-Id: I8baa1cf9e5a8a04d5b8bc38c1f4b0755265cd8a9
2021-07-22 10:34:25 -07:00
Jason Chang 9008a57ae6 Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev am: 1b3f5d3883 am: 12a0357c31
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311532

Change-Id: I9abbe0fc14aee95f9195fada302c380f3a84d861
2021-07-22 17:28:02 +00:00
Jason Chang 12a0357c31 Merge "Fix unable to swipe up to exit one-handed mode under 2 button navigation" into sc-dev am: 1b3f5d3883
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15311532

Change-Id: I6459733abb399137224fe9c24ac7cdc63282dd9e
2021-07-22 16:54:17 +00:00
Alex Chau 41e77de54e Avoid seeing ClearAllButton for overview grid's snap position
- This is a follow-up of http://ag/15220572
- When determining if task's snap position is too close to ClearAllButton, avoid positions that will see part of ClearAllButton

Bug: 192254835
Test: manual
Change-Id: I09425075ff0c24835ac3c4e79856aef7985476b2
2021-07-22 16:14:15 +01:00