Commit Graph

7084 Commits

Author SHA1 Message Date
TreeHugger Robot 93b4db052d Merge "Revert "Move/Launch task on the TaskView's display."" into sc-v2-dev am: 02fe560dc8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15659824

Change-Id: I96aa19eb13bf695047c2cc91b7d21970eef96f1c
2021-08-24 07:30:49 +00:00
TreeHugger Robot 02fe560dc8 Merge "Revert "Move/Launch task on the TaskView's display."" into sc-v2-dev 2021-08-24 07:14:31 +00:00
Jerry Chang 6ca6de89c0 Revert "Move/Launch task on the TaskView's display."
This reverts commit 2cdc359b84.

Reason for revert: this brokes split screen and result to device reboot.
Bug: 197293995

Change-Id: I154287230fa3849cad1c0e337e3bf3fd826257a4
2021-08-24 04:54:49 +00:00
TreeHugger Robot a2d2886007 Merge "Draw rounded corners above the taskbar" into sc-v2-dev am: 83e6d67e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15662818

Change-Id: I7bbad7af76ac0652c55d665d2467a818c14fe184
2021-08-24 00:35:40 +00:00
TreeHugger Robot 83e6d67e37 Merge "Draw rounded corners above the taskbar" into sc-v2-dev 2021-08-24 00:18:34 +00:00
Tony Wickham dd7a418335 Draw rounded corners above the taskbar
- Increase height of taskbar window, but not contentInsets
- Draw the inverted corners as part of TaskbarDragLayer#dispatchDraw() (which handles the background already)

Test: visual

Bug: 196257194
Fixes: 197129604
Change-Id: I517949a4c2b97c92e3bb43408776db6deb1379b4
2021-08-23 15:33:43 -07:00
TreeHugger Robot 886adad609 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev am: c817d2a633
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15619053

Change-Id: I2a95246ee86cd94cb8ba972a88e84c4d97f44ba9
2021-08-23 21:22:55 +00:00
TreeHugger Robot c817d2a633 Merge "Migrating all model tests to Instrumentation tests" into sc-v2-dev 2021-08-23 21:08:51 +00:00
Schneider Victor-tulias 8cb3df4896 Merge changes I3e7d3c61,I1cba811c into sc-v2-dev am: f4f6c0fd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15394096

Change-Id: Ib5cdc82f2747a6c1beaf86d86139bf7585798713
2021-08-23 20:00:40 +00:00
Schneider Victor-tulias f4f6c0fd4f Merge changes I3e7d3c61,I1cba811c into sc-v2-dev
* changes:
  Convert gesture navigation feedback videos to animations with real callbacks.
  Convert gesture navigation tutorial still image vector drawables to layout files
2021-08-23 19:49:30 +00:00
Sunny Goyal 455ba62b5d Migrating all model tests to Instrumentation tests
Bug: 196825541
Test: Presubmit
Change-Id: Iebd46eb41eb46c187d569197f4b97b4fddc0f6f7
2021-08-23 12:34:44 -07:00
Schneider Victor-tulias 69c4b54dce Convert gesture navigation feedback videos to animations with real callbacks.
Fixes: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I3e7d3c6153eeff6273e4b7ebc8cdb8328df7facc
2021-08-23 11:14:53 -07:00
Schneider Victor-tulias ff322310a3 Convert gesture navigation tutorial still image vector drawables to layout files
Bug: 192939067
Test: manual, started full tutorial, started home, back and overview individually, locked and unlocked phone mid-tutorial step.
Change-Id: I1cba811c556139bc9ba52459f1b27f21eb156ac0
2021-08-23 11:14:04 -07:00
Alex Chau 56a328c6ca Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev am: c8295216d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612008

Change-Id: I0a36e0f35c64f771632a274c1bd411d8b10f5d71
2021-08-23 11:30:34 +00:00
Alex Chau c8295216d5 Merge "Fix animation problem when swipeing up app to screen edge and release" into sc-v2-dev 2021-08-23 11:18:49 +00:00
TreeHugger Robot 12bfd96432 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-08-22 17:45:42 +00:00
Bill Yi cd493170fa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibfa4e4ffc8a72e59edbd24cd28473647b5b9bd89
2021-08-21 02:31:33 +00:00
TreeHugger Robot 05e80c0b43 Merge "Allow clipping individual direction of TaskView" into sc-v2-dev am: 47fde77687
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602537

