Commit Graph

47938 Commits

Author SHA1 Message Date
Andras Kloczl 9732df1add Fix two dragging related bugs in Launcher home
- accessibility bug: 199394124
- dragging on side bug: http://shortn/_LFBdIllupk

Test: manual
Bug: 199394124
Change-Id: I478e31332119f337bf0f8b6c92926845eb4889c4
2021-09-10 12:16:03 +01:00
Thales Lima eff745a76a Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev am: 02a5019cf3 am: 5c4e8c1a68
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795673

Change-Id: I81eb928451631c8be4782cb613bba57d1f362c76
2021-09-10 10:31:03 +00:00
Thales Lima 5c4e8c1a68 Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev am: 02a5019cf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15795673

Change-Id: I25702dc4090f29768a25321d356f86981b2ff516
2021-09-10 10:11:08 +00:00
Thales Lima 02a5019cf3 Merge "launcher: correct page spacing for multiple panels in RTL" into sc-v2-dev 2021-09-10 09:53:40 +00:00
Samuel Fufa eb500d53d9 [AllApps] Polish views according to specs
Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
Merged-In: I65f8c6152f54306756d6cb66de2581aff45b8d47
2021-09-09 16:45:05 -07:00
Vinit Nayak 6835115c13 Explicitly set X and Y values when offsetting split tasks
* Race condition where DeviceProfile that gets set on
TaskViewSimulator initially has incorrect values
(dp.isLandscape is incorrect)
* The correct one eventually gets set, but in the meantime
we set the split offset assuming in incorrect value in
PagedOrientationHandler#setLeashSplitOffset()
* Once corrected, we weren't removing the old offset
that was set. Now we ensure only either an X or Y offset set.

Bug: 199376724
Test: Enter split, rotate device and quickswitch.
Both tasks should be visible throughout the gesture

Change-Id: I9fa44642ab440a0200c0b0eb9b37574e47b7100d
2021-09-09 16:27:59 -07:00
Bill Yi 7c31ce6bf4 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours am: 2d5933ed56 -s ours am: 0892fd8b05 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1822871

Change-Id: I4f1e62ba4662899c601c8cb311e502447302d4c2
2021-09-09 23:18:43 +00:00
Android Build Coastguard Worker 8c7bb9aa01 Snap for 7717622 from 9874b5d68b to sc-v2-release
Change-Id: I1550374982cc31cb4766123d17b14de2c5ad5954
2021-09-09 23:12:55 +00:00
Bill Yi 0892fd8b05 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours am: 2d5933ed56 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1822871

Change-Id: I7809b520139a9279e357eff8dad9fac657e975fc
2021-09-09 22:48:38 +00:00
Colin Cross e762dbb141 [automerger skipped] Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp am: af52aea9a3 am: 9b17656ba1 am: ad2188fe9f -s ours
am skip reason: Merged-In I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e with SHA-1 bc4dc49c6c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689632

Change-Id: I9e90320e9c4ee30d5940520ccb3d94c8a345bffb
2021-09-09 22:40:09 +00:00
Alan Viverette 10bd30c2ce [automerger skipped] Disable eager initialization of Jetpack libraries am: 58dd935348 am: 9713c150f2 am: db37d96b83 -s ours
am skip reason: Merged-In I8f921ae26e873822ac2340ad78449cf1040af4cf with SHA-1 a88802ee92 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689631

