Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d18f7c0d authored by András Kurucz's avatar András Kurucz
Browse files

Remove unused methods from NSSL and NSSLC

Bug: 308596826
Test: mp sysuig
Test: atest NotificationStackScrollLayoutControllerTest
Change-Id: I1fcad4cc4252c26fb190adf89b7e3ed2470a1576
parent 164b9b2e
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -4659,22 +4659,6 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable
        return mClearAllInProgress;
    }

    public boolean isFooterViewNotGone() {
        return mFooterView != null
                && mFooterView.getVisibility() != View.GONE
                && !mFooterView.willBeGone();
    }

    public boolean isFooterViewContentVisible() {
        return mFooterView != null && mFooterView.isContentVisible();
    }

    public int getFooterViewHeightWithPadding() {
        return mFooterView == null ? 0 : mFooterView.getHeight()
                + mPaddingBetweenElements
                + mGapHeight;
    }

    /**
     * @return the padding after the media header on the lockscreen
     */
+0 −16
Original line number Diff line number Diff line
@@ -864,10 +864,6 @@ public class NotificationStackScrollLayoutController implements Dumpable {
        return row.getVisibility() == View.VISIBLE;
    }

    public boolean isViewAffectedBySwipe(ExpandableView expandableView) {
        return mNotificationRoundnessManager.isViewAffectedBySwipe(expandableView);
    }

    public void addOnExpandedHeightChangedListener(BiConsumer<Float, Float> listener) {
        mView.addOnExpandedHeightChangedListener(listener);
    }
@@ -1260,18 +1256,6 @@ public class NotificationStackScrollLayoutController implements Dumpable {
        mView.setPanelFlinging(flinging);
    }

    public boolean isFooterViewNotGone() {
        return mView.isFooterViewNotGone();
    }

    public boolean isFooterViewContentVisible() {
        return mView.isFooterViewContentVisible();
    }

    public int getFooterViewHeightWithPadding() {
        return mView.getFooterViewHeightWithPadding();
    }

    /**
     * Sets whether the bouncer is currently showing. Should only be called from
     * {@link CentralSurfaces}.