Change-Id: Ie0e95974ccfcaca476839b0ea0def55dd22b9f6c
2021-08-20 19:35:19 +00:00
TreeHugger Robot 47fde77687 Merge "Allow clipping individual direction of TaskView" into sc-v2-dev 2021-08-20 19:22:19 +00:00
TreeHugger Robot c762676cfd Merge "Snap to current page's relative position after dismissal." into sc-v2-dev am: 35e09fe019
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15596523

Change-Id: I2ef2edffd73acaa4b9a8ce99d664b19661bd7dab
2021-08-20 13:06:26 +00:00
TreeHugger Robot 35e09fe019 Merge "Snap to current page's relative position after dismissal." into sc-v2-dev 2021-08-20 12:54:10 +00:00
Alex Chau 8ebd11af14 Fix animation problem when swipeing up app to screen edge and release
- Consider scroll diff between currentPage and primary scroll when calculating adjacent page offset
- Removed setEnableFreeScroll call in onPrepareGestureAnimation that calls setCurrentPage and causes jumping

Fixes: 197012570
Fixes: 195740577
Test: Swipe up from app to end of screen, adjacent task should come from screen edge, and app should snap smoothly to position
Test: Swipe up from app, scroll immediately, free scroll should be enabled
Test: Swipe up immediately after quick switch, task thumbnails are loaded
Change-Id: Id88266634183dfcb18d5ba8a803883b7d6f50ab4
2021-08-20 12:07:08 +00:00
Pat Manning 0abfe4e7be Snap to current page's relative position after dismissal.
Test: manual
Fix: 196200215
Change-Id: Ic65313e2082ca2248e5860b77c438615c62b5581
2021-08-20 11:10:26 +00:00
TreeHugger Robot 7c90a47f5e Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev am: a35786c9c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616976

Change-Id: I7eed65e591c88638eb02c53b71c23a31ccc86867
2021-08-19 17:58:07 +00:00
TreeHugger Robot a35786c9c5 Merge "Null out reference to RemoteAnimationTargets when animation finishes" into sc-v2-dev 2021-08-19 17:39:17 +00:00
Nick Chameyev 3ed2933399 Merge "Update unfold transition package name" into sc-v2-dev am: 88cd9aaa6b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612007

Change-Id: Ie5c9f712b8b440eb5e39ca5113c435a9cfd53aab
2021-08-19 11:09:18 +00:00
Nick Chameyev 88cd9aaa6b Merge "Update unfold transition package name" into sc-v2-dev 2021-08-19 10:53:44 +00:00
IRIS YANG 2be95b5759 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev am: 829264a650
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15604010

Change-Id: I63978fe327047d10a3199f2ead78d366656bda13
2021-08-19 09:09:37 +00:00
IRIS YANG 829264a650 Merge "Move/Launch task on the TaskView's display." into sc-v2-dev 2021-08-19 08:58:13 +00:00
TreeHugger Robot d4e7420c52 Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4 am: 7e5f1003bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: I9cc84e593c3a4520468a29d0196d29e635704ea6
2021-08-19 01:11:41 +00:00
TreeHugger Robot fe5ce7334a Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: If21b096b1d5ac025ffb4116c805d31acba6cc662
2021-08-19 00:57:46 +00:00
TreeHugger Robot 7e5f1003bd Merge "New app animation specs." into sc-qpr1-dev am: 686d42a1d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15587964

Change-Id: Id4f261c686f2cd9ad8748211bfc2aa1b99a6f210
2021-08-19 00:56:44 +00:00
TreeHugger Robot 686d42a1d4 Merge "New app animation specs." into sc-qpr1-dev 2021-08-19 00:45:05 +00:00
TreeHugger Robot 8e8f5020de Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev am: c799b9d239
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15616247

Change-Id: Ie1ad2f596ec639e2a0748998edf4b6f4dd365be2
2021-08-19 00:09:48 +00:00
TreeHugger Robot c799b9d239 Merge "Moving some utility tests to instrumentation tests" into sc-v2-dev 2021-08-18 23:52:19 +00:00
Vinit Nayak b5a4e05e2a Null out reference to RemoteAnimationTargets when animation finishes
Bug: 195430732
Test: Re-ran FallbackRecentsTest#testOverview, passes
Change-Id: If9be3429516caface998561fbcc8223e256d0fdf
2021-08-18 16:37:14 -07:00
Sunny Goyal 11854ba48b Moving some utility tests to instrumentation tests
> Also removing some UI tests which are already covered by instrumentation

