react-native/Libraries/Image
Fada Chen 914862022c fix an image cropping bug when displaySize is specified
Summary:Diff D2647083 cleaned up image editing related logics and introduced an image cropping bug.
The bug is that the result of the image cropping will be wrong if displaySize is specified.
In particular, in Ads Manager App, we generate thumbnail by calling the image cropping function with displaySize set.
With this bug, the thumbnail we get is not correct.
This diff fixed the bug by replacing `image` with `croppedImage`. It should be a typo from D2647083

Reviewed By: zjj010104

Differential Revision: D2947730

fb-gh-sync-id: df7c7f3ddac5b053425db884f808e27b8418116e
shipit-source-id: df7c7f3ddac5b053425db884f808e27b8418116e
2016-02-18 00:38:31 -08:00
..
RCTImage.xcodeproj Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
__tests__ Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
AssetRegistry.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
GlobalImageStub.js Removed references to isStatic from the codebase 2015-10-13 06:44:30 -07:00
Image.android.js Remove isRequired on source prop for Android 2016-02-09 19:16:38 -08:00
Image.ios.js Remove isRequired on source prop for Android 2016-02-09 19:16:38 -08:00
ImageEditor.js Added JS wrappers for ImageStore and ImageEditor 2015-12-23 10:08:07 -08:00
ImageResizeMode.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
ImageSource.js Fix flow errors 2015-12-31 07:48:29 -08:00
ImageStore.js Open sourced <ImageEditor>, <ImageStore> for Android 2016-01-27 10:50:54 -08:00
ImageStylePropTypes.js added support for overlayColor property for image 2016-01-24 14:00:39 -08:00
RCTGIFImageDecoder.h Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
RCTGIFImageDecoder.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageEditingManager.h [React Native] open source ImageEditingManager native module 2015-07-29 15:57:48 -08:00
RCTImageEditingManager.m fix an image cropping bug when displaySize is specified 2016-02-18 00:38:31 -08:00
RCTImageLoader.h Added throttling on requests made by RCTImageLoader 2016-02-16 12:42:34 -08:00
RCTImageLoader.m Added throttling on requests made by RCTImageLoader 2016-02-16 12:42:34 -08:00
RCTImageStoreManager.h RTCImageStoreManager uses NSData instead of UIImage 2015-11-17 09:55:31 -08:00
RCTImageStoreManager.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageUtils.h Added support for width & height for text images 2016-01-22 11:32:32 -08:00
RCTImageUtils.m Fix CPU spike: should use UIGraphicsEndImageContext rather than UIGraphicsGetCurrentContext 2016-01-28 14:25:35 -08:00
RCTImageView.h Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageView.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTImageViewManager.h Merged RCTNetworkImageView functionality into RCTStaticImage 2015-07-17 07:43:16 -08:00
RCTImageViewManager.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTResizeMode.h Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTResizeMode.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RCTShadowVirtualImage.h Added support for width & height for text images 2016-01-22 11:32:32 -08:00
RCTShadowVirtualImage.m Added support for width & height for text images 2016-01-22 11:32:32 -08:00
RCTVirtualImageManager.h Implemented inline image support for <Text> 2015-10-08 11:56:25 -07:00
RCTVirtualImageManager.m Added support for width & height for text images 2016-01-22 11:32:32 -08:00
RCTXCAssetImageLoader.h Unify XCAsset handling logic 2015-10-12 04:15:27 -07:00
RCTXCAssetImageLoader.m Generalized image decoding and resizing logic 2016-01-20 11:11:13 -08:00
RelativeImageStub.js [ReactNative] Teach flow how to deal with images 2015-08-26 18:26:09 -08:00
resolveAssetSource.js Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00