Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DGravityHelperTest.java25 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;
46 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
48 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
57 assertEquals("right", getGravity(GRAVITY_RIGHT)); in testGravityString()
76 assertTrue(GravityHelper.isConstrainedHorizontally(GRAVITY_RIGHT)); in testConstrained()
83 assertFalse(GravityHelper.isConstrainedVertically(GRAVITY_RIGHT)); in testConstrained()
104 assertFalse(GravityHelper.isLeftAligned(GRAVITY_RIGHT)); in testAligned()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java44 public static final int GRAVITY_RIGHT = 1 << 1; field in GravityHelper
72 | GRAVITY_LEFT | GRAVITY_RIGHT | GRAVITY_START | GRAVITY_END;
120 gravity = (gravity & (GRAVITY_VERT_MASK|GRAVITY_END)) | GRAVITY_RIGHT; in getGravity()
124 gravity = (gravity & (GRAVITY_VERT_MASK|GRAVITY_RIGHT)) | GRAVITY_END; in getGravity()
201 } else if ((horizontal & (GRAVITY_RIGHT|GRAVITY_END)) != 0) { in getGravity()
202 if ((horizontal & GRAVITY_RIGHT) != 0) { in getGravity()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java702 gravity |= GravityHelper.GRAVITY_RIGHT; in handleFreeFormDrop()
785 gravity |= GravityHelper.GRAVITY_RIGHT; in handleGridModeDrop()
DGridModel.java44 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;
849 && ((view.gravity & (GRAVITY_CENTER_HORIZ | GRAVITY_RIGHT)) == 0)) { in initializeMaxBounds()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java59 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;
548 if ((gravity & GRAVITY_RIGHT) != 0) { in analyzeGravity()