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

@@ -21,8 +21,8 @@ namespace Facebook.CSSLayout
public void Test_flex_basis_flex_grow_column()
{
CSSNode root = new CSSNode();
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.FlexGrow = 1f;
@@ -74,8 +74,8 @@ namespace Facebook.CSSLayout
{
CSSNode root = new CSSNode();
root.FlexDirection = CSSFlexDirection.Row;
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.FlexGrow = 1f;
@@ -126,8 +126,8 @@ namespace Facebook.CSSLayout
public void Test_flex_basis_flex_shrink_column()
{
CSSNode root = new CSSNode();
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.FlexShrink = 1f;
@@ -179,8 +179,8 @@ namespace Facebook.CSSLayout
{
CSSNode root = new CSSNode();
root.FlexDirection = CSSFlexDirection.Row;
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.FlexShrink = 1f;
@@ -231,22 +231,22 @@ namespace Facebook.CSSLayout
public void Test_flex_shrink_to_zero()
{
CSSNode root = new CSSNode();
root.StyleHeight = 75f;
root.Height = 75f;
CSSNode root_child0 = new CSSNode();
root_child0.StyleWidth = 50f;
root_child0.StyleHeight = 50f;
root_child0.Width = 50f;
root_child0.Height = 50f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.FlexShrink = 1f;
root_child1.StyleWidth = 50f;
root_child1.StyleHeight = 50f;
root_child1.Width = 50f;
root_child1.Height = 50f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.StyleWidth = 50f;
root_child2.StyleHeight = 50f;
root_child2.Width = 50f;
root_child2.Height = 50f;
root.Insert(2, root_child2);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();
@@ -299,23 +299,23 @@ namespace Facebook.CSSLayout
public void Test_flex_basis_overrides_main_size()
{
CSSNode root = new CSSNode();
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root_child0.FlexGrow = 1f;
root_child0.FlexBasis = 50f;
root_child0.StyleHeight = 20f;
root_child0.Height = 20f;
root.Insert(0, root_child0);
CSSNode root_child1 = new CSSNode();
root_child1.FlexGrow = 1f;
root_child1.StyleHeight = 10f;
root_child1.Height = 10f;
root.Insert(1, root_child1);
CSSNode root_child2 = new CSSNode();
root_child2.FlexGrow = 1f;
root_child2.StyleHeight = 10f;
root_child2.Height = 10f;
root.Insert(2, root_child2);
root.StyleDirection = CSSDirection.LTR;
root.CalculateLayout();
@@ -368,8 +368,8 @@ namespace Facebook.CSSLayout
public void Test_flex_grow_shrink_at_most()
{
CSSNode root = new CSSNode();
root.StyleWidth = 100f;
root.StyleHeight = 100f;
root.Width = 100f;
root.Height = 100f;
CSSNode root_child0 = new CSSNode();
root.Insert(0, root_child0);