Sidharth Guglani
2ef674edd3
move measure and baseline methods
...
Summary: Measure and baseline callbacks moved to vanilla JNI
Reviewed By: amir-shalem
Differential Revision: D17714334
fbshipit-source-id: dafbde36984aba948a6345a21d3808a6ef4013e8
2019-10-08 17:51:35 -07:00
Sidharth Guglani
22a60e82b0
move yg node new and ygnode new with config
...
Summary: YGNode creation methods to vanilla JNI
Reviewed By: amir-shalem
Differential Revision: D17714230
fbshipit-source-id: 74e14e876ab7efc67771d92091c2a78f09072b83
2019-10-08 17:51:34 -07:00
Sidharth Guglani
34739ec652
Move calculate layout method to vanilla JNI
...
Summary: Using vanilla JNI for calculate layout
Reviewed By: amir-shalem
Differential Revision: D17714219
fbshipit-source-id: bb05de4a0112eefc2b731997a4c1ecef5c0c7361
2019-10-08 17:51:34 -07:00
Sidharth Guglani
7c2683fe52
move setStyleInputs to vanilla jni (YogaStyleProperties Part 5)
...
Summary: Move Yoga style properties to vanilla JNI under a flag.
Reviewed By: amir-shalem
Differential Revision: D17686117
fbshipit-source-id: e79bee1188c24e301b23416486b10f613434eebc
2019-10-08 14:37:27 -07:00
Sidharth Guglani
ee73f556b4
move config jni methods to vanilla jni
...
Summary: Move yoga node config related jni methods to vanilla jni
Reviewed By: amir-shalem
Differential Revision: D17684821
fbshipit-source-id: 31a667b3ad67501aaef83a132971e4e0826cacd4
2019-10-08 14:37:26 -07:00
Sidharth Guglani
34b68cf1d2
move YGNode related methods to vanilla jni
...
Summary: This diff moves methods related to actions on YGNode like free node, reset node etc. to vanilla JNI
Reviewed By: amir-shalem
Differential Revision: D17668008
fbshipit-source-id: 03bfc51ec1fcf06569713400f984d551827e22fe
2019-10-08 14:37:26 -07:00
Sidharth Guglani
8975019269
move edge style properties to vanilla jni (YogaStyleProperties Part 4)
...
Summary: Move Yoga style properties to vanilla JNI under a flag.
Reviewed By: amir-shalem
Differential Revision: D17667201
fbshipit-source-id: 448134d6d7d0dd0c6ff2734b3eb39e65d1cb403f
2019-10-08 14:37:25 -07:00
Sidharth Guglani
6e6b1369ac
move percent auto style properties to vanilla jni (YogaStyleProperties Part 3)
...
Summary: Move Yoga style properties to vanilla JNI under a flag.
Reviewed By: amir-shalem
Differential Revision: D17666674
fbshipit-source-id: 08490bf7c214c856a93214088a27dd4e6df9e0fd
2019-10-08 14:37:25 -07:00
Sidharth Guglani
3fce27c48c
Migrate YGNodeStyleGetFlex method to vanilla jni (YogaStyleProperties Part 2)
...
Summary: Move Yoga style properties to vanilla JNI under a flag.
Reviewed By: amir-shalem
Differential Revision: D17666090
fbshipit-source-id: 121b939c310799c79f2fce0ea293f88b2940c4fc
2019-10-08 14:37:24 -07:00
Sidharth Guglani
32a973ebd1
Move style properties which accept one parameter to vanilla JNI (YogaStyleProperties Part 1)
...
Summary: Move Yoga style properties to vanilla JNI under a flag.
Reviewed By: amir-shalem
Differential Revision: D17666048
fbshipit-source-id: 6565acd35ab04ef0c3a2544447a25dc6edc3e7a5
2019-10-08 14:37:24 -07:00
Sidharth Guglani
b29e144649
Add separate classes to implement JNI methods suing vanilla JNI
...
Summary:
This diffs adds a separate file YGJNIVanilla.cpp to add jni methods which uses vanilla JNI instead of FBJNI.
In this diff only one method has been added to setup the experiment boolean setup.
At the end of this diff stack , we will be able to experiment between fbjni and vanilla jni in yoga and finally get rid of fbjni which saves us around 300Kb per architecture in yoga binary size.
Reviewed By: Andrey-Mishanin
Differential Revision: D17601591
fbshipit-source-id: a88520c625bd8b5d9ffcf8ab5f02fc71dc800081
2019-09-26 17:34:17 -07:00