55 Commits

Author SHA1 Message Date
Tim Zimmermann
797a94b94b pipa: overlay: Mark as WiFi-only
Change-Id: I6c3d5118527903fd0b8a6eb5679dede961e01e9f
2025-09-21 08:29:35 +00:00
Davide Garberi
68da74aa74 pipa: overlay: Specify that we don't have SIM support
Change-Id: If6a6ba4514f7993a2ed55cf61a15e263bb5cde7b
2025-09-21 08:29:19 +00:00
gensis01
3e799d6a46 pipa: Set default refresh rate 90hz 2025-09-21 08:22:54 +00:00
Fabian Leutenegger
ec160952a5 pipa: overlay: Allow lockscreen lockscreen rotation
Change-Id: Ib5d23607f661896c306fd2a054393720f726ac98
2025-07-17 12:00:00 +00:00
Tobias Merkel
a5d6a2f993 pipa: overlay: Allow all rotations
Change-Id: Ie6b48005cd410267f6b547d43f3141d1381930f6
2025-06-17 12:00:00 +00:00
Tim Zimmermann
93c875bce3 pipa: Enable support for freeform windows and picture-in-picture
Change-Id: If0a63fc7e8455100128fa25955bb4da485fff873
2025-07-29 15:51:22 +00:00
Sugakesshaa
6286bc61f1 pipa: overlay: Set config_defaultPeakRefreshRate to 144
Change-Id: I7deb1c14df98c966fbf8d5951019e8a92a818962
2025-07-29 15:51:22 +00:00
Sugakesshaa
f04c648fa0 pipa: overlay: Define brightness float values
Change-Id: I4a3b8d401f47e5d24350d91311418e3ebf29a171
2025-03-15 19:50:34 +03:00
AdarshGrewal
808b15b8e4 pipa: overlay: Import more brightness overlay
Change-Id: I849a7b19625e7269ad98e79b17d5cf7a093b453f
2025-01-26 04:00:32 +03:00
AdarshGrewal
6f91ea8cb5 pipa: overlay: Empty autoBrightnessLcdBacklightValues array
Change-Id: Iff0da7fd81199c7ce563ec757093d647df55925b
2025-01-26 04:00:32 +03:00
AdarshGrewal
2085306ff1 pipa: overlay: Drop fingerprint location overlays
Change-Id: Ibe35521dcb99fcd4cbea93e36619467d552ded91
2024-07-29 23:37:29 +02:00
AdarshGrewal
f4b26d2dd2 pipa: overlay: Set power button location overlay
Change-Id: I3d9ba3edd283b46164ba5ad83ba602c458f71901
2024-07-29 23:37:29 +02:00
AdarshGrewal
4c5181bfe4 pipa: overlay: Drop Camera protection overlay
Change-Id: Iee6717bba6bc1cb5c68c2359b560b0703bbea04e
2024-07-29 23:37:29 +02:00
Bruno Martins
75567862cd pipa: Enable smooth display
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
2024-07-29 23:36:24 +02:00
LuK1337
51137bc0f7 pipa: Set default Settings.Global.DEVICE_NAME according to MIUI
MIUI uses ro.product.vendor.marketname for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2024-07-23 01:20:18 +02:00
Omkar Chandorkar
d6decbd71c pipa: Disable battery cycle count
- Seems to report wrong values

Change-Id: Ib44b60897a6561b5acfd171c449e9ea3d6f51808
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Francescodario Cuzzocrea <bosconovic@gmail.com>
2024-07-23 01:20:17 +02:00
Davide Garberi
644496f192 pipa: overlay: Convert auto brightness backlight values to 255
Change-Id: I650f0af9d8e9e17e7fe027b9db87834bb01b8c0b
2024-07-23 01:19:28 +02:00
Davide Garberi
274eb66e57 pipa: overlay: Adjust rounded corner radius
Change-Id: I4d05879065716ce4c8e133f169e979d7e75ec6e6
2024-07-23 01:08:20 +02:00
Davide Garberi
5e19ab26a6 pipa: overlay: Update power profile from stock
* From V14.0.8.0.TMZMIXM with some changes to match
   newer android versions needs

