Home
last modified time | relevance | path

Searched refs:GRAVITY_TOP (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DGravityHelperTest.java27 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java59 public static final int GRAVITY_TOP = 1 << 6; field in GravityHelper
76 | 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()
DGridLayoutRule.java487 gravity |= GravityHelper.GRAVITY_TOP; in setNewSizeBounds()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java60 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;
634 } else if ((gravity & GRAVITY_TOP) != 0) { in analyzeGravity()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java803 gravity |= GravityHelper.GRAVITY_TOP; in handleGridModeDrop()