Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarEdgePanel.java +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class NavigationBarEdgePanel extends View { public static NavigationBarEdgePanel create(@NonNull Context context, int width, int height, int gravity) { final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(width, height, WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +5 −2 Original line number Diff line number Diff line Loading @@ -346,8 +346,11 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav post(() -> { // When the ime changes visibility, resize the edge panels to not cover the ime final int width = mPrototypeController.getEdgeSensitivityWidth(); final int height = mContext.getDisplay().getHeight() - imeHeight - getResources().getDimensionPixelOffset(R.dimen.status_bar_height); int height = mContext.getDisplay().getHeight() - imeHeight; if (!imeVisible) { // Hide the navigation bar area at the bottom for gestures height -= getResources().getDimensionPixelOffset(R.dimen.navigation_bar_height); } if (mLeftEdgePanel != null) { mLeftEdgePanel.setDimensions(width, height); } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarEdgePanel.java +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ public class NavigationBarEdgePanel extends View { public static NavigationBarEdgePanel create(@NonNull Context context, int width, int height, int gravity) { final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(width, height, WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +5 −2 Original line number Diff line number Diff line Loading @@ -346,8 +346,11 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav post(() -> { // When the ime changes visibility, resize the edge panels to not cover the ime final int width = mPrototypeController.getEdgeSensitivityWidth(); final int height = mContext.getDisplay().getHeight() - imeHeight - getResources().getDimensionPixelOffset(R.dimen.status_bar_height); int height = mContext.getDisplay().getHeight() - imeHeight; if (!imeVisible) { // Hide the navigation bar area at the bottom for gestures height -= getResources().getDimensionPixelOffset(R.dimen.navigation_bar_height); } if (mLeftEdgePanel != null) { mLeftEdgePanel.setDimensions(width, height); } Loading