react-native/Libraries/Image
Brent Vatne 89fce9aead Make bounds and scale of gif network images respond to device and styles
Summary:
@vjeux and I were discussing this in irc an discovered that network gif images did not respond how they should to width, height or flex properties. Along the way I also noticed that the scale was not changing depending on the device. This PR fixes that, so now you can do `flex: 1` on a gif image to have it stretch to the whole screen. [Minimum reproducible example here](https://gist.github.com/brentvatne/f745377b0789162a28df) - try this without and then with the changes of this PR to see.
Closes https://github.com/facebook/react-native/pull/353
Github Author: Brent Vatne <brent.vatne@madriska.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-27 12:01:00 -08:00
..
RCTImage.xcodeproj [ReactNative] s/ReactKit/React/g 2015-03-26 02:42:24 -08:00
Image.ios.js flowify a few more Libraries 2015-03-26 10:13:38 -08:00
ImageResizeMode.js flowify a few more Libraries 2015-03-26 10:13:38 -08:00
ImageStylePropTypes.js flowify a few more Libraries 2015-03-26 10:13:38 -08:00
RCTCameraRollManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTCameraRollManager.m [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTGIFImage.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTGIFImage.m [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTImageDownloader.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTImageDownloader.m [React Kit] Remove embarrassing TODOs 2015-03-26 10:33:05 -08:00
RCTImageLoader.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTImageLoader.m [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTNetworkImageView.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTNetworkImageView.m Make bounds and scale of gif network images respond to device and styles 2015-03-27 12:01:00 -08:00
RCTNetworkImageViewManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTNetworkImageViewManager.m Added explicit types for all view properties 2015-03-25 21:20:24 -08:00
RCTStaticImage.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTStaticImage.m [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTStaticImageManager.h [ReactNative] Expanded license on obj-c files 2015-03-23 13:18:29 -08:00
RCTStaticImageManager.m Added explicit types for all view properties 2015-03-25 21:20:24 -08:00