Commit Graph

6193 Commits

Author SHA1 Message Date
Vinit Nayak 0bbc769374 Merge "Rotate overview only if system rotation allowed" into ub-launcher3-rvc-dev am: 0755ac908c
Change-Id: I289db16f3f3a309486933249c206cf4b36b070a6
2020-04-21 18:11:36 +00:00
Vinit Nayak 0755ac908c Merge "Rotate overview only if system rotation allowed" into ub-launcher3-rvc-dev 2020-04-21 17:57:00 +00:00
Winson Chung b330d6e6f8 Disable blurs while in multiwindow mode
- With hierarchical animations, the split-secondary shell root
  is moved above the split-primary shell root immediately during
  transitions, which means that setting the blur on the launcher
  surface will also affect the primary docked surface

Bug: 154125518
Change-Id: I21dd01738ee9bc974d41e5964364917a30143a2a
2020-04-21 10:28:43 -07:00
Vinit Nayak 94541b99b9 Rotate overview only if system rotation allowed
Don't rotate overview if all of launcher can
be rotated.

Fixes: 154243745, 154299710
Test: Toggled system rotation while overview
was showing. Also toggled home rotation to
ensure no intermediate overview rotation
animation.

Change-Id: I49acf2dafb84e7f05c46f8908ba9ffdd43f1d1e7
2020-04-20 23:22:47 -07:00
TreeHugger Robot 256f85da78 Merge "Removes Sandbox from gesture-excluding activities." into ub-launcher3-rvc-dev am: 0f6ecb675e
Change-Id: Ic59be6172f2f7d45f51f4894f7d4895b0ff10a2f
2020-04-21 00:51:46 +00:00
TreeHugger Robot 0f6ecb675e Merge "Removes Sandbox from gesture-excluding activities." into ub-launcher3-rvc-dev 2020-04-21 00:19:46 +00:00
Samuel Fufa f5b0f97152 resolve syntax issue introduced by ag/11174880 am: 1b3f77724f
Change-Id: I54ac6f458f673d5238a5f1951f04747a38d058e8
2020-04-21 00:04:51 +00:00
TreeHugger Robot 3aba2e0e9f Merge "Predicted icon ring embellishments" into ub-launcher3-rvc-dev am: fe68150f35
Change-Id: I06ade79555397770e8750c1f162bcfe1a3c4691b
2020-04-21 00:04:46 +00:00
Samuel Fufa 1b3f77724f resolve syntax issue introduced by ag/11174880
Change-Id: I46911fb32384c40dac42459bb391001be8774ae8
2020-04-20 16:56:14 -07:00
TreeHugger Robot fe68150f35 Merge "Predicted icon ring embellishments" into ub-launcher3-rvc-dev 2020-04-20 23:47:11 +00:00
Samuel Fufa 9b7d913901 Predicted icon ring embellishments
Screenshot: https://screenshot.googleplex.com/yFfiDbHiyq6

- Wrap ring around badge
- Add shadow to ring

Bug: 153201272
Bug: 152560070
Test: Manual
Change-Id: Ic1f726d080a8e6768417e5174a855a57f3241166
2020-04-20 16:46:14 -07:00
Andy Wickham 7a478e25a2 Removes Sandbox from gesture-excluding activities.
Not needed now that Sandbox runs in Launcher's process/task.

