Luna Wei
e758435167
Refactor the way UIManagerModule uses measure specs
...
Summary:
Instead of using measure specs to set certain yoga properties on the root node (like max width, auto width, specific width), use yoga's calculateLayout(width, height) instead. The measure specs will be stored in the shadow node. This allows us to remove duplicated code that processes the measure specs and allows us to remove other logic like the enableLayoutCalculation() method.
This diff also removes MeasureSpecProvider. MeasureSpecProvider was originally introduced to pass previously measured view measure specs to the initial creation of the root shadow node, but it turns out that this is unnecessary. We can update the root layout specs from the root view instead.
Reviewed By: mdvacca
Differential Revision: D9729744
fbshipit-source-id: 79b0b27ca879758f5dc3fc7cc8a0d38856a6cc79
2019-02-21 20:04:23 -08:00
..
2018-12-20 10:39:31 -08:00
2018-09-11 15:33:07 -07:00
2019-02-05 23:12:53 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-31 01:37:26 -07:00
2019-01-23 02:22:00 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-11-30 16:51:26 -08:00
2018-11-30 16:51:26 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-13 17:42:44 -07:00
2018-11-30 16:51:26 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-11-30 11:30:58 -08:00
2019-02-12 06:26:34 -08:00
2019-02-12 06:26:34 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-11-30 16:51:26 -08:00
2018-11-30 16:51:26 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 16:31:46 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 16:31:46 -07:00
2018-09-11 15:33:07 -07:00
2019-01-16 19:24:42 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-31 01:37:26 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2019-02-09 02:40:52 -08:00
2018-09-11 15:33:07 -07:00
2018-09-19 19:53:00 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-12-10 21:15:55 -08:00
2018-12-10 21:15:55 -08:00
2018-09-19 08:03:21 -07:00
2018-09-11 15:33:07 -07:00
2019-01-28 13:00:05 -08:00
2018-09-11 15:33:07 -07:00
2018-12-20 10:39:31 -08:00
2019-02-09 02:40:52 -08:00
2018-09-11 15:33:07 -07:00
2019-02-02 11:58:43 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-10-31 01:37:26 -07:00
2019-02-08 04:16:24 -08:00
2019-02-08 04:16:24 -08:00
2018-09-11 15:33:07 -07:00
2019-02-17 11:06:00 -08:00
2019-02-17 11:06:00 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2019-02-21 20:04:23 -08:00
2018-09-11 15:33:07 -07:00
2018-09-11 15:33:07 -07:00
2019-02-12 06:26:34 -08:00
2019-02-12 06:26:34 -08:00
2019-02-12 06:26:34 -08:00
2019-02-12 06:26:34 -08:00