react-native/Libraries/Components/Touchable
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
..
__mocks__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
__tests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
BoundingDimensions.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
PooledClass.js Moved `PooledClass` and improved `js1 upgrade react` 2017-10-24 12:30:27 -07:00
Position.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Touchable.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TouchableBounce.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TouchableHighlight.js onPress animation with magnification 2018-02-27 13:10:02 -08:00
TouchableNativeFeedback.android.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TouchableNativeFeedback.ios.js Mock static methods of TouchableNativeFeedback on iOS 2018-02-21 11:21:34 -08:00
TouchableOpacity.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TouchableWithoutFeedback.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ensureComponentIsNative.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ensurePositiveDelayProps.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00