Christopher Chedeau e2873cf85f Change internal format from 0xaarrggbb to 0xrrggbbaa
Summary:
The hex8 specified version is #rrggbbaa so it would be great to have the internal representation be 0xrrggbbaa to prevent confusion.

This pull request changes the internals of normalizeColor. It changes a lot of lines but there isn't any big changes.

Small changes:
- Use | instead of + for number operations
- Use x << 24 instead of x * (1 << 24)
- Have hslToRgb return pre shifted number

processColor is still sending colors the 0xaarrggbb format to native and tests still pass without changes.
Closes https://github.com/facebook/react-native/pull/5792

Reviewed By: svcscm

Differential Revision: D2910589

Pulled By: vjeux

fb-gh-sync-id: 6dd353f2edd5127f1762e7a57a65379d2a58e0c1
2016-02-07 10:14:29 -08:00
..
2015-07-24 08:41:58 -08:00
2016-02-01 17:13:35 -08:00
2016-01-30 17:11:28 -08:00
2016-01-08 15:42:32 -08:00
2016-02-07 07:13:32 -08:00
2016-02-05 14:26:35 -08:00
2016-01-26 14:34:31 -08:00
2016-02-05 14:26:35 -08:00
2016-02-05 16:45:46 -08:00
2016-01-29 09:13:32 -08:00
2015-07-24 08:41:58 -08:00
2016-02-05 15:17:33 -08:00