Loading packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java +6 −4 Original line number Diff line number Diff line Loading @@ -414,10 +414,12 @@ public class KeyguardStatusView extends GridLayout implements int expanded = mOwnerInfo.getBottom() + mOwnerInfo.getPaddingBottom(); int toRemove = (int) ((expanded - collapsed) * ratio); setBottom(getMeasuredHeight() - toRemove); if (mNotificationIcons != null) { // We're using scrolling in order not to overload the translation which is used // when appearing the icons mNotificationIcons.setScrollY(toRemove); } else { } } else if (mNotificationIcons != null){ mNotificationIcons.setScrollY(0); } } Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardStatusView.java +6 −4 Original line number Diff line number Diff line Loading @@ -414,10 +414,12 @@ public class KeyguardStatusView extends GridLayout implements int expanded = mOwnerInfo.getBottom() + mOwnerInfo.getPaddingBottom(); int toRemove = (int) ((expanded - collapsed) * ratio); setBottom(getMeasuredHeight() - toRemove); if (mNotificationIcons != null) { // We're using scrolling in order not to overload the translation which is used // when appearing the icons mNotificationIcons.setScrollY(toRemove); } else { } } else if (mNotificationIcons != null){ mNotificationIcons.setScrollY(0); } } Loading