OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:gravitystring
(Results
1 - 2
of
2
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
GravityHelper.java
85
String
gravityString
= element.getAttributeNS(ANDROID_URI, ATTR_LAYOUT_GRAVITY);
86
return getGravity(
gravityString
, GRAVITY_LEFT | GRAVITY_TOP);
92
* @param
gravityString
the gravity string description
96
public static int getGravity(String
gravityString
, int defaultMask) {
98
if (
gravityString
!= null && !
gravityString
.isEmpty()) {
99
String[] anchors =
gravityString
.split("\\|"); //$NON-NLS-1$
GridLayoutRule.java
469
String
gravityString
= grid.getGridAttribute(view.node, ATTR_LAYOUT_GRAVITY);
470
int gravity = GravityHelper.getGravity(
gravityString
, 0);
489
gravityString
= GravityHelper.getGravity(gravity);
490
grid.setGridAttribute(view.node, ATTR_LAYOUT_GRAVITY,
gravityString
);
506
String
gravityString
= grid.getGridAttribute(view.node, ATTR_LAYOUT_GRAVITY);
507
int gravity = GravityHelper.getGravity(
gravityString
, 0);
516
gravityString
= GravityHelper.getGravity(gravity);
517
grid.setGridAttribute(view.node, ATTR_LAYOUT_GRAVITY,
gravityString
);
Completed in 48 milliseconds