Searched refs:GRAVITY_CENTER_VERT (Results 1 – 5 of 5) sorted by relevance
53 public static final int GRAVITY_CENTER_VERT = 1 << 4; field in GravityHelper75 public static final int GRAVITY_VERT_MASK = GRAVITY_CENTER_VERT | GRAVITY_FILL_VERT102 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()
20 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()
715 gravity |= GravityHelper.GRAVITY_CENTER_VERT; in handleFreeFormDrop()797 gravity |= GravityHelper.GRAVITY_CENTER_VERT; in handleGridModeDrop()
43 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;853 && ((view.gravity & (GRAVITY_CENTER_VERT | GRAVITY_BOTTOM)) == 0)) { in initializeMaxBounds()
55 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;609 } else if ((gravity & GRAVITY_CENTER_VERT) != 0) { in analyzeGravity()