Change-Id: Iab36ec4bd3731bf21d49e474870ffd1bcfa0c94c
2024-07-23 01:08:19 +02:00
Dmitry Muhomor
5efc6f9638 pipa: Set default screen rotation to 90 degrees
Change-Id: Ib36ceb0d541640165527f3d2d06d7edea67c1860
2024-07-21 15:28:26 +02:00
Michael Bestas
bf5af6d793 pipa: Enable auto rotation by default
Change-Id: I1bef753184dac4c22ecb5ecc9066a1d1ecfcd729
2024-07-21 15:28:26 +02:00
luka177
1d8968254e pipa: Remove display cutout from overlays
* In this device the front cam isn't inside the screen

Change-Id: I0aaeb3a41c4da4e6d0a4f8a5d706588883096f45
2024-07-21 15:06:55 +02:00
luka177
66dcc78609 pipa: Update rounder corners overlays
*  Based on stock overlays

Change-Id: Ib239bfc3f7abea580abbd77c18999115ba0d8861
2024-07-21 15:06:55 +02:00
luka177
2f2ed35f44 pipa: Disable AOD
* pipa has an ips screen, so disable AOD same as it is disabled on stock

Change-Id: I0cce50fb27e3d6a6ffc3f6e5c6b077910794baeb
2024-07-21 15:06:55 +02:00
luka177
b31dba70a6 pipa: Update screen brightness overlays
* From stock

Change-Id: Ia1aa7ef8db68286f44042831f5381ba1630275e9
2024-07-21 15:06:55 +02:00
Mohammed Althaf T
2f52567174 Revert "alioth: overlay: Enable performant auth feature"
This reverts commit 9f0c9b6741.

Reason for revert: Not using its value anywhere.

Change-Id: I7c39bec88549705969b72263c7559bbf751c76ba
2023-07-14 17:51:29 +02:00
Michael Bestas
9f0c9b6741 alioth: overlay: Enable performant auth feature
Change-Id: I76f0c3242f7cb16b4ddc8ed5e4bfcb35b65cc8ff
2023-06-30 22:04:15 +05:30
althafvly
f965d3c42a alioth: Update power profile from stock
Change-Id: I6eead89edeeef82c02beaa06acfac25c03a41d75
2023-06-27 20:23:59 +05:30
Georg Veichtlbauer
508ce53fc5 alioth: overlay: Update deprecated screen power item
* ambient.on -> ambient.on.display0

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2023-06-27 19:37:34 +05:30
Omkar Chandorkar
569fd4e033 alioth: overlay: update rounded corner adjustment
- after updating rounded corner masks, the adjustment no longer matches screen
- users can see that the radius of the fancy clipping path is slightly too high
  and thus causes visible pixel bleed in the top corners at mQsExpansion progress = 0.
- Reduce the radius by 3px to fix clipping issue.
- this is rather obvious after light qs

Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I09593708bfd95af106d538832727a3ffe98d0a02
2022-12-28 20:05:12 +05:30
Dyneteve
a0208737b4 alioth: overlay: update rounded corners for T
Change-Id: Iccd68ca8ef82c51d22e646b4794ef2daf095a7f5
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-11-19 12:49:05 +05:30
Mike Ma
004e4a0aeb alioth: overlay: Power profile audio & video support
Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4
2022-11-19 12:49:01 +05:30
Bruno Martins
9c12462255 alioth: overlay: Set BT controller voltage in the power profile
This was usually set in frameworks/base, but the overlay has been
deprecated in Android 13.

Change-Id: Ie1dc66c34e562179003e6294241bd5900859248a
2022-11-19 12:48:57 +05:30
Yohei Yukawa
ce1170f82a alioth: Migrate "rounded_corner_content_padding"
This CL updates resource overlay of

  rounded_corner_content_padding

