Loading quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -118,6 +118,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT private final Rect mTempRect = new Rect(); private final Rect mTempRect = new Rect(); private static final boolean NAV_TRANSLATION_DISABLED = true; private static final int FLAG_SWITCHER_SHOWING = 1 << 0; private static final int FLAG_SWITCHER_SHOWING = 1 << 0; private static final int FLAG_IME_VISIBLE = 1 << 1; private static final int FLAG_IME_VISIBLE = 1 << 1; private static final int FLAG_ROTATION_BUTTON_VISIBLE = 1 << 2; private static final int FLAG_ROTATION_BUTTON_VISIBLE = 1 << 2; Loading Loading @@ -651,7 +652,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT * Sets the translationY of the nav buttons based on the current device state. * Sets the translationY of the nav buttons based on the current device state. */ */ public void updateNavButtonTranslationY() { public void updateNavButtonTranslationY() { if (mContext.isPhoneButtonNavMode()) { if (mContext.isPhoneButtonNavMode() || NAV_TRANSLATION_DISABLED) { return; return; } } final float normalTranslationY = mTaskbarNavButtonTranslationY.value; final float normalTranslationY = mTaskbarNavButtonTranslationY.value; Loading Loading
quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -118,6 +118,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT private final Rect mTempRect = new Rect(); private final Rect mTempRect = new Rect(); private static final boolean NAV_TRANSLATION_DISABLED = true; private static final int FLAG_SWITCHER_SHOWING = 1 << 0; private static final int FLAG_SWITCHER_SHOWING = 1 << 0; private static final int FLAG_IME_VISIBLE = 1 << 1; private static final int FLAG_IME_VISIBLE = 1 << 1; private static final int FLAG_ROTATION_BUTTON_VISIBLE = 1 << 2; private static final int FLAG_ROTATION_BUTTON_VISIBLE = 1 << 2; Loading Loading @@ -651,7 +652,7 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT * Sets the translationY of the nav buttons based on the current device state. * Sets the translationY of the nav buttons based on the current device state. */ */ public void updateNavButtonTranslationY() { public void updateNavButtonTranslationY() { if (mContext.isPhoneButtonNavMode()) { if (mContext.isPhoneButtonNavMode() || NAV_TRANSLATION_DISABLED) { return; return; } } final float normalTranslationY = mTaskbarNavButtonTranslationY.value; final float normalTranslationY = mTaskbarNavButtonTranslationY.value; Loading