Commit Graph

41857 Commits

Author SHA1 Message Date
Vinit Nayak 46e8a4f0bf Merge "Call exitSplitScreen() when user leaves split tasks" into sc-v2-dev am: 2d9741b832 am: 51b92dc3f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756863

Change-Id: I4d68f214c16c1dcea3c426422571d7e81aef69b0
2021-09-09 20:53:58 +00:00
Tony Wickham 1c12238964 Merge changes I032f7ffc,I384d7af0 into sc-v2-dev am: 94c673c64d am: f5bbbc074e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788129

Change-Id: I296e5993e25b077cf0c93e1c8345f1cb0f5fe864
2021-09-09 20:53:29 +00:00
Vinit Nayak 51b92dc3f9 Merge "Call exitSplitScreen() when user leaves split tasks" into sc-v2-dev am: 2d9741b832
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15756863

Change-Id: I406bf17faa53627ac7b4998489a2de6d183ecee4
2021-09-09 20:36:42 +00:00
Tony Wickham f5bbbc074e Merge changes I032f7ffc,I384d7af0 into sc-v2-dev am: 94c673c64d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788129

Change-Id: I180913ba70149443ecf04f52e83b72bf177ee734
2021-09-09 20:35:51 +00:00
Vinit Nayak 2d9741b832 Merge "Call exitSplitScreen() when user leaves split tasks" into sc-v2-dev 2021-09-09 20:19:20 +00:00
Tony Wickham 94c673c64d Merge changes I032f7ffc,I384d7af0 into sc-v2-dev
* changes:
  Add ability to start DeveloperOptionsFragment with filter pre-applied
  Add option to reset Onboarding Flows in Developer Options
2021-09-09 20:09:03 +00:00
TreeHugger Robot 211ddba6a7 Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev am: 8f0de5d711 am: b88bce8bb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177217

Change-Id: Ifb0b814f3eddabda54e99f32a5749bdbdd7d919f
2021-09-09 19:57:18 +00:00
Alex Chau c55a64483e Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY am: fef4d0e081 am: f681de8ce3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795679

Change-Id: Iee98cf89f7c498f0aefdf00ee6be0c8591972af8
2021-09-09 19:57:11 +00:00
TreeHugger Robot b88bce8bb9 Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev am: 8f0de5d711
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15177217

Change-Id: I8faf92aa56d0d4b663d7dd1cb8eca36344925ba9
2021-09-09 19:45:51 +00:00
Alex Chau f681de8ce3 Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY am: fef4d0e081
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795679

Change-Id: I0f29c1e1f1cea4b56bdb1dc252d1c1bdf03a35fc
2021-09-09 19:45:41 +00:00
TreeHugger Robot 8f0de5d711 Merge "Introduces haptic feedback to launcher overview" into sc-v2-dev 2021-09-09 19:19:26 +00:00
Alex Chau fef4d0e081 Allow restore between TYPE_PHONE AND TYPE_MULTI_DISPLAY
Bug: 199407109
Test: manual
Change-Id: I6eb982a79f4130925a9d7e0972faf0f01a6aac20
2021-09-09 18:24:51 +01:00
TreeHugger Robot 5909c09e9a Merge "Removing obsolete robo test setup" into sc-v2-dev am: 9874b5d68b am: 383b4cc229
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788159

Change-Id: I2d631a840f6ea37ecdd758642aeb900462280a18
2021-09-09 15:38:49 +00:00
TreeHugger Robot 383b4cc229 Merge "Removing obsolete robo test setup" into sc-v2-dev am: 9874b5d68b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788159

Change-Id: Id5ffaa87cad27e12ff3aa0b22f6ef343add75721
2021-09-09 15:19:54 +00:00
TreeHugger Robot 9874b5d68b Merge "Removing obsolete robo test setup" into sc-v2-dev 2021-09-09 15:02:57 +00:00
Pat Manning 3f6924783f Merge "Retain full opacity during task dismissal unless in bottom grid row." into sc-v2-dev am: 5319444c49 am: 05174b383d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15794177

Change-Id: Iacba7e8c592665b1efbbec1f533e8c0aa8063011
2021-09-09 15:00:29 +00:00
Pat Manning 05174b383d Merge "Retain full opacity during task dismissal unless in bottom grid row." into sc-v2-dev am: 5319444c49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15794177

