Commit Graph

21921 Commits

Author SHA1 Message Date
Automerger Merge Worker d01ee6d6a8 [automerger skipped] Merge "[DO NOT MERGE] Fix some visual jumps when swiping home" into ub-launcher3-qt-future-dev am: 94c993a635 -s ours
am skip reason: subject contains skip directive

Change-Id: I2b30725cd240cdc7ebfcb50eb2180aaf81ab4267
2020-03-10 01:05:38 +00:00
Jonathan Miranda 94c993a635 Merge "[DO NOT MERGE] Fix some visual jumps when swiping home" into ub-launcher3-qt-future-dev 2020-03-10 00:49:17 +00:00
TreeHugger Robot 7dfe1360ed Merge "Show drag handle indictor in 2 zone model" into ub-launcher3-master 2020-03-10 00:46:11 +00:00
Tony Wickham 79a352169f Show drag handle indictor in 2 zone model
Note this is just the tiny arrow we show in accessibility mode, will
probably need to get some updated visual treatment going forward.

Bug: 143361609
Change-Id: I65975727f101984429aadc35a650826e36d9c9aa
2020-03-09 17:15:49 -07:00
TreeHugger Robot 590914cc5e Merge "Dismisses system overlays for Home intent." into ub-launcher3-master 2020-03-09 22:00:20 +00:00
Automerger Merge Worker e9801665ac [automerger skipped] [DO NOT MERGE] Initiailize APP_SEARCH_IMRPOVEMENT flag outside DEBUG builds. am: e1664fcf14 -s ours
am skip reason: subject contains skip directive

Change-Id: I06a7e3ef6f5a0d6ed852b0b32238426ca3ba3809
2020-03-09 21:42:07 +00:00
Tony Wickham b365cc4387 Fix crash when dumping before user unlocks
Bug: 150864182
Bug: 151050221
Change-Id: I29ba2ef66b4359a47f866d02306498537c45236e
2020-03-09 13:20:04 -07:00
Alex Mang e1664fcf14 [DO NOT MERGE] Initiailize APP_SEARCH_IMRPOVEMENT flag outside DEBUG builds.
This is addressing a bug where flags are only changed on debug build
devices or initially when changes. When nexuslauncher restarts the flag
is no longer retrieved.

Change-Id: Ieb6f460a271c918ee4e493b34692244f39cb3740
2020-03-09 20:04:57 +00:00
Jon Miranda 8caa787906 [DO NOT MERGE] Fix some visual jumps when swiping home
All caused by running the transform progress from 0 to 1 instead of
starting at whatever the progress was before ending the gesture, e.g.:
- When swiping to home without animating into an icon, the corner radius
  was set back to the window corner radius.
- Before this change, the clip didn't update throughout the animation,
  making the window slightly bigger than the floating icon view; after
  this change, the clip jumped to show the insets again before clipping
  back down during the home animation.

Partial backport of ag/Ie48f4b665a5bf3cbef76bdf7f043febe99fb84a0

Bug: 150680980
Change-Id: Ida65097f0ef7d2e11d48b84ecdd353ef89078015
2020-03-09 12:59:59 -07:00
Andy Wickham bf48cd480c Removes iconloaderlib from Launcher3.
(It's now in frameworks/libs/systemui)

Bug: 138964382
Test: builds
Change-Id: Ic60adfb2ebdcf1a72b440df26023b861fd6e62d5
2020-03-09 15:52:05 +00:00
TreeHugger Robot a9bcd82554 Merge "Enabling springs for start dismiss animation" into ub-launcher3-master 2020-03-07 08:38:49 +00:00
TreeHugger Robot e6df7da2a2 Merge "Enabling event verification for Launcher3" into ub-launcher3-master 2020-03-07 07:19:13 +00:00
Sunny Goyal cfaa4889e6 Enabling springs for start dismiss animation
> Adding flag support for PendingAnimation which can be used
  to define custom behavior for various animations
> Using SpringAnimationBuild for spring animation instead of
  SpringObjectanimator

Change-Id: I41ca34b0574981bb3fc7894639a321c12e6feac1
2020-03-06 22:59:03 -08:00
Automerger Merge Worker df8232c224 [automerger skipped] [DO NOT MERGE] Turn off FOLDER_NAME_SUGGEST feature flag am: f538393e42 -s ours
am skip reason: subject contains skip directive

Change-Id: I1bbffc4f9582d106ce28ac07e6c6719c9f8f063d
2020-03-07 06:50:59 +00:00
Hyunyoung Song f538393e42 [DO NOT MERGE] Turn off FOLDER_NAME_SUGGEST feature flag
Bug: 150788630

Change-Id: I740d6b6f3ee1a33a95debfafa29b3caea24a03c3
2020-03-07 06:08:44 +00:00
Andy Wickham 65ced1b1d0 Dismisses system overlays for Home intent.
Test: Used Facebook chatheads (not system bubble).
Before the change, Home gesture didn't work. After
the change, it does work :)
Fixes: 146593239

