• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <!--decor enable is true means app main window show decoration-->
18    <decor enable="true"></decor>
19    <!--max number of main window that could be shown on display-->
20    <maxAppWindowNumber>100</maxAppWindowNumber>
21    <!--maximum number of windows supported by unified rendering -->
22    <maxUniRenderAppWindowNumber>100</maxUniRenderAppWindowNumber>
23    <!--minimizeByOther enable is true means fullscreen window will be minmized by other fullscreen window-->
24    <minimizeByOther enable="true"></minimizeByOther>
25    <!--window mdoe change hot zones config, fullscreen primary secondary-->
26    <modeChangeHotZones>50 50 50</modeChangeHotZones>
27    <!--stretchable enable is true means all window be stretchable-->
28    <stretchable enable="false"></stretchable>
29    <!--exit split screen mode ratio config-->
30    <exitSplitRatios>0.1 0.9</exitSplitRatios>
31    <!--split screen ratios config-->
32    <splitRatios>0.5 0.33 0.67</splitRatios>
33    <!--default window mode config-->
34    <defaultWindowMode>1</defaultWindowMode>
35    <!--window animation config-->
36    <windowAnimation>
37        <timing>
38            <!--duration of animation when add/remove window, unit is ms-->
39            <duration>350</duration>
40            <!--timing curve of animation, config it as below:
41            name=ease, easeIn, easeOut, easeInOut, default, linear,
42            spring, interactiveSpring, cubic(float float float float)-->
43            <curve name="easeOut"></curve>
44        </timing>
45        <!--scaleX and scaleY of animation start state-->
46        <scale>0.7 0.7</scale>
47        <!--rotation of animation start state, 4 numbers is axis and angle-->
48        <rotation>0 0 1 0</rotation>
49        <!--translateX and translateY of animation start state-->
50        <translate>0 0</translate>
51        <!--opacity of animation start state-->
52        <opacity>0</opacity>
53    </windowAnimation>
54    <!--keyboard animation config-->
55    <keyboardAnimation>
56        <timing>
57            <!--duration of animation when add keyboard, unit is ms-->
58            <durationIn>150</durationIn>
59            <!--duration of animation when remove keyboard, unit is ms-->
60            <durationOut>150</durationOut>
61            <!--friction curve-->
62            <curve name="cubic">0.2 0.0 0.2 1.0</curve>
63        </timing>
64    </keyboardAnimation>
65    <!--enable/disable remote animation-->
66    <remoteAnimation enable="true"></remoteAnimation>
67    <!--window effect config-->
68    <windowEffect>
69        <appWindows>
70            <cornerRadius>
71                <!--off: no corner, defaultCornerRadiusXS: 4vp, defaultCornerRadiusS: 8vp-->
72                <!--defaultCornerRadiusM: 12vp, defaultCornerRadiusL: 16vp, defaultCornerRadiusXL: 24vp-->
73                <fullScreen>off</fullScreen>
74                <split>off</split>
75                <float>off</float>
76            </cornerRadius>
77            <shadow>
78                <focused>
79                    <elevation>0</elevation>
80                    <color>#000000</color>
81                    <offsetX>0</offsetX>
82                    <offsetY>0</offsetY>
83                    <alpha>0</alpha>
84                </focused>
85                <unfocused>
86                    <elevation>0</elevation>
87                    <color>#000000</color>
88                    <offsetX>0</offsetX>
89                    <offsetY>0</offsetY>
90                    <alpha>0</alpha>
91                </unfocused>
92            </shadow>
93        </appWindows>
94    </windowEffect>
95</Configs>
96