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

Commit d51700b3 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fixing up overscroll asset / sizing

-> No more jaggies! yay (issue 7459049)
-> Fixed up weird overscroll state (issue 7489094)

Change-Id: I5d6714a6f5f007ea0f73e4cf34a20572c5f43f64
parent f988bdfb
Loading
Loading
Loading
Loading
+3.2 KiB
Loading image diff...
+3.08 KiB
Loading image diff...
+3.39 KiB
Loading image diff...
+1 −1
Original line number Diff line number Diff line
@@ -1256,7 +1256,7 @@
  <java-symbol type="drawable" name="magnified_region_frame" />
  <java-symbol type="drawable" name="menu_background" />
  <java-symbol type="drawable" name="stat_sys_secure" />
  <java-symbol type="drawable" name="kg_bouncer_bg_white" />
  <java-symbol type="drawable" name="kg_widget_bg_padded" />
  <java-symbol type="id" name="action_mode_bar_stub" />
  <java-symbol type="id" name="alarm_status" />
  <java-symbol type="id" name="backspace" />
+6 −2
Original line number Diff line number Diff line
@@ -214,7 +214,9 @@ public class KeyguardViewStateManager implements
                    mKeyguardWidgetPager.setWidgetToResetOnPageFadeOut(mPageListeningToSlider);
                }
            }
            if (scrollState != SlidingChallengeLayout.SCROLL_STATE_FADING) {
                frame.hideFrame(this);
            }
            updateEdgeSwiping();

            if (mChallengeLayout.isChallengeShowing()) {
@@ -233,7 +235,9 @@ public class KeyguardViewStateManager implements

            // Skip showing the frame and shrinking the widget if we are
            if (!mChallengeLayout.isBouncing()) {
                if (scrollState != SlidingChallengeLayout.SCROLL_STATE_FADING) {
                    frame.showFrame(this);
                }

                // As soon as the security begins sliding, the widget becomes small (if it wasn't
                // small to begin with).
Loading