subhransu mohanty
829533e47c
lottie/parser: fixed a crash when lottie resource has empty path data.
...
Change-Id: I83d04fa6a1034f71e8cf9b6468b192b56a4c8185
2018-09-14 13:41:56 +09:00
subhransu mohanty
7ff9061eae
lottie/resource: added few more resource from internet.
...
Change-Id: I7a22d6b9beb4741fb047f9c7556cea3a38bc21d9
2018-09-13 09:31:27 +00:00
subhransu mohanty
cf21f89ef0
lottie/parser: Fix crash issue when interpolation string is not present in lottie file.
...
For some version of bodymovin file interpolation string is not part of the keyframe
in those case create one and add it to the cache.
Change-Id: I5853bd7a6f46140d16191c2b79622cfa1f6fb074
2018-09-13 18:31:08 +09:00
subhransu mohanty
4dff9ab5a5
lottie/vector : add a example to test the vector module.
...
Change-Id: I511b2b520b51ec8b9bf278b67a5ca94784af4c76
2018-09-12 04:17:10 +00:00
subhransu mohanty
6377407e38
lottie: update the loadfromData() api signature.
...
Change-Id: I801f39d06ce67d30be37dc14733ad99ae3a54da2
2018-09-12 10:09:44 +09:00
subhransu mohanty
0f5edac6d1
lottie: refactor lottie interface
...
1. rename namespace player--> animation both cpp and c interface
2. added factory function to create animation object.
3. added render api to c interface.
Change-Id: I31c99a66678b20a0c743c564d399172f4182b0d1
2018-09-07 14:23:34 +09:00
subhransu mohanty
5eecb9ad36
lottie/example: use loadfromData() api in demo app.
...
Change-Id: I8e5ce194f1795ca30ac8aad319ba25706a6023cf
2018-09-04 19:10:32 +09:00
Hermet Park
46ec17191e
lottieplayer: keep API coding convention.
...
Not use "get" prefix so far.
Change-Id: Iabc2852cd78d5ac4f4fa29f8b3b7195eafe1d804
2018-09-03 06:25:27 +00:00
subhransu mohanty
288bd33029
lottie/example: sort the file list before showing it in list view.
...
Change-Id: I3dd2c2d332cfc13265694e1ac6ee2a4bae6e1afd
2018-09-03 12:26:50 +09:00
Jaeun Choi
5b53b71f4e
lottie/example: enhanced lottieviewer example
...
Change-Id: I0eb2a8c528376397190c75b084e9510c3698c034
2018-08-31 17:02:23 +09:00
subhransu mohanty
81a1c0bbf7
lottie/resource: added new resource going to be used by mobile/vd team.
...
Change-Id: Ia25247bda7349c34df14aeeab24f1ec42e864d8c
2018-08-30 14:16:18 +09:00
subhransu mohanty
f18d33b9cb
lottie: added new lottie resource file.
...
Change-Id: I487b65a371b2aeed80cda6211ab55ea525d37c9a
2018-08-29 14:53:25 +09:00
Jaeun Choi
d2c954d535
lottie/example: add frame information in lottieviewer example
...
Change-Id: If9245244bfd3e8d8050e18b5ea09fcaf240a867d
2018-08-23 00:36:25 +00:00
Jaeun Choi
02e660cff7
lottie/example: add APIs in lottieview to get frame rate and total frame number
...
Change-Id: I25d14d37776cd6bf07bcba1f0fc6a1c88e66dd71
2018-08-23 00:34:57 +00:00
Hermet Park
830ef02827
binding/c: more compatible with C compiler.
...
Change-Id: I9fea4817cc913913f65c4b228cb0a42aae2cb2f8
2018-08-22 04:53:44 +00:00
Jaeun Choi
388736bfbe
lottie: fixed lottieviewer example
...
Change-Id: I5ede2096f3e00dd4b343a05b337dd67070f6ac66
2018-08-21 17:28:31 +09:00
subhransu mohanty
17bc03eb44
lottie/example: updated lottieviewer example.
...
Change-Id: I97e30598090f16e4370f1d08dc94315789d82a3d
2018-08-21 14:25:50 +09:00
subhransu mohanty
3b4f97911f
lottie/parser: changed the datatype of gradient member object .
...
Change-Id: I2b1ca35904f1d5af39c0c76be47af582f9b93041
2018-08-21 14:07:24 +09:00
Youngbok Shin
8ea21ce487
lottie/example: add complex gradient examples and remove simple one
...
Change-Id: I6003e3ca3209125c119feaaae55da35327b52a2c
2018-08-21 13:57:22 +09:00
Youngbok Shin
d23e61c69d
lottie/example: add a missing example lottie file
...
It is good to test matte feature and managing multiple layers.
Change-Id: Ie87cc18d0b37b35858c765339d129dc35f2c2986
2018-08-21 13:20:22 +09:00
Jaeun Choi
617b257ec4
lottie: add "lottieviewer" example
...
lottieviewer shows each frame image according to slider value.
since edc compilation is not supported yet,
do the following steps to run this example:
$ cd example
$ edje_cc layout.edc
$ mv layout.edj ../build/example
Change-Id: I00f7d8b743e9028d1e8006104e63bef5d96084b6
2018-08-21 03:53:11 +00:00
Hermet Park
ca6738b3da
add c interface.
...
Change-Id: Ifc81f35479aa6e0ef18ead5b863ae80b34f98f85
2018-08-21 02:08:34 +00:00
Hermet Park
d49fb641e0
refactor infrastructure.
...
Split common delcaration from lottieplayer.h
This common delcaration will be used in c interface header files.
Change-Id: Icb3e3f182b2f27fc2d7c9bed36ac29c45c813b66
2018-08-21 00:46:52 +00:00
Jaeun Choi
bbdd2e246f
lottie: add getImage() API in lottieview
...
Change-Id: Ic72bb47752797811cbe7c464e02c81bcfd0a9a11
2018-08-20 06:03:49 +00:00
Hermet Park
ddde576886
lotplayer: improve header format.
...
1. add namespace.
2. remove unnecessary export attribute.
3. hide prviate member.
This is one ongoing improvement.
Change-Id: I342e4d5e65370190ac55972b02f2fede1aee6d06
2018-08-20 03:30:09 +00:00
subhransu mohanty
1c4bd6c966
lottie/example: delete the animator only when its created.
...
Change-Id: Id6a4a7e704a8da298c0cae91a7065b80163f843d
2018-08-14 10:08:33 +00:00
Hermet Park
adddac6180
lottieplayer: merge setPos() with renderList()
...
renderList() build render tree based on current Position.
merge both api helps user to avoid mistake.
Change-Id: Ia158f28b5ab66ec6e20665726a21d7f1c4e4cc13
2018-08-14 03:27:35 +00:00
subhransu mohanty
43b23f4802
lottie/resource: add more lottie resource.
...
Change-Id: Ife04ca8de9da22e1188b73aa550aae9df4d262de
2018-08-09 18:06:05 +09:00
subhransu mohanty
12c88ff4b0
lottie: few more resource for testing.
...
Change-Id: I11c1bd4d87ca79416698a9f9b6ba9b68d859892d
2018-08-09 04:44:31 +00:00
subhransu mohanty
b4bdebb2d0
lottie: added new resource for testing.
...
Change-Id: I0050594833dfabf8f3d724d1da1636e2a18e735f
2018-08-09 10:29:00 +09:00
Youngbok Shin
296534e3c0
lottie/render: don't redraw stroke/dash if there is no change
...
It will improve performance.
Change-Id: I3764d126d7eae19d009d72998247789e620205a1
2018-08-03 08:55:34 +00:00
Youngbok Shin
10cb2bda92
lottie: don't redraw path item if its properties are not changed
...
A path item has few animation frames, it has to be redrawn only in
animated frames. If the path item became static after animation frames,
it shouldn't redraw its path.
It will improve performance.
Change-Id: I583f2b8a889208a07530f6d06ed90469bcee726c
2018-08-03 08:48:32 +00:00
Youngbok Shin
b7f8007431
lottie: use make_unique construct
...
Change-Id: I8618541470fb636d2315aa39360fadc58c182dd3
2018-07-30 07:02:02 +00:00
subhransu mohanty
792cd0d5f5
lttie/example: fixed layouting issue.
...
Change-Id: Id6ac76f9e4161321252e32a7a4484f69d130c04f
2018-07-27 12:48:53 +09:00
Youngbok Shin
d0a08aadc8
lottie/vector: change addPolystar* method to addPolystar/addPolygon
...
It also move its implemented code to VPath::VPathData from VPath.
Change-Id: Idc6f04e04930f1863bb78fd1a05ba86c573e328b
2018-07-24 18:00:25 +09:00
Youngbok Shin
7f9edbe3b1
lottie/example: add polystar_line_clockwise_trim.json file for testing polystar with trim
...
Change-Id: I0a1db3400b284f973a959a194919221d28871d42
2018-07-20 16:48:42 +09:00
Youngbok Shin
9e04196a9a
lottie/example: add polystar_anim.json file for testing polystar
...
It has animation for changing its number of points. (3.0 to 15.0)
Change-Id: I133c19dc0b37380804da43ac8256f6c86085a536
2018-07-20 05:53:26 +00:00
subhransu mohanty
b67be0a4e2
lottie/example: workaround to render at 60fps.
...
Change-Id: I6e2ad981467679357a75310027d9482a28e1bc94
2018-07-20 05:45:31 +00:00
subhransu mohanty
812f816138
lottie/example: updated example to use async rendering .
...
Change-Id: I6929f00bb6a26f18f7276890c40993329d94ae03
2018-07-20 05:45:18 +00:00
subhransu mohanty
cf111a2a2d
lottie/example: update the example to do stress test.
...
Change-Id: I701fa71d0a05be453c26c252e57ab1ce3b110b0d
2018-07-19 15:50:48 +09:00
subhransu mohanty
0e5e0eba87
lottie/example: update example to handle window resize.
...
Change-Id: Idb67bff5a1900e5ff779ae283fb2a6b1366d97b9
2018-07-19 13:08:38 +09:00
subhransu mohanty
3aff15cf42
lottie/example: delay rendering of view till pre render callback to mimic the evas rendering pipeline.
...
Change-Id: I1d7711feda273f9e69712e2bb37c672f76e68515
2018-07-19 03:52:29 +00:00
subhransu mohanty
8779be1e9f
lottie/example: removed bad polystar sample file
...
Change-Id: If03001ace0dfbb0a3f359933dfdd8c3a71c0a15d
2018-07-18 09:18:08 +09:00
subhransu mohanty
007ad71a39
lottie/example: add ux sample files
...
Change-Id: I7b632fa515411becc26f07dced2cdcc30a9f21cd
2018-07-18 09:14:47 +09:00
Hermet Park
5c0a4f4414
player: update seek behavior.
...
1. set default position 0
2. renamed to setPos()
3. add getter()
Change-Id: Ibf4038f666e686ff00d17066c012e7fb2d8e2709
2018-07-17 10:19:21 +00:00
subhransu mohanty
ce0d4af58b
lottie/example: added a new example to test ux sample images
...
Change-Id: Ife2496e90c56e1facb6b83b7bc03b25445c6a018
2018-07-17 10:07:24 +00:00
subhransu mohanty
8c4ed8b5e2
lottie/example: remove the evas object when lottivew gets destroyed.
...
Change-Id: Ic14ab134b42377200f439b9a7c50cb654221e7e4
2018-07-17 10:07:20 +00:00
subhransu mohanty
ad76a433c7
lottie/example: move resourcelist generation to evasapp class for reuse.
...
Change-Id: If96683fe079a6484195b87c2fdd96c385114af12
2018-07-17 17:17:43 +09:00
subhransu mohanty
0347a9677f
lottie/example: updated evasapp to handle keyevent propagation.
...
Change-Id: Iecc3479ef011e64e113a50f3914676e0a6341f49
2018-07-17 13:58:51 +09:00
subhransu mohanty
a798a8429f
lottie/example: fixed layout issue.
...
Change-Id: Id8795b63d13cca081d383f4e1303b990bdb723be
2018-07-16 12:20:30 +00:00