From afaefbca33080ae923bf417a2e3aca06e0eaef15 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Wed, 27 Apr 2022 10:05:20 -0700 Subject: [PATCH] Removing fading edges from recyclerView as we already have full background behing search box, and additional laying is not requred Bug: 221095750 Test: Manual Change-Id: I2251ebae6f09467fb354d9240e3781a7ca076aa9 --- .../launcher3/allapps/AllAppsRecyclerView.java | 6 ------ .../allapps/BaseAllAppsContainerView.java | 15 --------------- 2 files changed, 21 deletions(-) diff --git a/src/com/android/launcher3/allapps/AllAppsRecyclerView.java b/src/com/android/launcher3/allapps/AllAppsRecyclerView.java index 7dbe711716..356581abbb 100644 --- a/src/com/android/launcher3/allapps/AllAppsRecyclerView.java +++ b/src/com/android/launcher3/allapps/AllAppsRecyclerView.java @@ -271,12 +271,6 @@ public class AllAppsRecyclerView extends BaseRecyclerView { } } - @Override - protected float getBottomFadingEdgeStrength() { - // No bottom fading edge. - return 0; - } - @Override protected boolean isPaddingOffsetRequired() { return true; diff --git a/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java b/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java index f913aa9093..3c687da424 100644 --- a/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/BaseAllAppsContainerView.java @@ -597,13 +597,6 @@ public abstract class BaseAllAppsContainerView mAppsList; final Rect mPadding = new Rect(); AllAppsRecyclerView mRecyclerView; - boolean mVerticalFadingEdge; AdapterHolder(boolean isWork) { mIsWork = isWork; @@ -745,7 +737,6 @@ public abstract class BaseAllAppsContainerView