Searched refs:GRAVITY_CENTER_HORIZ (Results 1 – 5 of 5) sorted by relevance
47 public static final int GRAVITY_CENTER_HORIZ = 1 << 2; field in GravityHelper71 public static final int GRAVITY_HORIZ_MASK = GRAVITY_CENTER_HORIZ | GRAVITY_FILL_HORIZ102 gravity = GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT; in getGravity()108 gravity = (gravity & GRAVITY_VERT_MASK) | GRAVITY_CENTER_HORIZ; in getGravity()182 if ((gravity & (GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT)) == in getGravity()183 (GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT)) { in getGravity()211 } else if ((horizontal & GRAVITY_CENTER_HORIZ) != 0) { in getGravity()
19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;50 assertEquals(GRAVITY_CENTER_HORIZ | GRAVITY_CENTER_VERT, in testGravity()61 assertEquals("center_horizontal", getGravity(GRAVITY_CENTER_HORIZ)); in testGravityString()66 assertEquals("center", getGravity(GRAVITY_CENTER_HORIZ|GRAVITY_CENTER_VERT)); in testGravityString()70 assertEquals("center_horizontal|top", getGravity(GRAVITY_CENTER_HORIZ|GRAVITY_TOP)); in testGravityString()78 assertTrue(GravityHelper.isConstrainedHorizontally(GRAVITY_CENTER_HORIZ)); in testConstrained()85 assertFalse(GravityHelper.isConstrainedVertically(GRAVITY_CENTER_HORIZ)); in testConstrained()
704 gravity |= GravityHelper.GRAVITY_CENTER_HORIZ; in handleFreeFormDrop()787 gravity |= GravityHelper.GRAVITY_CENTER_HORIZ; in handleGridModeDrop()
42 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;849 && ((view.gravity & (GRAVITY_CENTER_HORIZ | GRAVITY_RIGHT)) == 0)) { in initializeMaxBounds()
54 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;559 } else if ((gravity & GRAVITY_CENTER_HORIZ) != 0) { in analyzeGravity()