Commit Graph

6193 Commits

Author SHA1 Message Date
Sreyas e3e7e63902 OverviewActions: Fix action buttons in place
Forcing OverviewActions buttons to appear as if it is shown only once in overview screen by overlapping all instances in the same spot.

Change-Id: I195d5455d5eb9f12a19c352169bc995849e59281
2020-02-04 14:25:14 -08:00
Winson Chung cd90c05479 Close system windows when triggering alt-tab
Bug: 148168572
Change-Id: I3488509eb0c9fd3c407653ba550c89f4259f98d0
2020-02-04 21:45:50 +00:00
Winson Chung 85cd51e0e2 Merge "Remove workaround for starting app" into ub-launcher3-master 2020-02-04 21:43:49 +00:00
Winson Chung 487be04709 Merge "Remove double application of surface params" into ub-launcher3-master 2020-02-04 19:56:18 +00:00
Winson Chung dd14633250 Remove workaround for starting app
Bug: 141580748
Change-Id: I7760bc0ee07db6798153ff33566b48fcb3c39651
2020-02-04 19:06:55 +00:00
Jonathan Miranda d6705f8f1a Merge "Enable All Apps spring." into ub-launcher3-master 2020-02-04 18:48:17 +00:00
Vadim Tryshev 287bcc2791 Merge "Disable testQuickSwitchFromApp test due to test failures" into ub-launcher3-master 2020-02-04 18:43:23 +00:00
vadimt 3908a50ce1 Disable testQuickSwitchFromApp test due to test failures
Bug: 143285809
Bug: 148865178
Change-Id: I9ac955d9b1ea057258b65b65c5bc813441c1161f
2020-02-04 18:42:56 +00:00
Winson Chung 3645b5884a Remove double application of surface params
Bug: 148862530
Change-Id: Ifd29b344bd68f58d6252edd804dc3f43319033f8
2020-02-04 18:21:44 +00:00
Samuel Fufa 746d420f76 Notify predictor on appIcon convert to folder
Bug:148749638
Test:Manual
Change-Id: I7eed1f309197479f708a23029c04106af0ac536f
2020-02-03 15:42:43 -08:00
Jon Miranda 2e8828bd30 Enable All Apps spring.
Bug: 147302669

Change-Id: I944ce7d181c554d840329a3affe0dee76eed9143
2020-02-03 14:03:47 -08:00
TreeHugger Robot 17021f3d96 Merge "Fix notification dot for predicted hotseat icons" into ub-launcher3-master 2020-02-03 01:43:25 +00:00
TreeHugger Robot 8c6cff249e Merge "Enabling quick switch test" into ub-launcher3-master 2020-02-01 02:25:09 +00:00
Samuel Fufa 0ea7ddddc5 Fix notification dot for predicted hotseat icons
Bug: 148232056
Test: Manual
Change-Id: I34660eff089ce2f95ceebde143f22b1ef729ea09
2020-01-31 18:09:48 -08:00
Samuel Fufa 05a3a0b871 Merge "Include hotseat spots count in app launch log" into ub-launcher3-master 2020-02-01 01:44:52 +00:00
vadimt db185f6b3e Enabling quick switch test
Now that 2 underlying bugs are fixed

Bug: 143285809
Change-Id: Ie85177830def6e6ee72688f7dbb15ebef9c5ae48
2020-01-31 17:27:46 -08:00
Samuel Fufa 18b69df8cd Include hotseat spots count in app launch log
Bug: 142753423
Change-Id: I02e0322500344e2b0925ac1251235d210b13c325
2020-01-31 16:13:55 -08:00
Samuel Fufa 8f6d141d84 Work toggle improvements
Bug:141289979
Test:Manual
Change-Id: If96845c0220816f9ffd5a5c86ec33b2674d15d1d
2020-01-31 12:07:12 -08:00
vadimt 7505222183 TAPL: Verifying pilferPointers events
Change-Id: Ie825beb4b3adf7fea28959b460e99a44bc471063
2020-01-31 11:22:43 -08:00
Jon Miranda 892667cdf5 Track overview animation as atomic animation.
This fixed the bug where user can't double swipe up to All Apps. This is
needed before All Apps spring can be enabled, because the spring makes it
easier to get into this state.

To repo bug:
1. Hold shelf up so that overview starts to peek
2. Release
3. Before overview peek animation finishes, swipe up again to go to All Apps.