Change-Id: I219b6f86aa93f89049692a75513e03f98f929b87
2021-09-09 14:42:56 +00:00
Pat Manning 5319444c49 Merge "Retain full opacity during task dismissal unless in bottom grid row." into sc-v2-dev 2021-09-09 14:30:31 +00:00
Sunny Goyal 848e297ea5 Removing obsolete robo test setup
Test: Presubmit
Bug: 196825541
Change-Id: Ic6559917a6581f358d8af4d50c079fe947b64e4e
2021-09-09 09:30:47 -04:00
Lais Andrade cc5c8843df Introduces haptic feedback to launcher overview
Haptics introduced at the key moments:

- Task scroll in overview or quick switch, trigger when a new task comes
to the center of the screen;
- Task scroll in overview when overscroll animation is triggered;
- Task dismissed in overview;

There is also a configured min gap between two scroll haptics set to
20ms to prevent fast scrolls from creating a chain of cancelled effects.

Fix: 182382085
Test: manual
Change-Id: I43c0f8c879a06f317e8a660240dafb7f7abe79f7
2021-09-09 14:08:01 +01:00
TreeHugger Robot a740e816b3 Merge "Scale task's rounded corners in grid to match focused task." into sc-v2-dev am: 87f764cea1 am: 1b1c73f981
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15785749

Change-Id: If44834876396f838c0f2e96c46e62c712041c0f9
2021-09-09 12:24:25 +00:00
TreeHugger Robot 1b1c73f981 Merge "Scale task's rounded corners in grid to match focused task." into sc-v2-dev am: 87f764cea1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15785749

Change-Id: I47aba2e8be40fb23757ad38e5f03d75ed04f12ce
2021-09-09 12:09:51 +00:00
TreeHugger Robot 87f764cea1 Merge "Scale task's rounded corners in grid to match focused task." into sc-v2-dev 2021-09-09 11:51:32 +00:00
Pat Manning 4adc87e982 Retain full opacity during task dismissal unless in bottom grid row.
Test: manual
Fix: 197645552
Change-Id: Ifff60f83679eacae4cd5850ed670d96287330082
2021-09-09 11:07:36 +00:00
Pat Manning d0f5791c84 Scale task's rounded corners in grid to match focused task.
- Track scaling during fullscreen progress and joining grid.
- Maintain grid corner scale as it becomes focused task.

Test: manual
Bug: 194194694
Change-Id: Ie05da0d28dc3176095d2bee160a0d83e18ca4011
2021-09-09 10:14:05 +00:00
Alex Chau e034b1c879 Merge "Set IconView drawable size for SplitPlaceholderView" into sc-v2-dev am: 9bd2802c9b am: 4dabbaa184
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780634

Change-Id: Idfc173f046fa2b6ae9ab5167b50114754055765c
2021-09-09 09:55:16 +00:00
Alex Chau 4dabbaa184 Merge "Set IconView drawable size for SplitPlaceholderView" into sc-v2-dev am: 9bd2802c9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780634

Change-Id: I3e8dde75f36840a401577ea3c19faee2329159f2
2021-09-09 09:39:55 +00:00
Alex Chau 9bd2802c9b Merge "Set IconView drawable size for SplitPlaceholderView" into sc-v2-dev 2021-09-09 09:26:31 +00:00
Vinit Nayak 036baed9ae Set IconView drawable size for SplitPlaceholderView
Bug: 194194694
Test: Invoking split from overview now shows app icon
Change-Id: Id0c4e253d5730b6eead73b97b5357804ca47cb8f
2021-09-09 09:25:55 +00:00
TreeHugger Robot d2eb7705a5 Merge "Slight polish for split screen gesture animation" into sc-v2-dev am: 3f8f61cb40 am: a6d015d41e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780633

Change-Id: Ie5307ded8aef7e03dc463723ef6602c33477cdeb
2021-09-09 03:48:07 +00:00
TreeHugger Robot a6d015d41e Merge "Slight polish for split screen gesture animation" into sc-v2-dev am: 3f8f61cb40
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780633

Change-Id: I1ab3573750d54afda764d77db7ad144a7f70eee6
2021-09-09 03:33:27 +00:00
TreeHugger Robot 3f8f61cb40 Merge "Slight polish for split screen gesture animation" into sc-v2-dev 2021-09-09 03:17:23 +00:00
Samuel Fufa 86a5fcfc8e Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev am: 8aecc9ac36 am: 2e4bb875d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788127

Change-Id: I6f1d81eb6675090941a6028589e0fcb612cbb9db
2021-09-09 01:47:37 +00:00
Samuel Fufa 2e4bb875d4 Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev am: 8aecc9ac36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15788127

