Loading packages/SystemUI/res/values/dimens.xml +15 −0 Original line number Diff line number Diff line Loading @@ -1398,4 +1398,19 @@ <dimen name="rounded_slider_track_width">8dp</dimen> <!-- rounded_slider_track_width / 2 --> <dimen name="rounded_slider_track_corner_radius">4dp</dimen> <!-- Location on the screen of the center of the physical power button. This is a reasonable default that should be overridden by device-specific overlays. --> <dimen name="physical_power_button_center_screen_location_y">620px</dimen> <!-- Location on the screen of the center of the physical volume up/down buttons. This is a reasonable default that should be overridden by device-specific overlays. --> <dimen name="physical_volume_up_button_center_screen_location_y">950px</dimen> <dimen name="physical_volume_down_button_center_screen_location_y">1150px</dimen> <!-- Location on the screen of the center of the fingerprint sensor. For devices with under display fingerprint sensors, this directly corresponds to the fingerprint sensor's location. For devices with sensors on the back of the device, this corresponds to the location on the screen directly in front of the sensor. --> <dimen name="physical_fingerprint_sensor_center_screen_location_y">610px</dimen> </resources> packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -2971,7 +2971,7 @@ public class StatusBar extends SystemUI implements DemoMode, } mPowerButtonReveal = new PowerButtonReveal(mContext.getResources().getDimensionPixelSize( R.dimen.global_actions_top_padding)); com.android.systemui.R.dimen.physical_power_button_center_screen_location_y)); } // Visibility reporting Loading Loading
packages/SystemUI/res/values/dimens.xml +15 −0 Original line number Diff line number Diff line Loading @@ -1398,4 +1398,19 @@ <dimen name="rounded_slider_track_width">8dp</dimen> <!-- rounded_slider_track_width / 2 --> <dimen name="rounded_slider_track_corner_radius">4dp</dimen> <!-- Location on the screen of the center of the physical power button. This is a reasonable default that should be overridden by device-specific overlays. --> <dimen name="physical_power_button_center_screen_location_y">620px</dimen> <!-- Location on the screen of the center of the physical volume up/down buttons. This is a reasonable default that should be overridden by device-specific overlays. --> <dimen name="physical_volume_up_button_center_screen_location_y">950px</dimen> <dimen name="physical_volume_down_button_center_screen_location_y">1150px</dimen> <!-- Location on the screen of the center of the fingerprint sensor. For devices with under display fingerprint sensors, this directly corresponds to the fingerprint sensor's location. For devices with sensors on the back of the device, this corresponds to the location on the screen directly in front of the sensor. --> <dimen name="physical_fingerprint_sensor_center_screen_location_y">610px</dimen> </resources>
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -2971,7 +2971,7 @@ public class StatusBar extends SystemUI implements DemoMode, } mPowerButtonReveal = new PowerButtonReveal(mContext.getResources().getDimensionPixelSize( R.dimen.global_actions_top_padding)); com.android.systemui.R.dimen.physical_power_button_center_screen_location_y)); } // Visibility reporting Loading