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;
40 assertEquals(GRAVITY_BOTTOM, GravityHelper.getGravity("bottom", 0)); in testGravity()
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()
46 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
48 assertEquals(GRAVITY_BOTTOM | GRAVITY_RIGHT | GRAVITY_END, in testGravity()
60 assertEquals("bottom", getGravity(GRAVITY_BOTTOM)); 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()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java62 public static final int GRAVITY_BOTTOM = 1 << 7; field in GravityHelper
76 | GRAVITY_TOP | GRAVITY_BOTTOM;
116 gravity = (gravity & GRAVITY_HORIZ_MASK) | GRAVITY_BOTTOM; in getGravity()
223 } 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()