Change-Id: Icf0456d3dd9ce4d1cdbcdcb1190211bfdaf3900d
2021-09-09 01:23:42 +00:00
Samuel Fufa 8aecc9ac36 Merge "[Work] Fix work apps showing in personal tab" into sc-v2-dev 2021-09-09 01:09:01 +00:00
Vinit Nayak d1a70eeb75 Slight polish for split screen gesture animation
* Divider bar dimensions manually calculated since
the leash that is provided has bounds larger than
the space that is visually shown between the two split
apps

Bug: 181704764
Test: Swipe up on large and normal screen,
w/ and w/o home rotation enabled

Change-Id: I1fde053151d47c6ce3e11f16f8ae4a153d273871
2021-09-08 17:39:49 -07:00
Vinit Nayak fc119626fe Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev am: 9d4966d0ca am: bd1f937198
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619054

Change-Id: I83321ecd9c278495af6cc2333e69a4f7cbb71a95
2021-09-08 23:43:12 +00:00
Vinit Nayak bd1f937198 Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev am: 9d4966d0ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619054

Change-Id: I8705de78355c3fe53f5dc3d5ae75db43dd173d7f
2021-09-08 23:28:06 +00:00
Vinit Nayak 9d4966d0ca Merge "Refactor TaskViewUtils to launch adjacent GroupedViewTaskView" into sc-v2-dev 2021-09-08 23:18:25 +00:00
Vinit Nayak 1409d29773 Refactor TaskViewUtils to launch adjacent GroupedViewTaskView
* TaskViewUtils only used one TVS, now it can use
multiple necessary for staged split.
* Consolidate creating RemoteAnimationTargets into
TaskViewSimulators/TransformParams into RemoteTargetGluer

Test: Swipe to overview, tap on running task.
Swipe to overview, tap on adjacent task (single + split)
Bug: 195675206

Change-Id: I31e4aece60e2eaf94ce87ffc736b33fe7e0e5804
2021-09-08 23:18:11 +00:00
TreeHugger Robot 63db45c1d9 Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev am: fd744975cc am: 1bde92ca95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786971

Change-Id: Icc319f23eab7545c196e2b95a5c27e428a63cf7b
2021-09-08 22:31:40 +00:00
TreeHugger Robot 1bde92ca95 Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev am: fd744975cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786971

Change-Id: I79c59338dfbef2b54fd87885afe175555258ae04
2021-09-08 22:19:13 +00:00
TreeHugger Robot fd744975cc Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev 2021-09-08 22:09:53 +00:00
Vinit Nayak 95f4acc95a Merge "Show all nav buttons when IME showing" into sc-v2-dev am: fd5e2ff933 am: 032ea8af12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780327

Change-Id: Idc6cc4804c5ce9fe94973e1ec82aaba513095f1b
2021-09-08 22:03:11 +00:00
Tony Wickham 4bde9e9eaf Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 9ac2800849 am: cfc02d0ef1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659

Change-Id: I17f6f75a70f7bae4cb3c4060ca636457c2cfbc8a
2021-09-08 22:03:06 +00:00
Tony Wickham adc40c11fb Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751 am: 81aee5e024
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659

Change-Id: Ia70df34fcf2715fcb1f8d9459bb7201521542583
2021-09-08 22:03:00 +00:00
Samuel Fufa 564e9ca223 [Work] Fix work apps showing in personal tab
The problem here is that we are tracking hasWorkApps and usingTabs using the same value.
 This leads to work/personal apps showing together when clearing search since mUsingTabs is overridden to false on setLastSearchQuery and later used to determine if tabs should show.
Bug: 198546279
Test: Manual

Change-Id: I7df5d65472703bedcc9dd688847d9ebd146d5f61
2021-09-08 15:02:24 -07:00
Vinit Nayak 032ea8af12 Merge "Show all nav buttons when IME showing" into sc-v2-dev am: fd5e2ff933
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15780327

Change-Id: I858a91d254b5d300905eb8aa55184b5dbb60456c
2021-09-08 21:50:21 +00:00
Tony Wickham cfc02d0ef1 Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 9ac2800849
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659

Change-Id: I1aca16c6331bd6d488f1f0ed88dc8e9b2401d8f0
2021-09-08 21:50:14 +00:00
Tony Wickham 81aee5e024 Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760 am: 85435ff751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659

Change-Id: Ic958cdc3ce8c7e478d6f4eefeec5bb1f87c9ede2
2021-09-08 21:49:46 +00:00