update felix device

based on pipit   93e38fbd070b55875d9c23e214dff6d26ac0cdf9
based on cheetah cdc1dc5379faf6bb60cf4f8b4b967ae87992b2ed

Bug: 206057564
Change-Id: I68ca7715cf7fd96066d8d517bc4daf236512f501
This commit is contained in:
Cyan_Hsieh 2022-02-25 17:40:15 +08:00
parent e0100f2154
commit 687519c606
22 changed files with 1198 additions and 280 deletions

View file

@ -253,22 +253,4 @@
<item>"local:4619827677550801153"</item>
</string-array>
<array name="config_sfps_sensor_props_1" translatable="false">
<item>"local:4619827677550801152"</item> <!--displayId -->
<item>0</item> <!--x (not used) -->
<item>510</item> <!--y -->
<item>0</item> <!--radius (not used) -->
</array>
<array name="config_sfps_sensor_props_2" translatable="false">
<item>"local:4619827677550801153"</item> <!--displayId -->
<item>0</item> <!--x (not used) -->
<item>590</item> <!--y -->
<item>0</item> <!--radius (not used) -->
</array>
<array name="config_sfps_sensor_props" translatable="false">
<item>@array/config_sfps_sensor_props_1</item>
<item>@array/config_sfps_sensor_props_2</item>
</array>
</resources>

View file

@ -20,49 +20,6 @@
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- Type of a sensor that provides a low-power estimate of the desired display
brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string name="doze_brightness_sensor_type" translatable="false">com.google.sensor.binned_brightness</string>
<!-- Doze: can we assume the pickup sensor includes a proximity check? -->
<bool name="doze_pickup_performs_proximity_check">true</bool>
<!-- Doze: whether the double tap sensor reports 2D touch coordinates -->
<bool name="doze_double_tap_reports_touch_coordinates">true</bool>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to brightness values; -1 means keeping the current brightness. -->
<integer-array name="config_doze_brightness_sensor_to_brightness">
<item>-1</item> <!-- 0: OFF -->
<item>3</item> <!-- 1: NIGHT -->
<item>3</item> <!-- 2: LOW -->
<item>16</item> <!-- 3: HIGH -->
<item>16</item> <!-- 4: SUN -->
</integer-array>
<!-- Doze: Table that translates sensor values from the doze_brightness_sensor_type sensor
to an opacity value for a black scrim that is overlaid in AOD1.
Valid range is from 0 (transparent) to 255 (opaque).
-1 means keeping the current opacity. -->
<integer-array name="config_doze_brightness_sensor_to_scrim_opacity">
<item>-1</item> <!-- 0: OFF -->
<item>133</item> <!-- 1: NIGHT -->
<item>0</item> <!-- 2: LOW -->
<item>0</item> <!-- 3: HIGH -->
<item>0</item> <!-- 4: SUN -->
</integer-array>
<!-- Doze: Name of a sensor per posture state that provides a low-power estimate of the desired
display brightness, suitable to listen to while the device is asleep (e.g. during
always-on display) -->
<string-array name="doze_brightness_sensor_name_posture_mapping" translatable="false">
<item></item> <!-- UNKNOWN -->
<item>Binned Brightness 1 (wake-up)</item> <!-- CLOSED -->
<item>Binned Brightness 0 (wake-up)</item> <!-- HALF_OPENED -->
<item>Binned Brightness 0 (wake-up)</item> <!-- OPENED -->
</string-array>
<!-- Override value to use for proximity sensor. By default, don't register for prox if nothing
is specified in the prox_sensor_posture_mapping. -->
<string name="proximity_sensor_type" translatable="false"></string>