Change-Id: Ib9c85de2f83f99d1ef53fb17fde5d0b3c514849a
2020-03-07 04:42:32 +00:00
TreeHugger Robot cfea0fb348 Merge "OverviewActions: Renaming overview_actions_container and setActionsView" into ub-launcher3-master 2020-03-07 00:20:56 +00:00
Sunny Goyal 3123405047 Merge "Removing SecondaryDisplayLauncher library as it is directly included in Launcher" into ub-launcher3-master 2020-03-06 23:44:57 +00:00
Winson Chung f655f5cd16 Merge "Initial changes to support blur" into ub-launcher3-master 2020-03-06 23:33:26 +00:00
Winson Chung 8687bc2131 Initial changes to support blur
- Add a new controller to update the background blur on either the
  launcher or app surfaces based on state or transition

Bug: 149792636

Change-Id: I6103cd3d53a00c8025558dd49bb73137e2980014
2020-03-06 14:45:20 -08:00
Samuel Fufa a579ddc9c8 Refactor logging to capture Target hierarchy
Instead of creating a fixed number of targets, we now pass an ArrayList
of targets to. Any class implementing
LogContainerProviders#fillInLogContainerData can setup it's own target
and add it to the ArrayList, It can also pass the ArrayList to other
LogContainerProvider to capture full Target hierarchy.

Bug: 147305863
Change-Id: I0063c692120fb9e1cff2d8902c5da972d0623418
2020-03-06 13:49:19 -08:00
Sreyas e7dd35ef0d OverviewActions: Renaming overview_actions_container and setActionsView
Change-Id: Ie444101f246e0d00980b47ce39f6e74dade23f73
2020-03-06 10:50:43 -08:00
Vadim Tryshev 9099dfcfb7 Merge "Test tweaks for the memory activity recreation test" into ub-launcher3-master 2020-03-06 18:36:05 +00:00
Winson Chung e90adc47ef Fallback to predefined orientation handler if recents view isn't available
Change-Id: Iaed42fb9ef598d65e1cf2d166cc343f888352d47
2020-03-06 00:01:49 -08:00
TreeHugger Robot d9da5a45fd Merge "Enabling widget config tests after fixing flakiness" into ub-launcher3-master 2020-03-06 06:53:51 +00:00
vadimt 16eca5500d Enabling event verification for Launcher3
Will help investigating otherwise mysterious failures.

Change-Id: I805ed136baf6d86921fdb4782304fcdafbd3af5c
2020-03-05 19:02:18 -08:00
TreeHugger Robot f67ab6c64d Merge "Catching everything from dumpHprofData" into ub-launcher3-master 2020-03-06 02:14:19 +00:00
vadimt bb2bf277c0 Catching everything from dumpHprofData
Change-Id: I79ced1d4bb3e6ea43ce6fa5bd07fe22b577006f9
2020-03-05 17:22:18 -08:00
TreeHugger Robot 93648b0a5a Merge "Move getRotationHelper() call to LauncherRecentsView" into ub-launcher3-master 2020-03-06 01:11:10 +00:00
Vinit Nayak a6fb77f1b5 Move getRotationHelper() call to LauncherRecentsView
3P launchers were causing a ClassCastException so
moved it down to Launcher specific code.
3P as a whole will have to be handled better with the
new rotation paradigm so this will be addressed then.

Fixes: 146176182
Test: Set Nova Launcher as default home app
Swiped up to recents, nothing breaks.

