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

Commit b71e6d69 authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Remove unused methods in BubbleExpandedView

Change-Id: I0d7310be415fc8d13c10a13b5767138a35844ccd
Flag: EXEMPT delete dead code
Bug: 216838823
Test: treehugger
parent 8006649e
Loading
Loading
Loading
Loading
+0 −30
Original line number Diff line number Diff line
@@ -689,11 +689,6 @@ public class BubbleExpandedView extends LinearLayout {
        }
    }

    /** Sets the alpha for the pointer. */
    public void setPointerAlpha(float alpha) {
        mPointerView.setAlpha(alpha);
    }

    /**
     * Get alpha from underlying {@code TaskView} if this view is for a bubble.
     * Or get alpha for the overflow view if this view is for overflow.
@@ -796,24 +791,6 @@ public class BubbleExpandedView extends LinearLayout {
        onContainerClipUpdate();
    }

    /**
     * Sets the clipping for the view.
     */
    public void setTaskViewClip(Rect rect) {
        mLeftClip = rect.left;
        mTopClip = rect.top;
        mRightClip = rect.right;
        mBottomClip = rect.bottom;
        onContainerClipUpdate();
    }

    /**
     * Returns a rect representing the clipping for the view.
     */
    public Rect getTaskViewClip() {
        return new Rect(mLeftClip, mTopClip, mRightClip, mBottom);
    }

    private void onContainerClipUpdate() {
        if (mTopClip == 0 && mBottomClip == 0 && mRightClip == 0 && mLeftClip == 0) {
            if (mIsClipping) {
@@ -1123,13 +1100,6 @@ public class BubbleExpandedView extends LinearLayout {
        return mCurrentPointer == mRightPointer;
    }

    /**
     * Return width of the current pointer
     */
    public int getPointerWidth() {
        return mPointerWidth;
    }

    /**
     * Position of the manage button displayed in the expanded view. Used for placing user
     * education about the manage button.