react-native/Libraries/Components
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
..
AccessibilityInfo Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
ActivityIndicator Fix ESLint warnings using 'yarn lint --fix' 2018-02-22 07:23:17 -08:00
AppleTV onPress animation with magnification 2018-02-27 13:10:02 -08:00
CheckBox Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Clipboard Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DatePicker Fix Bug with Date Picker IOS 2018-02-23 10:53:22 -08:00
DatePickerAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DrawerAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Keyboard Update license headers for MIT license 2018-02-16 18:31:53 -08:00
MaskedView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Navigation Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Picker Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ProgressBarAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ProgressViewIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RefreshControl Update license headers for MIT license 2018-02-16 18:31:53 -08:00
SafeAreaView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ScrollView RN: Remove Animated -> ScrollView -> Animated Cycle 2018-02-20 20:35:08 -08:00
SegmentedControlIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Slider Update license headers for MIT license 2018-02-16 18:31:53 -08:00
StatusBar Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Switch Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TabBarIOS Update license headers for MIT license 2018-02-16 18:31:53 -08:00
TextInput Support Input Accessory View (iOS Only) [1/N] 2018-02-27 11:09:30 -08:00
TimePickerAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ToastAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ToolbarAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Touchable onPress animation with magnification 2018-02-27 13:10:02 -08:00
UnimplementedViews Update license headers for MIT license 2018-02-16 18:31:53 -08:00
View update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
ViewPager Update license headers for MIT license 2018-02-16 18:31:53 -08:00
WebView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Button.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
LazyRenderer.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ScrollResponder.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
StaticContainer.react.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
StaticRenderer.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Subscribable.js Fix for #17348, Scrollable failing due to uglify-es 2018-02-22 18:03:03 -08:00