OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GRAVITY_START
(Results
1 - 2
of
2
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GravityHelper.java
65
public static final int
GRAVITY_START
= 1 << 8;
72
| GRAVITY_LEFT | GRAVITY_RIGHT |
GRAVITY_START
| GRAVITY_END;
118
gravity = (gravity & (GRAVITY_VERT_MASK|
GRAVITY_START
)) | GRAVITY_LEFT;
122
gravity = (gravity & (GRAVITY_VERT_MASK|GRAVITY_LEFT)) |
GRAVITY_START
;
159
return (gravity & (GRAVITY_LEFT|
GRAVITY_START
)) != 0;
191
if ((horizontal & (GRAVITY_LEFT|
GRAVITY_START
)) != 0) {
195
if ((horizontal &
GRAVITY_START
) != 0) {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
GravityHelperTest.java
26
import static com.android.ide.common.layout.GravityHelper.
GRAVITY_START
;
42
assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT |
GRAVITY_START
,
44
assertEquals(GRAVITY_BOTTOM | GRAVITY_LEFT |
GRAVITY_START
,
56
assertEquals("start", getGravity(
GRAVITY_START
));
69
assertEquals("left|start|bottom", getGravity(GRAVITY_LEFT|
GRAVITY_START
|GRAVITY_BOTTOM));
75
assertTrue(GravityHelper.isConstrainedHorizontally(
GRAVITY_START
));
82
assertFalse(GravityHelper.isConstrainedVertically(
GRAVITY_START
));
101
assertTrue(GravityHelper.isLeftAligned(
GRAVITY_START
|GRAVITY_TOP));
103
assertTrue(GravityHelper.isLeftAligned(
GRAVITY_START
));
108
assertTrue(GravityHelper.isTopAligned(
GRAVITY_START
|GRAVITY_TOP))
[
all
...]
Completed in 75 milliseconds