Searched refs:GravityHelper (Results 1 – 6 of 6) sorted by relevance
18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;20 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;21 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_HORIZ;22 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_VERT;23 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;24 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;25 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;26 import static com.android.ide.common.layout.GravityHelper.getGravity;32 assertEquals(GRAVITY_BOTTOM, GravityHelper.getGravity("bottom", 0)); in testGravity()[all …]
18 import static com.android.ide.common.layout.GravityHelper.getGravity;41 import com.android.ide.common.layout.GravityHelper;648 gravity |= GravityHelper.GRAVITY_RIGHT;650 gravity |= GravityHelper.GRAVITY_CENTER_HORIZ;659 gravity |= GravityHelper.GRAVITY_BOTTOM;661 gravity |= GravityHelper.GRAVITY_CENTER_VERT;669 if (!GravityHelper.isConstrainedHorizontally(gravity)) {670 gravity |= GravityHelper.GRAVITY_LEFT;
41 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;42 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;43 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;44 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;56 import com.android.ide.common.layout.GravityHelper;1692 || GravityHelper.isConstrainedHorizontally(view.gravity) in splitColumn()1693 && !GravityHelper.isLeftAligned(view.gravity))) { in splitColumn()1777 || GravityHelper.isConstrainedVertically(view.gravity) in splitRow()1778 && !GravityHelper.isTopAligned(view.gravity))) { in splitRow()1830 gravity = GravityHelper.getGravity(getGridAttribute(n, ATTR_LAYOUT_GRAVITY), 0); in ViewData()
18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM;19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ;20 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT;21 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_HORIZ;22 import static com.android.ide.common.layout.GravityHelper.GRAVITY_FILL_VERT;23 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;24 import static com.android.ide.common.layout.GravityHelper.GRAVITY_RIGHT;25 import static com.android.ide.common.layout.GravityHelper.GRAVITY_TOP;26 import static com.android.ide.common.layout.GravityHelper.GRAVITY_VERT_MASK;65 import com.android.ide.common.layout.GravityHelper;[all …]
18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_HORIZ_MASK;19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_VERT_MASK;60 import com.android.ide.common.layout.GravityHelper;185 int gravity = GravityHelper.getGravity(view.mGravity, 0); in insertStretchableSpans()
34 public class GravityHelper { class