2 * Copyright (c) 2019 Samsung Electronics 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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 "popupBackgroundImage":"{APPLICATION_RESOURCE_PATH}/images/popup.9.png",
23 "popupBackgroundBorder":[0,4,4,0],
24 "tailUpImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-up.png",
25 "tailDownImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-down.png",
26 "tailLeftImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-left.png",
27 "tailRightImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-right.png"
36 "color":[0.4, 0.6, 0.9, 0.6],
41 "url":"{APPLICATION_RESOURCE_PATH}/images/demo-tile-texture.9.png",
42 // TILE_BACKGROUND_ALPHA
43 // This shader takes a texture.
44 // An alpha discard is performed.
45 // The shader uses the tiles position within the scroll-view page and the scroll-views rotation position to create a parallax effect.
49 " varying mediump vec2 vTexCoord;",
50 " uniform lowp vec4 uColor;",
51 " uniform sampler2D sTexture;",
52 " uniform mediump vec3 uCustomPosition;",
56 " if( texture2D( sTexture, vTexCoord ).a <= 0.0001 )",
61 " mediump vec2 wrapTexCoord = vec2( ( vTexCoord.x / 4.0 ) + ( uCustomPosition.x / 4.0 ) + ( uCustomPosition.z / 2.0 ), vTexCoord.y / 4.0 );",
62 " mediump vec4 color = texture2D( sTexture, wrapTexCoord );",
63 " mediump float positionWeight = ( uCustomPosition.y + 0.3 ) * color.r * 2.0;",
65 " gl_FragColor = vec4( positionWeight, positionWeight, positionWeight, 0.9 ) * uColor + vec4( uColor.xyz, 0.0 );",
74 "color":[0.3, 0.5, 0.8, 0.5],
79 "url":"{APPLICATION_RESOURCE_PATH}/images/demo-tile-texture-focused.9.png",
80 // TILE_BACKGROUND_ALPHA
81 // This shader takes a texture.
82 // An alpha discard is performed.
83 // The shader uses the tiles position within the scroll-view page and the scroll-views rotation position to create a parallax effect.
87 " varying mediump vec2 vTexCoord;",
88 " uniform lowp vec4 uColor;",
89 " uniform sampler2D sTexture;",
90 " uniform mediump vec3 uCustomPosition;",
94 " if( texture2D( sTexture, vTexCoord ).a <= 0.0001 )",
99 " mediump vec2 wrapTexCoord = vec2( ( vTexCoord.x / 4.0 ) + ( uCustomPosition.x / 4.0 ) + ( uCustomPosition.z / 2.0 ), vTexCoord.y / 4.0 );",
100 " mediump vec4 color = texture2D( sTexture, wrapTexCoord );",
101 " mediump float positionWeight = ( uCustomPosition.y + 0.3 ) * color.r * 2.0;",
103 " gl_FragColor = vec4( positionWeight, positionWeight, positionWeight, 0.9 ) * uColor + vec4( uColor.xyz, 0.0 );",
118 "url":"{APPLICATION_RESOURCE_PATH}/images/tile-focus.9.png"
128 "url":"{APPLICATION_RESOURCE_PATH}/images/item-background.9.png" // TILE_BACKGROUND
134 "fontFamily":"Rosemary"
138 "fontStyle":{"weight":"normal"},
141 "TextLabelFontSize0":
145 "TextLabelFontSize1":
149 "TextLabelFontSize2":
153 "TextLabelFontSize3":
157 "TextLabelFontSize4":
179 "overshootEffectColor":"B018"
187 "ChangeLayoutButton":