Add Sample Apps for Animated Gradient Visual
[platform/core/uifw/dali-demo.git] / resources / style / mobile / animated-gradient-call-active-style.json.in
1 {
2   "styles": {
3     "IncomeBackground": {
4       "background": {
5         "visualType": "ANIMATED_GRADIENT",
6         "gradientType": "RADIAL",
7         "unitType": "USER_SPACE",
8         "startPosition": [0.0, 0.0],
9         "endPosition": [180.0, 0.0],
10         "startColor": [0.1333, 0.1647, 0.2941, 1.0],
11         "endColor": [0.0784, 0.3961, 0.4863, 1.0],
12         "rotateCenter": [0.0, 0.0],
13         "rotateAmount": 0.0,
14         "offset": {
15           "startValue": 0.0,
16           "targetValue": 2.0,
17           "directionType": "BACKWARD",
18           "duration": 1.25,
19           "delay": 0.0,
20           "repeat": -1,
21           "repeatDelay": 0.0,
22           "motionType": "LOOP",
23           "easingType": "LINEAR"
24         }
25       }
26     },
27     "ActiveBackground":{
28       "background":{
29         "visualType": "ANIMATED_GRADIENT",
30         "gradientType": "RADIAL",
31         "unitType": "USER_SPACE",
32         "startPosition": [0.0, 0.0],
33         "endPosition": [180.0, 0.0],
34         "startColor": [0.1066, 0.1318, 0.2353, 1.0],
35         "endColor": [0.0627, 0.3169, 0.3890, 1.0],
36         "rotateCenter": [0.0, 0.0],
37         "rotateAmount": 0.0,
38         "offset": {
39           "startValue": 0.0,
40           "targetValue": 2.0,
41           "directionType": "BACKWARD",
42           "duration": 4.0,
43           "delay": 0.0,
44           "repeat": -1,
45           "repeatDelay": 0.0,
46           "motionType": "LOOP",
47           "easingType": "LINEAR"
48         }
49       }
50     },
51     "DeclineButton":{
52       "background":{
53         "visualType": "ANIMATED_GRADIENT",
54         "gradientType": "LINEAR",
55         "unitType": "USER_SPACE",
56         "startPosition": [-180.0, 0.0],
57         "endPosition": [180.0, 0.0],
58         "startColor": [0.8941, 0.0078, 0.0078, 1.0],
59         "endColor": [1.0000, 0.5961, 0.0000, 1.0],
60         "rotateCenter": [0.0, 0.0],
61         "rotateAmount": 0.78539816,
62         "offset": {
63           "startValue": 0.0,
64           "targetValue": 2.0,
65           "directionType": "FORWARD",
66           "duration": 1.8,
67           "delay": -1.2,
68           "repeat": -1,
69           "repeatDelay": 1.2,
70           "motionType": "LOOP",
71           "easingType": "IN_OUT"
72         }
73       }
74     }
75   }
76 }