Change-Id: I9e3e03be89d5305a3a7afe201164512d59aea470
2020-04-20 23:35:13 +00:00
TreeHugger Robot d59848e045 Merge "Don't show shelf bounce when there's no shelf in Overview" into ub-launcher3-rvc-dev am: e922b06cf4
Change-Id: Ie0db510b635d49228d155cbc3c838ad391c3fde1
2020-04-20 22:41:48 +00:00
TreeHugger Robot e922b06cf4 Merge "Don't show shelf bounce when there's no shelf in Overview" into ub-launcher3-rvc-dev 2020-04-20 22:30:40 +00:00
Sunny Goyal 34ff8cb3c1 Adding common code for instrumentation and robolectric tests
Change-Id: Ia338f0565868bb174ef5f6721924944792866be6
2020-04-20 14:42:30 -07:00
Winson Chung 441790c425 Merge "Dedupe non-perceptable depth updates" into ub-launcher3-rvc-dev am: f66e7c19bd
Change-Id: Id17c69166c72dccaf55ceacdc6e82f423db28cf0
2020-04-20 21:26:48 +00:00
TreeHugger Robot 3603a379df Merge "Dump nav mode with TIS" into ub-launcher3-rvc-dev am: 19b873d0bd
Change-Id: Id7109a94af59080205d0eb949cba064cab8b3841
2020-04-20 21:26:38 +00:00
Winson Chung f66e7c19bd Merge "Dedupe non-perceptable depth updates" into ub-launcher3-rvc-dev 2020-04-20 21:10:20 +00:00
TreeHugger Robot 19b873d0bd Merge "Dump nav mode with TIS" into ub-launcher3-rvc-dev 2020-04-20 21:10:08 +00:00
Tony Wickham 853ac99e47 Don't show shelf bounce when there's no shelf in Overview
Bug: 154513651
Change-Id: Ia31fd46dc174fcb6362b11e5970f92f4acff66ac
2020-04-20 21:05:19 +00:00
TreeHugger Robot 7599021f96 Merge "Update predicted icon outline drawing" into ub-launcher3-rvc-dev am: f5a10fe9c2
Change-Id: I103d872e74704bf19db0c615597afed64f661d51
2020-04-20 19:37:16 +00:00
TreeHugger Robot f5a10fe9c2 Merge "Update predicted icon outline drawing" into ub-launcher3-rvc-dev 2020-04-20 19:17:49 +00:00
Samuel Fufa 28f1db6dfa Update predicted icon outline drawing
Video: b/153203071#comment2
Bug: 153203071
Test: Manual
Change-Id: I786300f953553c98c63c8b48e40354b1672e930c
2020-04-20 11:27:28 -07:00
TreeHugger Robot cbff8e9a8f Merge "Fixing actions view getting visible sometimes" into ub-launcher3-rvc-dev am: f01f25b579
Change-Id: I5867555fb6a17d7f52cccbcef730a321e9dc86f3
2020-04-20 18:11:53 +00:00
Sunny Goyal 01d8541f14 Fixing actions view getting visible sometimes
> Linking actions view to state flags
> Creating multiple visibility channels that can be controlled separately

Bug: 153906903
Change-Id: I33d20f5fdc8bcdf0520dae3aac986548eb7e0058
2020-04-20 09:59:13 -07:00
Vinit Nayak f489540430 Merge "Re-enable home screen rotation" into ub-launcher3-rvc-dev am: 8699bf5626
Change-Id: I5ca06b548dc137b14371deb8c8596938bf16596b
2020-04-18 05:48:19 +00:00
Vinit Nayak 8699bf5626 Merge "Re-enable home screen rotation" into ub-launcher3-rvc-dev 2020-04-18 05:22:26 +00:00
Winson Chung 20aeddd853 Dedupe non-perceptable depth updates
Bug: 154304487
Change-Id: I6d96aca555932f4a51aed576d25f7150952bb562
2020-04-17 16:16:44 -07:00
Winson Chung e9edbabbe2 Dump nav mode with TIS
- Also skip logging touches when not handling gestures

Change-Id: Ie25f28fe62594f22ebe73f276ccef628b7f8e734
2020-04-17 16:16:14 -07:00
Vinit Nayak 326d93bd56 Re-enable home screen rotation
Launcher home screen rotation now works with fixed
transform. When using Quickstep while holding
the phone from an orientation different than
the orientation of the touch, the overview
shown will be that of the phone orientation,
not the touch orientation.
Easier to see this be quickswitching from
portrait to landscape app, turning phone, then
going to overview from the original region you
swiped.

Fixes: 150214193
Test: Created test apps and fixed them
to various rotations to test.

Change-Id: Ic6565cd0ed33c951f45ccb97278045c6070e438e
2020-04-17 14:38:12 -07:00
Tony Wickham c6b6432f92 Merge "Remove mPendingCallback from ActivityTracker" into ub-launcher3-rvc-dev am: c09e8fbe9d
Change-Id: Ib2cdfc1fa20b7e71fcacbd6afb655ba76717b52c
2020-04-17 19:55:49 +00:00
Tony Wickham c09e8fbe9d Merge "Remove mPendingCallback from ActivityTracker" into ub-launcher3-rvc-dev 2020-04-17 19:35:49 +00:00
TreeHugger Robot 307d37c0d9 Merge "When dragging down on task, base end displacement on thumbnail" into ub-launcher3-rvc-dev am: e0f58a0f79
Change-Id: I1b79ae998ec8be9005a3af97820d354f434f90a7
2020-04-17 16:49:08 +00:00
TreeHugger Robot e0f58a0f79 Merge "When dragging down on task, base end displacement on thumbnail" into ub-launcher3-rvc-dev 2020-04-17 16:30:32 +00:00
Tony Wickham 0bbdf3a9fd When dragging down on task, base end displacement on thumbnail
TaskView height has a lot of other factors such as icon margin
and actions. Since the thumbnail is what we are dragging to fill
the screen, use its height to determine the progress factor.

