Remove Style prefix in java and cs apis

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 b20b20656a
commit 065af66deb
4 changed files with 47 additions and 47 deletions

View File

@@ -529,35 +529,35 @@ public class ReactShadowNode {
}
public final float getStyleWidth() {
return mCSSNode.getStyleWidth();
return mCSSNode.getWidth();
}
public void setStyleWidth(float widthPx) {
mCSSNode.setStyleWidth(widthPx);
mCSSNode.setWidth(widthPx);
}
public void setStyleMinWidth(float widthPx) {
mCSSNode.setStyleMinWidth(widthPx);
mCSSNode.setMinWidth(widthPx);
}
public void setStyleMaxWidth(float widthPx) {
mCSSNode.setStyleMaxWidth(widthPx);
mCSSNode.setMaxWidth(widthPx);
}
public final float getStyleHeight() {
return mCSSNode.getStyleHeight();
return mCSSNode.getHeight();
}
public void setStyleHeight(float heightPx) {
mCSSNode.setStyleHeight(heightPx);
mCSSNode.setHeight(heightPx);
}
public void setStyleMinHeight(float widthPx) {
mCSSNode.setStyleMinHeight(widthPx);
mCSSNode.setMinHeight(widthPx);
}
public void setStyleMaxHeight(float widthPx) {
mCSSNode.setStyleMaxHeight(widthPx);
mCSSNode.setMaxHeight(widthPx);
}
public void setFlex(float flex) {
@@ -577,7 +577,7 @@ public class ReactShadowNode {
}
public void setStyleAspectRatio(float aspectRatio) {
mCSSNode.setStyleAspectRatio(aspectRatio);
mCSSNode.setAspectRatio(aspectRatio);
}
public void setFlexDirection(CSSFlexDirection flexDirection) {