Bug: 196825541
Test: Presubmit
Change-Id: Ib39a81589d0bf55278623a596d444b752ca696e6
2021-08-18 15:00:45 -07:00
Lucas Dupin 608aa61a28 Add depth to -1 screen am: 482f983a7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15612785

Change-Id: I9ad3667fe8b7f82c464c890a574e64545d708afb
2021-08-18 21:40:29 +00:00
Vinit Nayak 2b79ee7200 Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev am: f8d55e0e2a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15590495

Change-Id: I183d36b6cea375d05dacd11a998a7afafecb6ee6
2021-08-18 21:25:26 +00:00
Bryce Lee 1815efeaa8 Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev am: 6e2d149ac7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15614359

Change-Id: Ib16ea6a8c019f03f6145aa5f6768606be07b2ef2
2021-08-18 21:21:42 +00:00
Vinit Nayak f8d55e0e2a Merge "Respect StatusBarManager back/home disable flags" into sc-v2-dev 2021-08-18 20:54:09 +00:00
Bryce Lee 6e2d149ac7 Merge "Revert "Draw rounded corners above the taskbar"" into sc-v2-dev 2021-08-18 20:51:05 +00:00
Bryce Lee a997ca437a Revert "Draw rounded corners above the taskbar"
This reverts commit 157d3b950d.

Reason for revert: b/197129604
Bug: 197129604
Change-Id: Idf2267528fade23291aedea9787d98601495537c
2021-08-18 20:50:58 +00:00
Sunny Goyal 19994afa41 Merge "Updating test build rules" into sc-v2-dev am: 741107cc53
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15605214

Change-Id: I3f62661c7597cb262393d7338906dbef44a2be6c
2021-08-18 19:47:25 +00:00
Sunny Goyal 741107cc53 Merge "Updating test build rules" into sc-v2-dev 2021-08-18 19:23:33 +00:00
Tracy Zhou 9dd5f3ed6d Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev am: d571905aa6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15602959

Change-Id: Idcce77cf8c3dd95f19ac16722a6a9d9d849be1c5
2021-08-18 18:46:14 +00:00
Tracy Zhou d571905aa6 Merge "Tint task bar based on sampling of colors in the area" into sc-v2-dev 2021-08-18 18:32:35 +00:00
Jon Miranda bda98de9f8 New app animation specs.
- New values and interpolators.

Bug: 173107751
Test: open apps from different parts of the home screen
Change-Id: I81bec0221aec9c04dac0bb3e926c879999699e57
2021-08-18 18:26:46 +00:00
Sunny Goyal 4af8cf9269 Updating test build rules
> Moving definition to bp files
> Adding mokito-inline to allow mocking final classes
> Moving src_common to src to avoid unnecessary code split

Bug: 196825541
Test: Presubmit
Change-Id: Ib6879cda6aee74f5b9050a16eb6ca94ed3b7e28c
2021-08-18 10:22:52 -07:00
Tony Wickham ee2e28fae8 Allow clipping individual direction of TaskView
- Only clip the nav bar (taskbar), and always do that in tablets regardless of whether taskbar is stashed, so TaskView always have the same ratio (mocks: https://docs.google.com/presentation/d/1_3zQak_C9FzDPCcIdYagfUit4QyqfdRxetkim3dI9rY/edit#slide=id.ge211eb96a5_5_8)
- When taskbar is present, don't use full thumbnail to avoid TaskView resizing in fullscreen: http://dr/file/d/18C8DSygPBU1gkmMQPPIIa2NqQESFurxW/view?resourcekey=0-8W79f31gstzI_1ZPpHulBQ
- When taskbar is stashed, we still need full thumbnail to gradually crop out the taskbar in overview

Test: Open Chrome, swipe up and ensure status bar inset stays in overview but taskbar stays clipped out from the onset.
Bug: 190681228
Change-Id: I9d563572f2e6800e90d567c2bfae4528a126f24e
2021-08-18 18:09:55 +01:00