68 Commits

Author SHA1 Message Date
Hermet Park
ee39d4dc56 updated licenses info
Change-Id: Idcee492bb9f823ab2a3c7c28a150bd406ce8aa4f
2018-12-27 17:10:48 +09:00
Hermet Park
1c45c74a28 example: remove a resouce that may have a license.
Change-Id: If7e5a70eb3547a686fccefa6c5b6725725aa862d
2018-12-27 15:03:07 +09:00
Hermet Park
0a325b079e Put samsung copyright header to all our own source code.
Change-Id: I3cebcfef827425d16092ee7a26c39f7733572eb7
2018-12-26 19:18:29 +09:00
sub.mohanty@samsung.com
820b61b3c0 lottie/example: build example only when elementary library is available.
Change-Id: Ie096e8c4f857c2a7097a0202649d44081137a254
2018-12-17 03:28:25 +00:00
subhransu mohanty
7346cda225 lottie/example: add support for renderPost callback in evasapp class.
Change-Id: I0632a881c7291ac0b87886bd713ff7216bac2ad5
2018-12-17 12:03:14 +09:00
subhransu mohanty
c67093b41f lottie/example: remove unused evas object from evasapp class.
Change-Id: I84f8b0b624ba8c81af91cd6d0c2d1adb5fa82db4
2018-12-17 12:02:18 +09:00
Hermet Park
9ee2b004d6 example: introduce a usage of efl animation_view.
Change-Id: I1dfa4ae4c3652b7eee6c3064fd7662a59552d15f
2018-12-03 15:52:47 +09:00
subhransu mohanty
b0ff909587 lottie: Added renderTree() api to the lottie animation object.
Change-Id: I137180d0d46036523357d3b7966dc441b57f9d0c
2018-11-22 06:30:12 +00:00
Hermet Park
746bbe8d49 example: revise capi sample code.
added missing feature implements - stroke & gradient

Change-Id: I755d304648eb8faded8fae767b1414b7ce29c47f
2018-11-21 11:41:53 +09:00
Hermet Park
bd6d331108 resource: remove--
Change-Id: I44dcb7e01c91a8633ed844974e8091aa59297b86
2018-11-16 03:04:10 +00:00
subhransu mohanty
90577029f2 lottie/feature: Added 3D layer support in lottie player.
Change-Id: I1f37f299761570d08ef9bda39a66df757b215e5a
2018-11-15 17:20:16 +09:00
subhransu mohanty
8b0bac112c lottie: added support of auto oriented feature in lottie.
Change-Id: Id2290aa0949519fc24b165f9a24aff4151871507
2018-11-15 13:51:18 +09:00
subhransu mohanty
d045610166 lottie/example: update example with gradient support for efl renderer.
Change-Id: I44bad80372b197572368bae45f109e81a2a4a989
2018-11-12 15:48:09 +09:00
Hermet Park
557d3ae594 interface: updated Graident structure naming.
Change-Id: Ib4b316afd353b0c4762c051bae0f3f277393cac2
2018-11-09 20:21:52 +09:00
subhransu mohanty
5fedd3479d lottie: added new resource from UX.
Change-Id: I22e3866f23354afecc9620982cdcc1ff1a2e5ef9
2018-11-01 10:59:36 +09:00
subhransu mohanty
1f09869723 lottie: Added TimeStreatch feature to lottie.
Details: still some resources are not working ex:hiking.json need to
find out what other properties also affected by time streatch property.

Change-Id: I5846c74549e86f13606de5dd824fef00e2d5857a
2018-10-31 16:57:55 +09:00
subhransu mohanty
b5d4b0d5e9 lottie: add more test resources.
Change-Id: I778b7fe0d062043d97cc87d0ec581f2d35451f2b
2018-09-14 13:53:47 +09:00
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