Searched refs:GRAVITY_LEFT (Results 1 – 5 of 5) sorted by relevance
24 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;41 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT, GravityHelper.getGravity("bottom|left", 0)); in testGravity()42 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT | GRAVITY_START, in testGravity()44 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT | GRAVITY_START, in testGravity()55 assertEquals("left", getGravity(GRAVITY_LEFT)); in testGravityString()68 assertEquals("left|bottom", getGravity(GRAVITY_LEFT|GRAVITY_BOTTOM)); in testGravityString()69 assertEquals("left|start|bottom", getGravity(GRAVITY_LEFT|GRAVITY_START|GRAVITY_BOTTOM)); in testGravityString()74 assertTrue(GravityHelper.isConstrainedHorizontally(GRAVITY_LEFT)); in testConstrained()81 assertFalse(GravityHelper.isConstrainedVertically(GRAVITY_LEFT)); in testConstrained()100 assertTrue(GravityHelper.isLeftAligned(GRAVITY_LEFT|GRAVITY_TOP)); in testAligned()[all …]
41 public static final int GRAVITY_LEFT = 1 << 0; field in GravityHelper72 | GRAVITY_LEFT | GRAVITY_RIGHT | GRAVITY_START | GRAVITY_END;86 return getGravity(gravityString, GRAVITY_LEFT | GRAVITY_TOP); in getGravity()118 gravity = (gravity & (GRAVITY_VERT_MASK|GRAVITY_START)) | GRAVITY_LEFT; in getGravity()122 gravity = (gravity & (GRAVITY_VERT_MASK|GRAVITY_LEFT)) | GRAVITY_START; in getGravity()159 return (gravity & (GRAVITY_LEFT|GRAVITY_START)) != 0; in isLeftAligned()191 if ((horizontal & (GRAVITY_LEFT|GRAVITY_START)) != 0) { in getGravity()192 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()