Commit graph

39 commits

Author SHA1 Message Date
Nolen Johnson
42ef4334c5 xpeng: Commonize enabling aux-camera support
Change-Id: I2d1a5eb80914e0d536ab4bd5fb2744deb37f7909
2024-01-23 21:06:30 -05:00
Bruno Martins
cc692f4ef5 xpeng: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:40:37 -05:00
Lukasz Patron
1d400f0e5a xpeng: resource-overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-18 22:58:37 -06:00
Marc Bourgoin
02b52edf46 xpeng: Move overlay-lineage to resource-overlay
Change-Id: I785040aa17bb8471c8d4e2041e69f09e5cedb8d2
2023-04-17 22:40:24 -06:00
Marc Bourgoin
72a7ab0b82 xpeng: Convert tree from berlna
The partition reserved sizes were taking from stock ROM

IE, blockdev --getsize64 /dev/block/mapper/system_a

Also add TARGET_IS_VAB cflag as ro.virtual_ab.enabled is true on stock
so that our commonized tree can enable VAB-specific changes.

Change-Id: I922f61e5a0380d16eba5967f6c77346437290eb6
2023-04-17 22:40:23 -06:00
Marc Bourgoin
c31589f82d
berlna: Commonize color modes overlay
Change-Id: I1a7bfae03ac68e2ca61b8b6889a687c392375f27
2023-02-21 11:28:46 -08:00
LuK1337
4ec340e783
berlna: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-02-21 11:28:46 -08:00
Andrew Hexen
a1a654e3c4
berlna: update audio, overlays, rootdir from S1RMS32.48-18-11-2-19
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I7511c63493d554b21d85f2774ff9054eb2fc02f1
2023-01-26 09:39:49 -08:00
SGCMarkus
648bb269bd
berlna: overlays: enable 5G SA and NSA
Change-Id: Icf55910aebae8d0ae519f0a0c20708aa81ae0bfc
2023-01-26 09:39:42 -08:00
Cosmin Tanislav
e437126afc
berlna: remove old dt2w overlay
berlna is now using a custom sensors lib for it, remove the old overlay.

Change-Id: Ie3388571ef6e7ac47cf14b1159635354f7daf276
2023-01-26 09:39:39 -08:00
Cosmin Tanislav
bff83b0c5b
berlna: enable double tap sensor proximity check
Change-Id: I4b800d9d9b8aefbee38c287ae72828b67e8d46ca
2023-01-26 09:39:33 -08:00
Cosmin Tanislav
d39e501b80
berlna: sensors: Implement double tap sensor
Change-Id: I6c217c994d6e4d5ae062a31a44fffc9f097a7f6f
2023-01-26 09:39:26 -08:00
Andrew Hexen
0140955551
berlin --> berlna
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I45420899d75fa8a29642cd8eec1d9ec8b34b8f8b
2023-01-26 04:04:19 -08:00
SGCMarkus
af1ac57af8 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-12-12 12:48:47 +01:00
Cosmin Tanislav
e9b85d34a5 berlin: remove the swipe fingerprint for notifications setting
Change-Id: Id1b96e30f8a571acc602487a4385e851250d5ad2
2022-10-09 12:00:58 +02: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 097e5c0fa9.

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