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

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

Remove unused methods from ActivatableNotificationView

After the removal of the NotificationsImprovedHunAnimation flag these
methods are not needed anymore.

Bug: 243302608
Test: build sysui
Flag: EXEMPT remove dead code

Change-Id: I271ca252e6ab342748fb9f568bd15bbd1f617f28
parent 1f5fc948
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -557,14 +557,6 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
        updateAppearRect(ClipSide.BOTTOM);
    }

    private float getInterpolatedAppearAnimationFraction() {

        if (mAppearAnimationFraction >= 0) {
            return mCurrentAppearInterpolator.getInterpolation(mAppearAnimationFraction);
        }
        return 1.0f;
    }

    private void updateAppearAnimationAlpha() {
        updateAppearAnimationContentAlpha(
                mAppearAnimationFraction,
@@ -634,16 +626,6 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView
        super.applyRoundnessAndInvalidate();
    }

    @Override
    public float getTopCornerRadius() {
        return super.getTopCornerRadius();
    }

    @Override
    public float getBottomCornerRadius() {
        return super.getBottomCornerRadius();
    }

    private void applyBackgroundRoundness(float topRadius, float bottomRadius) {
        mBackgroundNormal.setRadius(topRadius, bottomRadius);
    }