aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorFlorin Malita <fmalita@chromium.org>2018-09-25 13:10:12 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-09-26 16:43:49 +0000
commit17282da3aa94c2291ba32f4b8c4bef473230324e (patch)
tree9704a4e9e1217e4ec88bd02fcdf3493b9cb1e898 /resources
parenteeb257fadd677e098bdff11c68fa72e8c922f2da (diff)
downloadplatform_external_skqp-17282da3aa94c2291ba32f4b8c4bef473230324e.tar.gz
platform_external_skqp-17282da3aa94c2291ba32f4b8c4bef473230324e.tar.bz2
platform_external_skqp-17282da3aa94c2291ba32f4b8c4bef473230324e.zip
[skottie] Add a property setter sample/GM
skottie_colorize: press 'c' to cycle through stroke/fill colors. Change-Id: I7fa9dcd67822df37e97cafabe088c4b9ded9c622 TBR= Reviewed-on: https://skia-review.googlesource.com/156882 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'resources')
-rw-r--r--resources/skottie/skottie_sample_search.json442
1 files changed, 442 insertions, 0 deletions
diff --git a/resources/skottie/skottie_sample_search.json b/resources/skottie/skottie_sample_search.json
new file mode 100644
index 0000000000..dddb7668b1
--- /dev/null
+++ b/resources/skottie/skottie_sample_search.json
@@ -0,0 +1,442 @@
+{
+ "assets": [],
+ "ddd": 0,
+ "fr": 24,
+ "h": 24,
+ "ip": 0,
+ "layers": [
+ {
+ "ao": 0,
+ "bm": 0,
+ "ddd": 0,
+ "ind": 1,
+ "ip": 0,
+ "ks": {
+ "a": {
+ "a": 0,
+ "ix": 1,
+ "k": [
+ 0,
+ 0,
+ 0
+ ]
+ },
+ "o": {
+ "a": 0,
+ "ix": 11,
+ "k": 100
+ },
+ "p": {
+ "a": 0,
+ "ix": 2,
+ "k": [
+ 10.375,
+ 9.875,
+ 0
+ ]
+ },
+ "r": {
+ "a": 0,
+ "ix": 10,
+ "k": 0
+ },
+ "s": {
+ "a": 0,
+ "ix": 6,
+ "k": [
+ 100,
+ 100,
+ 100
+ ]
+ }
+ },
+ "nm": "Shape Layer 1",
+ "op": 54,
+ "shapes": [
+ {
+ "cix": 2,
+ "hd": false,
+ "it": [
+ {
+ "hd": false,
+ "ind": 0,
+ "ix": 1,
+ "ks": {
+ "a": 0,
+ "ix": 2,
+ "k": {
+ "c": false,
+ "i": [
+ [
+ 0,
+ 0
+ ],
+ [
+ 0,
+ 0
+ ]
+ ],
+ "o": [
+ [
+ 0,
+ 0
+ ],
+ [
+ 0,
+ 0
+ ]
+ ],
+ "v": [
+ [
+ 3.75,
+ 5
+ ],
+ [
+ 10.75,
+ 12
+ ]
+ ]
+ }
+ },
+ "mn": "ADBE Vector Shape - Group",
+ "nm": "Path 1",
+ "ty": "sh"
+ },
+ {
+ "c": {
+ "a": 0,
+ "ix": 3,
+ "k": [
+ 0,
+ 0,
+ 0,
+ 1
+ ]
+ },
+ "hd": false,
+ "lc": 2,
+ "lj": 2,
+ "mn": "ADBE Vector Graphic - Stroke",
+ "nm": "Stroke 1",
+ "o": {
+ "a": 0,
+ "ix": 4,
+ "k": 56
+ },
+ "ty": "st",
+ "w": {
+ "a": 0,
+ "ix": 5,
+ "k": 2
+ }
+ },
+ {
+ "c": {
+ "a": 0,
+ "ix": 4,
+ "k": [
+ 1,
+ 1,
+ 1,
+ 1
+ ]
+ },
+ "hd": false,
+ "mn": "ADBE Vector Graphic - Fill",
+ "nm": "Fill 1",
+ "o": {
+ "a": 0,
+ "ix": 5,
+ "k": 100
+ },
+ "r": 1,
+ "ty": "fl"
+ },
+ {
+ "a": {
+ "a": 0,
+ "ix": 1,
+ "k": [
+ 0,
+ 0
+ ]
+ },
+ "nm": "Transform",
+ "o": {
+ "a": 0,
+ "ix": 7,
+ "k": 100
+ },
+ "p": {
+ "a": 0,
+ "ix": 2,
+ "k": [
+ 0,
+ 0
+ ]
+ },
+ "r": {
+ "a": 0,
+ "ix": 6,
+ "k": 0
+ },
+ "s": {
+ "a": 0,
+ "ix": 3,
+ "k": [
+ 100,
+ 100
+ ]
+ },
+ "sa": {
+ "a": 0,
+ "ix": 5,
+ "k": 0
+ },
+ "sk": {
+ "a": 0,
+ "ix": 4,
+ "k": 0
+ },
+ "ty": "tr"
+ }
+ ],
+ "ix": 1,
+ "mn": "ADBE Vector Group",
+ "nm": "Shape 1",
+ "np": 3,
+ "ty": "gr"
+ },
+ {
+ "cix": 2,
+ "hd": false,
+ "it": [
+ {
+ "d": 1,
+ "hd": false,
+ "mn": "ADBE Vector Shape - Ellipse",
+ "nm": "Ellipse Path 1",
+ "p": {
+ "a": 0,
+ "ix": 3,
+ "k": [
+ 0,
+ 0
+ ]
+ },
+ "s": {
+ "a": 0,
+ "ix": 2,
+ "k": [
+ 13.992,
+ 13.992
+ ]
+ },
+ "ty": "el"
+ },
+ {
+ "c": {
+ "a": 0,
+ "ix": 3,
+ "k": [
+ 0,
+ 0,
+ 0,
+ 1
+ ]
+ },
+ "hd": false,
+ "lc": 1,
+ "lj": 2,
+ "mn": "ADBE Vector Graphic - Stroke",
+ "nm": "Stroke 1",
+ "o": {
+ "a": 0,
+ "ix": 4,
+ "k": 56
+ },
+ "ty": "st",
+ "w": {
+ "a": 0,
+ "ix": 5,
+ "k": 2
+ }
+ },
+ {
+ "a": {
+ "a": 0,
+ "ix": 1,
+ "k": [
+ 0,
+ 0
+ ]
+ },
+ "nm": "Transform",
+ "o": {
+ "a": 0,
+ "ix": 7,
+ "k": 100
+ },
+ "p": {
+ "a": 0,
+ "ix": 2,
+ "k": [
+ -0.504,
+ -0.254
+ ]
+ },
+ "r": {
+ "a": 0,
+ "ix": 6,
+ "k": 0
+ },
+ "s": {
+ "a": 0,
+ "ix": 3,
+ "k": [
+ 100,
+ 100
+ ]
+ },
+ "sa": {
+ "a": 0,
+ "ix": 5,
+ "k": 0
+ },
+ "sk": {
+ "a": 0,
+ "ix": 4,
+ "k": 0
+ },
+ "ty": "tr"
+ }
+ ],
+ "ix": 2,
+ "mn": "ADBE Vector Group",
+ "nm": "Ellipse 1",
+ "np": 2,
+ "ty": "gr"
+ },
+ {
+ "e": {
+ "a": 0,
+ "ix": 2,
+ "k": 100
+ },
+ "hd": false,
+ "ix": 3,
+ "m": 1,
+ "mn": "ADBE Vector Filter - Trim",
+ "nm": "Trim Paths 1",
+ "o": {
+ "a": 0,
+ "ix": 3,
+ "k": 0
+ },
+ "s": {
+ "a": 1,
+ "ix": 1,
+ "k": [
+ {
+ "e": [
+ 100
+ ],
+ "i": {
+ "x": [
+ 0.58
+ ],
+ "y": [
+ 1
+ ]
+ },
+ "n": [
+ "0p58_1_0p42_0"
+ ],
+ "o": {
+ "x": [
+ 0.42
+ ],
+ "y": [
+ 0
+ ]
+ },
+ "s": [
+ 0
+ ],
+ "t": 0
+ },
+ {
+ "e": [
+ 100
+ ],
+ "i": {
+ "x": [
+ 0.833
+ ],
+ "y": [
+ 1
+ ]
+ },
+ "n": [
+ "0p833_1_0p42_0"
+ ],
+ "o": {
+ "x": [
+ 0.42
+ ],
+ "y": [
+ 0
+ ]
+ },
+ "s": [
+ 100
+ ],
+ "t": 12
+ },
+ {
+ "e": [
+ 0
+ ],
+ "i": {
+ "x": [
+ 0.833
+ ],
+ "y": [
+ 1
+ ]
+ },
+ "n": [
+ "0p833_1_0p167_0"
+ ],
+ "o": {
+ "x": [
+ 0.167
+ ],
+ "y": [
+ 0
+ ]
+ },
+ "s": [
+ 100
+ ],
+ "t": 24
+ },
+ {
+ "t": 36
+ }
+ ]
+ },
+ "ty": "tm"
+ }
+ ],
+ "sr": 1,
+ "st": 0,
+ "ty": 4
+ }
+ ],
+ "markers": [],
+ "nm": "search",
+ "op": 54,
+ "v": "5.0.4",
+ "w": 24
+}