react-native/React
Julien K 6c353fd7e9 onPress animation with magnification
Summary:
Related to: #15454

Motivation: Improve tvOS feeling for TouchableHighlight

![changewithaniamtion](https://user-images.githubusercontent.com/7658664/29193477-b99b4a10-7e25-11e7-8b31-e0e4ca9d7720.gif)

- When you select the button he is focus and the underlay is show
- When you press the button, there is an animation, but after the animation, the focus is on the button and the underlay is show

Play with tvParallaxProperties on tvOS, test with and without patch just to see the actual behaviour
```
			<TouchableHighlight
						tvParallaxProperties={{
							enabled: true,
							shiftDistanceX: 0,
							shiftDistanceY: 0,
							tiltAngle: 0,
							magnification: 1.1,
                                                        pressMagnification: 1.0,
							pressDuration: 0.3,
						}}
						underlayColor="black"
						onShowUnderlay={() => (console.log("onShowUnderlay")}
						onHideUnderlay={() =>  (console.log("onHideUnderlay")}
						onPress={() =>  (console.log("onPress")}
					>
						<Image
							style={styles.image}
							source={ uri: 'https://www.facebook.com/images/fb_icon_325x325.png' }
						/>
					</TouchableHighlight>
```
Closes https://github.com/facebook/react-native/pull/15455

Differential Revision: D6887437

Pulled By: hramos

fbshipit-source-id: e18b695068bc99643ba4006fb3f39215b38a74c1
2018-02-27 13:10:02 -08:00
..
Base Mark ObjC methods that are called from React Native as dynamic. 2018-02-26 12:24:17 -08:00
CxxBridge Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CxxModule Update license headers for MIT license 2018-02-16 18:31:53 -08:00
CxxUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DevSupport Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Fabric iOS - expose C++ FabricUIManager to the bridge via a wrapper class 2018-02-27 08:42:14 -08:00
Inspector Forward VM version to inspector 2018-02-13 08:16:50 -08:00
Modules Change React Native application layout check 2018-02-26 11:49:36 -08:00
Profiler Update license headers for MIT license 2018-02-16 18:31:53 -08:00
React.xcodeproj Add constructor in YGLayout 2018-02-20 05:55:36 -08:00
UIUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Views onPress animation with magnification 2018-02-27 13:10:02 -08:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00