Loading core/res/res/values/dimens.xml +1 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,7 @@ <!-- Height of the bottom navigation bar frame in landscape --> <dimen name="navigation_bar_frame_height_landscape">@dimen/navigation_bar_frame_height</dimen> <!-- The height of the navigation gesture area; if the size is larger than the navigation bar frame width/height, then the difference is the spacing from the navigation bar window to the area that detects gestures. --> <!-- The height of the navigation gesture area if the gesture is starting from the bottom. --> <dimen name="navigation_bar_gesture_height">@dimen/navigation_bar_frame_height</dimen> <!-- Height of the bottom navigation / system bar in car mode. --> Loading packages/overlays/NavigationBarModeGesturalOverlay/res/values/dimens.xml +2 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,6 @@ <dimen name="navigation_bar_width">16dp</dimen> <!-- Height of the bottom navigation / system bar. --> <dimen name="navigation_bar_frame_height">48dp</dimen> <!-- The height of the bottom navigation gesture area. --> <dimen name="navigation_bar_gesture_height">32dp</dimen> </resources> No newline at end of file services/core/java/com/android/server/wm/DisplayPolicy.java +2 −2 Original line number Diff line number Diff line Loading @@ -2720,9 +2720,9 @@ public class DisplayPolicy { res.getBoolean(R.bool.config_navBarAlwaysShowOnSideEdgeGesture); // This should calculate how much above the frame we accept gestures. mBottomGestureAdditionalInset = Math.max(0, mBottomGestureAdditionalInset = res.getDimensionPixelSize(R.dimen.navigation_bar_gesture_height) - getNavigationBarFrameHeight(portraitRotation, uiMode)); - getNavigationBarFrameHeight(portraitRotation, uiMode); updateConfigurationAndScreenSizeDependentBehaviors(); mWindowOutsetBottom = ScreenShapeHelper.getWindowOutsetBottomPx(mContext.getResources()); Loading Loading
core/res/res/values/dimens.xml +1 −3 Original line number Diff line number Diff line Loading @@ -59,9 +59,7 @@ <!-- Height of the bottom navigation bar frame in landscape --> <dimen name="navigation_bar_frame_height_landscape">@dimen/navigation_bar_frame_height</dimen> <!-- The height of the navigation gesture area; if the size is larger than the navigation bar frame width/height, then the difference is the spacing from the navigation bar window to the area that detects gestures. --> <!-- The height of the navigation gesture area if the gesture is starting from the bottom. --> <dimen name="navigation_bar_gesture_height">@dimen/navigation_bar_frame_height</dimen> <!-- Height of the bottom navigation / system bar in car mode. --> Loading
packages/overlays/NavigationBarModeGesturalOverlay/res/values/dimens.xml +2 −0 Original line number Diff line number Diff line Loading @@ -25,4 +25,6 @@ <dimen name="navigation_bar_width">16dp</dimen> <!-- Height of the bottom navigation / system bar. --> <dimen name="navigation_bar_frame_height">48dp</dimen> <!-- The height of the bottom navigation gesture area. --> <dimen name="navigation_bar_gesture_height">32dp</dimen> </resources> No newline at end of file
services/core/java/com/android/server/wm/DisplayPolicy.java +2 −2 Original line number Diff line number Diff line Loading @@ -2720,9 +2720,9 @@ public class DisplayPolicy { res.getBoolean(R.bool.config_navBarAlwaysShowOnSideEdgeGesture); // This should calculate how much above the frame we accept gestures. mBottomGestureAdditionalInset = Math.max(0, mBottomGestureAdditionalInset = res.getDimensionPixelSize(R.dimen.navigation_bar_gesture_height) - getNavigationBarFrameHeight(portraitRotation, uiMode)); - getNavigationBarFrameHeight(portraitRotation, uiMode); updateConfigurationAndScreenSizeDependentBehaviors(); mWindowOutsetBottom = ScreenShapeHelper.getWindowOutsetBottomPx(mContext.getResources()); Loading