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

Commit 0a0f8b9b authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused methods in BubbleExpandedView" into main

parents 665e2e6a b71e6d69
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.