react-native/RNTester/RNTesterIntegrationTests/ReferenceImages/RNTester-js-RNTesterApp.ios
Nicolas Charpentier 0cce0a62c1 Add backface-visibility support on Android (#15970)
Summary:
`backfaceVisibility` was only available on iOS and 3D transformations were lacking on Android.

Backface Visibility is computed from ~the decomposed matrix of transform prop~ the view with their rotation degree values.

~`MatrixDecompositionContext` properties have been made public so we can access to decomposed matrix values from outside (`ReactViewGroup`).~

I'm not sure if this is the best implementation, so if it's not let's discuss it.

cc janicduplessis foghina

Tested in https://github.com/charpeni/react-native-backface-visibility.

| Before | Now |
| - | - |
| <img src="https://user-images.githubusercontent.com/7189823/30123717-e5361598-9300-11e7-8e2e-a87a7a8d896a.gif" width="260" /> | <img src="https://user-images.githubusercontent.com/7189823/30514997-4d203572-9aee-11e7-8542-bfde41678eb6.gif" width="244" /> |

| iOS | Android |
| - | - |
| <img src="https://user-images.githubusercontent.com/7189823/36995899-609513b4-2083-11e8-9834-ee44c1a292e1.gif" width="300" /> | <img src="https://user-images.githubusercontent.com/7189823/36995978-9ed3b158-2083-11e8-841e-b9e3357d2509.gif" width="240" /> |

[ANDROID] [FEATURE] [ReactViewGroup] - Add backface-visibility support on Android
Pull Request resolved: https://github.com/facebook/react-native/pull/15970

Differential Revision: D9411130

Pulled By: hramos

fbshipit-source-id: 62f646a4de37d83922286cb98893a95b55fa889e
2018-09-07 10:26:20 -07:00
..
testARTExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testARTExample_1-iOS10_tvOS.png Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
testARTExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testARTExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testARTExample_1_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
testLayoutExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testLayoutExample_1-iOS10_tvOS.png Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
testLayoutExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testLayoutExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testLayoutExample_1_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
testScrollViewExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testScrollViewExample_1-iOS10_tvOS.png Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
testScrollViewExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testScrollViewExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testScrollViewExample_1_tvOS.png Revert D5196055: [RN] Intrinsic content size for network image sources of <Image> 2017-10-25 08:20:48 -07:00
testSliderExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testSliderExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testSliderExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testSwitchExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testSwitchExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testSwitchExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testTabBarExample_1-iOS10@2x.png Fixed problem in Text measurent on iOS 2018-02-25 09:37:38 -08:00
testTabBarExample_1-iOS10_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
testTabBarExample_1-iOS11@2x.png Fixed problem in Text measurent on iOS 2018-02-25 09:37:38 -08:00
testTabBarExample_1@2x.png Fixed problem in Text measurent on iOS 2018-02-25 09:37:38 -08:00
testTabBarExample_1_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
testTextExample_1-iOS10@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testTextExample_1-iOS10_tvOS.png Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
testTextExample_1-iOS11@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testTextExample_1@2x.png Removing `inherited background color` optimization from RCTText 2017-12-15 12:31:58 -08:00
testTextExample_1_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00
testViewExample_1-iOS10@2x.png Add backface-visibility support on Android (#15970) 2018-09-07 10:26:20 -07:00
testViewExample_1-iOS10_tvOS.png Link both iOS and tvOS libraries with react-native link (fix #13783) 2018-01-30 16:28:59 -08:00
testViewExample_1-iOS11@2x.png Add backface-visibility support on Android (#15970) 2018-09-07 10:26:20 -07:00
testViewExample_1@2x.png Add backface-visibility support on Android (#15970) 2018-09-07 10:26:20 -07:00
testViewExample_1_tvOS.png Using `drawViewHierarchyInRect` instead of `renderInContext` for snapshot tests 2017-05-26 15:16:07 -07:00