30 Commits

Author SHA1 Message Date
Bruno Martins
c9bf4dbc18 berlin: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:38:41 -05:00
Marc Bourgoin
136fd799ec berlin: Use default refresh rate overlays
In the berlin/dubai trees we have overriding values that use the same as
the default values, so let's just revert to that.

Change-Id: Ie79456b0cf4c319b84bca0153ba2bdd91a87960e
2022-12-21 23:41:58 -07:00
Marc Bourgoin
3cbd29963c berlin: Commonize color modes overlay
Change-Id: I1a7bfae03ac68e2ca61b8b6889a687c392375f27
2022-12-21 23:40:56 -07:00
SGCMarkus
aeb5b01a33 berlin: overlay: reduce rounded corner radius
Even though stock also uses 90px, this does not match
our panel. In light mode one can see bright areas in
the corner of the screen due to the missmatched rounded
corner radius.

Change-Id: I22e3f78273c08297ef9a2ce8595ac3eb74bbe724
2022-10-28 16:11:59 +02:00
Cosmin Tanislav
c8702fa563 berlin: remove the swipe fingerprint for notifications setting
Change-Id: Id1b96e30f8a571acc602487a4385e851250d5ad2
2022-10-09 17:27:57 +02:00
LuK1337
95652131b2 berlin: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-09-29 22:21:06 -04:00
Jarl-Penguin
44d9a18236 berlin: Decommize hardware keys config
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: Ie3516b09356d05c2f5bcfbc12c7e2f1ed9b13977
2022-09-29 19:27:33 -06:00
Nolen Johnson
a35cea1754 berlin: We don't support AOSP fingerprint gestures 2022-08-07 20:29:23 -04:00
Nolen Johnson
2752bfd244 berlin: rro: Fix formatting 2022-08-07 19:00:15 -04:00
dianlujitao
49a98f304d berlin: Fix status bar height for certain apps on 12L
* 12L introduced new API to fetch status bar height based on cutout, to
  handle multi-display devices. However, some apps directly read the
  height from overlay so the layout is broken for them.
* Since our device is not a multi-display one, set the expected height
  in overlay directly as the old way to make these apps look good.
* Reduce status bar height to exactly match the cutout height.

Change-Id: I38fae2cdd20b947998766b35920d28bebcf547cf
2022-08-06 22:04:21 +02:00
SGCMarkus
942417b1df berlin: use berlins display id for side fps location
Change-Id: Idd8a0f19c52d6ce33955adc528e8dcd37a37ef8b
2022-08-04 08:48:42 +02:00
SGCMarkus
0b269c9a8e pstar -> berlin 2022-03-26 17:01:30 +01:00
SGCMarkus
8ac7410560 Revert "pstar: enable WFD"
This reverts commit 097e5c0fa9e12e6d31d3fd044bd4a238b363ea0f.

moving to sm8250-common

Change-Id: I9f614e16e97c96f5327a528f876eabd2977f9e2f
2022-03-24 22:10:24 +01:00
dianlujitao
1e11170006 pstar: Set fps location on x-axis for proper animation
Change-Id: I29b62ed7a95a235d7ec5443acfa370ad6921d3f7
2022-03-23 19:59:56 +01:00
dianlujitao
b9444d2acd pstar: Tweak display color compositions
* Enable COLOR_MODE_SATURATED (native) and drop unsupported render
   intents. Set from pstar rro to avoid touching QC defaults.
 * Don't enforce Display P3 for all modes, let the system decide which
   to take (sRGB in most cases).
 * Set default mode to "Adaptive" (in fact "srgb-enhance") which is not
   too yellowish or vivid.

Change-Id: I17169a3a5a27a44c1991460c18f79668c9669713
2022-03-23 19:59:56 +01:00
LuK1337
5b2c367144 pstar: Configure side fingerprint sensor properties
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
2022-03-23 19:59:55 +01:00
SGCMarkus
097e5c0fa9 pstar: enable WFD 2022-02-22 16:57:03 +01:00
SGCMarkus
907a285b1f pstar: overlay: set left statusbar padding symmetric to right one 2022-02-22 00:16:29 +01:00
SGCMarkus
a9b55c0817 pstar: overlay: use stock power_profile.xml 2022-02-21 18:22:12 +01:00
SGCMarkus
593c3e3ecf pstar: overlay: enable cutout protection 2022-02-21 18:15:24 +01:00
SGCMarkus
9de6e655cb pstar: overlay: set motorola mms user agent 2022-02-21 17:44:05 +01:00
SGCMarkus
210c67a7f9 pstar: overlay: adapt punch hole cutout
also set proper rounded corners and protected camera area
2022-02-21 17:42:27 +01:00
SGCMarkus
076f16ef96 pstar: overlay: set fingerprint location
even though we have set physical_power_button_center_screen_location_y
and config_is_powerbutton_fps, the system doesnt use the power button
location for the fingerprint sensor
2022-02-20 20:42:16 +01:00
Bruno Martins
1fd8b4b271 pstar: overlay: Enable smooth display with 120Hz
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.

Set default peak refresh rate to 60, as this is the same value when the user
turns on and off the smooth display setting.
If its turned on, it will go to 144 Hz.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-02-20 20:34:54 +01:00
Bruno Martins
7186778dc9 pstar: overlay: remove duplicate 2022-02-20 19:48:33 +01:00
SGCMarkus
056f23cda0 pstar: overlay: set power button is fingerprint sensor 2022-02-20 19:29:56 +01:00
SGCMarkus
80a56bf194 pstar: overlays: set power/volume button positions 2022-02-20 19:15:02 +01:00
SGCMarkus
55d01c71c9 pstar: overlays: use stock paddings and rounded corners
also tur on warning when usb port becomes too hot
2022-02-20 19:11:56 +01:00
SGCMarkus
9b0c6e6f40 pstar: overlays: enable AOD, but disable it by default 2022-02-20 18:22:08 +01:00
SGCMarkus
5cf6ccd42a pstar: add device specific overlays
based on 5f73e812ed
2022-02-19 00:54:07 +01:00