Loading packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java +0 −14 Original line number Diff line number Diff line Loading @@ -287,20 +287,6 @@ public class KeyguardClockSwitch extends RelativeLayout { return mClockView.getTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight Height of the parent container. * @return preferred Y position. */ int getPreferredY(int totalHeight) { if (mClockPlugin != null) { return mClockPlugin.getPreferredY(totalHeight); } else { return totalHeight / 2; } } /** * Refresh the time of the clock, due to either time tick broadcast or doze time tick alarm. */ Loading packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +0 −10 Original line number Diff line number Diff line Loading @@ -256,16 +256,6 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS return mView.getTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight The height available to position the clock. * @return Y position of clock. */ public int getClockPreferredY(int totalHeight) { return mView.getPreferredY(totalHeight); } /** * Refresh clock. Called in response to TIME_TICK broadcasts. */ Loading packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +0 −10 Original line number Diff line number Diff line Loading @@ -186,16 +186,6 @@ public class KeyguardStatusViewController extends ViewController<KeyguardStatusV return mKeyguardClockSwitchController.getClockTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight The height available to position the clock. * @return Y position of clock. */ public int getClockPreferredY(int totalHeight) { return mKeyguardClockSwitchController.getClockPreferredY(totalHeight); } /** * Get the height of the keyguard status view. */ Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardClockPositionAlgorithm.java +2 −8 Original line number Diff line number Diff line Loading @@ -62,11 +62,6 @@ public class KeyguardClockPositionAlgorithm { */ private int mUserSwitchHeight; /** * Preferred Y position of clock. */ private int mClockPreferredY; /** * Preferred Y position of user avatar used by the multi-user switcher. */ Loading Loading @@ -176,8 +171,8 @@ public class KeyguardClockPositionAlgorithm { */ public void setup(int keyguardStatusBarHeaderHeight, int maxShadeBottom, int notificationStackHeight, float panelExpansion, int parentHeight, int keyguardStatusHeight, int userSwitchHeight, int clockPreferredY, int userSwitchPreferredY, boolean hasCustomClock, boolean hasVisibleNotifs, float dark, int keyguardStatusHeight, int userSwitchHeight, int userSwitchPreferredY, boolean hasCustomClock, boolean hasVisibleNotifs, float dark, float overStrechAmount, boolean bypassEnabled, int unlockedStackScrollerPadding, float qsExpansion, int cutoutTopInset, boolean isSplitShade) { mMinTopMargin = keyguardStatusBarHeaderHeight + Math.max(mContainerTopPadding, Loading @@ -188,7 +183,6 @@ public class KeyguardClockPositionAlgorithm { mHeight = parentHeight; mKeyguardStatusHeight = keyguardStatusHeight; mUserSwitchHeight = userSwitchHeight; mClockPreferredY = clockPreferredY; mUserSwitchPreferredY = userSwitchPreferredY; mHasCustomClock = hasCustomClock; mHasVisibleNotifs = hasVisibleNotifs; Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +1 −2 Original line number Diff line number Diff line Loading @@ -1228,7 +1228,6 @@ public class NotificationPanelViewController extends PanelViewController { private void updateClockAppearance() { int totalHeight = mView.getHeight(); int bottomPadding = Math.max(mIndicationBottomPadding, mAmbientIndicationBottomPadding); int clockPreferredY = mKeyguardStatusViewController.getClockPreferredY(totalHeight); int userSwitcherPreferredY = mStatusBarHeaderHeightKeyguard; boolean bypassEnabled = mKeyguardBypassController.getBypassEnabled(); final boolean hasVisibleNotifications = mNotificationStackScrollLayoutController Loading @@ -1249,7 +1248,7 @@ public class NotificationPanelViewController extends PanelViewController { totalHeight, mKeyguardStatusViewController.getHeight(), userIconHeight, clockPreferredY, userSwitcherPreferredY, hasCustomClock(), userSwitcherPreferredY, hasCustomClock(), hasVisibleNotifications, darkamount, mOverStretchAmount, bypassEnabled, getUnlockedStackScrollerPadding(), computeQsExpansionFraction(), Loading Loading
packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java +0 −14 Original line number Diff line number Diff line Loading @@ -287,20 +287,6 @@ public class KeyguardClockSwitch extends RelativeLayout { return mClockView.getTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight Height of the parent container. * @return preferred Y position. */ int getPreferredY(int totalHeight) { if (mClockPlugin != null) { return mClockPlugin.getPreferredY(totalHeight); } else { return totalHeight / 2; } } /** * Refresh the time of the clock, due to either time tick broadcast or doze time tick alarm. */ Loading
packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +0 −10 Original line number Diff line number Diff line Loading @@ -256,16 +256,6 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS return mView.getTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight The height available to position the clock. * @return Y position of clock. */ public int getClockPreferredY(int totalHeight) { return mView.getPreferredY(totalHeight); } /** * Refresh clock. Called in response to TIME_TICK broadcasts. */ Loading
packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +0 −10 Original line number Diff line number Diff line Loading @@ -186,16 +186,6 @@ public class KeyguardStatusViewController extends ViewController<KeyguardStatusV return mKeyguardClockSwitchController.getClockTextSize(); } /** * Returns the preferred Y position of the clock. * * @param totalHeight The height available to position the clock. * @return Y position of clock. */ public int getClockPreferredY(int totalHeight) { return mKeyguardClockSwitchController.getClockPreferredY(totalHeight); } /** * Get the height of the keyguard status view. */ Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardClockPositionAlgorithm.java +2 −8 Original line number Diff line number Diff line Loading @@ -62,11 +62,6 @@ public class KeyguardClockPositionAlgorithm { */ private int mUserSwitchHeight; /** * Preferred Y position of clock. */ private int mClockPreferredY; /** * Preferred Y position of user avatar used by the multi-user switcher. */ Loading Loading @@ -176,8 +171,8 @@ public class KeyguardClockPositionAlgorithm { */ public void setup(int keyguardStatusBarHeaderHeight, int maxShadeBottom, int notificationStackHeight, float panelExpansion, int parentHeight, int keyguardStatusHeight, int userSwitchHeight, int clockPreferredY, int userSwitchPreferredY, boolean hasCustomClock, boolean hasVisibleNotifs, float dark, int keyguardStatusHeight, int userSwitchHeight, int userSwitchPreferredY, boolean hasCustomClock, boolean hasVisibleNotifs, float dark, float overStrechAmount, boolean bypassEnabled, int unlockedStackScrollerPadding, float qsExpansion, int cutoutTopInset, boolean isSplitShade) { mMinTopMargin = keyguardStatusBarHeaderHeight + Math.max(mContainerTopPadding, Loading @@ -188,7 +183,6 @@ public class KeyguardClockPositionAlgorithm { mHeight = parentHeight; mKeyguardStatusHeight = keyguardStatusHeight; mUserSwitchHeight = userSwitchHeight; mClockPreferredY = clockPreferredY; mUserSwitchPreferredY = userSwitchPreferredY; mHasCustomClock = hasCustomClock; mHasVisibleNotifs = hasVisibleNotifs; Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +1 −2 Original line number Diff line number Diff line Loading @@ -1228,7 +1228,6 @@ public class NotificationPanelViewController extends PanelViewController { private void updateClockAppearance() { int totalHeight = mView.getHeight(); int bottomPadding = Math.max(mIndicationBottomPadding, mAmbientIndicationBottomPadding); int clockPreferredY = mKeyguardStatusViewController.getClockPreferredY(totalHeight); int userSwitcherPreferredY = mStatusBarHeaderHeightKeyguard; boolean bypassEnabled = mKeyguardBypassController.getBypassEnabled(); final boolean hasVisibleNotifications = mNotificationStackScrollLayoutController Loading @@ -1249,7 +1248,7 @@ public class NotificationPanelViewController extends PanelViewController { totalHeight, mKeyguardStatusViewController.getHeight(), userIconHeight, clockPreferredY, userSwitcherPreferredY, hasCustomClock(), userSwitcherPreferredY, hasCustomClock(), hasVisibleNotifications, darkamount, mOverStretchAmount, bypassEnabled, getUnlockedStackScrollerPadding(), computeQsExpansionFraction(), Loading