Change-Id: I91a267f3a29bd5b9638bc9b69d864ac2de3f3d72
2020-03-05 16:19:26 -08:00
Zak Cohen 8f1e00b662 Log proto - add select mode item interaction type.
Test: build locally
Change-Id: I3d296bc17bed91669223182d2ed5cff7af70940f
2020-03-05 15:41:22 -08:00
vadimt 3abc8511a5 Enabling widget config tests after fixing flakiness
Bug: 148867106
Change-Id: I8bbd9ef9b1ca574f79f3f76869051495b59734ce
2020-03-05 15:01:38 -08:00
TreeHugger Robot 375c8e0337 Merge "Verifying that tests run against a matching Launcher version" into ub-launcher3-master 2020-03-05 22:29:29 +00:00
Matt Casey cc6caff02f Merge "Let launcher to provide its own OverscrollPlugin" into ub-launcher3-master 2020-03-05 22:18:05 +00:00
Sunny Goyal 27409e23d1 Removing SecondaryDisplayLauncher library as it is directly included in Launcher
Change-Id: I97a1fad07f2f6d34fc31c720fcc1e03d0f56477e
2020-03-05 21:51:56 +00:00
vadimt 6d605da821 Verifying that tests run against a matching Launcher version
Change-Id: I3a6c9e1a2487cfd571abdf4bdd18ab17c7ac9406
2020-03-05 13:36:12 -08:00
TreeHugger Robot 4cc857ae79 Merge "Prevent hotseat touch hijack" into ub-launcher3-master 2020-03-05 20:38:05 +00:00
Samuel Fufa 748afbec35 Prevent hotseat touch hijack
Bug: 148639821
Test: Manual
Change-Id: Ia08af6b243a3492a898371b7bc66158df49d2427
2020-03-05 11:41:49 -08:00
Automerger Merge Worker 74e78e95a8 [automerger skipped] [DO NOT MERGE] Prevent hotseat touch hijack am: bfa3be34ce -s ours
am skip reason: subject contains skip directive

Change-Id: I1ea142caab0459b9ba46a5ed843e968de5ebbf21
2020-03-05 19:16:40 +00:00
TreeHugger Robot d26618acba Merge "Enabling testQuickSwitchFromApp after causes of flakiness were fixed" into ub-launcher3-master 2020-03-05 18:56:07 +00:00
Matt Casey 0318a652c1 Let launcher to provide its own OverscrollPlugin
If the local OverscrollPlugin provided by the activity is non-null and
FORCE_LOCAL_OVERSCROLL_PLUGIN is true, the local plugin object overrides
the loaded actual plugin.

Test: Manual testing flipping the flag and observing which plugin is
activated.
Bug: 150245271

Change-Id: I0cd5184628c2cb572b5e1c56d6a008dcaa8807fb
2020-03-05 13:54:45 -05:00
TreeHugger Robot 51e71c70cd Merge "Fixing unregistering mOtherHomeAppUpdateReceiver twice" into ub-launcher3-master 2020-03-05 18:29:24 +00:00
Samuel Fufa bfa3be34ce [DO NOT MERGE] Prevent hotseat touch hijack
Currently in AllAppsContinerView#onInterceptTouchEvent we check if a
touch event is in bounds of RecyclerViewFastScroller and set
mTouchHandler so the scroll bar handles onTouchEvent. However, if a user
performs a back gesture from the right side (which overlaps with the
scroller) and returns home, touches to the hotseat get intercepted.

Bug: 148639821
Test: Manual
Change-Id: Ie44f3a16b628b12ad00a7ae6c6bc5703171fbb56
2020-03-05 08:38:13 -08:00
TreeHugger Robot 38f68a1479 Merge "Disabling testToast on virtual devices" into ub-launcher3-master 2020-03-05 03:44:24 +00:00
TreeHugger Robot 0d0dd812f6 Merge "Update pullback start and max progress based on RecentsView scale" into ub-launcher3-master 2020-03-05 03:06:38 +00:00
TreeHugger Robot a4724966bd Merge "Feature flag for using hardware optimization for folder animations" into ub-launcher3-master 2020-03-05 03:06:05 +00:00
vadimt f6385576d5 Disabling testToast on virtual devices
Bug: 150303529
Change-Id: Ie523b79468f37e9edbd50f77db4d358e6713a463
2020-03-04 18:49:52 -08:00
vadimt 5a07aadf86 Feature flag for using hardware optimization for folder animations
Bug: 144338174
Change-Id: I92cc399da077c4c4da8264c20136302ede25ed01
2020-03-04 18:34:07 -08:00
Tony Wickham 34e88d0999 Update pullback start and max progress based on RecentsView scale
Instead of having defined constants that are hard to tune, now we
calculate the factors at runtime based on the launcher animation scale.
This ensures the pullback always has reasonable values regardless of
orientation, feature flags, etc.

Bug: 149934536
Change-Id: If07e3b87475f8f9613e94df00c394430aad7d507
2020-03-04 18:20:52 -08:00
Riddle Hsu 7a7468fd39 Invalidate snapshot of home if its UI is changed
Snapshot may be enabled for home task when turning off
screen. If home UI has changed after screen off, the
snapshot should not be used to avoid ugly visual effect.

Bug: 140811348
Test: Lock/unlock device while home is on top with 4 cases:
      1. All apps is shown.
      2. Overview is shown.
      3. Options menu is shown.
      4. Quick search bar is active.
      The expected result should be no starting window
      when unlocking because the snapshot is dropped.

Change-Id: I4bd9926b6f9332ac16b1b3a25ffdd44706015a33
(cherry picked from commit 0ae61c8d29)
2020-03-05 01:39:18 +00:00