for alioth so that the same device-specific value can be seen from
both the Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: I0464cd8cd08a26381a026497fb5ee332842b1d96
2022-11-19 12:48:53 +05:30
althafvly
c36f82e81f alioth: Update overlays from stock
Change-Id: Idc7d992b1a2302de524b7d8e42828e30a0250482
2022-09-18 14:06:15 +05:30
shawnlin
fe27cb43c9 alioth: Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103
2022-06-21 16:47:36 +03:00
Georg Veichtlbauer
32e4ebab7d alioth: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2022-05-27 14:59:59 +05:30
althafvly
cc33ac6c3b alioth: overlay: update corner radius from stock
Change-Id: I56a0b2e05a1939d395d75f69c719ec95f1bdf1b8
2022-04-15 12:09:04 +05:30
shawnlin
4f3f7edc69 alioth: Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d
2022-04-15 11:47:35 +05:30
althafvly
1c0c87b820 alioth: overlays: align side fps ripple animation
Change-Id: Ib36fbf138e3397674499fc18fe56d8576887ba6a
2022-04-02 09:58:49 +05:30
althafvly
847537cede alioth: overlays: set physical location of side fps
- we have fps on power button, so same values

Change-Id: Ieec34eef8c5a26b075da1314445b2b06391ec7b4
2022-03-22 04:20:05 +01:00
althafvly
318ee361ec alioth: overlays: set fingerprint sensor location
- Remove old lineage overlay while we are here.

Change-Id: Ic2b7552fed1866838f0801095e9ca8f03a9df143
2022-03-14 15:52:50 +05:30
minz1
c7cbabdd78 alioth: overlay: enable burn-in protection
Change-Id: I66713222ea83c6ccee39dc49effc36d59546c93f
2021-11-25 14:07:54 +05:30
althafvly
be716704f7 alioth: fix statubar icon padding
* Needed after recent changes

Change-Id: I33ee0caab5c640fecb8411826cb828d7432acbbf
2021-11-07 19:01:43 +05:30
althafvly
0cd23ab056 alioth: Add front-facing camera protection
* Extra padding for front facing camera cutout when camera is in use
* Remove flares on high brightness while using front camera

Change-Id: I68acb0deecbecd916be90de0a9043ea4703553df
2021-11-07 16:03:08 +05:30
althafvly
f17d1e5690 alioth: Add correct config_mainBuiltInDisplayCutout
* also add config_mainBuiltInDisplayCutoutRectApproximation for cutout
* Previous one was a notch bar, thats not what we have
* draw correct punchhole camera cover

Change-Id: I67b8775ca88a6091ead2468dfe351ab7dbee9219
2021-11-07 16:03:02 +05:30
LuK1337
95c3ab6410 alioth: overlay: Don't check proximity sensor before pulsing
Since we don't have a proper proximity sensor, doze is unable to perform a
proximity check thus some xiaomi part features aren't working

Change-Id: Ic7f2dff80b52d32e821b77f2e8c6307f8a8e3d18
2021-09-08 23:28:03 +02:00
althafvly
ba81d26e1b alioth: overlay: Set default Peak RefreshRate to 60
- Setting default peak refresh rate 0 or 120 disables 90Hz.
  This makes 90Hz option in min_refresh_rate unusable. Setting
  both config_defaultPeakRefreshRate and config_defaultRefreshRate
  to 60 allows us to use 90Hz properly

Change-Id: I67eed6191881ba7678065a6840c1d4ed0dea8ed3
2021-08-18 22:44:54 +05:30
althafvly
b76d2e245f alioth: overlay: Remove default Peak RefreshRate
- We are no longer using smooth display and using min refresh rate,
  So this causes stuck at 120hz all time

Change-Id: Id9661bd4a17a50cf0b1fc132fcd5c84f3e85689c
2021-08-12 19:51:29 +05:30
LuK1337
750ef005d9 alioth: overlay-lineage: Switch to min_refresh_rate setting
- 90hz in alioth not calibrated correcly in terms colors (blame xiaomi).
  which creates screen flickering while switching between 60<->90<->120hz

- Sometimes low brightness causing flickering between 60<->120hz.

- So we are switching to manually setting refresh rate

Change-Id: I2e16b99318003de819d84cab03f7baa33b9b6f2b
2021-08-03 14:25:59 +05:30