Home
last modified time | relevance | path

Searched refs:GravityHelper (Results 1 – 6 of 6) 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;
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 …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridDropHandler.java18 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;
DGridModel.java41 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java18 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 …]
DGridLayoutConverter.java18 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DGravityHelper.java34 public class GravityHelper { class