Commit Graph

36748 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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
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
Vinit Nayak fd5e2ff933 Merge "Show all nav buttons when IME showing" into sc-v2-dev 2021-09-08 21:44:01 +00:00
Tony Wickham 9ac2800849 Don't allow starting DeveloperOptionsFragment on non-debug builds am: a343699760
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15787659

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

Change-Id: Icb78fa14b61431214dd2da1d373ae7e466572450
2021-09-08 21:28:46 +00:00
Alex Chau 817e0fa812 Fix crash when Workspace item is added to two panel home
Test: Run com.android.launcher3.ui.widgetRequestPinItemTest#testPinShortcut tests
      and com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Bug: 199150824
Change-Id: I8550970806eb0b9bfc246d4fb76ffbd0415b7647
2021-09-08 21:01:10 +01:00
TreeHugger Robot 20e9383d29 Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev am: 8d9eaf0c7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15786950

Change-Id: Ic48f15846d22e018042bc8d5e4a43ffbd37d374f
2021-09-08 19:19:36 +00:00
Tony Wickham a343699760 Don't allow starting DeveloperOptionsFragment on non-debug builds
Test: adb shell am start -n com.google.android.apps.nexuslauncher/com.android.launcher3.settings.SettingsActivity --es ":settings:fragment" "com.android.launcher3.settings.DeveloperOptionsFragment"
Fixes: 199302659
Change-Id: I33dd4db3444c0ccabbe4dc3bb80db4167aec6a03
2021-09-08 19:11:59 +00:00
TreeHugger Robot 8d9eaf0c7d Merge "Fixing itemInfoMatcher not working for folders" into sc-v2-dev 2021-09-08 19:10:20 +00:00
TreeHugger Robot 9f17e2e6c9 Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev am: b44b73ee3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15778398

Change-Id: I4b60c5829d2bb6599513ca690274992f7ee35566
2021-09-08 19:03:34 +00:00
TreeHugger Robot 399a391857 Merge "isable taskbar edu for tests" into sc-v2-dev am: f87a7409b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779384

Change-Id: I6ad67a8f9bbbc07bfea4caf7792e7a9e4d421085
2021-09-08 19:03:29 +00:00
TreeHugger Robot b44b73ee3a Merge "Moving roboelectic tests to instrumentation tests" into sc-v2-dev 2021-09-08 18:40:37 +00:00
TreeHugger Robot f87a7409b2 Merge "isable taskbar edu for tests" into sc-v2-dev 2021-09-08 18:36:08 +00:00
Sunny Goyal 266905160a Fixing itemInfoMatcher not working for folders
Bug: 197686628
Test: Manual
Change-Id: Ie43a55be6cce4bc73e38525388d744a649dbc740
2021-09-08 12:29:13 -04:00
Tony Wickham ad42bf08d1 Merge "Update taskbar color in onConfigurationChanged()" into sc-v2-dev am: 238bf4f30d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15779380

Change-Id: I47974777616e264a0fee9b6f392fbf4b8bcbc81a
2021-09-08 15:25:28 +00:00
Tony Wickham f8a064f347 isable taskbar edu for tests
Test: clear TASKBAR_EDU_SEEN pref, ensure edu shows during normal usage
Bug: 199100151
Change-Id: I8e59cfa22ccba77c588a0902d46021dd72c6e77d
2021-09-08 08:10:16 -07:00
Tony Wickham 238bf4f30d Merge "Update taskbar color in onConfigurationChanged()" into sc-v2-dev 2021-09-08 15:08:36 +00:00
Sunny Goyal 3e9a29c4d6 Moving roboelectic tests to instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: I197bc47181308bb0b79f3815a892b733abbcd1fd
2021-09-08 10:23:30 -04:00
Thales Lima 4f347ef3cf Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev am: 9223c1e27c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15726603

Change-Id: Idc653dbb5b86432f8f9626ee567ae22453bbeeda
2021-09-08 10:15:58 +00:00
Thales Lima 9223c1e27c Merge "launcher: show smartspace date card on Wallpaper & style" into sc-v2-dev 2021-09-08 09:58:11 +00:00
TreeHugger Robot 68e7b1a315 Merge "Prevent NPE when init device profile" into sc-v2-dev am: 11438429a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15781507

Change-Id: I3c5b65e287325b6176759bb9ff5f03fee9ad282c
2021-09-08 02:30:42 +00:00