HbmManager: Support B5-specific configurations

The patch provides the compensation images and threshold configurations
for B5

Bug: 151886711
Test: Enale HBM and check compensation layer
Change-Id: Ib1f0b89a3d11084adc63bea42e294946baaa66bb
This commit is contained in:
Yichi Chen
2020-06-10 20:57:14 +08:00
parent c2cc9cd3a7
commit 059dda57cc
3 changed files with 32 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,32 @@
<?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>15000.0</item>
<item>30000.0</item>
</array>
<array name="config_compensation_images">
<item>@drawable/b5_compensation_image_15k</item>
<item>@drawable/b5_compensation_image_30k</item>
</array>
<integer name="config_compensation_filter_horizon">4000</integer>
</resources>