forked from phhusson/vendor_hardware_overlay
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from ryenyuku/pie
Declare config_is_powerbutton_fps for Infinix Note 30
- Loading branch information
Showing
4 changed files
with
70 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
* Copyright (c) 2006, 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. | ||
*/ | ||
--> | ||
<resources> | ||
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080.0px</dimen> | ||
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1130.0px</dimen> | ||
<dimen name="physical_power_button_center_screen_location_y">1130.0px</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. | ||
By default, this is set to @null to use the horizontal center of the screen. --> | ||
<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">1130px</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">@dimen/physical_fingerprint_sensor_center_screen_location_y</dimen> | ||
|
||
<dimen name="rounded_corner_content_padding">55px</dimen> | ||
<dimen name="status_bar_padding_start">0px</dimen> | ||
<dimen name="status_bar_padding_end">0px</dimen> | ||
<dimen name="status_bar_padding_start">0px</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,39 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
* Copyright (c) 2006, 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. | ||
*/ | ||
--> | ||
<resources> | ||
<dimen name="physical_fingerprint_sensor_center_screen_location_x">1080.0px</dimen> | ||
<dimen name="physical_fingerprint_sensor_center_screen_location_y">1140.0px</dimen> | ||
<dimen name="physical_power_button_center_screen_location_y">1140.0px</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. | ||
By default, this is set to @null to use the horizontal center of the screen. --> | ||
<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">1140px</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">@dimen/physical_fingerprint_sensor_center_screen_location_y</dimen> | ||
|
||
<dimen name="rounded_corner_content_padding">55px</dimen> | ||
<dimen name="status_bar_padding_start">0px</dimen> | ||
<dimen name="status_bar_padding_end">0px</dimen> | ||
<dimen name="status_bar_padding_start">0px</dimen> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters