Update java package name to yoga

Summary: Update package name of java code to refer to yoga instead of csslayout. Still need to change the name of the folder where this code resides but that requires update github sync scripts etc so it is safer and easier to split these diffs apart.

Differential Revision: D4271420
This commit is contained in:
Emil Sjolander 2016-12-05 02:56:20 -08:00 committed by Ahmed El-Helw
parent 009a792804
commit e9dba410eb
6 changed files with 15 additions and 15 deletions

View File

@ -29,7 +29,7 @@ interface AndroidView {
void resetPaddingChanged();
/**
* Get the padding for a certain spacingType defined in com.facebook.csslayout.Spacing
* Get the padding for a certain spacingType defined in com.facebook.yoga.Spacing
*/
float getPadding(int spacingType);
}

View File

@ -9,9 +9,9 @@
package com.facebook.react.flat;
import com.facebook.csslayout.YogaMeasureMode;
import com.facebook.csslayout.YogaMeasureFunction;
import com.facebook.csslayout.YogaNodeAPI;
import com.facebook.yoga.YogaMeasureMode;
import com.facebook.yoga.YogaMeasureFunction;
import com.facebook.yoga.YogaNodeAPI;
import com.facebook.react.uimanager.BaseViewManager;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.views.art.ARTSurfaceView;

View File

@ -15,7 +15,7 @@ import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.facebook.csslayout.YogaDirection;
import com.facebook.yoga.YogaDirection;
import com.facebook.infer.annotation.Assertions;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.ReactApplicationContext;

View File

@ -11,7 +11,7 @@ package com.facebook.react.flat;
import javax.annotation.Nullable;
import com.facebook.csslayout.YogaMeasureFunction;
import com.facebook.yoga.YogaMeasureFunction;
import com.facebook.react.uimanager.ReactStylesDiffMap;
import com.facebook.react.uimanager.ReactShadowNode;
import com.facebook.react.uimanager.ThemedReactContext;

View File

@ -16,11 +16,11 @@ import android.text.Layout;
import android.text.TextUtils;
import android.view.Gravity;
import com.facebook.csslayout.YogaDirection;
import com.facebook.csslayout.YogaMeasureMode;
import com.facebook.csslayout.YogaMeasureFunction;
import com.facebook.csslayout.YogaNodeAPI;
import com.facebook.csslayout.YogaMeasureOutput;
import com.facebook.yoga.YogaDirection;
import com.facebook.yoga.YogaMeasureMode;
import com.facebook.yoga.YogaMeasureFunction;
import com.facebook.yoga.YogaNodeAPI;
import com.facebook.yoga.YogaMeasureOutput;
import com.facebook.fbui.textlayoutbuilder.TextLayoutBuilder;
import com.facebook.fbui.textlayoutbuilder.glyphwarmer.GlyphWarmerImpl;
import com.facebook.react.bridge.JSApplicationIllegalArgumentException;

View File

@ -18,10 +18,10 @@ import android.util.TypedValue;
import android.view.ViewGroup;
import android.widget.EditText;
import com.facebook.csslayout.YogaMeasureMode;
import com.facebook.csslayout.YogaMeasureFunction;
import com.facebook.csslayout.YogaNodeAPI;
import com.facebook.csslayout.YogaMeasureOutput;
import com.facebook.yoga.YogaMeasureMode;
import com.facebook.yoga.YogaMeasureFunction;
import com.facebook.yoga.YogaNodeAPI;
import com.facebook.yoga.YogaMeasureOutput;
import com.facebook.infer.annotation.Assertions;
import com.facebook.react.uimanager.PixelUtil;
import com.facebook.react.uimanager.Spacing;