Change-Id: Ieaba4ada730fa11f4586a446eba7dd343293ae7f
2021-09-09 22:40:01 +00:00
Bill Yi 2d5933ed56 [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours am: 62d10a162a -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1822871

Change-Id: I26f894873c13c18daaf75127eb7cdfe985540a77
2021-09-09 22:29:34 +00:00
Becky Qiu 9cbbc3a4b6 [OneSearch] Update the plugin interface to include more answer data.
Bug: 196586652
Test: tested with OneSearchPlugin.
Change-Id: I5c645828b83f1fe5b3bd2f71911b30e22909d56f
2021-09-09 15:19:24 -07:00
Colin Cross ad2188fe9f Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp am: af52aea9a3 am: 9b17656ba1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689632

Change-Id: I52e46ed8fcc9a47ad97da077ada959a719055ba4
2021-09-09 22:18:34 +00:00
Alan Viverette db37d96b83 Disable eager initialization of Jetpack libraries am: 58dd935348 am: 9713c150f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689631

Change-Id: Ida3ccd06d7edb8a922cba3d54ada6c04483277fd
2021-09-09 22:18:26 +00:00
Bill Yi 62d10a162a [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours am: 6772e75a3f -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1822871

Change-Id: Id6bc21f566eee79f19de15d17f657cac8b177ce0
2021-09-09 22:11:55 +00:00
Colin Cross 9b17656ba1 Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp am: af52aea9a3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689632

Change-Id: Ibeb279183863d166ba52922437e0a7b73d5bb124
2021-09-09 21:57:04 +00:00
Alan Viverette 9713c150f2 Disable eager initialization of Jetpack libraries am: 58dd935348
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15689631

Change-Id: I3921743bf36e8d8978f6b4d62c8d5ddcf99462a5
2021-09-09 21:56:54 +00:00
Alan Viverette 183bca2dcc Temporarily disable Launcher3 tests affected by fling changes
Bug: 197802324
Test: TaplTestsLauncher3
Change-Id: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
Merged-In: I3958bd9fb5521d09fa7cae642128b9f5e11b8e2e
(cherry picked from commit bc4dc49c6c)
2021-09-09 14:41:05 -07:00
Alan Viverette 94b8f0f6e4 Disable eager initialization of Jetpack libraries
Bug: 197780098
Test: Launcher3 tests
Change-Id: I8f921ae26e873822ac2340ad78449cf1040af4cf
Merged-In: I8f921ae26e873822ac2340ad78449cf1040af4cf
(cherry picked from commit a88802ee92)
2021-09-09 14:41:03 -07:00
Bill Yi 6772e75a3f [automerger skipped] Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" am: d9c9ceecc3 -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1822871

Change-Id: I0d033f37eff5f00df3607ba3b94f239a4d6988f2
2021-09-09 21:39:33 +00:00
Bill Yi d9c9ceecc3 Merge "Merge RQ3A.210905.001 to aosp-master - DO NOT MERGE" 2021-09-09 21:27:24 +00:00
Colin Cross af52aea9a3 Merge changes from topic "androidx_drop-sc-dev-plus-aosp" into sc-dev-plus-aosp
* changes:
  Temporarily disable Launcher3 tests affected by fling changes
  Disable eager initialization of Jetpack libraries
2021-09-09 21:22:24 +00:00
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
Thales Lima c2a6f6f4ae launcher: correct page spacing for multiple panels in RTL
Fixes 199043583
Test: manual testing in unfolded state in portrait and landscape

Change-Id: Idf5bdabb50742498701681e4654e72260054ab47
2021-09-09 19:13:19 +01: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
Tony Wickham cc6a1d6584 Fix taskbar education not touchable if taskbar is stashed
Instead of assuming taskbar window is not touchable while taskbar is stashed, fall through to the areIconsVisible() check, which already returns false if taskbar is stashed anyway. Additionally, add a check for AbstractFloatingView so we appropriately allow touches if one exists.

Test: Open Contacts, can still touch through stashed handle; start TaskbarEduView flow and can touch whether taskbar is stashed or not
Fixes: 199376513
Change-Id: If362bad5cb8262fc8c489010e4b2d306ac5f252a
2021-09-09 09:10:21 -07: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
Hyunyoung Song 4c63015f46 Introduce haptic when all apps state transition happens.
Bug: 195679234
Test: manual
Change-Id: Id923f1641bb49579c972e3dbb9de094293d00f93
2021-09-09 11:53:07 +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