sm7125: Build FlipFlap

* dependencies: Add FlipFlap.
* use black background

Change-Id: I4fe3b94400b64982ed5c7bfdbf0ef834ee4d7cc7
fourteen-wip
Arne Coucheron 2 years ago committed by Simon1511
parent fc62df5b70
commit 8ac3e487d6
  1. 4
      common.mk
  2. 23
      overlay/packages/apps/FlipFlap/res/values/colors.xml
  3. 28
      overlay/packages/apps/FlipFlap/res/values/config.xml
  4. 24
      overlay/packages/apps/FlipFlap/res/values/dimens.xml

@ -189,6 +189,10 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
vendor.lineage.fastcharge@1.0-service.samsung
# FlipFlap
PRODUCT_PACKAGES += \
FlipFlap
# FM
PRODUCT_PACKAGES += \
FM2 \

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2021 The LineageOS Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
-->
<resources>
<!-- override full colour to black -->
<color name="full_bat_bg">#000000</color>
<color name="low_bat_bg">#000000</color>
<color name="charge_bat_bg">#000000</color>
</resources>

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2022 The LineageOS Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
-->
<resources>
<!-- Define Device Lid Style
1 HTC/Xiaomi Style Dotcase
2 Asus/LG Style Circle Window Cover
3 Rectangular window Cover
4 Iceview style case where the entire screen is visible
For example, a device with Asus Circle Cover would set 2 -->
<integer name="config_deviceCoverType">3</integer>
</resources>

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2017 The LineageOS Project
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Also add information on how to contact you by electronic and paper mail.
-->
<resources>
<!-- Rectangular parameters (config_deviceCoverType == 3) -->
<dimen name="rectangular_window_top">0px</dimen>
<dimen name="rectangular_window_left">0px</dimen>
<dimen name="rectangular_window_width">1080px</dimen>
<dimen name="rectangular_window_height">400px</dimen>
</resources>
Loading…
Cancel
Save