Searched refs:GRAVITY_LEFT (Results 1 – 5 of 5) sorted by relevance
23 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()
36 public static final int GRAVITY_LEFT = 1 << 0; field in GravityHelper61 | 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()
478 gravity |= GravityHelper.GRAVITY_LEFT; in setNewSizeBounds()
724 gravity |= GravityHelper.GRAVITY_LEFT; in handleFreeFormDrop()800 gravity |= GravityHelper.GRAVITY_LEFT; in handleGridModeDrop()
58 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;584 } else if ((gravity & GRAVITY_LEFT) != 0) { in analyzeGravity()