Declare SFPS for Pova 4 and Pova 5

This commit is contained in:
Shirayuki39 2023-12-15 21:04:28 +08:00
parent e662939c17
commit 4b7f35a6cc
No known key found for this signature in database
GPG key ID: BEBCCA40AEA27A65
5 changed files with 36 additions and 4 deletions

View file

@ -87,6 +87,7 @@
<item>com.google.android.gms</item>
</string-array>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_is_powerbutton_fps">true</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">false</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2017, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- Doze: check proximity sensor before pulsing? -->
<bool name="doze_proximity_check_before_pulse">false</bool>
<!-- If not zero, limits the internal screen recorder's framerate to the set value. -->
<integer name="config_screenRecorderMaxFramerate">120</integer>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
</resources>

View file

@ -21,17 +21,17 @@
For devices with sensors on the back of the device, this corresponds to the location on the
screen directly in front of the sensor.
By default, this is set to @null to use the horizontal center of the screen. -->
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080.0px</dimen>
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080px</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">1100.0px</dimen>
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1100px</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">1100.0px</dimen>
<dimen name="physical_power_button_center_screen_location_y">1100px</dimen>
<dimen name="rounded_corner_content_padding">47.0px</dimen>
<dimen name="status_bar_padding_end">4.0dip</dimen>

View file

@ -27,7 +27,7 @@
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">960px</dimen>
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1100px</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. -->

View file

@ -90,6 +90,7 @@
<item>com.google.android.gms</item>
</string-array>
<bool name="config_dozeAfterScreenOff">true</bool>
<bool name="config_is_powerbutton_fps">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<bool name="config_device_volte_available">false</bool>