Mikael Sand
4b65c00912
[android] Fix transform of location in hitTesting.
2018-12-11 20:43:01 +02:00
jesse
81f483aaf5
add google for build gradle repository
2018-12-09 07:19:36 +02:00
Abdulaziz Ghuloum
a82d4876b3
upgraded gradle to 3.2.1
2018-12-09 07:19:11 +02:00
Mikael Sand
37f07050e4
[ios] Improve gesture responder and onPress/In/Out transform handling
2018-12-08 23:04:53 +02:00
InJung Chung
b896714ed0
[andriod] invalidate SvgView when view hierarchy changes
2018-12-07 04:30:37 +02:00
Mikael Sand
69e9fcde14
Use Android SDK 27
2018-11-17 04:12:52 +02:00
Mikael Sand
e48dbdb08b
bump android gradle build tools to 3.1.4
2018-11-17 04:08:29 +02:00
Igor Lira
e74ff2b3a3
Invalidate bitmap when view size is changed
2018-11-02 15:18:05 -07:00
Mikael Sand
9e2823063b
Merge pull request #824 from netmaxt3r/master
...
Do not create bitmap with 0 height/width during early render.
2018-10-24 23:49:52 +03:00
Mikael Sand
0fb4177101
[android] Support image onLayout, transform arrays, and fix clipping.
2018-10-24 23:35:23 +03:00
Mikael Sand
766926f758
Add support for clipRule on ClipPath element
...
[iOS] fix spec conformance, clipRule on non ClipPath elements must not
have any effect.
2018-10-24 22:13:41 +03:00
Nizam Moidu
c0bfe22e0d
dont create bitmap with 0 height/width during early render.
...
when specify background color in react-native even parent view height/width could become zero
https://github.com/react-native-community/react-native-svg/issues/823
2018-10-24 22:34:36 +04:00
Mikael Sand
e2e415c467
[android] Fix onPress to work when moving within bounds.
...
Adds support for inspector to check fill bounds.
2018-10-24 19:12:25 +03:00
Mikael Sand
38310677e3
Fix hit testing when using react-native transform arrays.
2018-10-24 02:21:46 +03:00
Mikael Sand
9affd59b00
Fix path parser spec conformance
...
https://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands
The "moveto" commands (M or m) must establish a new initial point
and a new current point.
2018-10-24 00:03:02 +03:00
Mikael Sand
0c37a0c5e8
[android] Remove outdated references to shadow nodes in errors etc.
2018-10-22 19:06:18 +03:00
Mikael Sand
13b91aab39
[android] Add null checks before calling Matrix.mapRect
2018-10-22 16:28:22 +03:00
Mikael Sand
31d9bb9f41
[android] Reuse return value of paint.getTextSize() in Brushes
2018-10-19 02:48:19 +03:00
Mikael Sand
44744bc1f3
[android] Fix percentage handling in SVGLength
2018-10-19 01:16:09 +03:00
Mikael Sand
2a449c3bd4
[android] Implement fast path for SVGLength css value resolution
2018-10-18 19:44:42 +03:00
Mikael Sand
50eee0abe7
Optimize setting properties and animation: Implement SVGLength
...
Removes redundant round-trip (double > string > double) when animating.
Optimizes for the case when dynamic arguments are numbers.
Improves memory consumption and cpu load.
2018-10-18 17:56:07 +03:00
Mikael Sand
50905d83ef
[android] Remove outdated comments
2018-10-17 17:53:30 +03:00
Mikael Sand
e341b9499e
[android] Simplify RenderableView, remove propertyNameToFieldName
2018-10-15 15:47:52 +03:00
Mikael Sand
585acee281
[android] Fix RenderableViewManager inheritance hierarchy
2018-10-15 05:26:45 +03:00
Mikael Sand
31d1a7459a
[android] Add opacity and responsible ReactProp to RenderableViewManager
2018-10-15 04:51:06 +03:00
Mikael Sand
be2041c84a
[android] Fix font and font-size inheritance
...
Fixes remaining issues, em based units behave correctly now.
2018-10-15 04:29:23 +03:00
Mikael Sand
8dfabb5375
[android] Override LayoutShadowNode layout prop handlers.
...
Fix mergeProperties for groups and text.
Some regressions with edge cases of inheritance still remain.
2018-10-15 03:41:48 +03:00
Mikael Sand
e9e2454b06
[android] Remove SvgViewShadowNode
2018-10-15 02:27:59 +03:00
Mikael Sand
585e34bea9
[android] Simplify SvgPackage
2018-10-15 02:23:45 +03:00
Mikael Sand
a4e4b2af7c
[android] Remove traverseChildren, NodeRunnable, SvgViewShadowNode
...
Simplify RenderableViewManager, SvgView
Remove redundant generics
2018-10-15 01:19:47 +03:00
Mikael Sand
0bdca66e2d
[android] Refactor: Remove custom shadow nodes and move logic into Views
2018-10-14 22:10:33 +03:00
Mikael Sand
2f1d6e1b7c
[android] Cache font size and canvas diagonal. Reuse reactTag value.
2018-10-14 18:40:15 +03:00
Mikael Sand
bd50941204
[android] Simplify dynamic property setters, handle null better
2018-10-14 17:51:50 +03:00
Mikael Sand
b94bb0558a
[android] Utilize generics to remove unchecked type-cast. lint & cleanup
2018-10-14 09:56:26 +03:00
Mikael Sand
349c3b3367
Rebase pull request #807 from agustin107/master
...
Update README.md, changing dependency configuration for Android platform
2018-10-12 16:04:59 +03:00
Mikael Sand
864d7610d3
Support useNativeDriver animation for all unit-less numbers
2018-10-12 01:52:11 +03:00
Mikael Sand
a2550c35df
Fix null handling of getSvgShadowNode in new ancestor creation
2018-10-12 00:01:04 +03:00
Mikael Sand
445780c121
Simplify native animation and setNativeProps
...
Remove need for prefixed property names:
{use,mask,image,bb,pattern,rect}{width,height}
Can simply use width and height instead, and,
x and y instead of position{X,Y} on Text and TSpan
2018-10-11 18:39:15 +03:00
Mikael Sand
95cdcb0834
[android] Move style transform property handler to RenderableViewManager
2018-10-11 07:39:10 +03:00
Mikael Sand
fb4e877c2b
Implement useNativeDriver support for animation of transform style
2018-10-11 07:09:12 +03:00
Mikael Sand
a87096d3ee
Implement useNativeDriver support for animation of some text properties
2018-10-11 04:19:12 +03:00
Mikael Sand
2a43579404
Implement support for animation of transform and some text properties
2018-10-11 03:31:47 +03:00
Mikael Sand
b568a633ed
[android] Fix svg root hit testing when no touch handlers are set.
2018-10-11 01:30:47 +03:00
Mikael Sand
70bde1495b
[android] Fix stroke hit testing
2018-10-11 00:59:38 +03:00
Mikael Sand
e307eeee57
Fixes for animation of width and height
2018-10-10 22:35:25 +03:00
Mikael Sand
b13e164e22
Fix Removing child elements causes crash
...
https://github.com/react-native-community/react-native-svg/issues/789
2018-10-10 20:38:53 +03:00
Mikael Sand
032541b2bf
Fix Svg root hitTest
2018-10-10 20:26:40 +03:00
Mikael Sand
4f5c226ef8
Support setting dimensions of Svg using stylesheet.
...
[android] Support borders on Svg root
2018-10-05 03:54:56 +03:00
Mikael Sand
1827b91883
First attempt at partial currentColor support
2018-10-04 22:17:18 +03:00
Mikael Sand
ad99f97c84
Fix onPress/In/Out and responder handling
2018-09-24 01:41:30 +03:00