Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DGravityHelperTest.java18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;
32 assertEquals(GRAVITY_BOTTOM, GravityHelper.getGravity("bottom", 0)); in testGravity()
33 assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT, GravityHelper.getGravity("bottom|left", 0)); in testGravity()
42 assertEquals("bottom", getGravity(GRAVITY_BOTTOM)); in testGravityString()
50 assertEquals("left|bottom", getGravity(GRAVITY_LEFT|GRAVITY_BOTTOM)); in testGravityString()
66 assertTrue(GravityHelper.isConstrainedVertically(GRAVITY_BOTTOM)); in testConstrained()
71 assertFalse(GravityHelper.isConstrainedHorizontally(GRAVITY_BOTTOM)); in testConstrained()
83 assertFalse(GravityHelper.isTopAligned(GRAVITY_BOTTOM)); in testAligned()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java57 public static final int GRAVITY_BOTTOM = 1 << 7; field in GravityHelper
65 | GRAVITY_TOP | GRAVITY_BOTTOM;
105 gravity = (gravity & GRAVITY_HORIZ_MASK) | GRAVITY_BOTTOM; in getGravity()
194 } else if ((vertical & GRAVITY_BOTTOM) != 0) { in getGravity()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java713 gravity |= GravityHelper.GRAVITY_BOTTOM; in handleFreeFormDrop()
795 gravity |= GravityHelper.GRAVITY_BOTTOM; in handleGridModeDrop()
DGridModel.java41 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;
853 && ((view.gravity & (GRAVITY_CENTER_VERT | GRAVITY_BOTTOM)) == 0)) { in initializeMaxBounds()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java53 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;
598 if ((gravity & GRAVITY_BOTTOM) != 0) { in analyzeGravity()