Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e02bc58 authored by Yichi Chen's avatar Yichi Chen
Browse files

HbmManager: Support R3-specific configurations

The patch provides the compensation images and threshold configurations
for R3.

Bug: 151886711
Test: Enale HBM and check compensation layer

Change-Id: Ibf0cc557d385953beea28f7af6b18e3940882250
parent b1534fba
Loading
Loading
Loading
Loading
+15.6 KiB
Loading image diff...
+15.6 KiB
Loading image diff...
+15.4 KiB
Loading image diff...
+34 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->

<resources>
  <array name="config_compensation_thresholds">
    <item> 7000.0</item>
    <item>30000.0</item>
    <item>50000.0</item>
  </array>

  <array name="config_compensation_images">
    <item>@drawable/r3_compensation_image_7k</item>
    <item>@drawable/r3_compensation_image_30k</item>
    <item>@drawable/r3_compensation_image_50k</item>
  </array>

  <integer name="config_compensation_filter_horizon">4000</integer>
</resources>