Loading core/java/android/view/IWindowManager.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,11 @@ interface IWindowManager */ boolean hasNavigationBar(); /** * Get the position of the nav bar */ int getNavBarPosition(); /** * Lock the device immediately with the specified options (can be null). */ Loading core/java/android/view/WindowManagerPolicyConstants.java +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ public interface WindowManagerPolicyConstants { int PRESENCE_INTERNAL = 1 << 0; int PRESENCE_EXTERNAL = 1 << 1; // Navigation bar position values int NAV_BAR_LEFT = 1 << 0; int NAV_BAR_RIGHT = 1 << 1; int NAV_BAR_BOTTOM = 1 << 2; /** * Sticky broadcast of the current HDMI plugged state. */ Loading packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/NavBarButtonProvider.java +2 −0 Original line number Diff line number Diff line Loading @@ -50,5 +50,7 @@ public interface NavBarButtonProvider extends Plugin { } void setDarkIntensity(float intensity); void setDelayTouchFeedback(boolean shouldDelay); } } packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/NavGesture.java +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ package com.android.systemui.plugins.statusbar.phone; import android.graphics.Canvas; import android.view.MotionEvent; import com.android.systemui.plugins.Plugin; Loading @@ -35,6 +36,12 @@ public interface NavGesture extends Plugin { public void setBarState(boolean vertical, boolean isRtl); public void onDraw(Canvas canvas); public void onDarkIntensityChange(float intensity); public void onLayout(boolean changed, int left, int top, int right, int bottom); public default void destroy() { } } Loading packages/SystemUI/res/values/colors.xml +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,9 @@ <color name="remote_input_accent">#eeeeee</color> <color name="quick_step_track_background_dark">#61000000</color> <color name="quick_step_track_background_light">#4DFFFFFF</color> <!-- Keyboard shortcuts colors --> <color name="ksh_application_group_color">#fff44336</color> <color name="ksh_keyword_color">#d9000000</color> Loading Loading
core/java/android/view/IWindowManager.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,11 @@ interface IWindowManager */ boolean hasNavigationBar(); /** * Get the position of the nav bar */ int getNavBarPosition(); /** * Lock the device immediately with the specified options (can be null). */ Loading
core/java/android/view/WindowManagerPolicyConstants.java +5 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,11 @@ public interface WindowManagerPolicyConstants { int PRESENCE_INTERNAL = 1 << 0; int PRESENCE_EXTERNAL = 1 << 1; // Navigation bar position values int NAV_BAR_LEFT = 1 << 0; int NAV_BAR_RIGHT = 1 << 1; int NAV_BAR_BOTTOM = 1 << 2; /** * Sticky broadcast of the current HDMI plugged state. */ Loading
packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/NavBarButtonProvider.java +2 −0 Original line number Diff line number Diff line Loading @@ -50,5 +50,7 @@ public interface NavBarButtonProvider extends Plugin { } void setDarkIntensity(float intensity); void setDelayTouchFeedback(boolean shouldDelay); } }
packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/NavGesture.java +7 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ package com.android.systemui.plugins.statusbar.phone; import android.graphics.Canvas; import android.view.MotionEvent; import com.android.systemui.plugins.Plugin; Loading @@ -35,6 +36,12 @@ public interface NavGesture extends Plugin { public void setBarState(boolean vertical, boolean isRtl); public void onDraw(Canvas canvas); public void onDarkIntensityChange(float intensity); public void onLayout(boolean changed, int left, int top, int right, int bottom); public default void destroy() { } } Loading
packages/SystemUI/res/values/colors.xml +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,9 @@ <color name="remote_input_accent">#eeeeee</color> <color name="quick_step_track_background_dark">#61000000</color> <color name="quick_step_track_background_light">#4DFFFFFF</color> <!-- Keyboard shortcuts colors --> <color name="ksh_application_group_color">#fff44336</color> <color name="ksh_keyword_color">#d9000000</color> Loading