Home
last modified time | relevance | path

Searched refs:GRAVITY_END (Results 1 – 2 of 2) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DGravityHelperTest.java21 import static com.android.ide.common.layout.GravityHelper.GRAVITY_END;
46 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
48 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
58 assertEquals("end", getGravity(GRAVITY_END)); in testGravityString()
77 assertTrue(GravityHelper.isConstrainedHorizontally(GRAVITY_END)); in testConstrained()
84 assertFalse(GravityHelper.isConstrainedVertically(GRAVITY_END)); in testConstrained()
105 assertFalse(GravityHelper.isLeftAligned(GRAVITY_END)); in testAligned()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java68 public static final int GRAVITY_END = 1 << 9; 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()
205 if ((horizontal & GRAVITY_END) != 0) { in getGravity()