Commit Graph

6886 Commits

Author SHA1 Message Date
Alex Chau 7a8e2a259a Merge "Clean up screen record for tests" into sc-v2-dev am: bf89b27f90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15410564

Change-Id: Ic90766ea48cc757dd968e35a6e88938186fc5296
2021-07-29 17:12:30 +00:00
Alex Chau bf89b27f90 Merge "Clean up screen record for tests" into sc-v2-dev 2021-07-29 17:00:12 +00:00
Thales Lima 7bd0203a0e Merge "launcher: change default state for RecentsActivity" into sc-v2-dev am: 3c1a1195b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371935

Change-Id: I48d3bfd1addf5cc66ed58939691649d5ac98ac7d
2021-07-29 12:27:44 +00:00
Thales Lima 3c1a1195b4 Merge "launcher: change default state for RecentsActivity" into sc-v2-dev 2021-07-29 12:13:50 +00:00
Alex Chau 27ee6447db Clean up screen record for tests
- Add new record and remove obsolete ones

Bug: 193440212
Bug: 193125090
Bug: 192005114
Test: manual
Change-Id: I860c42961e710e1542d9d911338dd359896b6970
2021-07-29 11:01:09 +01:00
Lucas Dupin 103d4536dd Merge "Add depth to -1 screen" into sc-v2-dev am: 6d80cafc68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15405469

Change-Id: I8eddc6d9dc3747d435847422b580bc85912c0299
2021-07-28 21:54:47 +00:00
Lucas Dupin 6d80cafc68 Merge "Add depth to -1 screen" into sc-v2-dev 2021-07-28 21:40:42 +00:00
TreeHugger Robot e8a936f96e Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev am: d750d16b69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406135

Change-Id: I54225ee1227ca979620266972989e271898ebf9f
2021-07-28 20:05:19 +00:00
TreeHugger Robot d750d16b69 Merge "Let TaskbarDragView scale up before switching to system drag view" into sc-v2-dev 2021-07-28 19:52:43 +00:00
Lucas Dupin 87d752062e Add depth to -1 screen
Wallpaper will zoom out as you drag the overlay

Test: manually pull overlay
Fixes: 192502999
Change-Id: I9067b70d10497d4e16a5ef601161fbedfa9307e1
2021-07-28 12:36:31 -07:00
Tony Wickham 27ab9d96eb Let TaskbarDragView scale up before switching to system drag view
Test: Long press taskbar icons, ensure they aniamte the scale up
Fixes: 182981908
Change-Id: I573fe66c93ebf995b3f56f2c003dee987687b6a7
2021-07-28 08:03:14 -10:00
Thales Lima 0cdf92f90c launcher: change default state for RecentsActivity
When the user presses the home button, because fallback Recents doesn't
have a way to change the state, we rely on `onStop` to reset the state.
This makes the state be cleared correctly.

Fixes 192254944
Test: follow the bug

Change-Id: I177b09392214d078373e3852517b57d9172d944d
2021-07-28 16:03:43 +00:00
TreeHugger Robot ea1d6f9796 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev am: b574095bf8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15406133

Change-Id: Iec3f27847eb47a608548a2e02f404031454300a2
2021-07-28 11:50:51 +00:00
TreeHugger Robot b574095bf8 Merge "Nullify mParallelRunningAnim after it ends to avoid updating it" into sc-v2-dev 2021-07-28 11:30:54 +00:00
Alex Chau 8b11c3b574 Merge "Tune Overview size according to VisD" into sc-v2-dev am: 8e83f31100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15371943

Change-Id: I742f4474937a14976b6ce941b139a158b9fda53c
2021-07-28 10:56:18 +00:00
Alex Chau 8e83f31100 Merge "Tune Overview size according to VisD" into sc-v2-dev 2021-07-28 10:41:16 +00:00
Tony Wickham c35c6b8863 Nullify mParallelRunningAnim after it ends to avoid updating it
Keeping the stale reference after the animation ends is dangerous because if we call end() on it, it will jump to the now-obsolete end value.

Test: atest NexusLauncherTests:com.android.launcher3.memory.MemoryTests#testAppLaunchFromWorkspace
Bug: 193440212
Change-Id: I8ca45db7ceec2d6e6a9c6e69a6e0359fd73a7d27
2021-07-27 22:06:00 -10:00
Tony Wickham c910a3a02f Merge "Don't recreate touch controllers when ending gesture" into sc-v2-dev am: 42fe934768
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388699

Change-Id: Id884894b568f0b9eb5b8292e5678af4f5156a8fe
2021-07-27 17:24:14 +00:00
Tony Wickham 42fe934768 Merge "Don't recreate touch controllers when ending gesture" into sc-v2-dev 2021-07-27 17:05:58 +00:00
TreeHugger Robot 48d050eeb3 Merge "Overview - leave modal state on orientation changes." into sc-v2-dev am: 07e74119ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15379173

Change-Id: Ia6d1d90ab32285ff162e454badded1ffc04cfbf3
2021-07-27 08:21:16 +00:00
TreeHugger Robot 07e74119ee Merge "Overview - leave modal state on orientation changes." into sc-v2-dev 2021-07-27 08:01:10 +00:00
Tony Wickham e0da81dd34 Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev am: 5ba08b348b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388923

Change-Id: Idbfc4ad75c410a9c51fccd30af2775590cc0f2a4
2021-07-27 00:14:08 +00:00
Tony Wickham 5ba08b348b Merge "Update taskbar background color to match overview's dark mode" into sc-v2-dev 2021-07-26 23:58:13 +00:00
Lucas Dupin fd0803fc84 Merge "Request early wake-up when zooming" into sc-v2-dev am: d9713b2665
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15388815

Change-Id: I0ec30f36671e829d02685a7ef76150356f946725
2021-07-26 22:21:46 +00:00
Lucas Dupin d9713b2665 Merge "Request early wake-up when zooming" into sc-v2-dev 2021-07-26 22:09:01 +00:00
Tony Wickham 67c36d3b3c Update taskbar background color to match overview's dark mode
Note that taskbar is intentionally dark even when dark theme is off, whereas overview changes to light.

Test: visual with a few wallpapers
Bug: 191614244
Change-Id: I30f8c2f04047ea26fa726c9e470b87637a6c502e
2021-07-26 11:53:23 -10:00
Tracy Zhou 5de2802a4c Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0 am: c94002600a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: Ica40da0945ef3c4b83a4be0d489333b73e123949
2021-07-26 21:50:01 +00:00
Tracy Zhou cd8e798097 Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I1f6bad994a472a678c3e4d099ab25138eb0e0a6b
2021-07-26 21:38:54 +00:00
Tracy Zhou c94002600a Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev am: 024749a1e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15365516

Change-Id: I881b9d322e67699ecea9414b3db2f72d05e80c3b
2021-07-26 21:35:42 +00:00
Tracy Zhou 024749a1e0 Merge "Reset current task and dequeue overview commands when recents animation is cancelled" into sc-dev 2021-07-26 21:17:38 +00:00
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 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 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 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 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 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 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 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