Test: swipe down on a task in portrait, landscape, and seascape,
and verify that it follows your finger to the bottom of the
screen. Swiping up also follows your finger for dimiss.

Bug: 151770407
Change-Id: I114a261a06b11f550822178945266cc4a6fd54fe
2020-04-17 10:27:40 -05:00
Vinit Nayak b20995ba8e Merge "Disabling flaky test until fix is found" into rvc-dev 2020-04-17 06:24:44 +00:00
Vinit Nayak fdaa12d028 Disabling flaky test until fix is found
TaplTestsQuickstep.testAllAppsFromHome

Bug: 150958400
Change-Id: I333a5f21652a5a8fc7bb90387b6bd0c81ac56330
2020-04-16 18:24:49 -07:00
Sunny Goyal fd04f702d9 Fixing crash when emptyView gets added twice
Bug: 152129003
Change-Id: Id86279ace164453d0126773af89e3c9309d40202
2020-04-16 18:06:50 -07:00
TreeHugger Robot 83b56aa34b Merge "Simplifies Tutorial fragment layout." into ub-launcher3-rvc-dev am: 71c63c6fda
Change-Id: I0c38ee9db747451b06cf5eedfcf762d917c8a3bb
2020-04-16 23:57:07 +00:00
TreeHugger Robot 71c63c6fda Merge "Simplifies Tutorial fragment layout." into ub-launcher3-rvc-dev 2020-04-16 23:46:25 +00:00
TreeHugger Robot 11ac5dc1cf Merge "Removes more Back references for generic tutorial styles." into ub-launcher3-rvc-dev am: 08c6c94398
Change-Id: Ib20d3338544084f92efe766339adc8538c31237c
2020-04-16 22:03:41 +00:00
TreeHugger Robot 920b04bdd2 Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev am: 74974e802e
Change-Id: I36f309cf90de5d537698d4219be48bc348dca3ee
2020-04-16 22:03:30 +00:00
TreeHugger Robot 08c6c94398 Merge "Removes more Back references for generic tutorial styles." into ub-launcher3-rvc-dev 2020-04-16 21:54:18 +00:00
TreeHugger Robot 74974e802e Merge "Add resume callback to animate back to appropriate depth." into ub-launcher3-rvc-dev 2020-04-16 21:47:38 +00:00
Jonathan Miranda c9e1375ed5 Merge "Add AnimationFlag for SKIP_DEPTH_CONTROLLER." into ub-launcher3-rvc-dev am: a976a2212d
Change-Id: If3b50143c236ea0ba4d01f19bbebbd46839f94cc
2020-04-16 20:23:48 +00:00
Jonathan Miranda a976a2212d Merge "Add AnimationFlag for SKIP_DEPTH_CONTROLLER." into ub-launcher3-rvc-dev 2020-04-16 20:10:05 +00:00
Jon Miranda 172302686c Add resume callback to animate back to appropriate depth.
This fixes the bug where depth gets stuck to 1 after opening a transluscent
activity.

Bug: 152950633
Change-Id: I8bf5f61c57ef79d41656865b1ff1fbadb298fc36
2020-04-16 13:03:48 -07:00
Andy Wickham 230f390d94 Adds dummy HomeGestureTutorialFragment. am: 4f66dc3bef
Change-Id: Ic5c688ef3bb7551f342d134a2068b1589bc42e4c
2020-04-16 19:47:20 +00:00
Andy Wickham 4f66dc3bef Adds dummy HomeGestureTutorialFragment.
- Adds a new launch target in Dev options
 - Moves Back handling to the parent TutorialFragment
   (so all Tutorials can handle it as necessary)
 - Currently uses a dummy translating rectangle in
   place of a proper hand animation
 - No actual home gesture recognition is in place yet

Test: Manual
Bug: 148542211
Change-Id: Ic5a545eb9f5003914803272c8ffe367220d63336
2020-04-16 18:23:08 +00:00
Andy Wickham 00e241f82f Simplifies Tutorial fragment layout.
Removes nested LinearLayout and RelativeLayout, as well
as a Space (instead just aligning buttons to the bottom).

Test: Manually verified result looks same as before.

Change-Id: I773079107be5f8862bae68c0f8f5bf6edff79ce8
2020-04-16 18:16:56 +00:00