Loading core/res/res/values-sw600dp/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -51,5 +51,9 @@ 4 - Snap to the long edges in each orientation and magnet to corners --> <integer name="config_pictureInPictureSnapMode">3</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">false</bool> </resources> core/res/res/values/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -3237,6 +3237,10 @@ 2: gestures only for back, home and overview --> <integer name="config_navBarInteractionMode">0</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">true</bool> <!-- Default insets [LEFT/RIGHTxTOP/BOTTOM] from the screen edge for picture-in-picture windows. These values are in DPs and will be converted to pixel sizes internally. --> <string translatable="false" name="config_defaultPictureInPictureScreenEdgeInsets">16x16</string> Loading core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2838,6 +2838,7 @@ <java-symbol type="bool" name="config_forceWindowDrawsStatusBarBackground" /> <java-symbol type="integer" name="config_navBarOpacityMode" /> <java-symbol type="integer" name="config_navBarInteractionMode" /> <java-symbol type="bool" name="config_navBarCanMove" /> <java-symbol type="color" name="system_bar_background_semi_transparent" /> <!-- EditText suggestion popup. --> Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +2 −1 Original line number Diff line number Diff line Loading @@ -1195,7 +1195,8 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav if (DEBUG) Log.d(TAG, String.format( "onMeasure: (%dx%d) old: (%dx%d)", w, h, getMeasuredWidth(), getMeasuredHeight())); final boolean newVertical = w > 0 && h > w; final boolean newVertical = w > 0 && h > w && !QuickStepContract.isGesturalMode(getContext()); if (newVertical != mIsVertical) { mIsVertical = newVertical; if (DEBUG) { Loading packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -22,4 +22,8 @@ 1: 2 button mode (back, home buttons + swipe up for overview) 2: gestures only for back, home and overview --> <integer name="config_navBarInteractionMode">2</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">false</bool> </resources> No newline at end of file Loading
core/res/res/values-sw600dp/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -51,5 +51,9 @@ 4 - Snap to the long edges in each orientation and magnet to corners --> <integer name="config_pictureInPictureSnapMode">3</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">false</bool> </resources>
core/res/res/values/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -3237,6 +3237,10 @@ 2: gestures only for back, home and overview --> <integer name="config_navBarInteractionMode">0</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">true</bool> <!-- Default insets [LEFT/RIGHTxTOP/BOTTOM] from the screen edge for picture-in-picture windows. These values are in DPs and will be converted to pixel sizes internally. --> <string translatable="false" name="config_defaultPictureInPictureScreenEdgeInsets">16x16</string> Loading
core/res/res/values/symbols.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2838,6 +2838,7 @@ <java-symbol type="bool" name="config_forceWindowDrawsStatusBarBackground" /> <java-symbol type="integer" name="config_navBarOpacityMode" /> <java-symbol type="integer" name="config_navBarInteractionMode" /> <java-symbol type="bool" name="config_navBarCanMove" /> <java-symbol type="color" name="system_bar_background_semi_transparent" /> <!-- EditText suggestion popup. --> Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +2 −1 Original line number Diff line number Diff line Loading @@ -1195,7 +1195,8 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav if (DEBUG) Log.d(TAG, String.format( "onMeasure: (%dx%d) old: (%dx%d)", w, h, getMeasuredWidth(), getMeasuredHeight())); final boolean newVertical = w > 0 && h > w; final boolean newVertical = w > 0 && h > w && !QuickStepContract.isGesturalMode(getContext()); if (newVertical != mIsVertical) { mIsVertical = newVertical; if (DEBUG) { Loading
packages/overlays/NavigationBarModeGesturalOverlay/res/values/config.xml +4 −0 Original line number Diff line number Diff line Loading @@ -22,4 +22,8 @@ 1: 2 button mode (back, home buttons + swipe up for overview) 2: gestures only for back, home and overview --> <integer name="config_navBarInteractionMode">2</integer> <!-- Controls whether the nav bar can move from the bottom to the side in landscape. Only applies if the device display is not square. --> <bool name="config_navBarCanMove">false</bool> </resources> No newline at end of file