1<?xml version='1.0' encoding="utf-8"?> 2<!-- 3 * Copyright (c) 2022 Huawei Device Co., Ltd. 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 --> 16 <Configs> 17 <!--Window display dpi, valid range is 80~640, use 0 if no configuration is requeired--> 18 <dpi>240</dpi> 19 <!-- Indicate the deviation between the default device display direction and the direction --> 20 <!-- of the sensor. Use 0 in default, available values are {0, 90, 180, 270} --> 21 <defaultDeviceRotationOffset>0</defaultDeviceRotationOffset> 22 <!-- Svg path for cutout, use empty string if there is not cutout on the screen --> 23 <!-- format: string --> 24 <!-- default value: empty string --> 25 <!-- sample: M 100,100 m -75,0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0 z --> 26 <defaultDisplayCutoutPath></defaultDisplayCutoutPath> 27 <!-- Indicates the boundary of the curved screen, each value corresponds to the px from each edge --> 28 <!-- format: number(left) number(top) number(right) number(bottom) --> 29 <!-- default value: 0 0 0 0 --> 30 <!-- sample: 150 150 0 0 --> 31 <curvedScreenBoundary>0 0 0 0</curvedScreenBoundary> 32 <!-- Indicates whether the built-in display is a waterfall display --> 33 <!-- format: boolean --> 34 <!-- default value: false --> 35 <!-- sample: false --> 36 <isWaterfallDisplay enable="false"></isWaterfallDisplay> 37 38 <!-- Indicate whether to enable display area compression for waterfall display when displayed in landscape --> 39 <!-- or landscape_inverted mode. --> 40 <!-- This configuration item takes effect only when isWaterfallDisplay above is true --> 41 <!-- format: boolean --> 42 <!-- default value: false --> 43 <isWaterfallAreaCompressionEnableWhenHorizontal enable="false"></isWaterfallAreaCompressionEnableWhenHorizontal> 44 45 <!-- Indicate the size of both sides of the waterfall display which to be compressed when displayed in landscape --> 46 <!-- or landscape_inverted mode. --> 47 <!-- This configuration item takes effect only when isWaterfallDisplay above is true --> 48 <!-- format: uint32_t, the unit is vp. --> 49 <!-- default value: 0 --> 50 <waterfallAreaCompressionSizeWhenHorzontal>0</waterfallAreaCompressionSizeWhenHorzontal> 51 52 <!-- Indicates orientation of the built-in screen --> 53 <!-- 0: Orientation::UNSPECIFIED --> 54 <!-- 1: Orientation::VERTICAL 2: Orientation::HORIZONTAL--> 55 <!-- 3: Orientation::REVERSE_VERTICAL 4: Orientation::REVERSE_HORIZONTAL --> 56 <buildInDefaultOrientation>0</buildInDefaultOrientation> 57 </Configs> 58