-
Notifications
You must be signed in to change notification settings - Fork 588
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 #721 from TQMatvey/pie
Rework S21 Ultra (p3s) overlays
- Loading branch information
Showing
6 changed files
with
233 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
LOCAL_PATH := $(call my-dir) | ||
include $(CLEAR_VARS) | ||
LOCAL_MODULE_TAGS := optional | ||
LOCAL_PACKAGE_NAME := treble-overlay-samsung-p3s-systemui | ||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay | ||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true | ||
LOCAL_PRIVATE_PLATFORM_APIS := true | ||
include $(BUILD_PACKAGE) |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="me.phh.treble.overlay.samsung.p3s.systemui" | ||
android:versionCode="1" | ||
android:versionName="1.0"> | ||
<overlay android:targetPackage="com.android.systemui" | ||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint" | ||
android:requiredSystemPropertyValue="+*samsung/p3s*" | ||
android:priority="399" | ||
android:isStatic="true" /> | ||
</manifest> |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?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> | ||
<!-- the padding on the top of the statusbar (usually 0) --> | ||
<dimen name="status_bar_padding_top">2dp</dimen> | ||
|
||
<!-- the padding on the start of the statusbar --> | ||
<dimen name="status_bar_padding_start">4dp</dimen> | ||
|
||
<!-- the padding on the end of the statusbar --> | ||
<dimen name="status_bar_padding_end">4dp</dimen> | ||
|
||
<!-- Margin on the left side of the carrier text on Keyguard --> | ||
<dimen name="keyguard_carrier_text_margin">8dp</dimen> | ||
|
||
<!-- for 20dp of padding at 3.5px/dp at default density --> | ||
<dimen name="rounded_corner_content_padding">70px</dimen> | ||
|
||
<!-- Minimum margin between clock and status bar | ||
TLDR: Move the clock on lockscreen lower so | ||
it looks like a google pixel, ty Haridhayal --> | ||
<dimen name="keyguard_clock_top_margin">60dp</dimen> | ||
|
||
<!-- Doze: does this device support STATE_DOZE? --> | ||
<bool name="doze_display_state_supported">true</bool> | ||
|
||
<!-- Doze: does this device support STATE_DOZE_SUSPEND? --> | ||
<bool name="doze_suspend_display_state_supported">false</bool> | ||
|
||
<!-- 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">1400px</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<dimen name="status_bar_height">110px</dimen> | ||
<dimen name="status_bar_height_default">110px</dimen> | ||
<dimen name="status_bar_height_portrait">110px</dimen> | ||
<dimen name="status_bar_height">125px</dimen> | ||
<dimen name="status_bar_height_default">125px</dimen> | ||
<dimen name="status_bar_height_portrait">125px</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