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

Commit c6245e58 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Only animate drag handle alpha, not translation."

parents ec374b37 a6636e8d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -353,8 +353,6 @@
    <dimen name="qs_footer_padding_start">16dp</dimen>
    <dimen name="qs_footer_padding_end">24dp</dimen>
    <dimen name="qs_footer_icon_size">16dp</dimen>
    <!-- Difference between drag handle margin in QQS and expanded QS -->
    <dimen name="qs_footer_drag_handle_offset">10dp</dimen>

    <dimen name="qs_notif_collapsed_space">64dp</dimen>

+0 −6
Original line number Diff line number Diff line
@@ -86,14 +86,9 @@ public class QSFooterImpl extends FrameLayout implements QSFooter,

    private View mActionsContainer;
    private View mDragHandle;
    private final int mDragHandleExpandOffset;

    public QSFooterImpl(Context context, AttributeSet attrs) {
        super(context, attrs);

        mDragHandleExpandOffset = getResources().
                getDimensionPixelSize(R.dimen.qs_footer_drag_handle_offset);

    }

    @Override
@@ -171,7 +166,6 @@ public class QSFooterImpl extends FrameLayout implements QSFooter,
                .addFloat(mDivider, "alpha", 0, 1)
                .addFloat(mCarrierText, "alpha", 0, 0, 1)
                .addFloat(mActionsContainer, "alpha", 0, 1)
                .addFloat(mDragHandle, "translationY", mDragHandleExpandOffset, 0)
                .addFloat(mDragHandle, "alpha", 1, 0, 0)
                .setStartDelay(0.15f)
                .build();