• 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="false">
19        <!--supportedMode could be configed as fullscreen, floating, split or the combination of them-->
20        <supportedMode>floating fullscreen</supportedMode>
21    </decor>
22    <!--max number of main window that could be shown on display-->
23    <maxAppWindowNumber>100</maxAppWindowNumber>
24    <!--minimizeByOther enable is true means fullscreen window will be minmized by other fullscreen window-->
25    <minimizeByOther enable="true"></minimizeByOther>
26    <!--window mdoe change hot zones config, fullscreen primary secondary-->
27    <modeChangeHotZones>50 50 50</modeChangeHotZones>
28    <!--stretchable enable is true means all window be stretchable-->
29    <stretchable enable="false"></stretchable>
30    <!--exit split screen mode ratio config-->
31    <exitSplitRatios>0.1 0.9</exitSplitRatios>
32    <!--split screen ratios config-->
33    <splitRatios>0.5 0.33 0.67</splitRatios>
34    <!--default window mode config-->
35    <defaultWindowMode>1</defaultWindowMode>
36    <!--window animation config-->
37    <windowAnimation>
38        <timing>
39            <!--duration of animation when add/remove window, unit is ms-->
40            <duration>350</duration>
41            <!--timing curve of animation, config it as below:
42            name=ease, easeIn, easeOut, easeInOut, default, linear,
43            spring, interactiveSpring, cubic(float float float float)-->
44            <curve name="easeOut"></curve>
45        </timing>
46        <!--scaleX and scaleY of animation start state-->
47        <scale>0.7 0.7</scale>
48        <!--rotation of animation start state, 4 numbers is axis and angle-->
49        <rotation>0 0 1 0</rotation>
50        <!--translateX and translateY of animation start state-->
51        <translate>0 0</translate>
52        <!--opacity of animation start state-->
53        <opacity>0</opacity>
54    </windowAnimation>
55    <!--keyboard animation config-->
56    <keyboardAnimation>
57        <!--animation when add keyboard-->
58        <animationIn>
59            <timing>
60                <!--animation duration, unit is ms-->
61                <duration>150</duration>
62                <!--friction curve-->
63                <curve name="cubic">0.2 0.0 0.2 1.0</curve>
64            </timing>
65        </animationIn>
66        <!--animation when remove keyboard-->
67        <animationOut>
68            <timing>
69                <!--animation duration, unit is ms-->
70                <duration>150</duration>
71                <!--friction curve-->
72                <curve name="cubic">0.2 0.0 0.2 1.0</curve>
73            </timing>
74        </animationOut>
75    </keyboardAnimation>
76    <!--startWindowTransitionAnimation enable is true means startWindow replace with alpha animation-->
77    <startWindowTransitionAnimation enable="false">
78        <timing>
79            <!--duration of animation when add/remove window, unit is ms-->
80            <duration>200</duration>
81            <!--timing curve of animation, config it as below:
82            name=ease, easeIn, easeOut, easeInOut, default, linear,
83            spring, interactiveSpring, cubic(float float float float)-->
84            <curve name="linear"></curve>
85        </timing>
86        <!--opacity of animation start state-->
87        <opacityStart>1</opacityStart>
88        <!--opacity of animation end state-->
89        <opacityEnd>0</opacityEnd>
90    </startWindowTransitionAnimation>
91    <!--enable/disable remote animation-->
92    <remoteAnimation enable="true"></remoteAnimation>
93    <!--window effect config-->
94    <windowEffect>
95        <appWindows>
96            <cornerRadius>
97                <!--off: no corner, defaultCornerRadiusXS: 4vp, defaultCornerRadiusS: 8vp-->
98                <!--defaultCornerRadiusM: 12vp, defaultCornerRadiusL: 16vp, defaultCornerRadiusXL: 24vp-->
99                <fullScreen>off</fullScreen>
100                <split>off</split>
101                <float>off</float>
102            </cornerRadius>
103            <shadow>
104                <focused>
105                    <elevation>0</elevation>
106                    <color>#000000</color>
107                    <offsetX>0</offsetX>
108                    <offsetY>0</offsetY>
109                    <alpha>0</alpha>
110                </focused>
111                <unfocused>
112                    <elevation>0</elevation>
113                    <color>#000000</color>
114                    <offsetX>0</offsetX>
115                    <offsetY>0</offsetY>
116                    <alpha>0</alpha>
117                </unfocused>
118            </shadow>
119        </appWindows>
120    </windowEffect>
121</Configs>
122