Bug: 79878197
Change-Id: I8c87b742d7da31d23be4decb72b45e9f21788af9
2020-01-30 19:53:26 -08:00
TreeHugger Robot ed6aa18992 Merge "Making setActiveOverlay and getCurrentOverlayPackage public" into ub-launcher3-master 2020-01-30 23:39:45 +00:00
Sunny Goyal 9c2b96090b Adding SecondaryDisplayLauncher in Launcher using common listener
Bug: 141596722
Change-Id: I480bfadf592f7d0309f17c33a3fe14bb77fb5586
2020-01-30 08:27:27 +00:00
vadimt 4809121c02 Making setActiveOverlay and getCurrentOverlayPackage public
These will be used by memory tests

Bug: 139137636
Change-Id: I213966e8a0443b122412a4fd9fc6415870db2c05
2020-01-30 02:39:26 +00:00
TreeHugger Robot 6f7f380dde Merge "Verifying the event for pressing square button" into ub-launcher3-master 2020-01-29 19:01:56 +00:00
TreeHugger Robot 89321dde65 Merge "Tracing for another "Launcher didn't initialize" failure" into ub-launcher3-master 2020-01-29 18:38:49 +00:00
TreeHugger Robot 657fa570da Merge "Fixing another reference to Launcher activity after its destruction" into ub-launcher3-master 2020-01-29 18:37:49 +00:00
Winson Chung 907cbb9f2c Merge "Adding new tracing call from SysUI" 2020-01-29 05:04:48 +00:00
TreeHugger Robot 0618d689e8 Merge changes from topic "state-supplier" into ub-launcher3-master
* changes:
  Translate recents slightly while dragging after pausing
  Two-zone model: swipe up from nav bar vs above it
  Change LauncherState to Supplier<LauncherState> in tests
2020-01-29 03:06:04 +00:00
Tony Wickham fd239cafbe Translate recents slightly while dragging after pausing
There's a lot of resistance, but feels better than nothing
responding to your movement.

Bug: 143361609
Change-Id: I9d7e06279ebdbaa0317909ce96d6f001dbe9699a
2020-01-28 18:31:14 -08:00
Tony Wickham 4fdba14cfb Two-zone model: swipe up from nav bar vs above it
When ENABLE_OVERVIEW_ACTIONS flag is enabled, swiping up from the nav
bar goes to overview if you hold, or the first home screen if you don't.

- Added NoButtonNavBarToOverviewTouchController, which extends
  FlingAndHoldTouchController but only works if you start from the nav
  bar. Otherwise it falls back to PortraitStatesTouchController to
  handle normal state transition to all apps.
- Added HintState. This is where the workspace/hotseat/qsb scale down
  when you swipe up from the nav bar, to hint that you're about to
  either go to overview or the first home screen.
  - Added getQsbScaleAndTranslation() to allow Overview and Hint states
    to treat it as part of the hotseat.
  - Since Overview needs to show above the QSB as it's animating, bring
    Overview to the front and update OverviewScrim to handle the case
    where there's no view above Overview to draw the scrim beneath.
- ENABLE_OVERVIEW_ACTIONS is always false in 2-button mode, since the
  shelf is crucial to that mode.

Bug: 143361609
Change-Id: I743481bb239dc77f7024dc98ba68a43534da2637
2020-01-28 18:31:10 -08:00
vadimt 8196e7984a Verifying the event for pressing square button
Change-Id: If7e3cf29e3a069a295f2612800ddbbfc27653c32
2020-01-28 18:23:05 -08:00
Tony Wickham 8a054061ef Change LauncherState to Supplier<LauncherState> in tests
This prevents the test from statically initializing LauncherState and
all its static dependencies, which might lead to runtime exceptions in
out-of-proc tests.

Change-Id: I0e4e09dfb31a8b256c2c0c0b3d1d2ecd0cc92230
2020-01-28 18:07:33 -08:00
vadimt a931e1981d Fixing another reference to Launcher activity after its destruction
Bug: 139137636
Change-Id: Id7a3a3d8c49d28dae964852661dfa330a8535375
2020-01-28 15:14:59 -08:00
vadimt c8b09709ff Tracing for another "Launcher didn't initialize" failure
This simply restored logging used for one of earlier investigations

Bug: 148313079
Change-Id: Idafed13208dc5610d577986fc487d1d44bc0ef5e
2020-01-27 17:48:49 -08:00
Zak Cohen 4b26b21424 Merge "Revert "Revert "Use autogenerated SysUiStatsLog for statsd logging""" into ub-launcher3-master 2020-01-27 23:49:50 +00:00
Zak Cohen ef01e6e86b Revert "Revert "Use autogenerated SysUiStatsLog for statsd logging""
This reverts commit 3b7209d0d6.

