Files
react-native/Libraries
William Candillon 7c5aed7ae3 Fix skewX on Android and in the JS decomposition (#28862)
Summary:
This issue fixes https://github.com/facebook/react-native/issues/27649.

By using 2d decomposition that transforms a skewX into a rotate/scale/rotate, the skewX issue on Android was still there which made me suspect that the issue came from the decomposition algorithm. Then I noticed that the bug existed in the JavaScript decomposition as well which led me to a fix on the JS and therefore on the Android side most likely.

## Changelog

[Android] [Fixed] skewX transforms
Pull Request resolved: https://github.com/facebook/react-native/pull/28862

Test Plan:
Check that skewX works on Android.
On JS, making sure that processTransform() doesn't skip, you can try the following sequence:

```tsx
  const matrix = processTransform([{ skewX: `${Math.PI / 3}rad` }]);
  const result = MatrixMath.decomposeMatrix(matrix);
  console.log({ result });
```

Differential Revision: D21493021

Pulled By: shergin

fbshipit-source-id: 89f7aca5fbfd0f0f8c6f90a26bd76bf8550acaa5
2020-11-27 11:32:03 +00:00
..
2020-04-07 19:07:19 -07:00
2020-09-29 15:19:42 +01:00
2020-02-28 12:46:49 -08:00
2020-03-30 14:05:27 -07:00
2020-04-07 19:07:19 -07:00
2020-03-27 03:58:39 -07:00
2020-04-07 19:07:19 -07:00
2020-02-28 12:46:49 -08:00
2020-03-30 14:05:27 -07:00
2020-03-30 14:05:26 -07:00
2020-04-07 19:07:19 -07:00
2020-04-07 19:07:19 -07:00
2020-02-21 10:34:40 -08:00