OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GRAVITY_LEFT
(Results
1 - 5
of
5
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GravityHelper.java
41
public static final int
GRAVITY_LEFT
= 1 << 0;
72
|
GRAVITY_LEFT
| GRAVITY_RIGHT | GRAVITY_START | GRAVITY_END;
86
return getGravity(gravityString,
GRAVITY_LEFT
| GRAVITY_TOP);
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) {
192
if ((horizontal &
GRAVITY_LEFT
) != 0) {
GridLayoutRule.java
478
gravity |= GravityHelper.
GRAVITY_LEFT
;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
GravityHelperTest.java
24
import static com.android.ide.common.layout.GravityHelper.
GRAVITY_LEFT
;
41
assertEquals(GRAVITY_BOTTOM |
GRAVITY_LEFT
, GravityHelper.getGravity("bottom|left", 0));
42
assertEquals(GRAVITY_BOTTOM |
GRAVITY_LEFT
| GRAVITY_START,
44
assertEquals(GRAVITY_BOTTOM |
GRAVITY_LEFT
| GRAVITY_START,
55
assertEquals("left", getGravity(
GRAVITY_LEFT
));
68
assertEquals("left|bottom", getGravity(
GRAVITY_LEFT
|GRAVITY_BOTTOM));
69
assertEquals("left|start|bottom", getGravity(
GRAVITY_LEFT
|GRAVITY_START|GRAVITY_BOTTOM));
74
assertTrue(GravityHelper.isConstrainedHorizontally(
GRAVITY_LEFT
));
81
assertFalse(GravityHelper.isConstrainedVertically(
GRAVITY_LEFT
));
100
assertTrue(GravityHelper.isLeftAligned(
GRAVITY_LEFT
|GRAVITY_TOP))
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridDropHandler.java
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RelativeLayoutConversionHelper.java
58
import static com.android.ide.common.layout.GravityHelper.
GRAVITY_LEFT
;
584
} else if ((gravity &
GRAVITY_LEFT
) != 0) {
[
all
...]
Completed in 82 milliseconds