Home
last modified time | relevance | path

Searched refs:GRAVITY_LEFT (Results 1 – 5 of 5) sorted by relevance

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