Searched refs:GRAVITY_TOP (Results 1 – 5 of 5) sorted by relevance
27 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;59 assertEquals("top", getGravity(GRAVITY_TOP)); in testGravityString()70 assertEquals("center_horizontal|top", getGravity(GRAVITY_CENTER_HORIZ|GRAVITY_TOP)); in testGravityString()88 assertTrue(GravityHelper.isConstrainedVertically(GRAVITY_TOP)); in testConstrained()93 assertFalse(GravityHelper.isConstrainedHorizontally(GRAVITY_TOP)); in testConstrained()100 assertTrue(GravityHelper.isLeftAligned(GRAVITY_LEFT|GRAVITY_TOP)); in testAligned()101 assertTrue(GravityHelper.isLeftAligned(GRAVITY_START|GRAVITY_TOP)); in testAligned()107 assertTrue(GravityHelper.isTopAligned(GRAVITY_LEFT|GRAVITY_TOP)); in testAligned()108 assertTrue(GravityHelper.isTopAligned(GRAVITY_START|GRAVITY_TOP)); in testAligned()109 assertTrue(GravityHelper.isTopAligned(GRAVITY_TOP)); in testAligned()
59 public static final int GRAVITY_TOP = 1 << 6; field in GravityHelper76 | GRAVITY_TOP | GRAVITY_BOTTOM;86 return getGravity(gravityString, GRAVITY_LEFT | GRAVITY_TOP); in getGravity()114 gravity = (gravity & GRAVITY_HORIZ_MASK) | GRAVITY_TOP; in getGravity()169 return (gravity & GRAVITY_TOP) != 0; in isTopAligned()221 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()