Reason for revert: replacing after the lib drop

Change-Id: Ide0a88da611d4a9dfe0c7ba980fabdc14ac96b31
2020-01-27 23:49:12 +00:00
Zak Cohen 7db9e7b92c SystemUiProxy - add screenshot method.
Test: build, manual integration
Bug: 145297320
Change-Id: Ia19e4b88a669c4f8d4d29a2e8e61207fee279ac3
2020-01-27 15:38:36 -08:00
Samuel Fufa 4bbed19012 Work profile edu
+ Move bottom sheet edu resources to launcher3

Bug: 140099753
Test: Manual
Change-Id: I933acea2b503c0f98362322d24a067c33a1bb2a7
2020-01-27 10:09:04 -08:00
Becky Qiu 01f0964129 Merge "[Overview Actions] Let RecentsView child match system LTR setting." into ub-launcher3-master 2020-01-25 23:00:12 +00:00
Hyunyoung Song ce67572ec8 Merge "Revert "Use autogenerated SysUiStatsLog for statsd logging"" into ub-launcher3-master 2020-01-25 02:20:56 +00:00
Hyunyoung Song 3b7209d0d6 Revert "Use autogenerated SysUiStatsLog for statsd logging"
This reverts commit a315ec5f17.

Reason for revert: This CL should've been in the same topic as the sharedlib. Currently sharedlib is reverted, hence without this change ub-launcher3-master build is broken.

Change-Id: I80d529c1facb3245ad81f2a63f472337a2e1d9fa
2020-01-25 02:19:25 +00:00
TreeHugger Robot 39ac994e12 Merge "Avoid confusing errors "Launcher pid should be 0" when test setup fails" into ub-launcher3-master 2020-01-25 01:46:20 +00:00
Becky Qiu 4c31c860b4 [Overview Actions] Let RecentsView child match system LTR setting.
Test:local

Change-Id: I0342701d76e2115e249b6d51d0f4a224a0f022e4
2020-01-24 16:52:41 -08:00
TreeHugger Robot 4cb6907b37 Merge "Log App Predictions from AiAi" 2020-01-24 23:29:30 +00:00
vadimt fcaab044a3 Avoid confusing errors "Launcher pid should be 0" when test setup fails
Change-Id: Ic5e8114a0f86d1a08738785c4098645e59a24975
2020-01-24 14:30:40 -08:00
Vinit Nayak f8b1d414bb Rotate quickswitch task thumbnails
Previously we were only rotating
thumbnails if the difference between
them was portrait vs landscape, so
a thumbnail in seascape with the launcher
in landscape wouldn't be rotated.

fixes: 143892437
Test: With launcher in portrait
* Thumbnail in reverse portrait,
landscape, seascape, normal
With launcher in landscape
* Thumbnail in seascape, normal,
reverse portrait, landscape
With launcher in seascape
* Thumbnail in seascape, normal,
reverse portrait, landscape

Change-Id: I1dd82428c05e4338a90ddb7b381fe920735f7cfd
2020-01-24 22:17:27 +00:00
Muhammad Qureshi a315ec5f17 Use autogenerated SysUiStatsLog for statsd logging
StatsLogCompat is not needed because we can autogenerate StatsLog write
calls that are public. This CL switches uses of StatsLogCompat to using
SysUiStatsLog from SystemUI.

Bug: 145952197
Test: m
Test: fastboot flashall
Test: adb shell cmd stats print-logs && adb logcat "*:S statsd:*" and
inspect LAUNCHER_EVENT logging

Change-Id: Ib4f90a79f436cdd7e058fdb7027c09a5a59cc4f9
(cherry picked from commit 33ec1e182e)
2020-01-24 21:57:31 +00:00
TreeHugger Robot 8f76378bf5 Merge "Adding events checking for Launcher starting apps" into ub-launcher3-master 2020-01-24 20:23:39 +00:00
Zak Cohen b0b330b999 Merge "SystemUiProxy - add dummy method to make compile happy." 2020-01-24 03:57:54 +00:00
vadimt 6098a8c8c0 Adding events checking for Launcher starting apps
Change-Id: Id651397f643280a9f99a470df029479bd1b41e5c
2020-01-23 19:12:19 -08:00