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

Commit 0f956787 authored by András Kurucz's avatar András Kurucz
Browse files

Delete unused resources from the StackStateAnimator

Bug: 317061579
Test: m droid
Flag: NA
Change-Id: I4683aa54309536db3fe22faa2362ae06085c3325
parent 4e07be21
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -318,9 +318,6 @@
    notification panel collapses -->
    <dimen name="shelf_appear_translation">42dp</dimen>

    <!-- Vertical translation of pulsing notification animations -->
    <dimen name="pulsing_notification_appear_translation">10dp</dimen>

    <!-- The amount the content shifts upwards when transforming into the shelf -->
    <dimen name="shelf_transform_content_shift">32dp</dimen>

+0 −7
Original line number Diff line number Diff line
@@ -59,9 +59,6 @@ public class StackStateAnimator {
    public static final int ANIMATION_DURATION_HEADS_UP_DISAPPEAR = 400;
    public static final int ANIMATION_DURATION_FOLD_TO_AOD =
            AnimatableClockView.ANIMATION_DURATION_FOLD_TO_AOD;
    public static final int ANIMATION_DURATION_PULSE_APPEAR =
            KeyguardSliceView.DEFAULT_ANIM_DURATION;
    public static final int ANIMATION_DURATION_BLOCKING_HELPER_FADE = 240;
    public static final int ANIMATION_DURATION_PRIORITY_CHANGE = 500;
    public static final int ANIMATION_DELAY_PER_ELEMENT_INTERRUPTING = 80;
    public static final int ANIMATION_DELAY_PER_ELEMENT_MANUAL = 32;
@@ -70,7 +67,6 @@ public class StackStateAnimator {
    private static final int MAX_STAGGER_COUNT = 5;

    private final int mGoToFullShadeAppearingTranslation;
    private final int mPulsingAppearingTranslation;
    @VisibleForTesting
    float mHeadsUpAppearStartAboveScreen;
    private final ExpandableViewState mTmpState = new ExpandableViewState();
@@ -102,9 +98,6 @@ public class StackStateAnimator {
        mGoToFullShadeAppearingTranslation =
                hostLayout.getContext().getResources().getDimensionPixelSize(
                        R.dimen.go_to_full_shade_appearing_translation);
        mPulsingAppearingTranslation =
                hostLayout.getContext().getResources().getDimensionPixelSize(
                        R.dimen.pulsing_notification_appear_translation);
        mHeadsUpAppearStartAboveScreen = hostLayout.getContext().getResources()
                .getDimensionPixelSize(R.dimen.heads_up_appear_y_above_screen);
        mAnimationProperties = new AnimationProperties() {