Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java53 public static final int GRAVITY_CENTER_VERT = 1 << 4; field in GravityHelper
75 public static final int GRAVITY_VERT_MASK = GRAVITY_CENTER_VERT | GRAVITY_FILL_VERT
102 gravity = GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT; in getGravity()
106 gravity = (gravity & GRAVITY_HORIZ_MASK) | GRAVITY_CENTER_VERT; in getGravity()
182 if ((gravity & (GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT)) == in getGravity()
183 (GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT)) { in getGravity()
225 } else if ((vertical & GRAVITY_CENTER_VERT) != 0) { in getGravity()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DGravityHelperTest.java20 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;
50 assertEquals(GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT, in testGravity()
62 assertEquals("center_vertical", getGravity(GRAVITY_CENTER_VERT)); in testGravityString()
66 assertEquals("center", getGravity(GRAVITY_CENTER_HORIZ|GRAVITY_CENTER_VERT)); in testGravityString()
90 assertTrue(GravityHelper.isConstrainedVertically(GRAVITY_CENTER_VERT)); in testConstrained()
95 assertFalse(GravityHelper.isConstrainedHorizontally(GRAVITY_CENTER_VERT)); in testConstrained()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java715 gravity |= GravityHelper.GRAVITY_CENTER_VERT; in handleFreeFormDrop()
797 gravity |= GravityHelper.GRAVITY_CENTER_VERT; in handleGridModeDrop()
DGridModel.java43 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;
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.java55 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;
609 } else if ((gravity & GRAVITY_CENTER_VERT) != 0) { in analyzeGravity()