Searched refs:GRAVITY_TOP (Results 1 – 5 of 5) sorted by relevance
25 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;41 assertEquals("top", getGravity(GRAVITY_TOP)); in testGravityString()51 assertEquals("center_horizontal|top", getGravity(GRAVITY_CENTER_HORIZ|GRAVITY_TOP)); in testGravityString()65 assertTrue(GravityHelper.isConstrainedVertically(GRAVITY_TOP)); in testConstrained()70 assertFalse(GravityHelper.isConstrainedHorizontally(GRAVITY_TOP)); in testConstrained()77 assertTrue(GravityHelper.isLeftAligned(GRAVITY_LEFT|GRAVITY_TOP)); in testAligned()81 assertTrue(GravityHelper.isTopAligned(GRAVITY_LEFT|GRAVITY_TOP)); in testAligned()82 assertTrue(GravityHelper.isTopAligned(GRAVITY_TOP)); in testAligned()
54 public static final int GRAVITY_TOP = 1 << 6; field in GravityHelper65 | GRAVITY_TOP | GRAVITY_BOTTOM;75 return getGravity(gravityString, GRAVITY_LEFT | GRAVITY_TOP); in getGravity()103 gravity = (gravity & GRAVITY_HORIZ_MASK) | GRAVITY_TOP; in getGravity()156 return (gravity & GRAVITY_TOP) != 0; in isTopAligned()192 if ((vertical & GRAVITY_TOP) != 0) { in getGravity()
487 gravity |= GravityHelper.GRAVITY_TOP; in setNewSizeBounds()
60 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;634 } else if ((gravity & GRAVITY_TOP) != 0) { in analyzeGravity()
803 gravity |= GravityHelper.GRAVITY_TOP; in handleGridModeDrop()