Remove Style prefix in java and cs apis

Summary: The Style prefix does not make sense in the java and c# api and only a few methods had it. This diff removes the last of those.

Reviewed By: splhack

Differential Revision: D4232920

fbshipit-source-id: 6e2ff21bbb7e0e441892023c14df579d1bc7aa49
This commit is contained in:
Emil Sjolander
2016-11-29 09:04:43 -08:00
committed by Facebook Github Bot
parent 6318801470
commit 5fa42cd1b0
36 changed files with 833 additions and 828 deletions

View File

@@ -22,26 +22,26 @@ namespace Facebook.CSSLayout
{
CSSNode root = new CSSNode();
root.Wrap = CSSWrap.Wrap;
root.StyleHeight = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.StyleWidth = 30f;
root_child0.StyleHeight = 30f;
root_child0.Width = 30f;
root_child0.Height = 30f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.StyleWidth = 30f;
root_child1.StyleHeight = 30f;
root_child1.Width = 30f;
root_child1.Height = 30f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.StyleWidth = 30f;
root_child2.StyleHeight = 30f;
root_child2.Width = 30f;
root_child2.Height = 30f;
root.Insert(2, root_child2);
CSSNode root_child3 = new CSSNode();
root_child3.StyleWidth = 30f;
root_child3.StyleHeight = 30f;
root_child3.Width = 30f;
root_child3.Height = 30f;
root.Insert(3, root_child3);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();
@@ -106,26 +106,26 @@ namespace Facebook.CSSLayout
CSSNode root = new CSSNode();
root.FlexDirection = CSSFlexDirection.Row;
root.Wrap = CSSWrap.Wrap;
root.StyleWidth = 100f;
root.Width = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.StyleWidth = 30f;
root_child0.StyleHeight = 30f;
root_child0.Width = 30f;
root_child0.Height = 30f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.StyleWidth = 30f;
root_child1.StyleHeight = 30f;
root_child1.Width = 30f;
root_child1.Height = 30f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.StyleWidth = 30f;
root_child2.StyleHeight = 30f;
root_child2.Width = 30f;
root_child2.Height = 30f;
root.Insert(2, root_child2);
CSSNode root_child3 = new CSSNode();
root_child3.StyleWidth = 30f;
root_child3.StyleHeight = 30f;
root_child3.Width = 30f;
root_child3.Height = 30f;
root.Insert(3, root_child3);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();
@@ -191,26 +191,26 @@ namespace Facebook.CSSLayout
root.FlexDirection = CSSFlexDirection.Row;
root.AlignItems = CSSAlign.FlexEnd;
root.Wrap = CSSWrap.Wrap;
root.StyleWidth = 100f;
root.Width = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.StyleWidth = 30f;
root_child0.StyleHeight = 10f;
root_child0.Width = 30f;
root_child0.Height = 10f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.StyleWidth = 30f;
root_child1.StyleHeight = 20f;
root_child1.Width = 30f;
root_child1.Height = 20f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.StyleWidth = 30f;
root_child2.StyleHeight = 30f;
root_child2.Width = 30f;
root_child2.Height = 30f;
root.Insert(2, root_child2);
CSSNode root_child3 = new CSSNode();
root_child3.StyleWidth = 30f;
root_child3.StyleHeight = 30f;
root_child3.Width = 30f;
root_child3.Height = 30f;
root.Insert(3, root_child3);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();
@@ -276,26 +276,26 @@ namespace Facebook.CSSLayout
root.FlexDirection = CSSFlexDirection.Row;
root.AlignItems = CSSAlign.Center;
root.Wrap = CSSWrap.Wrap;
root.StyleWidth = 100f;
root.Width = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.StyleWidth = 30f;
root_child0.StyleHeight = 10f;
root_child0.Width = 30f;
root_child0.Height = 10f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.StyleWidth = 30f;
root_child1.StyleHeight = 20f;
root_child1.Width = 30f;
root_child1.Height = 20f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.StyleWidth = 30f;
root_child2.StyleHeight = 30f;
root_child2.Width = 30f;
root_child2.Height = 30f;
root.Insert(2, root_child2);
CSSNode root_child3 = new CSSNode();
root_child3.StyleWidth = 30f;
root_child3.StyleHeight = 30f;
root_child3.Width = 30f;
root_child3.Height = 30f;
root.Insert(3, root_child3);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();