Searched refs:GRAVITY_LEFT (Results 1 - 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DGravityHelperTest.java23 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;
33 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT, GravityHelper.getGravity("bottom|left", 0));
39 assertEquals("left", getGravity(GRAVITY_LEFT));
50 assertEquals("left|bottom", getGravity(GRAVITY_LEFT|GRAVITY_BOTTOM));
55 assertTrue(GravityHelper.isConstrainedHorizontally(GRAVITY_LEFT));
60 assertFalse(GravityHelper.isConstrainedVertically(GRAVITY_LEFT));
77 assertTrue(GravityHelper.isLeftAligned(GRAVITY_LEFT|GRAVITY_TOP));
78 assertTrue(GravityHelper.isLeftAligned(GRAVITY_LEFT));
81 assertTrue(GravityHelper.isTopAligned(GRAVITY_LEFT|GRAVITY_TOP));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DGravityHelper.java36 public static final int GRAVITY_LEFT = 1 << 0; field in class:GravityHelper
61 | GRAVITY_LEFT | GRAVITY_RIGHT;
75 return getGravity(gravityString, GRAVITY_LEFT | GRAVITY_TOP);
107 gravity = (gravity & GRAVITY_VERT_MASK) | GRAVITY_LEFT;
146 return (gravity & GRAVITY_LEFT) != 0;
178 if ((horizontal & GRAVITY_LEFT) != 0) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
H A DRelativeLayoutConversionHelper.java23 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;
586 } else if ((gravity & GRAVITY_LEFT) != 0) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
H A DGridDropHandler.java670 gravity |= GravityHelper.GRAVITY_LEFT;

Completed in 108 milliseconds