Loading core/java/android/view/WindowManagerPolicy.java +11 −7 Original line number Diff line number Diff line Loading @@ -623,14 +623,16 @@ public interface WindowManagerPolicy { * decorations that can never be removed. That is, system bar or * button bar. */ public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation); public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the display height available after excluding any screen * decorations that can never be removed. That is, system bar or * button bar. */ public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation); public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the available screen width that we should report for the Loading @@ -638,7 +640,8 @@ public interface WindowManagerPolicy { * {@link #getNonDecorDisplayWidth(int, int, int)}; it may be smaller than * that to account for more transient decoration like a status bar. */ public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation); public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the available screen height that we should report for the Loading @@ -646,7 +649,8 @@ public interface WindowManagerPolicy { * {@link #getNonDecorDisplayHeight(int, int, int)}; it may be smaller than * that to account for more transient decoration like a status bar. */ public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation); public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return whether the given window is forcibly hiding all windows except windows with Loading Loading @@ -861,11 +865,11 @@ public interface WindowManagerPolicy { * @param isDefaultDisplay true if window is on {@link Display#DEFAULT_DISPLAY}. * @param displayWidth The current full width of the screen. * @param displayHeight The current full height of the screen. * @param displayRotation The current rotation being applied to the base * window. * @param displayRotation The current rotation being applied to the base window. * @param uiMode The current uiMode in configuration. */ public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, int displayRotation); int displayRotation, int uiMode); /** * Returns the bottom-most layer of the system decor, above which no policy decor should Loading core/res/res/values/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,13 @@ <dimen name="navigation_bar_height_landscape">48dp</dimen> <!-- Width of the navigation bar when it is placed vertically on the screen --> <dimen name="navigation_bar_width">48dp</dimen> <!-- Height of the bottom navigation / system bar in car mode. --> <dimen name="navigation_bar_height_car_mode">96dp</dimen> <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height_car_mode --> <dimen name="navigation_bar_height_landscape_car_mode">96dp</dimen> <!-- Width of the navigation bar when it is placed vertically on the screen in car mode --> <dimen name="navigation_bar_width_car_mode">96dp</dimen> <!-- Height of notification icons in the status bar --> <dimen name="status_bar_icon_size">24dip</dimen> <!-- Size of the giant number (unread count) in the notifications --> Loading core/res/res/values/symbols.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1497,6 +1497,9 @@ <java-symbol type="dimen" name="navigation_bar_height" /> <java-symbol type="dimen" name="navigation_bar_height_landscape" /> <java-symbol type="dimen" name="navigation_bar_width" /> <java-symbol type="dimen" name="navigation_bar_height_car_mode" /> <java-symbol type="dimen" name="navigation_bar_height_landscape_car_mode" /> <java-symbol type="dimen" name="navigation_bar_width_car_mode" /> <java-symbol type="dimen" name="status_bar_height" /> <java-symbol type="drawable" name="ic_jog_dial_sound_off" /> <java-symbol type="drawable" name="ic_jog_dial_sound_on" /> Loading packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_carmode.png 0 → 100644 +1.56 KiB Loading image diff... packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_ime_carmode.png 0 → 100644 +1.6 KiB Loading image diff... Loading
core/java/android/view/WindowManagerPolicy.java +11 −7 Original line number Diff line number Diff line Loading @@ -623,14 +623,16 @@ public interface WindowManagerPolicy { * decorations that can never be removed. That is, system bar or * button bar. */ public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation); public int getNonDecorDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the display height available after excluding any screen * decorations that can never be removed. That is, system bar or * button bar. */ public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation); public int getNonDecorDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the available screen width that we should report for the Loading @@ -638,7 +640,8 @@ public interface WindowManagerPolicy { * {@link #getNonDecorDisplayWidth(int, int, int)}; it may be smaller than * that to account for more transient decoration like a status bar. */ public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation); public int getConfigDisplayWidth(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return the available screen height that we should report for the Loading @@ -646,7 +649,8 @@ public interface WindowManagerPolicy { * {@link #getNonDecorDisplayHeight(int, int, int)}; it may be smaller than * that to account for more transient decoration like a status bar. */ public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation); public int getConfigDisplayHeight(int fullWidth, int fullHeight, int rotation, int uiMode); /** * Return whether the given window is forcibly hiding all windows except windows with Loading Loading @@ -861,11 +865,11 @@ public interface WindowManagerPolicy { * @param isDefaultDisplay true if window is on {@link Display#DEFAULT_DISPLAY}. * @param displayWidth The current full width of the screen. * @param displayHeight The current full height of the screen. * @param displayRotation The current rotation being applied to the base * window. * @param displayRotation The current rotation being applied to the base window. * @param uiMode The current uiMode in configuration. */ public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, int displayRotation); int displayRotation, int uiMode); /** * Returns the bottom-most layer of the system decor, above which no policy decor should Loading
core/res/res/values/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,13 @@ <dimen name="navigation_bar_height_landscape">48dp</dimen> <!-- Width of the navigation bar when it is placed vertically on the screen --> <dimen name="navigation_bar_width">48dp</dimen> <!-- Height of the bottom navigation / system bar in car mode. --> <dimen name="navigation_bar_height_car_mode">96dp</dimen> <!-- Height of the bottom navigation bar in portrait; often the same as @dimen/navigation_bar_height_car_mode --> <dimen name="navigation_bar_height_landscape_car_mode">96dp</dimen> <!-- Width of the navigation bar when it is placed vertically on the screen in car mode --> <dimen name="navigation_bar_width_car_mode">96dp</dimen> <!-- Height of notification icons in the status bar --> <dimen name="status_bar_icon_size">24dip</dimen> <!-- Size of the giant number (unread count) in the notifications --> Loading
core/res/res/values/symbols.xml +3 −0 Original line number Diff line number Diff line Loading @@ -1497,6 +1497,9 @@ <java-symbol type="dimen" name="navigation_bar_height" /> <java-symbol type="dimen" name="navigation_bar_height_landscape" /> <java-symbol type="dimen" name="navigation_bar_width" /> <java-symbol type="dimen" name="navigation_bar_height_car_mode" /> <java-symbol type="dimen" name="navigation_bar_height_landscape_car_mode" /> <java-symbol type="dimen" name="navigation_bar_width_car_mode" /> <java-symbol type="dimen" name="status_bar_height" /> <java-symbol type="drawable" name="ic_jog_dial_sound_off" /> <java-symbol type="drawable" name="ic_jog_dial_sound_on" /> Loading
packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_carmode.png 0 → 100644 +1.56 KiB Loading image diff...
packages/SystemUI/res/drawable-hdpi/ic_sysbar_back_ime_carmode.png 0 → 100644 +1.6 KiB Loading image diff...