From 4a7936aa2424f6853b336727affd5fc632f1f26f Mon Sep 17 00:00:00 2001 From: Aaron Chiu Date: Tue, 15 Sep 2015 11:42:30 +0100 Subject: [PATCH] Make CSSLayout constants public --- .../src/com/facebook/csslayout/CSSLayout.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/java/src/com/facebook/csslayout/CSSLayout.java b/src/java/src/com/facebook/csslayout/CSSLayout.java index e5fafb17..26ec4d56 100644 --- a/src/java/src/com/facebook/csslayout/CSSLayout.java +++ b/src/java/src/com/facebook/csslayout/CSSLayout.java @@ -14,17 +14,17 @@ import java.util.Arrays; * Where the output of {@link LayoutEngine#layoutNode(CSSNode, float)} will go in the CSSNode. */ public class CSSLayout { - static final int POSITION_LEFT = 0; - static final int POSITION_TOP = 1; - static final int POSITION_RIGHT = 2; - static final int POSITION_BOTTOM = 3; + public static final int POSITION_LEFT = 0; + public static final int POSITION_TOP = 1; + public static final int POSITION_RIGHT = 2; + public static final int POSITION_BOTTOM = 3; - static final int DIMENSION_WIDTH = 0; - static final int DIMENSION_HEIGHT = 1; + public static final int DIMENSION_WIDTH = 0; + public static final int DIMENSION_HEIGHT = 1; - float[] position = new float[4]; - float[] dimensions = new float[2]; - CSSDirection direction = CSSDirection.LTR; + public float[] position = new float[4]; + public float[] dimensions = new float[2]; + public CSSDirection direction = CSSDirection.LTR; /** * This should always get called before calling {@link LayoutEngine#layoutNode(CSSNode, float)}